2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir -p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
582 PACKAGE_NAME
='wxWidgets'
583 PACKAGE_TARNAME
='wxwidgets'
584 PACKAGE_VERSION
='2.9.5'
585 PACKAGE_STRING
='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
589 ac_unique_file
="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 enable_option_checking
=no
627 ac_subst_vars
='LTLIBOBJS
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
718 COND_TOOLKIT_X11_USE_GUI_1
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
755 COND_TOOLKIT_DFB_USE_GUI_1
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
880 ICC_PCH_CREATE_SWITCH
986 LIBGNOMEPRINTUI_CFLAGS
1077 program_transform_name
1090 enable_option_checking
1096 enable_official_build
1137 with_macosx_version_min
1146 enable_std_containers
1147 enable_std_iostreams
1149 enable_std_string_conv_in_wxstring
1154 enable_extended_rtti
1159 enable_no_exceptions
1162 enable_vararg_macros
1163 enable_universal_binary
1168 enable_objc_uniquifying
1197 enable_dynamicloader
1213 enable_printfposparam
1228 enable_protocol_http
1230 enable_protocol_file
1281 enable_commandlinkbutton
1308 enable_rearrangectrl
1357 enable_accessibility
1360 enable_webviewwebkit
1380 with_gtk_exec_prefix
1382 with_libiconv_prefix
1384 with_sdl_exec_prefix
1386 enable_dependency_tracking
1387 enable_precomp_headers
1389 with_cppunit_exec_prefix
1391 ac_precious_vars
='build_alias
1428 LIBGNOMEPRINTUI_CFLAGS
1429 LIBGNOMEPRINTUI_LIBS
1442 ac_subdirs_all
='src/tiff
1445 # Initialize some variables set by options.
1447 ac_init_version
=false
1448 ac_unrecognized_opts
=
1449 ac_unrecognized_sep
=
1450 # The variables have the same names as the options, with
1451 # dashes changed to underlines.
1452 cache_file
=/dev
/null
1459 program_transform_name
=s
,x
,x
,
1467 # Installation directory options.
1468 # These are left unexpanded so users can "make install exec_prefix=/foo"
1469 # and all the variables that are supposed to be based on exec_prefix
1470 # by default will actually change.
1471 # Use braces instead of parens because sh, perl, etc. also accept them.
1472 # (The list follows the same order as the GNU Coding Standards.)
1473 bindir
='${exec_prefix}/bin'
1474 sbindir
='${exec_prefix}/sbin'
1475 libexecdir
='${exec_prefix}/libexec'
1476 datarootdir
='${prefix}/share'
1477 datadir
='${datarootdir}'
1478 sysconfdir
='${prefix}/etc'
1479 sharedstatedir
='${prefix}/com'
1480 localstatedir
='${prefix}/var'
1481 includedir
='${prefix}/include'
1482 oldincludedir
='/usr/include'
1483 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1484 infodir
='${datarootdir}/info'
1489 libdir
='${exec_prefix}/lib'
1490 localedir
='${datarootdir}/locale'
1491 mandir
='${datarootdir}/man'
1497 # If the previous option needs an argument, assign it.
1498 if test -n "$ac_prev"; then
1499 eval $ac_prev=\
$ac_option
1505 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1510 # Accept the important Cygnus configure options, so we can diagnose typos.
1512 case $ac_dashdash$ac_option in
1516 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1518 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1519 bindir
=$ac_optarg ;;
1521 -build | --build | --buil | --bui | --bu)
1522 ac_prev
=build_alias
;;
1523 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1524 build_alias
=$ac_optarg ;;
1526 -cache-file | --cache-file | --cache-fil | --cache-fi \
1527 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1528 ac_prev
=cache_file
;;
1529 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1530 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1531 cache_file
=$ac_optarg ;;
1533 --config-cache | -C)
1534 cache_file
=config.cache
;;
1536 -datadir | --datadir | --datadi | --datad)
1538 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1539 datadir
=$ac_optarg ;;
1541 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1542 | --dataroo | --dataro | --datar)
1543 ac_prev
=datarootdir
;;
1544 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1545 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1546 datarootdir
=$ac_optarg ;;
1548 -disable-* | --disable-*)
1549 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1550 # Reject names that are not valid shell variable names.
1551 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1552 as_fn_error $?
"invalid feature name: $ac_useropt"
1553 ac_useropt_orig
=$ac_useropt
1554 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1555 case $ac_user_opts in
1557 "enable_
$ac_useropt"
1559 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1560 ac_unrecognized_sep
=', ';;
1562 eval enable_
$ac_useropt=no
;;
1564 -docdir | --docdir | --docdi | --doc | --do)
1566 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1567 docdir
=$ac_optarg ;;
1569 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1571 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1572 dvidir
=$ac_optarg ;;
1574 -enable-* | --enable-*)
1575 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1576 # Reject names that are not valid shell variable names.
1577 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1578 as_fn_error $?
"invalid feature name: $ac_useropt"
1579 ac_useropt_orig
=$ac_useropt
1580 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581 case $ac_user_opts in
1583 "enable_
$ac_useropt"
1585 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1586 ac_unrecognized_sep
=', ';;
1588 eval enable_
$ac_useropt=\
$ac_optarg ;;
1590 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1591 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1592 | --exec | --exe | --ex)
1593 ac_prev
=exec_prefix
;;
1594 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1595 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1596 | --exec=* | --exe=* | --ex=*)
1597 exec_prefix
=$ac_optarg ;;
1599 -gas | --gas | --ga | --g)
1600 # Obsolete; use --with-gas.
1603 -help | --help | --hel | --he | -h)
1604 ac_init_help
=long
;;
1605 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1606 ac_init_help
=recursive
;;
1607 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1608 ac_init_help
=short
;;
1610 -host | --host | --hos | --ho)
1611 ac_prev
=host_alias
;;
1612 -host=* | --host=* | --hos=* | --ho=*)
1613 host_alias
=$ac_optarg ;;
1615 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1617 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1619 htmldir
=$ac_optarg ;;
1621 -includedir | --includedir | --includedi | --included | --include \
1622 | --includ | --inclu | --incl | --inc)
1623 ac_prev
=includedir
;;
1624 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1625 | --includ=* | --inclu=* | --incl=* | --inc=*)
1626 includedir
=$ac_optarg ;;
1628 -infodir | --infodir | --infodi | --infod | --info | --inf)
1630 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1631 infodir
=$ac_optarg ;;
1633 -libdir | --libdir | --libdi | --libd)
1635 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1636 libdir
=$ac_optarg ;;
1638 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1639 | --libexe | --libex | --libe)
1640 ac_prev
=libexecdir
;;
1641 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1642 | --libexe=* | --libex=* | --libe=*)
1643 libexecdir
=$ac_optarg ;;
1645 -localedir | --localedir | --localedi | --localed | --locale)
1646 ac_prev
=localedir
;;
1647 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1648 localedir
=$ac_optarg ;;
1650 -localstatedir | --localstatedir | --localstatedi | --localstated \
1651 | --localstate | --localstat | --localsta | --localst | --locals)
1652 ac_prev
=localstatedir
;;
1653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1654 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1655 localstatedir
=$ac_optarg ;;
1657 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1659 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1660 mandir
=$ac_optarg ;;
1662 -nfp | --nfp | --nf)
1663 # Obsolete; use --without-fp.
1666 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1667 | --no-cr | --no-c | -n)
1670 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1671 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1674 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1675 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1676 | --oldin | --oldi | --old | --ol | --o)
1677 ac_prev
=oldincludedir
;;
1678 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1679 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1680 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1681 oldincludedir
=$ac_optarg ;;
1683 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1685 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1686 prefix
=$ac_optarg ;;
1688 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1689 | --program-pre | --program-pr | --program-p)
1690 ac_prev
=program_prefix
;;
1691 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1692 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1693 program_prefix
=$ac_optarg ;;
1695 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1696 | --program-suf | --program-su | --program-s)
1697 ac_prev
=program_suffix
;;
1698 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1699 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1700 program_suffix
=$ac_optarg ;;
1702 -program-transform-name | --program-transform-name \
1703 | --program-transform-nam | --program-transform-na \
1704 | --program-transform-n | --program-transform- \
1705 | --program-transform | --program-transfor \
1706 | --program-transfo | --program-transf \
1707 | --program-trans | --program-tran \
1708 | --progr-tra | --program-tr | --program-t)
1709 ac_prev
=program_transform_name
;;
1710 -program-transform-name=* | --program-transform-name=* \
1711 | --program-transform-nam=* | --program-transform-na=* \
1712 | --program-transform-n=* | --program-transform-=* \
1713 | --program-transform=* | --program-transfor=* \
1714 | --program-transfo=* | --program-transf=* \
1715 | --program-trans=* | --program-tran=* \
1716 | --progr-tra=* | --program-tr=* | --program-t=*)
1717 program_transform_name
=$ac_optarg ;;
1719 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1721 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1722 pdfdir
=$ac_optarg ;;
1724 -psdir | --psdir | --psdi | --psd | --ps)
1726 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730 | -silent | --silent | --silen | --sile | --sil)
1733 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1735 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1737 sbindir
=$ac_optarg ;;
1739 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1740 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1741 | --sharedst | --shareds | --shared | --share | --shar \
1743 ac_prev
=sharedstatedir
;;
1744 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1745 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1746 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1748 sharedstatedir
=$ac_optarg ;;
1750 -site | --site | --sit)
1752 -site=* | --site=* | --sit=*)
1755 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1757 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1758 srcdir
=$ac_optarg ;;
1760 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1761 | --syscon | --sysco | --sysc | --sys | --sy)
1762 ac_prev
=sysconfdir
;;
1763 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1764 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1765 sysconfdir
=$ac_optarg ;;
1767 -target | --target | --targe | --targ | --tar | --ta | --t)
1768 ac_prev
=target_alias
;;
1769 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1770 target_alias
=$ac_optarg ;;
1772 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1775 -version | --version | --versio | --versi | --vers | -V)
1776 ac_init_version
=: ;;
1779 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1782 as_fn_error $?
"invalid package name: $ac_useropt"
1783 ac_useropt_orig
=$ac_useropt
1784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1790 ac_unrecognized_sep
=', ';;
1792 eval with_
$ac_useropt=\
$ac_optarg ;;
1794 -without-* | --without-*)
1795 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1798 as_fn_error $?
"invalid package name: $ac_useropt"
1799 ac_useropt_orig
=$ac_useropt
1800 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1805 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1806 ac_unrecognized_sep
=', ';;
1808 eval with_
$ac_useropt=no
;;
1811 # Obsolete; use --with-x.
1814 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1815 | --x-incl | --x-inc | --x-in | --x-i)
1816 ac_prev
=x_includes
;;
1817 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1818 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1819 x_includes
=$ac_optarg ;;
1821 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1822 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1823 ac_prev
=x_libraries
;;
1824 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1825 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1826 x_libraries
=$ac_optarg ;;
1828 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1829 Try \`$0 --help' for more information"
1833 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1834 # Reject names that are not valid shell variable names.
1835 case $ac_envvar in #(
1836 '' | [0-9]* | *[!_$as_cr_alnum]* )
1837 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1839 eval $ac_envvar=\
$ac_optarg
1840 export $ac_envvar ;;
1843 # FIXME: should be removed in autoconf 3.0.
1844 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1845 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1846 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1847 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853 if test -n "$ac_prev"; then
1854 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1855 as_fn_error $?
"missing argument to $ac_option"
1858 if test -n "$ac_unrecognized_opts"; then
1859 case $enable_option_checking in
1861 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1862 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1866 # Check all directory arguments for consistency.
1867 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1868 datadir sysconfdir sharedstatedir localstatedir includedir \
1869 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1870 libdir localedir mandir
1872 eval ac_val
=\$
$ac_var
1873 # Remove trailing slashes.
1876 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1877 eval $ac_var=\
$ac_val;;
1879 # Be sure to have absolute directory names.
1881 [\\/$
]* | ?
:[\\/]* ) continue;;
1882 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1884 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1887 # There might be people who depend on the old broken behavior: `$host'
1888 # used to hold the argument of --host etc.
1889 # FIXME: To remove some day.
1892 target
=$target_alias
1894 # FIXME: To remove some day.
1895 if test "x$host_alias" != x
; then
1896 if test "x$build_alias" = x
; then
1897 cross_compiling
=maybe
1898 elif test "x$build_alias" != "x$host_alias"; then
1904 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1906 test "$silent" = yes && exec 6>/dev
/null
1909 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1910 ac_ls_di
=`ls -di .` &&
1911 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1912 as_fn_error $?
"working directory cannot be determined"
1913 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1914 as_fn_error $?
"pwd does not report name of working directory"
1917 # Find the source files, if location was not specified.
1918 if test -z "$srcdir"; then
1919 ac_srcdir_defaulted
=yes
1920 # Try the directory containing this script, then the parent directory.
1921 ac_confdir
=`$as_dirname -- "$as_myself" ||
1922 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1923 X"$as_myself" : 'X\(//\)[^/]' \| \
1924 X"$as_myself" : 'X\(//\)$' \| \
1925 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1926 $as_echo X"$as_myself" |
1927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1945 if test ! -r "$srcdir/$ac_unique_file"; then
1949 ac_srcdir_defaulted
=no
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1952 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1953 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1955 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1957 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1959 # When building in place, set srcdir=.
1960 if test "$ac_abs_confdir" = "$ac_pwd"; then
1963 # Remove unnecessary trailing slashes from srcdir.
1964 # Double slashes in file names in object file debugging info
1965 # mess up M-x gdb in Emacs.
1967 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1969 for ac_var
in $ac_precious_vars; do
1970 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1971 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1972 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1973 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1977 # Report the --help message.
1979 if test "$ac_init_help" = "long"; then
1980 # Omit some internal or obsolete options to make the list less imposing.
1981 # This message is too long to be a string in the A/UX 3.1 sh.
1983 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1985 Usage: $0 [OPTION]... [VAR=VALUE]...
1987 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1988 VAR=VALUE. See below for descriptions of some of the useful variables.
1990 Defaults for the options are specified in brackets.
1993 -h, --help display this help and exit
1994 --help=short display options specific to this package
1995 --help=recursive display the short help of all the included packages
1996 -V, --version display version information and exit
1997 -q, --quiet, --silent do not print \`checking ...' messages
1998 --cache-file=FILE cache test results in FILE [disabled]
1999 -C, --config-cache alias for \`--cache-file=config.cache'
2000 -n, --no-create do not create output files
2001 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2003 Installation directories:
2004 --prefix=PREFIX install architecture-independent files in PREFIX
2005 [$ac_default_prefix]
2006 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2009 By default, \`make install' will install all the files in
2010 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2011 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2012 for instance \`--prefix=\$HOME'.
2014 For better control, use the options below.
2016 Fine tuning of the installation directories:
2017 --bindir=DIR user executables [EPREFIX/bin]
2018 --sbindir=DIR system admin executables [EPREFIX/sbin]
2019 --libexecdir=DIR program executables [EPREFIX/libexec]
2020 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2021 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2022 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2023 --libdir=DIR object code libraries [EPREFIX/lib]
2024 --includedir=DIR C header files [PREFIX/include]
2025 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2026 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2027 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2028 --infodir=DIR info documentation [DATAROOTDIR/info]
2029 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2030 --mandir=DIR man documentation [DATAROOTDIR/man]
2031 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2032 --htmldir=DIR html documentation [DOCDIR]
2033 --dvidir=DIR dvi documentation [DOCDIR]
2034 --pdfdir=DIR pdf documentation [DOCDIR]
2035 --psdir=DIR ps documentation [DOCDIR]
2041 --x-includes=DIR X include files are
in DIR
2042 --x-libraries=DIR X library files are
in DIR
2045 --build=BUILD configure
for building on BUILD
[guessed
]
2046 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2050 if test -n "$ac_init_help"; then
2051 case $ac_init_help in
2052 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2057 --disable-option-checking ignore unrecognized
--enable/--with options
2058 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2059 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2060 --disable-gui don
't build GUI parts of the library
2061 --enable-monolithic build wxWidgets as single library
2062 --enable-plugins build parts of wxWidgets as loadable components
2063 --enable-official_build official build of wxWidgets (win32 DLL only)
2064 --enable-vendor=VENDOR vendor name (win32 DLL only)
2065 --disable-all-features disable all optional features to build minimal library
2066 --enable-universal use wxWidgets GUI controls instead of native ones
2067 --enable-nanox use NanoX
2068 --enable-gpe use GNOME PDA Environment features if possible
2069 --enable-debug build library for debugging
2070 --disable-debug_flag disable all debugging support
2071 --enable-debug_info generate debug information
2072 --enable-debug_gdb create code with extra GDB debugging information
2073 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2074 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2075 --disable-shared create static library instead of shared
2076 --enable-stl use standard C++ classes for everything
2077 --enable-std_containers use standard C++ container classes
2078 --enable-std_iostreams use standard C++ stream classes
2079 --enable-std_string use standard C++ string classes
2080 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2081 --disable-unicode compile without Unicode support
2082 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2083 --enable-utf8 use UTF-8 representation for strings (Unix only)
2084 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2085 --enable-extended_rtti use extended RTTI (XTI)
2086 --enable-omf use OMF object format
2087 --disable-optimise compile without optimisations
2088 --enable-profile create code with profiling information
2089 --enable-no_rtti create code without RTTI information
2090 --enable-no_exceptions create code without C++ exceptions handling
2091 --enable-permissive compile code disregarding strict ANSI
2092 --enable-no_deps create code without dependency information
2093 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2094 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2095 --enable-macosx_arch=ARCH build
for just the specified architecture
2096 --enable-compat26 enable wxWidgets
2.6 compatibility
2097 --disable-compat28 disable wxWidgets
2.8 compatibility
2098 --disable-rpath disable use of rpath
for uninstalled builds
2099 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2100 --disable-visibility disable use of ELF symbols visibility even
if supported
2101 --disable-tls disable use of compiler TLS support
2102 --enable-intl use internationalization system
2103 --enable-xlocale use x
-locale support
(requires wxLocale
)
2104 --enable-config use wxConfig
(and derived
) classes
2105 --enable-protocols use wxProtocol and derived classes
2106 --enable-ftp use wxFTP
(requires wxProtocol
2107 --enable-http use wxHTTP
(requires wxProtocol
2108 --enable-fileproto use wxFileProto class
(requires wxProtocol
2109 --enable-sockets use socket
/network classes
2110 --enable-ipv6 enable IPv6 support
in wxSocket
2111 --enable-ole use OLE classes
(Win32 only
)
2112 --enable-dataobj use data object classes
2113 --enable-ipc use interprocess communication
(wxSocket etc.
)
2114 --enable-baseevtloop use event loop
in console programs too
2115 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2116 --enable-selectloop use wxSelectDispatcher class
2117 --enable-any use wxAny class
2118 --enable-apple_ieee use the Apple IEEE codec
2119 --enable-arcstream use wxArchive streams
2120 --enable-base64 use base64 encoding
/decoding functions
2121 --enable-backtrace use wxStackWalker class
for getting backtraces
2122 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2123 --enable-cmdline use wxCmdLineParser class
2124 --enable-datetime use wxDateTime class
2125 --enable-debugreport use wxDebugReport class
2126 --enable-dialupman use dialup network classes
2127 --enable-dynlib use wxLibrary class
for DLL loading
2128 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2129 --enable-exceptions build exception
-safe library
2130 --enable-ffile use wxFFile class
2131 --enable-file use wxFile class
2132 --enable-filehistory use wxFileHistory class
2133 --enable-filesystem use virtual
file systems classes
2134 --enable-fontenum use wxFontEnumerator class
2135 --enable-fontmap use font encodings conversion classes
2136 --enable-fs_archive use virtual archive filesystems
2137 --enable-fs_inet use virtual HTTP
/FTP filesystems
2138 --enable-fs_zip now replaced by fs_archive
2139 --enable-fswatcher use wxFileSystemWatcher class
2140 --enable-geometry use geometry class
2141 --enable-log use logging system
2142 --enable-longlong use wxLongLong class
2143 --enable-mimetype use wxMimeTypesManager
2144 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2145 --enable-snglinst use wxSingleInstanceChecker class
2146 --enable-sound use wxSound class
2147 --enable-stdpaths use wxStandardPaths class
2148 --enable-stopwatch use wxStopWatch class
2149 --enable-streams use wxStream etc classes
2150 --enable-sysoptions use wxSystemOptions
2151 --enable-tarstream use wxTar streams
2152 --enable-textbuf use wxTextBuffer class
2153 --enable-textfile use wxTextFile class
2154 --enable-timer use wxTimer class
2155 --enable-variant use wxVariant class
2156 --enable-zipstream use wxZip streams
2157 --enable-url use wxURL class
2158 --enable-protocol use wxProtocol class
2159 --enable-protocol-http HTTP support
in wxProtocol
2160 --enable-protocol-ftp FTP support
in wxProtocol
2161 --enable-protocol-file FILE support
in wxProtocol
2162 --enable-threads use threads
2163 --enable-iniconf use wxIniConfig
(Win32 only
)
2164 --enable-regkey use wxRegKey class
(Win32 only
)
2165 --enable-docview use document view architecture
2166 --enable-help use
help subsystem
2167 --enable-mshtmlhelp use MS HTML Help
(win32
)
2168 --enable-html use wxHTML sub
-library
2169 --enable-htmlhelp use wxHTML
-based help
2170 --enable-xrc use XRC resources sub
-library
2171 --enable-aui use AUI docking library
2172 --enable-propgrid use wxPropertyGrid library
2173 --enable-ribbon use wxRibbon library
2174 --enable-stc use wxStyledTextCtrl library
2175 --enable-constraints use layout
-constraints system
2176 --enable-loggui use standard GUI logger
2177 --enable-logwin use wxLogWindow
2178 --enable-logdialog use wxLogDialog
2179 --enable-mdi use multiple document interface architecture
2180 --enable-mdidoc use docview architecture with MDI
2181 --enable-mediactrl use wxMediaCtrl class
2182 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2183 --enable-richtext use wxRichTextCtrl
2184 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2185 --enable-printarch use printing architecture
2186 --enable-svg use wxSVGFileDC device context
2187 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2188 --enable-webview use wxWebView library
2189 --enable-graphics_ctx use graphics context
2D drawing API
2190 --enable-clipboard use wxClipboard class
2191 --enable-dnd use Drag
'n'Drop classes
2192 --disable-controls disable compilation of all standard controls
2193 --enable-markup support wxControl
::SetLabelMarkup
2194 --enable-accel use accelerators
2195 --enable-animatectrl use wxAnimationCtrl class
2196 --enable-bannerwindow use wxBannerWindow class
2197 --enable-artstd use standard XPM icons
in wxArtProvider
2198 --enable-arttango use Tango icons
in wxArtProvider
2199 --enable-bmpbutton use wxBitmapButton class
2200 --enable-bmpcombobox use wxBitmapComboBox class
2201 --enable-button use wxButton class
2202 --enable-calendar use wxCalendarCtrl class
2203 --enable-caret use wxCaret class
2204 --enable-checkbox use wxCheckBox class
2205 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2206 --enable-choice use wxChoice class
2207 --enable-choicebook use wxChoicebook class
2208 --enable-collpane use wxCollapsiblePane class
2209 --enable-colourpicker use wxColourPickerCtrl class
2210 --enable-combobox use wxComboBox class
2211 --enable-comboctrl use wxComboCtrl class
2212 --enable-commandlinkbutton use wxCommmandLinkButton class
2213 --enable-dataviewctrl use wxDataViewCtrl class
2214 --enable-datepick use wxDatePickerCtrl class
2215 --enable-detect_sm use code to detect X11 session manager
2216 --enable-dirpicker use wxDirPickerCtrl class
2217 --enable-display use wxDisplay class
2218 --enable-editablebox use wxEditableListBox class
2219 --enable-filectrl use wxFileCtrl class
2220 --enable-filepicker use wxFilePickerCtrl class
2221 --enable-fontpicker use wxFontPickerCtrl class
2222 --enable-gauge use wxGauge class
2223 --enable-grid use wxGrid class
2224 --enable-headerctrl use wxHeaderCtrl class
2225 --enable-hyperlink use wxHyperlinkCtrl class
2226 --enable-imaglist use wxImageList class
2227 --enable-infobar use wxInfoBar class
2228 --enable-listbook use wxListbook class
2229 --enable-listbox use wxListBox class
2230 --enable-listctrl use wxListCtrl class
2231 --enable-notebook use wxNotebook class
2232 --enable-notifmsg use wxNotificationMessage class
2233 --enable-odcombobox use wxOwnerDrawnComboBox class
2234 --enable-popupwin use wxPopUpWindow class
2235 --enable-radiobox use wxRadioBox class
2236 --enable-radiobtn use wxRadioButton class
2237 --enable-richmsgdlg use wxRichMessageDialog class
2238 --enable-richtooltip use wxRichToolTip class
2239 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2240 --enable-sash use wxSashWindow class
2241 --enable-scrollbar use wxScrollBar class and scrollable windows
2242 --enable-searchctrl use wxSearchCtrl class
2243 --enable-slider use wxSlider class
2244 --enable-spinbtn use wxSpinButton class
2245 --enable-spinctrl use wxSpinCtrl class
2246 --enable-splitter use wxSplitterWindow class
2247 --enable-statbmp use wxStaticBitmap class
2248 --enable-statbox use wxStaticBox class
2249 --enable-statline use wxStaticLine class
2250 --enable-stattext use wxStaticText class
2251 --enable-statusbar use wxStatusBar class
2252 --enable-taskbaricon use wxTaskBarIcon class
2253 --enable-tbarnative use native wxToolBar class
2254 --enable-textctrl use wxTextCtrl class
2255 --enable-timepick use wxTimePickerCtrl class
2256 --enable-tipwindow use wxTipWindow class
2257 --enable-togglebtn use wxToggleButton class
2258 --enable-toolbar use wxToolBar class
2259 --enable-toolbook use wxToolbook class
2260 --enable-treebook use wxTreebook class
2261 --enable-treectrl use wxTreeCtrl class
2262 --enable-treelist use wxTreeListCtrl class
2263 --enable-commondlg use all common dialogs
2264 --enable-aboutdlg use wxAboutBox
2265 --enable-choicedlg use wxChoiceDialog
2266 --enable-coldlg use wxColourDialog
2267 --enable-filedlg use wxFileDialog
2268 --enable-finddlg use wxFindReplaceDialog
2269 --enable-fontdlg use wxFontDialog
2270 --enable-dirdlg use wxDirDialog
2271 --enable-msgdlg use wxMessageDialog
2272 --enable-numberdlg use wxNumberEntryDialog
2273 --enable-splash use wxSplashScreen
2274 --enable-textdlg use wxTextDialog
2275 --enable-tipdlg use startup tips
2276 --enable-progressdlg use wxProgressDialog
2277 --enable-wizarddlg use wxWizard
2278 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2279 --enable-miniframe use wxMiniFrame class
2280 --enable-tooltips use wxToolTip class
2281 --enable-splines use spline drawing code
2282 --enable-mousewheel use mousewheel
2283 --enable-validators use wxValidator and derived classes
2284 --enable-busyinfo use wxBusyInfo
2285 --enable-hotkey use wxWindow
::RegisterHotKey
()
2286 --enable-joystick use wxJoystick
2287 --enable-metafiles use wxMetaFile
2288 --enable-dragimage use wxDragImage
2289 --enable-accessibility enable accessibility support
2290 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2291 --enable-dctransform use wxDC
::SetTransformMatrix and related
2292 --enable-webview_webkit use wxWebView WebKit backend
2293 --enable-palette use wxPalette class
2294 --enable-image use wxImage class
2295 --enable-gif use gif images
(GIF
file format
)
2296 --enable-pcx use pcx images
(PCX
file format
)
2297 --enable-tga use tga images
(TGA
file format
)
2298 --enable-iff use iff images
(IFF
file format
)
2299 --enable-pnm use pnm images
(PNM
file format
)
2300 --enable-xpm use xpm images
(XPM
file format
)
2301 --enable-ico_cur use Windows ICO and CUR formats
2302 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2303 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2304 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2305 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2306 --enable-wxdib use wxDIB class
(Win32 only
)
2307 --enable-webview_ie use wxWebView IE backend
(Win32 only
)
2308 --enable-autoidman use automatic ids management
2309 --disable-largefile omit support
for large files
2310 --disable-gtktest do not try to compile and run a
test GTK
+ program
2311 --disable-gtktest Do not try to compile and run a
test GTK program
2312 --disable-sdltest Do not try to compile and run a
test SDL program
2313 --enable-omf use OMF object format
(OS
/2)
2314 --disable-dependency-tracking
2315 don
't use dependency tracking even if the compiler
2317 --disable-precomp-headers
2318 don't use precompiled headers even
if compiler can
2321 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2322 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2323 --without-subdirs don
't generate makefiles for samples/demos/...
2324 --with-flavour=NAME specify a name to identify this build
2325 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2326 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2327 --with-motif use Motif/Lesstif
2328 --with-osx_carbon use Mac OS X (Carbon)
2329 --with-osx_cocoa use Mac OS X (Cocoa)
2330 --with-osx_iphone use iPhone OS X port
2331 --with-osx use Mac OS X (default port, currently Carbon)
2332 --with-carbon same as --with-osx_carbon
2333 --with-cocoa same as --with-osx_cocoa
2334 --with-iphone same as --with-osx_iphone
2335 --with-mac same as --with-osx
2336 --with-old_cocoa use old, deprecated, Cocoa port
2337 --with-wine use Wine
2338 --with-msw use MS-Windows
2339 --with-pm use OS/2 Presentation Manager
2340 --with-directfb use DirectFB
2341 --with-microwin use MicroWindows
2343 --with-libpng use libpng (PNG image format)
2344 --with-libjpeg use libjpeg (JPEG file format)
2345 --with-libtiff use libtiff (TIFF file format)
2346 --with-libxpm use libxpm (XPM file format)
2347 --with-libiconv use libiconv (character conversion)
2348 --with-libmspack use libmspack (CHM help files loading)
2349 --without-gtkprint don't use GTK printing support
2350 --without-gnomeprint don
't use GNOME printing libraries
2351 --with-gnomevfs use GNOME VFS for associating MIME types
2352 --with-hildon use Hildon framework for Nokia 770/800/810
2353 --with-opengl use OpenGL (or Mesa)
2354 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2355 --with-sdl use SDL for audio on Unix
2356 --with-regex enable support for wxRegEx class
2357 --with-zlib use zlib for LZW compression
2358 --with-expat enable XML support using expat parser
2359 --with-macosx-sdk=PATH use an OS X SDK at PATH
2360 --with-macosx-version-min=VER build binaries which require at least this OS X version
2361 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2362 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2363 --with-x use the X Window System
2364 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2365 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2366 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2367 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2368 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2370 Some influential environment variables:
2371 CC C compiler command
2372 CFLAGS C compiler flags
2373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2374 nonstandard directory <lib dir>
2375 LIBS libraries to pass to the linker, e.g. -l<library>
2376 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2377 you have headers in a nonstandard directory <include dir>
2379 CXX C++ compiler command
2380 CXXFLAGS C++ compiler flags
2381 CXXCPP C++ preprocessor
2382 PKG_CONFIG path to pkg-config utility
2384 C compiler flags for DIRECTFB, overriding pkg-config
2386 linker flags for DIRECTFB, overriding pkg-config
2387 XMKMF Path to xmkmf, Makefile generator for X Window System
2389 C compiler flags for PANGOX, overriding pkg-config
2390 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2392 C compiler flags for PANGOFT2, overriding pkg-config
2394 linker flags for PANGOFT2, overriding pkg-config
2396 C compiler flags for PANGOXFT, overriding pkg-config
2398 linker flags for PANGOXFT, overriding pkg-config
2400 C compiler flags for Xinerama, overriding pkg-config
2402 linker flags for Xinerama, overriding pkg-config
2404 C compiler flags for Xxf86vm, overriding pkg-config
2406 linker flags for Xxf86vm, overriding pkg-config
2407 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2408 SM_LIBS linker flags for SM, overriding pkg-config
2409 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2410 GL_LIBS linker flags for GL, overriding pkg-config
2411 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2412 GLU_LIBS linker flags for GLU, overriding pkg-config
2414 C compiler flags for MesaGL, overriding pkg-config
2415 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2417 C compiler flags for GTKPRINT, overriding pkg-config
2419 linker flags for GTKPRINT, overriding pkg-config
2420 LIBGNOMEPRINTUI_CFLAGS
2421 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2422 LIBGNOMEPRINTUI_LIBS
2423 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2425 C compiler flags for GNOMEVFS, overriding pkg-config
2427 linker flags for GNOMEVFS, overriding pkg-config
2429 C compiler flags for HILDON, overriding pkg-config
2430 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2432 C compiler flags for HILDON2, overriding pkg-config
2434 linker flags for HILDON2, overriding pkg-config
2436 C compiler flags for WEBKIT, overriding pkg-config
2437 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2439 C compiler flags for CAIRO, overriding pkg-config
2440 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2441 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2442 GST_LIBS linker flags for GST, overriding pkg-config
2444 Use these variables to override the choices made by `configure' or to
help
2445 it to
find libraries and programs with nonstandard names
/locations.
2447 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2452 if test "$ac_init_help" = "recursive"; then
2453 # If there are subdirs, report their specific --help.
2454 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2455 test -d "$ac_dir" ||
2456 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2461 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2463 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2464 # A ".." for each directory in $ac_dir_suffix.
2465 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2466 case $ac_top_builddir_sub in
2467 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2468 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2471 ac_abs_top_builddir
=$ac_pwd
2472 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2473 # for backward compatibility:
2474 ac_top_builddir
=$ac_top_build_prefix
2477 .
) # We are building in place.
2479 ac_top_srcdir
=$ac_top_builddir_sub
2480 ac_abs_top_srcdir
=$ac_pwd ;;
2481 [\\/]* | ?
:[\\/]* ) # Absolute name.
2482 ac_srcdir
=$srcdir$ac_dir_suffix;
2483 ac_top_srcdir
=$srcdir
2484 ac_abs_top_srcdir
=$srcdir ;;
2486 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2487 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2488 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2490 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2492 cd "$ac_dir" || { ac_status
=$?
; continue; }
2493 # Check for guested configure.
2494 if test -f "$ac_srcdir/configure.gnu"; then
2496 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2497 elif test -f "$ac_srcdir/configure"; then
2499 $SHELL "$ac_srcdir/configure" --help=recursive
2501 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2503 cd "$ac_pwd" || { ac_status
=$?
; break; }
2507 test -n "$ac_init_help" && exit $ac_status
2508 if $ac_init_version; then
2510 wxWidgets configure
2.9.5
2511 generated by GNU Autoconf
2.69
2513 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2514 This configure
script is free software
; the Free Software Foundation
2515 gives unlimited permission to copy
, distribute and modify it.
2520 ## ------------------------ ##
2521 ## Autoconf initialization. ##
2522 ## ------------------------ ##
2524 # ac_fn_c_try_compile LINENO
2525 # --------------------------
2526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2527 ac_fn_c_try_compile
()
2529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2530 rm -f conftest.
$ac_objext
2531 if { { ac_try
="$ac_compile"
2533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_compile") 2>conftest.err
2540 if test -s conftest.err; then
2541 grep -v '^ *+' conftest.err >conftest.er1
2542 cat conftest.er1 >&5
2543 mv -f conftest.er1 conftest.err
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; } && {
2547 test -z "$ac_c_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then :
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status $ac_retval
2560 } # ac_fn_c_try_compile
2562 # ac_fn_c_try_cpp LINENO
2563 # ----------------------
2564 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 if { { ac_try="$ac_cpp conftest.$ac_ext"
2570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2571 *) ac_try_echo
=$ac_try;;
2573 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2577 if test -s conftest.err
; then
2578 grep -v '^ *+' conftest.err
>conftest.er1
2579 cat conftest.er1
>&5
2580 mv -f conftest.er1 conftest.err
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; } > conftest.i
&& {
2584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2585 test ! -s conftest.err
2589 $as_echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.
$ac_ext >&5
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 as_fn_set_status
$ac_retval
2599 # ac_fn_cxx_try_compile LINENO
2600 # ----------------------------
2601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2602 ac_fn_cxx_try_compile
()
2604 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2605 rm -f conftest.
$ac_objext
2606 if { { ac_try
="$ac_compile"
2608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_compile") 2>conftest.err
2615 if test -s conftest.err; then
2616 grep -v '^ *+' conftest.err >conftest.er1
2617 cat conftest.er1 >&5
2618 mv -f conftest.er1 conftest.err
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; } && {
2622 test -z "$ac_cxx_werror_flag" ||
2623 test ! -s conftest.err
2624 } && test -s conftest.$ac_objext; then :
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633 as_fn_set_status $ac_retval
2635 } # ac_fn_cxx_try_compile
2637 # ac_fn_c_try_link LINENO
2638 # -----------------------
2639 # Try to link conftest.$ac_ext, and return whether this succeeded.
2642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2643 rm -f conftest.$ac_objext conftest$ac_exeext
2644 if { { ac_try="$ac_link"
2646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2647 *) ac_try_echo
=$ac_try;;
2649 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link") 2>conftest.err
2653 if test -s conftest.err
; then
2654 grep -v '^ *+' conftest.err
>conftest.er1
2655 cat conftest.er1
>&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && {
2660 test -z "$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 } && test -s conftest
$ac_exeext && {
2663 test "$cross_compiling" = yes ||
2664 test -x conftest
$ac_exeext
2668 $as_echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2673 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2674 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2675 # interfere with the next link command; also delete a directory that is
2676 # left behind by Apple's compiler. We do this before executing the actions.
2677 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status
$ac_retval
2681 } # ac_fn_c_try_link
2683 # ac_fn_cxx_try_link LINENO
2684 # -------------------------
2685 # Try to link conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_cxx_try_link
()
2688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2689 rm -f conftest.
$ac_objext conftest
$ac_exeext
2690 if { { ac_try
="$ac_link"
2692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>conftest.err
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_cxx_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest$ac_exeext && {
2709 test "$cross_compiling" = yes ||
2710 test -x conftest$ac_exeext
2714 $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2719 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2720 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2721 # interfere with the next link command; also delete a directory that is
2722 # left behind by Apple's compiler. We do this before executing the actions.
2723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 as_fn_set_status $ac_retval
2727 } # ac_fn_cxx_try_link
2729 # ac_fn_c_try_run LINENO
2730 # ----------------------
2731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2732 # that executables *can* be run.
2735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736 if { { ac_try="$ac_link"
2738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2739 *) ac_try_echo
=$ac_try;;
2741 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_link") 2>&5
2745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2747 { { case "(($ac_try" in
2748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_try") 2>&5
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; }; }; then :
2759 $as_echo "$as_me: program exited with status $ac_status" >&5
2760 $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_retval=$ac_status
2765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 as_fn_set_status $ac_retval
2771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2772 # -------------------------------------------------------
2773 # Tests whether HEADER exists and can be compiled using the include files in
2774 # INCLUDES, setting the cache variable VAR accordingly.
2775 ac_fn_c_check_header_compile ()
2777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2779 $as_echo_n "checking for $2... " >&6; }
2780 if eval \${$3+:} false; then :
2781 $as_echo_n "(cached) " >&6
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2788 if ac_fn_c_try_compile "$LINENO"; then :
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 $as_echo "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_header_compile
2802 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2803 # --------------------------------------------
2804 # Tries to find the compile-time value of EXPR in a program that includes
2805 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2807 ac_fn_c_compute_int ()
2809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2810 if test "$cross_compiling" = yes; then
2811 # Depending upon the size, compute the lo and hi bounds.
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2818 static int test_array [1 - 2 * !(($2) >= 0)];
2820 return test_array [0];
2826 if ac_fn_c_try_compile "$LINENO"; then :
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2835 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2837 return test_array [0];
2843 if ac_fn_c_try_compile "$LINENO"; then :
2844 ac_hi=$ac_mid; break
2846 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2847 if test $ac_lo -le $ac_mid; then
2851 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2862 static int test_array [1 - 2 * !(($2) < 0)];
2864 return test_array [0];
2870 if ac_fn_c_try_compile "$LINENO"; then :
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2879 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2881 return test_array [0];
2887 if ac_fn_c_try_compile "$LINENO"; then :
2888 ac_lo=$ac_mid; break
2890 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2891 if test $ac_mid -le $ac_hi; then
2895 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 # Binary search between lo and hi bounds.
2906 while test "x$ac_lo" != "x$ac_hi"; do
2907 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2914 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2916 return test_array [0];
2922 if ac_fn_c_try_compile "$LINENO"; then :
2925 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2937 static long int longval () { return $2; }
2938 static unsigned long int ulongval () { return $2; }
2945 FILE *f = fopen ("conftest.val", "w");
2950 long int i = longval ();
2953 fprintf (f, "%ld", i);
2957 unsigned long int i = ulongval ();
2960 fprintf (f, "%lu", i);
2962 /* Do not output a trailing newline, as this causes \r\n confusion
2963 on some platforms. */
2964 return ferror (f) || fclose (f) != 0;
2970 if ac_fn_c_try_run "$LINENO"; then :
2971 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2976 conftest.$ac_objext conftest.beam conftest.$ac_ext
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 as_fn_set_status $ac_retval
2983 } # ac_fn_c_compute_int
2985 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2986 # ---------------------------------------------------------
2987 # Tests whether HEADER exists and can be compiled using the include files in
2988 # INCLUDES, setting the cache variable VAR accordingly.
2989 ac_fn_cxx_check_header_compile ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2993 $as_echo_n "checking for $2... " >&6; }
2994 if eval \${$3+:} false; then :
2995 $as_echo_n "(cached) " >&6
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3002 if ac_fn_cxx_try_compile "$LINENO"; then :
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3011 $as_echo "$ac_res" >&6; }
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3014 } # ac_fn_cxx_check_header_compile
3016 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3017 # ---------------------------------------------
3018 # Tests whether TYPE exists after having included INCLUDES, setting cache
3019 # variable VAR accordingly.
3020 ac_fn_cxx_check_type ()
3022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3024 $as_echo_n "checking for $2... " >&6; }
3025 if eval \${$3+:} false; then :
3026 $as_echo_n "(cached) " >&6
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3041 if ac_fn_cxx_try_compile "$LINENO"; then :
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3054 if ac_fn_cxx_try_compile "$LINENO"; then :
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 } # ac_fn_cxx_check_type
3070 # ac_fn_cxx_try_cpp LINENO
3071 # ------------------------
3072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_cxx_try_cpp ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if { { ac_try="$ac_cpp conftest.$ac_ext"
3078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3079 *) ac_try_echo
=$ac_try;;
3081 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3085 if test -s conftest.err
; then
3086 grep -v '^ *+' conftest.err
>conftest.er1
3087 cat conftest.er1
>&5
3088 mv -f conftest.er1 conftest.err
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; } > conftest.i
&& {
3092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3093 test ! -s conftest.err
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.
$ac_ext >&5
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 as_fn_set_status
$ac_retval
3105 } # ac_fn_cxx_try_cpp
3107 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3108 # ---------------------------------------------------------
3109 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3110 # the include files in INCLUDES and setting the cache variable VAR
3112 ac_fn_cxx_check_header_mongrel
()
3114 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3115 if eval \
${$3+:} false
; then :
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3117 $as_echo_n "checking for $2... " >&6; }
3118 if eval \
${$3+:} false
; then :
3119 $as_echo_n "(cached) " >&6
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3125 # Is the header compilable?
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3127 $as_echo_n "checking $2 usability... " >&6; }
3128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3133 if ac_fn_cxx_try_compile
"$LINENO"; then :
3134 ac_header_compiler
=yes
3136 ac_header_compiler
=no
3138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3140 $as_echo "$ac_header_compiler" >&6; }
3142 # Is the header present?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3144 $as_echo_n "checking $2 presence... " >&6; }
3145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3149 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3150 ac_header_preproc
=yes
3152 ac_header_preproc
=no
3154 rm -f conftest.err conftest.i conftest.
$ac_ext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3156 $as_echo "$ac_header_preproc" >&6; }
3158 # So? What about this header?
3159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3170 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3174 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 ( $as_echo "## ----------------------------------------- ##
3178 ## Report this to wx-dev@lists.wxwidgets.org ##
3179 ## ----------------------------------------- ##"
3180 ) | sed "s/^/$as_me: WARNING: /" >&2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3184 $as_echo_n "checking for $2... " >&6; }
3185 if eval \
${$3+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 eval "$3=\$ac_header_compiler"
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3192 $as_echo "$ac_res" >&6; }
3194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3196 } # ac_fn_cxx_check_header_mongrel
3198 # ac_fn_c_check_func LINENO FUNC VAR
3199 # ----------------------------------
3200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3201 ac_fn_c_check_func
()
3203 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \
${$3+:} false
; then :
3207 $as_echo_n "(cached) " >&6
3209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3213 #define $2 innocuous_$2
3215 /* System header to define __stub macros and hopefully few prototypes,
3216 which can conflict with char $2 (); below.
3217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218 <limits.h> exists even on freestanding compilers. */
3221 # include <limits.h>
3223 # include <assert.h>
3228 /* Override any GCC internal prototype to avoid an error.
3229 Use char because int might match the return type of a GCC
3230 builtin and then its argument prototype would still apply. */
3235 /* The GNU C library defines this for functions which it implements
3236 to always fail with ENOSYS. Some functions are actually named
3237 something starting with __ and the normal name is an alias. */
3238 #if defined __stub_$2 || defined __stub___$2
3250 if ac_fn_c_try_link
"$LINENO"; then :
3255 rm -f core conftest.err conftest.
$ac_objext \
3256 conftest
$ac_exeext conftest.
$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 } # ac_fn_c_check_func
3265 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3266 # -------------------------------------------
3267 # Tests whether TYPE exists after having included INCLUDES, setting cache
3268 # variable VAR accordingly.
3269 ac_fn_c_check_type
()
3271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3273 $as_echo_n "checking for $2... " >&6; }
3274 if eval \
${$3+:} false
; then :
3275 $as_echo_n "(cached) " >&6
3278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3290 if ac_fn_c_try_compile
"$LINENO"; then :
3291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3303 if ac_fn_c_try_compile
"$LINENO"; then :
3308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3314 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_c_check_type
3319 # ac_fn_cxx_try_run LINENO
3320 # ------------------------
3321 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3322 # that executables *can* be run.
3323 ac_fn_cxx_try_run
()
3325 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3326 if { { ac_try
="$ac_link"
3328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3337 { { case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3339 *) ac_try_echo
=$ac_try;;
3341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_try") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }; }; then :
3349 $as_echo "$as_me: program exited with status $ac_status" >&5
3350 $as_echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.
$ac_ext >&5
3353 ac_retval
=$ac_status
3355 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3357 as_fn_set_status
$ac_retval
3359 } # ac_fn_cxx_try_run
3360 cat >config.log
<<_ACEOF
3361 This file contains any messages produced by compilers while
3362 running configure, to aid debugging if configure makes a mistake.
3364 It was created by wxWidgets $as_me 2.9.5, which was
3365 generated by GNU Autoconf 2.69. Invocation command line was
3377 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3378 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3379 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3380 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3381 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3383 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3384 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3386 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3387 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3388 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3389 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3390 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3391 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3392 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir
=.
3401 $as_echo "PATH: $as_dir"
3417 # Keep a trace of the command line.
3418 # Strip out --no-create and --no-recursion so they do not pile up.
3419 # Strip out --silent because we don't want to record it for future runs.
3420 # Also quote any args containing shell meta-characters.
3421 # Make two passes to allow for proper duplicate-argument suppression.
3425 ac_must_keep_next
=false
3431 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3433 | -silent | --silent | --silen | --sile | --sil)
3436 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3439 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3441 as_fn_append ac_configure_args1
" '$ac_arg'"
3442 if test $ac_must_keep_next = true
; then
3443 ac_must_keep_next
=false
# Got value, back to normal.
3446 *=* | --config-cache | -C | -disable-* | --disable-* \
3447 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3448 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3449 | -with-* | --with-* | -without-* | --without-* | --x)
3450 case "$ac_configure_args0 " in
3451 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3454 -* ) ac_must_keep_next
=true
;;
3457 as_fn_append ac_configure_args
" '$ac_arg'"
3462 { ac_configure_args0
=; unset ac_configure_args0
;}
3463 { ac_configure_args1
=; unset ac_configure_args1
;}
3465 # When interrupted or exit'd, cleanup temporary files, and complete
3466 # config.log. We remove comments because anyway the quotes in there
3467 # would cause problems or look ugly.
3468 # WARNING: Use '\'' to represent an apostrophe within the trap.
3469 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3470 trap 'exit_status=$?
3471 # Save into config.log some information that might help in debugging.
3475 $as_echo "## ---------------- ##
3476 ## Cache variables. ##
3477 ## ---------------- ##"
3479 # The following way of writing the cache mishandles newlines in values,
3481 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3482 eval ac_val=\$$ac_var
3486 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3487 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3490 _ | IFS | as_nl) ;; #(
3491 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3492 *) { eval $ac_var=; unset $ac_var;} ;;
3497 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3498 *${as_nl}ac_space=\ *)
3500 "s/'\''/'\''\\\\'\'''\''/g;
3501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3511 $as_echo "## ----------------- ##
3512 ## Output variables. ##
3513 ## ----------------- ##"
3515 for ac_var in $ac_subst_vars
3517 eval ac_val=\$$ac_var
3519 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3521 $as_echo "$ac_var='\''$ac_val'\''"
3525 if test -n "$ac_subst_files"; then
3526 $as_echo "## ------------------- ##
3527 ## File substitutions. ##
3528 ## ------------------- ##"
3530 for ac_var
in $ac_subst_files
3532 eval ac_val
=\$
$ac_var
3534 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3536 $as_echo "$ac_var='\''$ac_val'\''"
3541 if test -s confdefs.h; then
3542 $as_echo "## ----------- ##
3549 test "$ac_signal" != 0 &&
3550 $as_echo "$as_me: caught signal $ac_signal"
3551 $as_echo "$as_me: exit $exit_status"
3553 rm -f core *.core core.conftest.* &&
3554 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3557 for ac_signal
in 1 2 13 15; do
3558 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3562 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3563 rm -f -r conftest
* confdefs.h
3565 $as_echo "/* confdefs.h */" > confdefs.h
3567 # Predefined preprocessor variables.
3569 cat >>confdefs.h
<<_ACEOF
3570 #define PACKAGE_NAME "$PACKAGE_NAME"
3573 cat >>confdefs.h
<<_ACEOF
3574 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3577 cat >>confdefs.h
<<_ACEOF
3578 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3581 cat >>confdefs.h
<<_ACEOF
3582 #define PACKAGE_STRING "$PACKAGE_STRING"
3585 cat >>confdefs.h
<<_ACEOF
3586 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3589 cat >>confdefs.h
<<_ACEOF
3590 #define PACKAGE_URL "$PACKAGE_URL"
3594 # Let the site file select an alternate cache file if it wants to.
3595 # Prefer an explicitly selected file to automatically selected ones.
3598 if test -n "$CONFIG_SITE"; then
3599 # We do not want a PATH search for config.site.
3600 case $CONFIG_SITE in #((
3601 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3602 */*) ac_site_file1
=$CONFIG_SITE;;
3603 *) ac_site_file1
=.
/$CONFIG_SITE;;
3605 elif test "x$prefix" != xNONE
; then
3606 ac_site_file1
=$prefix/share
/config.site
3607 ac_site_file2
=$prefix/etc
/config.site
3609 ac_site_file1
=$ac_default_prefix/share
/config.site
3610 ac_site_file2
=$ac_default_prefix/etc
/config.site
3612 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3614 test "x$ac_site_file" = xNONE
&& continue
3615 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3617 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3618 sed 's/^/| /' "$ac_site_file" >&5
3620 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 as_fn_error $?
"failed to load site script $ac_site_file
3623 See \`config.log' for more details" "$LINENO" 5; }
3627 if test -r "$cache_file"; then
3628 # Some versions of bash will fail to source /dev/null (special files
3629 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3630 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3632 $as_echo "$as_me: loading cache $cache_file" >&6;}
3634 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3635 *) .
"./$cache_file";;
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3640 $as_echo "$as_me: creating cache $cache_file" >&6;}
3644 # Check that the precious variables saved in the cache have kept the same
3646 ac_cache_corrupted
=false
3647 for ac_var
in $ac_precious_vars; do
3648 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3649 eval ac_new_set
=\
$ac_env_${ac_var}_set
3650 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3651 eval ac_new_val
=\
$ac_env_${ac_var}_value
3652 case $ac_old_set,$ac_new_set in
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3655 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3656 ac_cache_corrupted
=: ;;
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3659 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3660 ac_cache_corrupted
=: ;;
3663 if test "x$ac_old_val" != "x$ac_new_val"; then
3664 # differences in whitespace do not lead to failure.
3665 ac_old_val_w
=`echo x $ac_old_val`
3666 ac_new_val_w
=`echo x $ac_new_val`
3667 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3669 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3670 ac_cache_corrupted
=:
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3673 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3674 eval $ac_var=\
$ac_old_val
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3677 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3679 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3682 # Pass precious variables to config.status.
3683 if test "$ac_new_set" = set; then
3685 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3686 *) ac_arg
=$ac_var=$ac_new_val ;;
3688 case " $ac_configure_args " in
3689 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3690 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3694 if $ac_cache_corrupted; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3698 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3699 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3701 ## -------------------- ##
3702 ## Main body of script. ##
3703 ## -------------------- ##
3706 ac_cpp
='$CPP $CPPFLAGS'
3707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3716 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3717 if test -f "$ac_dir/install-sh"; then
3719 ac_install_sh
="$ac_aux_dir/install-sh -c"
3721 elif test -f "$ac_dir/install.sh"; then
3723 ac_install_sh
="$ac_aux_dir/install.sh -c"
3725 elif test -f "$ac_dir/shtool"; then
3727 ac_install_sh
="$ac_aux_dir/shtool install -c"
3731 if test -z "$ac_aux_dir"; then
3732 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3735 # These three variables are undocumented and unsupported,
3736 # and are intended to be withdrawn in a future Autoconf release.
3737 # They can cause serious problems if a builder's source tree is in a directory
3738 # whose full name contains unusual characters.
3739 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3740 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3741 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3744 # Make sure we can run config.sub.
3745 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3746 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3749 $as_echo_n "checking build system type... " >&6; }
3750 if ${ac_cv_build+:} false
; then :
3751 $as_echo_n "(cached) " >&6
3753 ac_build_alias
=$build_alias
3754 test "x$ac_build_alias" = x
&&
3755 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3756 test "x$ac_build_alias" = x
&&
3757 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3758 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3759 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3763 $as_echo "$ac_cv_build" >&6; }
3764 case $ac_cv_build in
3766 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3769 ac_save_IFS
=$IFS; IFS
='-'
3775 # Remember, the first character of IFS is used to create $*,
3776 # except with old shells:
3779 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3783 $as_echo_n "checking host system type... " >&6; }
3784 if ${ac_cv_host+:} false
; then :
3785 $as_echo_n "(cached) " >&6
3787 if test "x$host_alias" = x
; then
3788 ac_cv_host
=$ac_cv_build
3790 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3791 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3796 $as_echo "$ac_cv_host" >&6; }
3799 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3802 ac_save_IFS
=$IFS; IFS
='-'
3808 # Remember, the first character of IFS is used to create $*,
3809 # except with old shells:
3812 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3816 if test "$cross_compiling" != "no"; then
3817 HOST_PREFIX
="${host_alias}-"
3818 HOST_SUFFIX
="-$host_alias"
3825 wx_major_version_number
=2
3826 wx_minor_version_number
=9
3828 wx_subrelease_number
=0
3830 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3831 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3832 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3834 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3837 wx_top_builddir
="`pwd`"
3850 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3856 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3862 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3864 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3866 DEFAULT_wxUSE_OLD_COCOA
=0
3868 DEFAULT_wxUSE_OSX_CARBON
=0
3869 DEFAULT_wxUSE_OSX_COCOA
=0
3870 DEFAULT_wxUSE_OSX_IPHONE
=0
3871 DEFAULT_wxUSE_MICROWIN
=0
3872 DEFAULT_wxUSE_MOTIF
=0
3878 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3879 DEFAULT_DEFAULT_wxUSE_GTK
=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3882 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3883 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3884 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3885 DEFAULT_DEFAULT_wxUSE_MSW
=0
3886 DEFAULT_DEFAULT_wxUSE_PM
=0
3887 DEFAULT_DEFAULT_wxUSE_X11
=0
3888 DEFAULT_DEFAULT_wxUSE_DFB
=0
3892 DYLIB_RPATH_INSTALL
=
3893 DYLIB_RPATH_POSTLINK
=
3895 DEFAULT_STD_FLAG
=yes
3900 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3901 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3902 $as_echo "#define __HPUX__ 1" >>confdefs.h
3905 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3909 $as_echo "#define __LINUX__ 1" >>confdefs.h
3912 if test "x$TMP" = "xalpha"; then
3914 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3917 DEFAULT_DEFAULT_wxUSE_GTK
=1
3919 *-*-gnu* | *-*-k*bsd
*-gnu )
3922 if test "x$TMP" = "xalpha"; then
3924 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3927 DEFAULT_DEFAULT_wxUSE_GTK
=1
3929 *-*-irix5* | *-*-irix6* )
3932 $as_echo "#define __SGI__ 1" >>confdefs.h
3934 $as_echo "#define __SVR4__ 1" >>confdefs.h
3936 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3940 $as_echo "#define __QNX__ 1" >>confdefs.h
3942 DEFAULT_DEFAULT_wxUSE_X11
=1
3948 $as_echo "#define __SUN__ 1" >>confdefs.h
3950 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3952 $as_echo "#define __SVR4__ 1" >>confdefs.h
3954 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3955 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3961 $as_echo "#define __SUN__ 1" >>confdefs.h
3963 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3965 $as_echo "#define __BSD__ 1" >>confdefs.h
3967 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3972 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3974 $as_echo "#define __BSD__ 1" >>confdefs.h
3976 DEFAULT_DEFAULT_wxUSE_GTK
=1
3978 *-*-openbsd*|*-*-mirbsd*)
3981 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3983 $as_echo "#define __BSD__ 1" >>confdefs.h
3985 DEFAULT_DEFAULT_wxUSE_GTK
=1
3990 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3992 $as_echo "#define __BSD__ 1" >>confdefs.h
3994 DEFAULT_DEFAULT_wxUSE_GTK
=1
3995 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3997 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4002 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4004 $as_echo "#define __OSF__ 1" >>confdefs.h
4006 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4007 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4012 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4014 $as_echo "#define __SVR4__ 1" >>confdefs.h
4016 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4021 $as_echo "#define __SYSV__ 1" >>confdefs.h
4023 $as_echo "#define __SVR4__ 1" >>confdefs.h
4025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4031 $as_echo "#define __AIX__ 1" >>confdefs.h
4033 $as_echo "#define __SYSV__ 1" >>confdefs.h
4035 $as_echo "#define __SVR4__ 1" >>confdefs.h
4037 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4044 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4048 *-*-cygwin* | *-*-mingw32* )
4050 DEFAULT_DEFAULT_wxUSE_MSW
=1
4056 $as_echo "#define __DOS__ 1" >>confdefs.h
4061 *-pc-os2_emx | *-pc-os2-emx )
4062 $as_echo "#define __EMX__ 1" >>confdefs.h
4065 $as_echo "#define __OS2__ 1" >>confdefs.h
4068 DEFAULT_DEFAULT_wxUSE_PM
=1
4070 LDFLAGS
="$LDFLAGS -Zcrtdll"
4071 ac_executable_extensions
=".exe"
4072 export ac_executable_extensions
4076 for ac_dir
in $PATH; do
4078 if test -z "$ac_TEMP_PATH"; then
4079 ac_TEMP_PATH
="$ac_dir"
4081 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4084 export PATH
="$ac_TEMP_PATH"
4092 $as_echo "#define __BSD__ 1" >>confdefs.h
4094 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4096 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4102 $as_echo "#define __BSD__ 1" >>confdefs.h
4104 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4106 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4108 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4113 $as_echo "#define __BEOS__ 1" >>confdefs.h
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4119 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4121 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4123 DEFAULT_DEFAULT_wxUSE_X11
=1
4124 DEFAULT_wxUSE_SHARED
=no
4129 DEFAULT_wxUSE_ALL_FEATURES
=yes
4131 DEFAULT_wxUSE_STD_CONTAINERS
=no
4132 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4133 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4135 DEFAULT_wxUSE_DMALLOC
=no
4136 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4137 DEFAULT_wxUSE_LIBHILDON
=no
4138 DEFAULT_wxUSE_LIBHILDON2
=no
4139 DEFAULT_wxUSE_LIBMSPACK
=no
4140 DEFAULT_wxUSE_LIBSDL
=no
4142 DEFAULT_wxUSE_ACCESSIBILITY
=no
4143 DEFAULT_wxUSE_IPV6
=no
4144 DEFAULT_wxUSE_GSTREAMER8
=no
4145 DEFAULT_wxUSE_UNICODE_UTF8
=no
4146 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4148 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4149 DEFAULT_wxUSE_OPENGL
=auto
4150 DEFAULT_wxUSE_MEDIACTRL
=auto
4151 DEFAULT_wxUSE_COMPILER_TLS
=auto
4152 DEFAULT_wxUSE_HOTKEY
=auto
4153 DEFAULT_wxUSE_METAFILE
=auto
4155 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4156 DEFAULT_wxUSE_MAC_ARCH
=no
4158 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4160 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4166 enablestring
=disable
4168 if test -z "$defaultval"; then
4169 if test x
"$enablestring" = xdisable
; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4177 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4178 # Check whether --enable-gui was given.
4179 if test "${enable_gui+set}" = set; then :
4180 enableval
=$enable_gui;
4181 if test "$enableval" = yes; then
4182 wx_cv_use_gui
='wxUSE_GUI=yes'
4184 wx_cv_use_gui
='wxUSE_GUI=no'
4189 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4194 eval "$wx_cv_use_gui"
4196 if test x"$enablestring" = xdisable; then
4197 if test $wxUSE_GUI = no; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4207 $as_echo "$result" >&6; }
4212 if test -z "$defaultval"; then
4213 if test x"$enablestring" = xdisable; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4221 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4222 # Check whether --enable-monolithic was given.
4223 if test "${enable_monolithic+set}" = set; then :
4224 enableval=$enable_monolithic;
4225 if test "$enableval" = yes; then
4226 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4228 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4233 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4238 eval "$wx_cv_use_monolithic"
4240 if test x"$enablestring" = xdisable; then
4241 if test $wxUSE_MONOLITHIC = no; then
4247 result=$wxUSE_MONOLITHIC
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4251 $as_echo "$result" >&6; }
4256 if test -z "$defaultval"; then
4257 if test x"$enablestring" = xdisable; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4265 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4266 # Check whether --enable-plugins was given.
4267 if test "${enable_plugins+set}" = set; then :
4268 enableval=$enable_plugins;
4269 if test "$enableval" = yes; then
4270 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4272 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4277 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4282 eval "$wx_cv_use_plugins"
4284 if test x
"$enablestring" = xdisable
; then
4285 if test $wxUSE_PLUGINS = no
; then
4291 result
=$wxUSE_PLUGINS
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4295 $as_echo "$result" >&6; }
4299 defaultval
=$wxUSE_ALL_FEATURES
4300 if test -z "$defaultval"; then
4301 if test x
"$withstring" = xwithout
; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4308 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4310 # Check whether --with-subdirs was given.
4311 if test "${with_subdirs+set}" = set; then :
4312 withval
=$with_subdirs;
4313 if test "$withval" = yes; then
4314 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4316 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4321 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4326 eval "$wx_cv_use_subdirs"
4328 if test x"$withstring" = xwithout; then
4329 if test $wxWITH_SUBDIRS = yes; then
4335 result=$wxWITH_SUBDIRS
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4339 $as_echo "$result" >&6; }
4342 # Check whether --with-flavour was given.
4343 if test "${with_flavour+set}" = set; then :
4344 withval=$with_flavour; WX_FLAVOUR="$withval"
4350 if test -z "$defaultval"; then
4351 if test x"$enablestring" = xdisable; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4359 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4360 # Check whether --enable-official_build was given.
4361 if test "${enable_official_build+set}" = set; then :
4362 enableval=$enable_official_build;
4363 if test "$enableval" = yes; then
4364 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4366 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4371 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4376 eval "$wx_cv_use_official_build"
4378 if test x"$enablestring" = xdisable; then
4379 if test $wxUSE_OFFICIAL_BUILD = no; then
4385 result=$wxUSE_OFFICIAL_BUILD
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4389 $as_echo "$result" >&6; }
4391 # Check whether --enable-vendor was given.
4392 if test "${enable_vendor+set}" = set; then :
4393 enableval=$enable_vendor; VENDOR="$enableval"
4396 if test "x
$VENDOR" = "x
"; then
4401 enablestring=disable
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4412 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4413 # Check whether --enable-all-features was given.
4414 if test "${enable_all_features+set}" = set; then :
4415 enableval=$enable_all_features;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4419 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4424 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4429 eval "$wx_cv_use_all_features"
4431 if test x
"$enablestring" = xdisable
; then
4432 if test $wxUSE_ALL_FEATURES = no
; then
4438 result
=$wxUSE_ALL_FEATURES
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4442 $as_echo "$result" >&6; }
4445 if test "$wxUSE_ALL_FEATURES" = "no"; then
4446 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4447 DEFAULT_wxUSE_MEDIACTRL
=no
4451 if test "$wxUSE_GUI" = "yes"; then
4456 if test -z "$defaultval"; then
4457 if test x
"$enablestring" = xdisable
; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4465 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4466 # Check whether --enable-universal was given.
4467 if test "${enable_universal+set}" = set; then :
4468 enableval
=$enable_universal;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4472 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4477 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4482 eval "$wx_cv_use_universal"
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_UNIVERSAL = no; then
4491 result=$wxUSE_UNIVERSAL
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4495 $as_echo "$result" >&6; }
4497 if test "$wxUSE_UNIVERSAL" = "yes"; then
4499 # Check whether --with-themes was given.
4500 if test "${with_themes+set}" = set; then :
4501 withval=$with_themes; wxUNIV_THEMES="$withval"
4507 # Check whether --with-gtk was given.
4508 if test "${with_gtk+set}" = set; then :
4509 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4513 # Check whether --with-motif was given.
4514 if test "${with_motif+set}" = set; then :
4515 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4519 # Check whether --with-osx_carbon was given.
4520 if test "${with_osx_carbon+set}" = set; then :
4521 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4525 # Check whether --with-osx_cocoa was given.
4526 if test "${with_osx_cocoa+set}" = set; then :
4527 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4531 # Check whether --with-osx_iphone was given.
4532 if test "${with_osx_iphone+set}" = set; then :
4533 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4537 # Check whether --with-osx was given.
4538 if test "${with_osx+set}" = set; then :
4539 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4543 # Check whether --with-carbon was given.
4544 if test "${with_carbon+set}" = set; then :
4545 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4549 # Check whether --with-cocoa was given.
4550 if test "${with_cocoa+set}" = set; then :
4551 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4555 # Check whether --with-iphone was given.
4556 if test "${with_iphone+set}" = set; then :
4557 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4561 # Check whether --with-mac was given.
4562 if test "${with_mac+set}" = set; then :
4563 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4567 # Check whether --with-old_cocoa was given.
4568 if test "${with_old_cocoa+set}" = set; then :
4569 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4573 # Check whether --with-wine was given.
4574 if test "${with_wine+set}" = set; then :
4575 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4579 # Check whether --with-msw was given.
4580 if test "${with_msw+set}" = set; then :
4581 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4585 # Check whether --with-pm was given.
4586 if test "${with_pm+set}" = set; then :
4587 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4591 # Check whether --with-directfb was given.
4592 if test "${with_directfb+set}" = set; then :
4593 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4597 # Check whether --with-microwin was given.
4598 if test "${with_microwin+set}" = set; then :
4599 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4603 # Check whether --with-x11 was given.
4604 if test "${with_x11+set}" = set; then :
4605 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4611 if test -z "$defaultval"; then
4612 if test x"$enablestring" = xdisable; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4620 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4621 # Check whether --enable-nanox was given.
4622 if test "${enable_nanox+set}" = set; then :
4623 enableval=$enable_nanox;
4624 if test "$enableval" = yes; then
4625 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4627 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4632 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4637 eval "$wx_cv_use_nanox"
4639 if test x"$enablestring" = xdisable; then
4640 if test $wxUSE_NANOX = no; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4650 $as_echo "$result" >&6; }
4655 if test -z "$defaultval"; then
4656 if test x"$enablestring" = xdisable; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4664 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4665 # Check whether --enable-gpe was given.
4666 if test "${enable_gpe+set}" = set; then :
4667 enableval=$enable_gpe;
4668 if test "$enableval" = yes; then
4669 wx_cv_use_gpe='wxUSE_GPE=yes'
4671 wx_cv_use_gpe='wxUSE_GPE=no'
4676 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4681 eval "$wx_cv_use_gpe"
4683 if test x
"$enablestring" = xdisable
; then
4684 if test $wxUSE_GPE = no
; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4694 $as_echo "$result" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4699 $as_echo_n "checking for toolkit... " >&6; }
4703 # In Wine, we need to default to MSW, not GTK or MOTIF
4704 if test "$wxUSE_WINE" = "yes"; then
4705 DEFAULT_DEFAULT_wxUSE_GTK
=0
4706 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4707 DEFAULT_DEFAULT_wxUSE_MSW
=1
4714 if test "$wxUSE_GUI" = "yes"; then
4716 if test "$USE_BEOS" = 1; then
4717 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4720 if test "$TOOLKIT_GIVEN" = 1; then
4721 for toolkit
in $ALL_TOOLKITS; do
4723 eval "value=\$${var}"
4724 if test "x$value" = "xno"; then
4726 elif test "x$value" != "x"; then
4730 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4731 eval "wx${toolkit}_VERSION=$value"
4735 for toolkit
in $ALL_TOOLKITS; do
4736 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4737 eval "wxUSE_$toolkit=\$${var}"
4741 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4742 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4743 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4746 *-pc-os2_emx | *-pc-os2-emx )
4747 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4750 case "$NUM_TOOLKITS" in
4754 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4757 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4760 for toolkit
in $ALL_TOOLKITS; do
4762 eval "value=\$${var}"
4763 if test "$value" = 1; then
4764 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4766 $as_echo "$toolkit_echo" >&6; }
4770 if test "x$host_alias" != "x"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4772 $as_echo "base ($host_alias hosted) only" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4775 $as_echo "base only" >&6; }
4780 if test "$wxUSE_OSX_CARBON" = 1 \
4781 -o "$wxUSE_OSX_COCOA" = 1 \
4782 -o "$wxUSE_OSX_IPHONE" = 1; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4789 $as_echo_n "checking for --with-libpng... " >&6; }
4791 # Check whether --with-libpng was given.
4792 if test "${with_libpng+set}" = set; then :
4793 withval
=$with_libpng;
4794 if test "$withval" = yes; then
4795 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4796 elif test "$withval" = no
; then
4797 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4798 elif test "$withval" = sys
; then
4799 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4800 elif test "$withval" = builtin; then
4801 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4803 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4808 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4813 eval "$wx_cv_use_libpng"
4815 if test "$wxUSE_LIBPNG" = yes; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4817 $as_echo "yes" >&6; }
4818 elif test "$wxUSE_LIBPNG" = no; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 elif test "$wxUSE_LIBPNG" = sys; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4823 $as_echo "system version" >&6; }
4824 elif test "$wxUSE_LIBPNG" = builtin; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4826 $as_echo "builtin version" >&6; }
4828 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4833 $as_echo_n "checking for --with-libjpeg... " >&6; }
4835 # Check whether --with-libjpeg was given.
4836 if test "${with_libjpeg+set}" = set; then :
4837 withval=$with_libjpeg;
4838 if test "$withval" = yes; then
4839 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4840 elif test "$withval" = no; then
4841 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4842 elif test "$withval" = sys; then
4843 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4844 elif test "$withval" = builtin; then
4845 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4847 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4852 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4857 eval "$wx_cv_use_libjpeg"
4859 if test "$wxUSE_LIBJPEG" = yes; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4861 $as_echo "yes" >&6; }
4862 elif test "$wxUSE_LIBJPEG" = no; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4864 $as_echo "no
" >&6; }
4865 elif test "$wxUSE_LIBJPEG" = sys; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4867 $as_echo "system version
" >&6; }
4868 elif test "$wxUSE_LIBJPEG" = builtin; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4870 $as_echo "builtin version
" >&6; }
4872 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4877 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4879 # Check whether --with-libtiff was given.
4880 if test "${with_libtiff+set}" = set; then :
4881 withval=$with_libtiff;
4882 if test "$withval" = yes; then
4883 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4884 elif test "$withval" = no; then
4885 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4886 elif test "$withval" = sys; then
4887 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4888 elif test "$withval" = builtin; then
4889 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4891 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4896 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4901 eval "$wx_cv_use_libtiff"
4903 if test "$wxUSE_LIBTIFF" = yes; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 $as_echo "yes" >&6; }
4906 elif test "$wxUSE_LIBTIFF" = no
; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909 elif test "$wxUSE_LIBTIFF" = sys
; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4911 $as_echo "system version" >&6; }
4912 elif test "$wxUSE_LIBTIFF" = builtin; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4914 $as_echo "builtin version" >&6; }
4916 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4921 $as_echo_n "checking for --with-libxpm... " >&6; }
4923 # Check whether --with-libxpm was given.
4924 if test "${with_libxpm+set}" = set; then :
4925 withval
=$with_libxpm;
4926 if test "$withval" = yes; then
4927 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4928 elif test "$withval" = no
; then
4929 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4930 elif test "$withval" = sys
; then
4931 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4932 elif test "$withval" = builtin; then
4933 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4935 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4940 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4945 eval "$wx_cv_use_libxpm"
4947 if test "$wxUSE_LIBXPM" = yes; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950 elif test "$wxUSE_LIBXPM" = no; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 elif test "$wxUSE_LIBXPM" = sys; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4955 $as_echo "system version" >&6; }
4956 elif test "$wxUSE_LIBXPM" = builtin; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4958 $as_echo "builtin version" >&6; }
4960 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4965 defaultval=$wxUSE_ALL_FEATURES
4966 if test -z "$defaultval"; then
4967 if test x"$withstring" = xwithout; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4974 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4976 # Check whether --with-libiconv was given.
4977 if test "${with_libiconv+set}" = set; then :
4978 withval=$with_libiconv;
4979 if test "$withval" = yes; then
4980 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4982 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4987 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4992 eval "$wx_cv_use_libiconv"
4994 if test x"$withstring" = xwithout; then
4995 if test $wxUSE_LIBICONV = yes; then
5001 result=$wxUSE_LIBICONV
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5005 $as_echo "$result" >&6; }
5009 defaultval=$wxUSE_ALL_FEATURES
5010 if test -z "$defaultval"; then
5011 if test x"$withstring" = xwithout; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5018 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5020 # Check whether --with-libmspack was given.
5021 if test "${with_libmspack+set}" = set; then :
5022 withval=$with_libmspack;
5023 if test "$withval" = yes; then
5024 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5026 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5031 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5036 eval "$wx_cv_use_libmspack"
5038 if test x
"$withstring" = xwithout
; then
5039 if test $wxUSE_LIBMSPACK = yes; then
5045 result
=$wxUSE_LIBMSPACK
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5049 $as_echo "$result" >&6; }
5053 defaultval
=$wxUSE_ALL_FEATURES
5054 if test -z "$defaultval"; then
5055 if test x
"$withstring" = xwithout
; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5062 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5064 # Check whether --with-gtkprint was given.
5065 if test "${with_gtkprint+set}" = set; then :
5066 withval
=$with_gtkprint;
5067 if test "$withval" = yes; then
5068 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5070 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5075 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5080 eval "$wx_cv_use_gtkprint"
5082 if test x"$withstring" = xwithout; then
5083 if test $wxUSE_GTKPRINT = yes; then
5089 result=$wxUSE_GTKPRINT
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5093 $as_echo "$result" >&6; }
5097 defaultval=$wxUSE_ALL_FEATURES
5098 if test -z "$defaultval"; then
5099 if test x"$withstring" = xwithout; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5106 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5108 # Check whether --with-gnomeprint was given.
5109 if test "${with_gnomeprint+set}" = set; then :
5110 withval=$with_gnomeprint;
5111 if test "$withval" = yes; then
5112 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5114 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5119 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5124 eval "$wx_cv_use_gnomeprint"
5126 if test x"$withstring" = xwithout; then
5127 if test $wxUSE_LIBGNOMEPRINT = yes; then
5133 result=$wxUSE_LIBGNOMEPRINT
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5137 $as_echo "$result" >&6; }
5141 defaultval=$wxUSE_ALL_FEATURES
5142 if test -z "$defaultval"; then
5143 if test x"$withstring" = xwithout; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5150 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5152 # Check whether --with-gnomevfs was given.
5153 if test "${with_gnomevfs+set}" = set; then :
5154 withval=$with_gnomevfs;
5155 if test "$withval" = yes; then
5156 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5158 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5163 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5168 eval "$wx_cv_use_gnomevfs"
5170 if test x
"$withstring" = xwithout
; then
5171 if test $wxUSE_LIBGNOMEVFS = yes; then
5177 result
=$wxUSE_LIBGNOMEVFS
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5181 $as_echo "$result" >&6; }
5185 defaultval
=$wxUSE_ALL_FEATURES
5186 if test -z "$defaultval"; then
5187 if test x
"$withstring" = xwithout
; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5194 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5196 # Check whether --with-hildon was given.
5197 if test "${with_hildon+set}" = set; then :
5198 withval
=$with_hildon;
5199 if test "$withval" = yes; then
5200 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5202 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5207 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5212 eval "$wx_cv_use_hildon"
5214 if test x"$withstring" = xwithout; then
5215 if test $wxUSE_LIBHILDON = yes; then
5221 result=$wxUSE_LIBHILDON
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5225 $as_echo "$result" >&6; }
5229 defaultval=$wxUSE_ALL_FEATURES
5230 if test -z "$defaultval"; then
5231 if test x"$withstring" = xwithout; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5238 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5240 # Check whether --with-opengl was given.
5241 if test "${with_opengl+set}" = set; then :
5242 withval=$with_opengl;
5243 if test "$withval" = yes; then
5244 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5246 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5251 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5256 eval "$wx_cv_use_opengl"
5258 if test x"$withstring" = xwithout; then
5259 if test $wxUSE_OPENGL = yes; then
5265 result=$wxUSE_OPENGL
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5269 $as_echo "$result" >&6; }
5276 defaultval=$wxUSE_ALL_FEATURES
5277 if test -z "$defaultval"; then
5278 if test x"$withstring" = xwithout; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5285 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5287 # Check whether --with-dmalloc was given.
5288 if test "${with_dmalloc+set}" = set; then :
5289 withval=$with_dmalloc;
5290 if test "$withval" = yes; then
5291 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5293 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5298 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5303 eval "$wx_cv_use_dmalloc"
5305 if test x
"$withstring" = xwithout
; then
5306 if test $wxUSE_DMALLOC = yes; then
5312 result
=$wxUSE_DMALLOC
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5316 $as_echo "$result" >&6; }
5320 defaultval
=$wxUSE_ALL_FEATURES
5321 if test -z "$defaultval"; then
5322 if test x
"$withstring" = xwithout
; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5329 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5331 # Check whether --with-sdl was given.
5332 if test "${with_sdl+set}" = set; then :
5334 if test "$withval" = yes; then
5335 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5337 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5342 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5347 eval "$wx_cv_use_sdl"
5349 if test x"$withstring" = xwithout; then
5350 if test $wxUSE_LIBSDL = yes; then
5356 result=$wxUSE_LIBSDL
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5360 $as_echo "$result" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5364 $as_echo_n "checking for --with-regex... " >&6; }
5366 # Check whether --with-regex was given.
5367 if test "${with_regex+set}" = set; then :
5368 withval=$with_regex;
5369 if test "$withval" = yes; then
5370 wx_cv_use_regex='wxUSE_REGEX
=yes'
5371 elif test "$withval" = no; then
5372 wx_cv_use_regex='wxUSE_REGEX
=no
'
5373 elif test "$withval" = sys; then
5374 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5375 elif test "$withval" = builtin; then
5376 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5378 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5383 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5388 eval "$wx_cv_use_regex"
5390 if test "$wxUSE_REGEX" = yes; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5392 $as_echo "yes" >&6; }
5393 elif test "$wxUSE_REGEX" = no; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5395 $as_echo "no
" >&6; }
5396 elif test "$wxUSE_REGEX" = sys; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5398 $as_echo "system version
" >&6; }
5399 elif test "$wxUSE_REGEX" = builtin; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5401 $as_echo "builtin version
" >&6; }
5403 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5408 $as_echo_n "checking
for --with-zlib...
" >&6; }
5410 # Check whether --with-zlib was given.
5411 if test "${with_zlib+set}" = set; then :
5413 if test "$withval" = yes; then
5414 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5415 elif test "$withval" = no; then
5416 wx_cv_use_zlib='wxUSE_ZLIB=no'
5417 elif test "$withval" = sys; then
5418 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5419 elif test "$withval" = builtin; then
5420 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5422 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5427 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5432 eval "$wx_cv_use_zlib"
5434 if test "$wxUSE_ZLIB" = yes; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5436 $as_echo "yes" >&6; }
5437 elif test "$wxUSE_ZLIB" = no
; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5440 elif test "$wxUSE_ZLIB" = sys
; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5442 $as_echo "system version" >&6; }
5443 elif test "$wxUSE_ZLIB" = builtin; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5445 $as_echo "builtin version" >&6; }
5447 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5452 $as_echo_n "checking for --with-expat... " >&6; }
5454 # Check whether --with-expat was given.
5455 if test "${with_expat+set}" = set; then :
5456 withval
=$with_expat;
5457 if test "$withval" = yes; then
5458 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5459 elif test "$withval" = no
; then
5460 wx_cv_use_expat
='wxUSE_EXPAT=no'
5461 elif test "$withval" = sys
; then
5462 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5463 elif test "$withval" = builtin; then
5464 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5466 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5471 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5476 eval "$wx_cv_use_expat"
5478 if test "$wxUSE_EXPAT" = yes; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5480 $as_echo "yes" >&6; }
5481 elif test "$wxUSE_EXPAT" = no; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5484 elif test "$wxUSE_EXPAT" = sys; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5486 $as_echo "system version" >&6; }
5487 elif test "$wxUSE_EXPAT" = builtin; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5489 $as_echo "builtin version" >&6; }
5491 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5496 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5498 # Check whether --with-macosx-sdk was given.
5499 if test "${with_macosx_sdk+set}" = set; then :
5500 withval=$with_macosx_sdk;
5501 wxUSE_MACOSX_SDK=$withval
5502 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5507 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5510 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5512 # Check whether --with-macosx-version-min was given.
5513 if test "${with_macosx_version_min+set}" = set; then :
5514 withval=$with_macosx_version_min;
5515 wxUSE_MACOSX_VERSION_MIN=$withval
5516 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5525 $as_echo_n "checking for --enable-debug... " >&6; }
5526 # Check whether --enable-debug was given.
5527 if test "${enable_debug+set}" = set; then :
5528 enableval=$enable_debug;
5529 if test "$enableval" = yes; then
5531 elif test "$enableval" = no; then
5533 elif test "$enableval" = max; then
5535 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5537 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5546 $as_echo "${enable_debug-default}" >&6; }
5548 case "$wxUSE_DEBUG" in
5550 DEFAULT_wxUSE_DEBUG_FLAG=yes
5551 DEFAULT_wxUSE_DEBUG_INFO=yes
5553 DEFAULT_wxUSE_OPTIMISE=no
5557 DEFAULT_wxUSE_DEBUG_FLAG=no
5558 DEFAULT_wxUSE_DEBUG_INFO=no
5562 DEFAULT_wxUSE_DEBUG_FLAG=yes
5563 DEFAULT_wxUSE_DEBUG_INFO=no
5568 enablestring=disable
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5579 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5580 # Check whether --enable-debug_flag was given.
5581 if test "${enable_debug_flag+set}" = set; then :
5582 enableval=$enable_debug_flag;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5586 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5591 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5596 eval "$wx_cv_use_debug_flag"
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_DEBUG_FLAG = no; then
5605 result=$wxUSE_DEBUG_FLAG
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5609 $as_echo "$result" >&6; }
5614 if test -z "$defaultval"; then
5615 if test x"$enablestring" = xdisable; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5623 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5624 # Check whether --enable-debug_info was given.
5625 if test "${enable_debug_info+set}" = set; then :
5626 enableval=$enable_debug_info;
5627 if test "$enableval" = yes; then
5628 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5630 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5635 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5640 eval "$wx_cv_use_debug_info"
5642 if test x
"$enablestring" = xdisable
; then
5643 if test $wxUSE_DEBUG_INFO = no
; then
5649 result
=$wxUSE_DEBUG_INFO
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5653 $as_echo "$result" >&6; }
5660 if test -z "$defaultval"; then
5661 if test x
"$enablestring" = xdisable
; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5669 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5670 # Check whether --enable-debug_gdb was given.
5671 if test "${enable_debug_gdb+set}" = set; then :
5672 enableval
=$enable_debug_gdb;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5676 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5681 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5686 eval "$wx_cv_use_debug_gdb"
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_DEBUG_GDB = no; then
5695 result=$wxUSE_DEBUG_GDB
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5699 $as_echo "$result" >&6; }
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5713 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5714 # Check whether --enable-debug_cntxt was given.
5715 if test "${enable_debug_cntxt+set}" = set; then :
5716 enableval=$enable_debug_cntxt;
5717 if test "$enableval" = yes; then
5718 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5720 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5725 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5730 eval "$wx_cv_use_debug_cntxt"
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_DEBUG_CONTEXT = no; then
5739 result=$wxUSE_DEBUG_CONTEXT
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5743 $as_echo "$result" >&6; }
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5757 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5758 # Check whether --enable-mem_tracing was given.
5759 if test "${enable_mem_tracing+set}" = set; then :
5760 enableval=$enable_mem_tracing;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5764 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5769 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5774 eval "$wx_cv_use_mem_tracing"
5776 if test x
"$enablestring" = xdisable
; then
5777 if test $wxUSE_MEM_TRACING = no
; then
5783 result
=$wxUSE_MEM_TRACING
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5787 $as_echo "$result" >&6; }
5792 enablestring
=disable
5794 if test -z "$defaultval"; then
5795 if test x
"$enablestring" = xdisable
; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5803 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5804 # Check whether --enable-shared was given.
5805 if test "${enable_shared+set}" = set; then :
5806 enableval
=$enable_shared;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_shared
='wxUSE_SHARED=yes'
5810 wx_cv_use_shared
='wxUSE_SHARED=no'
5815 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5820 eval "$wx_cv_use_shared"
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_SHARED = no; then
5829 result=$wxUSE_SHARED
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5833 $as_echo "$result" >&6; }
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5847 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5848 # Check whether --enable-stl was given.
5849 if test "${enable_stl+set}" = set; then :
5850 enableval=$enable_stl;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_stl='wxUSE_STL
=yes'
5854 wx_cv_use_stl='wxUSE_STL
=no
'
5859 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5864 eval "$wx_cv_use_stl"
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_STL = no; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5877 $as_echo "$result" >&6; }
5879 if test "$wxUSE_STL" = "yes"; then
5880 DEFAULT_wxUSE_STD_CONTAINERS=yes
5881 DEFAULT_wxUSE_STD_IOSTREAM=yes
5882 DEFAULT_wxUSE_STD_STRING=yes
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
5896 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
5897 # Check whether --enable-std_containers was given.
5898 if test "${enable_std_containers+set}" = set; then :
5899 enableval=$enable_std_containers;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5903 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5908 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5913 eval "$wx_cv_use_std_containers"
5915 if test x
"$enablestring" = xdisable
; then
5916 if test $wxUSE_STD_CONTAINERS = no
; then
5922 result
=$wxUSE_STD_CONTAINERS
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5926 $as_echo "$result" >&6; }
5931 if test -z "$defaultval"; then
5932 if test x
"$enablestring" = xdisable
; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5940 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5941 # Check whether --enable-std_iostreams was given.
5942 if test "${enable_std_iostreams+set}" = set; then :
5943 enableval
=$enable_std_iostreams;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5947 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5952 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5957 eval "$wx_cv_use_std_iostreams"
5959 if test x"$enablestring" = xdisable; then
5960 if test $wxUSE_STD_IOSTREAM = no; then
5966 result=$wxUSE_STD_IOSTREAM
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5970 $as_echo "$result" >&6; }
5975 if test -z "$defaultval"; then
5976 if test x"$enablestring" = xdisable; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5984 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5985 # Check whether --enable-std_string was given.
5986 if test "${enable_std_string+set}" = set; then :
5987 enableval=$enable_std_string;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
5991 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
5996 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6001 eval "$wx_cv_use_std_string"
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_STD_STRING = no; then
6010 result=$wxUSE_STD_STRING
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6014 $as_echo "$result" >&6; }
6019 if test -z "$defaultval"; then
6020 if test x"$enablestring" = xdisable; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6028 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6029 # Check whether --enable-std_string_conv_in_wxstring was given.
6030 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6031 enableval=$enable_std_string_conv_in_wxstring;
6032 if test "$enableval" = yes; then
6033 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6035 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6040 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6045 eval "$wx_cv_use_std_string_conv_in_wxstring"
6047 if test x
"$enablestring" = xdisable
; then
6048 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6054 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6058 $as_echo "$result" >&6; }
6061 enablestring
=disable
6063 if test -z "$defaultval"; then
6064 if test x
"$enablestring" = xdisable
; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6072 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6073 # Check whether --enable-unicode was given.
6074 if test "${enable_unicode+set}" = set; then :
6075 enableval
=$enable_unicode;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6079 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6084 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6089 eval "$wx_cv_use_unicode"
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_UNICODE = no; then
6098 result=$wxUSE_UNICODE
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6102 $as_echo "$result" >&6; }
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6116 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6117 # Check whether --enable-mslu was given.
6118 if test "${enable_mslu+set}" = set; then :
6119 enableval=$enable_mslu;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6123 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6128 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6133 eval "$wx_cv_use_mslu"
6135 if test x"$enablestring" = xdisable; then
6136 if test $wxUSE_UNICODE_MSLU = no; then
6142 result=$wxUSE_UNICODE_MSLU
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6146 $as_echo "$result" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6151 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6152 # Check whether --enable-utf8 was given.
6153 if test "${enable_utf8+set}" = set; then :
6154 enableval=$enable_utf8;
6155 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6159 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6164 eval "$wx_cv_use_utf8"
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6167 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6172 if test -z "$defaultval"; then
6173 if test x"$enablestring" = xdisable; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6181 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6182 # Check whether --enable-utf8only was given.
6183 if test "${enable_utf8only+set}" = set; then :
6184 enableval=$enable_utf8only;
6185 if test "$enableval" = yes; then
6186 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6188 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6193 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6198 eval "$wx_cv_use_utf8only"
6200 if test x
"$enablestring" = xdisable
; then
6201 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6207 result
=$wxUSE_UNICODE_UTF8_LOCALE
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6211 $as_echo "$result" >&6; }
6216 if test -z "$defaultval"; then
6217 if test x
"$enablestring" = xdisable
; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6225 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6226 # Check whether --enable-extended_rtti was given.
6227 if test "${enable_extended_rtti+set}" = set; then :
6228 enableval
=$enable_extended_rtti;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6232 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6237 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6242 eval "$wx_cv_use_extended_rtti"
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_EXTENDED_RTTI = no; then
6251 result=$wxUSE_EXTENDED_RTTI
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6255 $as_echo "$result" >&6; }
6257 if test "$USE_OS2" = 1; then
6258 DEFAULT_wxUSE_OMF=no
6262 if test -z "$defaultval"; then
6263 if test x"$enablestring" = xdisable; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6271 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6272 # Check whether --enable-omf was given.
6273 if test "${enable_omf+set}" = set; then :
6274 enableval=$enable_omf;
6275 if test "$enableval" = yes; then
6276 wx_cv_use_omf='wxUSE_OMF
=yes'
6278 wx_cv_use_omf='wxUSE_OMF
=no
'
6283 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6288 eval "$wx_cv_use_omf"
6290 if test x"$enablestring" = xdisable; then
6291 if test $wxUSE_OMF = no; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6301 $as_echo "$result" >&6; }
6306 enablestring=disable
6308 if test -z "$defaultval"; then
6309 if test x"$enablestring" = xdisable; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6317 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6318 # Check whether --enable-optimise was given.
6319 if test "${enable_optimise+set}" = set; then :
6320 enableval=$enable_optimise;
6321 if test "$enableval" = yes; then
6322 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6324 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6329 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6334 eval "$wx_cv_use_optimise"
6336 if test x
"$enablestring" = xdisable
; then
6337 if test $wxUSE_OPTIMISE = no
; then
6343 result
=$wxUSE_OPTIMISE
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6347 $as_echo "$result" >&6; }
6353 if test -z "$defaultval"; then
6354 if test x
"$enablestring" = xdisable
; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6362 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6363 # Check whether --enable-profile was given.
6364 if test "${enable_profile+set}" = set; then :
6365 enableval
=$enable_profile;
6366 if test "$enableval" = yes; then
6367 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6369 wx_cv_use_profile
='wxUSE_PROFILE=no'
6374 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6379 eval "$wx_cv_use_profile"
6381 if test x"$enablestring" = xdisable; then
6382 if test $wxUSE_PROFILE = no; then
6388 result=$wxUSE_PROFILE
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6392 $as_echo "$result" >&6; }
6397 if test -z "$defaultval"; then
6398 if test x"$enablestring" = xdisable; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6406 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6407 # Check whether --enable-no_rtti was given.
6408 if test "${enable_no_rtti+set}" = set; then :
6409 enableval=$enable_no_rtti;
6410 if test "$enableval" = yes; then
6411 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6413 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6418 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6423 eval "$wx_cv_use_no_rtti"
6425 if test x"$enablestring" = xdisable; then
6426 if test $wxUSE_NO_RTTI = no; then
6432 result=$wxUSE_NO_RTTI
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6436 $as_echo "$result" >&6; }
6441 if test -z "$defaultval"; then
6442 if test x"$enablestring" = xdisable; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6450 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6451 # Check whether --enable-no_exceptions was given.
6452 if test "${enable_no_exceptions+set}" = set; then :
6453 enableval=$enable_no_exceptions;
6454 if test "$enableval" = yes; then
6455 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6457 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6462 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6467 eval "$wx_cv_use_no_exceptions"
6469 if test x
"$enablestring" = xdisable
; then
6470 if test $wxUSE_NO_EXCEPTIONS = no
; then
6476 result
=$wxUSE_NO_EXCEPTIONS
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6480 $as_echo "$result" >&6; }
6485 if test -z "$defaultval"; then
6486 if test x
"$enablestring" = xdisable
; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6494 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6495 # Check whether --enable-permissive was given.
6496 if test "${enable_permissive+set}" = set; then :
6497 enableval
=$enable_permissive;
6498 if test "$enableval" = yes; then
6499 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6501 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6506 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6511 eval "$wx_cv_use_permissive"
6513 if test x"$enablestring" = xdisable; then
6514 if test $wxUSE_PERMISSIVE = no; then
6520 result=$wxUSE_PERMISSIVE
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6524 $as_echo "$result" >&6; }
6529 if test -z "$defaultval"; then
6530 if test x"$enablestring" = xdisable; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6538 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6539 # Check whether --enable-no_deps was given.
6540 if test "${enable_no_deps+set}" = set; then :
6541 enableval=$enable_no_deps;
6542 if test "$enableval" = yes; then
6543 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6545 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6550 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6555 eval "$wx_cv_use_no_deps"
6557 if test x"$enablestring" = xdisable; then
6558 if test $wxUSE_NO_DEPS = no; then
6564 result=$wxUSE_NO_DEPS
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6568 $as_echo "$result" >&6; }
6571 enablestring=disable
6573 if test -z "$defaultval"; then
6574 if test x"$enablestring" = xdisable; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6582 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6583 # Check whether --enable-vararg_macros was given.
6584 if test "${enable_vararg_macros+set}" = set; then :
6585 enableval=$enable_vararg_macros;
6586 if test "$enableval" = yes; then
6587 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6589 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6594 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6599 eval "$wx_cv_use_vararg_macros"
6601 if test x
"$enablestring" = xdisable
; then
6602 if test $wxUSE_VARARG_MACROS = no
; then
6608 result
=$wxUSE_VARARG_MACROS
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6612 $as_echo "$result" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6618 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6619 # Check whether --enable-universal_binary was given.
6620 if test "${enable_universal_binary+set}" = set; then :
6621 enableval
=$enable_universal_binary;
6622 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6626 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6631 eval "$wx_cv_use_universal_binary"
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6634 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6639 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6640 # Check whether --enable-macosx_arch was given.
6641 if test "${enable_macosx_arch+set}" = set; then :
6642 enableval
=$enable_macosx_arch;
6643 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6647 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6652 eval "$wx_cv_use_macosx_arch"
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6655 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6661 if test -z "$defaultval"; then
6662 if test x
"$enablestring" = xdisable
; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6670 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6671 # Check whether --enable-compat26 was given.
6672 if test "${enable_compat26+set}" = set; then :
6673 enableval
=$enable_compat26;
6674 if test "$enableval" = yes; then
6675 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6677 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6682 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6687 eval "$wx_cv_use_compat26"
6689 if test x"$enablestring" = xdisable; then
6690 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6696 result=$WXWIN_COMPATIBILITY_2_6
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6700 $as_echo "$result" >&6; }
6703 enablestring=disable
6705 if test -z "$defaultval"; then
6706 if test x"$enablestring" = xdisable; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6714 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6715 # Check whether --enable-compat28 was given.
6716 if test "${enable_compat28+set}" = set; then :
6717 enableval=$enable_compat28;
6718 if test "$enableval" = yes; then
6719 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6721 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6726 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6731 eval "$wx_cv_use_compat28"
6733 if test x"$enablestring" = xdisable; then
6734 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6740 result=$WXWIN_COMPATIBILITY_2_8
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6744 $as_echo "$result" >&6; }
6748 enablestring=disable
6750 if test -z "$defaultval"; then
6751 if test x"$enablestring" = xdisable; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6759 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6760 # Check whether --enable-rpath was given.
6761 if test "${enable_rpath+set}" = set; then :
6762 enableval=$enable_rpath;
6763 if test "$enableval" = yes; then
6764 wx_cv_use_rpath='wxUSE_RPATH=yes'
6766 wx_cv_use_rpath='wxUSE_RPATH=no'
6771 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6776 eval "$wx_cv_use_rpath"
6778 if test x
"$enablestring" = xdisable
; then
6779 if test $wxUSE_RPATH = no
; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6789 $as_echo "$result" >&6; }
6795 if test -z "$defaultval"; then
6796 if test x
"$enablestring" = xdisable
; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6804 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6805 # Check whether --enable-objc_uniquifying was given.
6806 if test "${enable_objc_uniquifying+set}" = set; then :
6807 enableval
=$enable_objc_uniquifying;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6811 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6816 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6821 eval "$wx_cv_use_objc_uniquifying"
6823 if test x"$enablestring" = xdisable; then
6824 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6830 result=$wxUSE_OBJC_UNIQUIFYING
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6834 $as_echo "$result" >&6; }
6838 enablestring=disable
6840 if test -z "$defaultval"; then
6841 if test x"$enablestring" = xdisable; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6849 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6850 # Check whether --enable-visibility was given.
6851 if test "${enable_visibility+set}" = set; then :
6852 enableval=$enable_visibility;
6853 if test "$enableval" = yes; then
6854 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6856 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6861 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6866 eval "$wx_cv_use_visibility"
6868 if test x"$enablestring" = xdisable; then
6869 if test $wxUSE_VISIBILITY = no; then
6875 result=$wxUSE_VISIBILITY
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6879 $as_echo "$result" >&6; }
6882 enablestring=disable
6884 if test -z "$defaultval"; then
6885 if test x"$enablestring" = xdisable; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
6893 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
6894 # Check whether --enable-tls was given.
6895 if test "${enable_tls+set}" = set; then :
6896 enableval=$enable_tls;
6897 if test "$enableval" = yes; then
6898 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6900 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6905 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6910 eval "$wx_cv_use_tls"
6912 if test x
"$enablestring" = xdisable
; then
6913 if test $wxUSE_COMPILER_TLS = no
; then
6919 result
=$wxUSE_COMPILER_TLS
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6923 $as_echo "$result" >&6; }
6929 defaultval
=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x
"$enablestring" = xdisable
; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6939 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6940 # Check whether --enable-intl was given.
6941 if test "${enable_intl+set}" = set; then :
6942 enableval
=$enable_intl;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_intl
='wxUSE_INTL=yes'
6946 wx_cv_use_intl
='wxUSE_INTL=no'
6951 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6956 eval "$wx_cv_use_intl"
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_INTL = no; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6969 $as_echo "$result" >&6; }
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6983 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6984 # Check whether --enable-xlocale was given.
6985 if test "${enable_xlocale+set}" = set; then :
6986 enableval=$enable_xlocale;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
6990 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
6995 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7000 eval "$wx_cv_use_xlocale"
7002 if test x"$enablestring" = xdisable; then
7003 if test $wxUSE_XLOCALE = no; then
7009 result=$wxUSE_XLOCALE
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7013 $as_echo "$result" >&6; }
7017 defaultval=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x"$enablestring" = xdisable; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7027 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7028 # Check whether --enable-config was given.
7029 if test "${enable_config+set}" = set; then :
7030 enableval=$enable_config;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_config='wxUSE_CONFIG=yes'
7034 wx_cv_use_config='wxUSE_CONFIG=no'
7039 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7044 eval "$wx_cv_use_config"
7046 if test x
"$enablestring" = xdisable
; then
7047 if test $wxUSE_CONFIG = no
; then
7053 result
=$wxUSE_CONFIG
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7057 $as_echo "$result" >&6; }
7062 defaultval
=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x
"$enablestring" = xdisable
; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7072 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7073 # Check whether --enable-protocols was given.
7074 if test "${enable_protocols+set}" = set; then :
7075 enableval
=$enable_protocols;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7079 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7084 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7089 eval "$wx_cv_use_protocols"
7091 if test x"$enablestring" = xdisable; then
7092 if test $wxUSE_PROTOCOL = no; then
7098 result=$wxUSE_PROTOCOL
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7102 $as_echo "$result" >&6; }
7106 defaultval=$wxUSE_ALL_FEATURES
7107 if test -z "$defaultval"; then
7108 if test x"$enablestring" = xdisable; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7116 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7117 # Check whether --enable-ftp was given.
7118 if test "${enable_ftp+set}" = set; then :
7119 enableval=$enable_ftp;
7120 if test "$enableval" = yes; then
7121 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7123 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7128 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7133 eval "$wx_cv_use_ftp"
7135 if test x"$enablestring" = xdisable; then
7136 if test $wxUSE_PROTOCOL_FTP = no; then
7142 result=$wxUSE_PROTOCOL_FTP
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7146 $as_echo "$result" >&6; }
7150 defaultval=$wxUSE_ALL_FEATURES
7151 if test -z "$defaultval"; then
7152 if test x"$enablestring" = xdisable; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7160 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7161 # Check whether --enable-http was given.
7162 if test "${enable_http+set}" = set; then :
7163 enableval=$enable_http;
7164 if test "$enableval" = yes; then
7165 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7167 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7172 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7177 eval "$wx_cv_use_http"
7179 if test x
"$enablestring" = xdisable
; then
7180 if test $wxUSE_PROTOCOL_HTTP = no
; then
7186 result
=$wxUSE_PROTOCOL_HTTP
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7190 $as_echo "$result" >&6; }
7194 defaultval
=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x
"$enablestring" = xdisable
; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7204 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7205 # Check whether --enable-fileproto was given.
7206 if test "${enable_fileproto+set}" = set; then :
7207 enableval
=$enable_fileproto;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7211 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7216 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7221 eval "$wx_cv_use_fileproto"
7223 if test x"$enablestring" = xdisable; then
7224 if test $wxUSE_PROTOCOL_FILE = no; then
7230 result=$wxUSE_PROTOCOL_FILE
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7234 $as_echo "$result" >&6; }
7238 defaultval=$wxUSE_ALL_FEATURES
7239 if test -z "$defaultval"; then
7240 if test x"$enablestring" = xdisable; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7248 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7249 # Check whether --enable-sockets was given.
7250 if test "${enable_sockets+set}" = set; then :
7251 enableval=$enable_sockets;
7252 if test "$enableval" = yes; then
7253 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7255 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7260 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7265 eval "$wx_cv_use_sockets"
7267 if test x"$enablestring" = xdisable; then
7268 if test $wxUSE_SOCKETS = no; then
7274 result=$wxUSE_SOCKETS
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7278 $as_echo "$result" >&6; }
7282 defaultval=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x"$enablestring" = xdisable; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7292 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7293 # Check whether --enable-ipv6 was given.
7294 if test "${enable_ipv6+set}" = set; then :
7295 enableval=$enable_ipv6;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7299 wx_cv_use_ipv6='wxUSE_IPV6=no'
7304 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7309 eval "$wx_cv_use_ipv6"
7311 if test x
"$enablestring" = xdisable
; then
7312 if test $wxUSE_IPV6 = no
; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7322 $as_echo "$result" >&6; }
7326 defaultval
=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x
"$enablestring" = xdisable
; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7336 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7337 # Check whether --enable-ole was given.
7338 if test "${enable_ole+set}" = set; then :
7339 enableval
=$enable_ole;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_ole
='wxUSE_OLE=yes'
7343 wx_cv_use_ole
='wxUSE_OLE=no'
7348 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7353 eval "$wx_cv_use_ole"
7355 if test x"$enablestring" = xdisable; then
7356 if test $wxUSE_OLE = no; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7366 $as_echo "$result" >&6; }
7370 defaultval=$wxUSE_ALL_FEATURES
7371 if test -z "$defaultval"; then
7372 if test x"$enablestring" = xdisable; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7380 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7381 # Check whether --enable-dataobj was given.
7382 if test "${enable_dataobj+set}" = set; then :
7383 enableval=$enable_dataobj;
7384 if test "$enableval" = yes; then
7385 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7387 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7392 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7397 eval "$wx_cv_use_dataobj"
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_DATAOBJ = no; then
7406 result=$wxUSE_DATAOBJ
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7410 $as_echo "$result" >&6; }
7415 defaultval=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x"$enablestring" = xdisable; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7425 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7426 # Check whether --enable-ipc was given.
7427 if test "${enable_ipc+set}" = set; then :
7428 enableval=$enable_ipc;
7429 if test "$enableval" = yes; then
7430 wx_cv_use_ipc='wxUSE_IPC=yes'
7432 wx_cv_use_ipc='wxUSE_IPC=no'
7437 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7442 eval "$wx_cv_use_ipc"
7444 if test x
"$enablestring" = xdisable
; then
7445 if test $wxUSE_IPC = no
; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7455 $as_echo "$result" >&6; }
7460 defaultval
=$wxUSE_ALL_FEATURES
7461 if test -z "$defaultval"; then
7462 if test x
"$enablestring" = xdisable
; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7470 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7471 # Check whether --enable-baseevtloop was given.
7472 if test "${enable_baseevtloop+set}" = set; then :
7473 enableval
=$enable_baseevtloop;
7474 if test "$enableval" = yes; then
7475 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7477 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7482 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7487 eval "$wx_cv_use_baseevtloop"
7489 if test x"$enablestring" = xdisable; then
7490 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7496 result=$wxUSE_CONSOLE_EVENTLOOP
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7500 $as_echo "$result" >&6; }
7504 defaultval=$wxUSE_ALL_FEATURES
7505 if test -z "$defaultval"; then
7506 if test x"$enablestring" = xdisable; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7514 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7515 # Check whether --enable-epollloop was given.
7516 if test "${enable_epollloop+set}" = set; then :
7517 enableval=$enable_epollloop;
7518 if test "$enableval" = yes; then
7519 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7521 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7526 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7531 eval "$wx_cv_use_epollloop"
7533 if test x"$enablestring" = xdisable; then
7534 if test $wxUSE_EPOLL_DISPATCHER = no; then
7540 result=$wxUSE_EPOLL_DISPATCHER
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7544 $as_echo "$result" >&6; }
7548 defaultval=$wxUSE_ALL_FEATURES
7549 if test -z "$defaultval"; then
7550 if test x"$enablestring" = xdisable; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7558 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7559 # Check whether --enable-selectloop was given.
7560 if test "${enable_selectloop+set}" = set; then :
7561 enableval=$enable_selectloop;
7562 if test "$enableval" = yes; then
7563 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7565 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7570 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7575 eval "$wx_cv_use_selectloop"
7577 if test x
"$enablestring" = xdisable
; then
7578 if test $wxUSE_SELECT_DISPATCHER = no
; then
7584 result
=$wxUSE_SELECT_DISPATCHER
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7588 $as_echo "$result" >&6; }
7593 defaultval
=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x
"$enablestring" = xdisable
; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7603 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7604 # Check whether --enable-any was given.
7605 if test "${enable_any+set}" = set; then :
7606 enableval
=$enable_any;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_any
='wxUSE_ANY=yes'
7610 wx_cv_use_any
='wxUSE_ANY=no'
7615 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7620 eval "$wx_cv_use_any"
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_ANY = no; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7633 $as_echo "$result" >&6; }
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7647 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7648 # Check whether --enable-apple_ieee was given.
7649 if test "${enable_apple_ieee+set}" = set; then :
7650 enableval=$enable_apple_ieee;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7654 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7659 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7664 eval "$wx_cv_use_apple_ieee"
7666 if test x"$enablestring" = xdisable; then
7667 if test $wxUSE_APPLE_IEEE = no; then
7673 result=$wxUSE_APPLE_IEEE
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7677 $as_echo "$result" >&6; }
7681 defaultval=$wxUSE_ALL_FEATURES
7682 if test -z "$defaultval"; then
7683 if test x"$enablestring" = xdisable; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7691 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7692 # Check whether --enable-arcstream was given.
7693 if test "${enable_arcstream+set}" = set; then :
7694 enableval=$enable_arcstream;
7695 if test "$enableval" = yes; then
7696 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7698 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7703 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7708 eval "$wx_cv_use_arcstream"
7710 if test x
"$enablestring" = xdisable
; then
7711 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7717 result
=$wxUSE_ARCHIVE_STREAMS
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7721 $as_echo "$result" >&6; }
7725 defaultval
=$wxUSE_ALL_FEATURES
7726 if test -z "$defaultval"; then
7727 if test x
"$enablestring" = xdisable
; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7735 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7736 # Check whether --enable-base64 was given.
7737 if test "${enable_base64+set}" = set; then :
7738 enableval
=$enable_base64;
7739 if test "$enableval" = yes; then
7740 wx_cv_use_base64
='wxUSE_BASE64=yes'
7742 wx_cv_use_base64
='wxUSE_BASE64=no'
7747 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7752 eval "$wx_cv_use_base64"
7754 if test x"$enablestring" = xdisable; then
7755 if test $wxUSE_BASE64 = no; then
7761 result=$wxUSE_BASE64
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7765 $as_echo "$result" >&6; }
7769 defaultval=$wxUSE_ALL_FEATURES
7770 if test -z "$defaultval"; then
7771 if test x"$enablestring" = xdisable; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7779 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7780 # Check whether --enable-backtrace was given.
7781 if test "${enable_backtrace+set}" = set; then :
7782 enableval=$enable_backtrace;
7783 if test "$enableval" = yes; then
7784 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7786 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7791 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7796 eval "$wx_cv_use_backtrace"
7798 if test x"$enablestring" = xdisable; then
7799 if test $wxUSE_STACKWALKER = no; then
7805 result=$wxUSE_STACKWALKER
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7809 $as_echo "$result" >&6; }
7813 defaultval=$wxUSE_ALL_FEATURES
7814 if test -z "$defaultval"; then
7815 if test x"$enablestring" = xdisable; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7823 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7824 # Check whether --enable-catch_segvs was given.
7825 if test "${enable_catch_segvs+set}" = set; then :
7826 enableval=$enable_catch_segvs;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7830 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7835 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7840 eval "$wx_cv_use_catch_segvs"
7842 if test x
"$enablestring" = xdisable
; then
7843 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7849 result
=$wxUSE_ON_FATAL_EXCEPTION
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7853 $as_echo "$result" >&6; }
7857 defaultval
=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x
"$enablestring" = xdisable
; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7867 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7868 # Check whether --enable-cmdline was given.
7869 if test "${enable_cmdline+set}" = set; then :
7870 enableval
=$enable_cmdline;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7874 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7879 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7884 eval "$wx_cv_use_cmdline"
7886 if test x"$enablestring" = xdisable; then
7887 if test $wxUSE_CMDLINE_PARSER = no; then
7893 result=$wxUSE_CMDLINE_PARSER
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7897 $as_echo "$result" >&6; }
7901 defaultval=$wxUSE_ALL_FEATURES
7902 if test -z "$defaultval"; then
7903 if test x"$enablestring" = xdisable; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7911 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7912 # Check whether --enable-datetime was given.
7913 if test "${enable_datetime+set}" = set; then :
7914 enableval=$enable_datetime;
7915 if test "$enableval" = yes; then
7916 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7918 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7923 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7928 eval "$wx_cv_use_datetime"
7930 if test x"$enablestring" = xdisable; then
7931 if test $wxUSE_DATETIME = no; then
7937 result=$wxUSE_DATETIME
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7941 $as_echo "$result" >&6; }
7945 defaultval=$wxUSE_ALL_FEATURES
7946 if test -z "$defaultval"; then
7947 if test x"$enablestring" = xdisable; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
7955 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
7956 # Check whether --enable-debugreport was given.
7957 if test "${enable_debugreport+set}" = set; then :
7958 enableval=$enable_debugreport;
7959 if test "$enableval" = yes; then
7960 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7962 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7967 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7972 eval "$wx_cv_use_debugreport"
7974 if test x
"$enablestring" = xdisable
; then
7975 if test $wxUSE_DEBUGREPORT = no
; then
7981 result
=$wxUSE_DEBUGREPORT
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7985 $as_echo "$result" >&6; }
7989 defaultval
=$wxUSE_ALL_FEATURES
7990 if test -z "$defaultval"; then
7991 if test x
"$enablestring" = xdisable
; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7999 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8000 # Check whether --enable-dialupman was given.
8001 if test "${enable_dialupman+set}" = set; then :
8002 enableval
=$enable_dialupman;
8003 if test "$enableval" = yes; then
8004 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8006 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8011 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8016 eval "$wx_cv_use_dialupman"
8018 if test x"$enablestring" = xdisable; then
8019 if test $wxUSE_DIALUP_MANAGER = no; then
8025 result=$wxUSE_DIALUP_MANAGER
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8029 $as_echo "$result" >&6; }
8033 defaultval=$wxUSE_ALL_FEATURES
8034 if test -z "$defaultval"; then
8035 if test x"$enablestring" = xdisable; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8043 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8044 # Check whether --enable-dynlib was given.
8045 if test "${enable_dynlib+set}" = set; then :
8046 enableval=$enable_dynlib;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8050 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8055 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8060 eval "$wx_cv_use_dynlib"
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_DYNLIB_CLASS = no; then
8069 result=$wxUSE_DYNLIB_CLASS
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8073 $as_echo "$result" >&6; }
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8087 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8088 # Check whether --enable-dynamicloader was given.
8089 if test "${enable_dynamicloader+set}" = set; then :
8090 enableval=$enable_dynamicloader;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8094 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8099 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8104 eval "$wx_cv_use_dynamicloader"
8106 if test x
"$enablestring" = xdisable
; then
8107 if test $wxUSE_DYNAMIC_LOADER = no
; then
8113 result
=$wxUSE_DYNAMIC_LOADER
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8117 $as_echo "$result" >&6; }
8121 defaultval
=$wxUSE_ALL_FEATURES
8122 if test -z "$defaultval"; then
8123 if test x
"$enablestring" = xdisable
; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8131 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8132 # Check whether --enable-exceptions was given.
8133 if test "${enable_exceptions+set}" = set; then :
8134 enableval
=$enable_exceptions;
8135 if test "$enableval" = yes; then
8136 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8138 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8143 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8148 eval "$wx_cv_use_exceptions"
8150 if test x"$enablestring" = xdisable; then
8151 if test $wxUSE_EXCEPTIONS = no; then
8157 result=$wxUSE_EXCEPTIONS
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8161 $as_echo "$result" >&6; }
8165 defaultval=$wxUSE_ALL_FEATURES
8166 if test -z "$defaultval"; then
8167 if test x"$enablestring" = xdisable; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8175 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8176 # Check whether --enable-ffile was given.
8177 if test "${enable_ffile+set}" = set; then :
8178 enableval=$enable_ffile;
8179 if test "$enableval" = yes; then
8180 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8182 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8187 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8192 eval "$wx_cv_use_ffile"
8194 if test x"$enablestring" = xdisable; then
8195 if test $wxUSE_FFILE = no; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8205 $as_echo "$result" >&6; }
8209 defaultval=$wxUSE_ALL_FEATURES
8210 if test -z "$defaultval"; then
8211 if test x"$enablestring" = xdisable; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8219 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8220 # Check whether --enable-file was given.
8221 if test "${enable_file+set}" = set; then :
8222 enableval=$enable_file;
8223 if test "$enableval" = yes; then
8224 wx_cv_use_file='wxUSE_FILE=yes'
8226 wx_cv_use_file='wxUSE_FILE=no'
8231 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8236 eval "$wx_cv_use_file"
8238 if test x
"$enablestring" = xdisable
; then
8239 if test $wxUSE_FILE = no
; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8249 $as_echo "$result" >&6; }
8253 defaultval
=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x
"$enablestring" = xdisable
; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8263 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8264 # Check whether --enable-filehistory was given.
8265 if test "${enable_filehistory+set}" = set; then :
8266 enableval
=$enable_filehistory;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8270 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8275 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8280 eval "$wx_cv_use_filehistory"
8282 if test x"$enablestring" = xdisable; then
8283 if test $wxUSE_FILE_HISTORY = no; then
8289 result=$wxUSE_FILE_HISTORY
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8293 $as_echo "$result" >&6; }
8297 defaultval=$wxUSE_ALL_FEATURES
8298 if test -z "$defaultval"; then
8299 if test x"$enablestring" = xdisable; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8307 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8308 # Check whether --enable-filesystem was given.
8309 if test "${enable_filesystem+set}" = set; then :
8310 enableval=$enable_filesystem;
8311 if test "$enableval" = yes; then
8312 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8314 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8319 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8324 eval "$wx_cv_use_filesystem"
8326 if test x"$enablestring" = xdisable; then
8327 if test $wxUSE_FILESYSTEM = no; then
8333 result=$wxUSE_FILESYSTEM
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8337 $as_echo "$result" >&6; }
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8351 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8352 # Check whether --enable-fontenum was given.
8353 if test "${enable_fontenum+set}" = set; then :
8354 enableval=$enable_fontenum;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8358 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8363 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8368 eval "$wx_cv_use_fontenum"
8370 if test x
"$enablestring" = xdisable
; then
8371 if test $wxUSE_FONTENUM = no
; then
8377 result
=$wxUSE_FONTENUM
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8381 $as_echo "$result" >&6; }
8385 defaultval
=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x
"$enablestring" = xdisable
; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8395 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8396 # Check whether --enable-fontmap was given.
8397 if test "${enable_fontmap+set}" = set; then :
8398 enableval
=$enable_fontmap;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8402 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8407 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8412 eval "$wx_cv_use_fontmap"
8414 if test x"$enablestring" = xdisable; then
8415 if test $wxUSE_FONTMAP = no; then
8421 result=$wxUSE_FONTMAP
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8425 $as_echo "$result" >&6; }
8429 defaultval=$wxUSE_ALL_FEATURES
8430 if test -z "$defaultval"; then
8431 if test x"$enablestring" = xdisable; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8439 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8440 # Check whether --enable-fs_archive was given.
8441 if test "${enable_fs_archive+set}" = set; then :
8442 enableval=$enable_fs_archive;
8443 if test "$enableval" = yes; then
8444 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8446 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8451 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8456 eval "$wx_cv_use_fs_archive"
8458 if test x"$enablestring" = xdisable; then
8459 if test $wxUSE_FS_ARCHIVE = no; then
8465 result=$wxUSE_FS_ARCHIVE
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8469 $as_echo "$result" >&6; }
8473 defaultval=$wxUSE_ALL_FEATURES
8474 if test -z "$defaultval"; then
8475 if test x"$enablestring" = xdisable; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8483 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8484 # Check whether --enable-fs_inet was given.
8485 if test "${enable_fs_inet+set}" = set; then :
8486 enableval=$enable_fs_inet;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8490 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8495 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8500 eval "$wx_cv_use_fs_inet"
8502 if test x
"$enablestring" = xdisable
; then
8503 if test $wxUSE_FS_INET = no
; then
8509 result
=$wxUSE_FS_INET
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8513 $as_echo "$result" >&6; }
8517 defaultval
=$wxUSE_ALL_FEATURES
8518 if test -z "$defaultval"; then
8519 if test x
"$enablestring" = xdisable
; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8527 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8528 # Check whether --enable-fs_zip was given.
8529 if test "${enable_fs_zip+set}" = set; then :
8530 enableval
=$enable_fs_zip;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8534 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8539 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8544 eval "$wx_cv_use_fs_zip"
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_FS_ZIP = no; then
8553 result=$wxUSE_FS_ZIP
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8557 $as_echo "$result" >&6; }
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8571 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8572 # Check whether --enable-fswatcher was given.
8573 if test "${enable_fswatcher+set}" = set; then :
8574 enableval=$enable_fswatcher;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
8578 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
8583 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8588 eval "$wx_cv_use_fswatcher"
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_FSWATCHER = no; then
8597 result=$wxUSE_FSWATCHER
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8601 $as_echo "$result" >&6; }
8605 defaultval=$wxUSE_ALL_FEATURES
8606 if test -z "$defaultval"; then
8607 if test x"$enablestring" = xdisable; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-geometry" >&5
8615 $as_echo_n "checking
for --${enablestring:-enable}-geometry...
" >&6; }
8616 # Check whether --enable-geometry was given.
8617 if test "${enable_geometry+set}" = set; then :
8618 enableval=$enable_geometry;
8619 if test "$enableval" = yes; then
8620 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8622 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8627 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8632 eval "$wx_cv_use_geometry"
8634 if test x
"$enablestring" = xdisable
; then
8635 if test $wxUSE_GEOMETRY = no
; then
8641 result
=$wxUSE_GEOMETRY
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8645 $as_echo "$result" >&6; }
8649 defaultval
=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x
"$enablestring" = xdisable
; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8659 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8660 # Check whether --enable-log was given.
8661 if test "${enable_log+set}" = set; then :
8662 enableval
=$enable_log;
8663 if test "$enableval" = yes; then
8664 wx_cv_use_log
='wxUSE_LOG=yes'
8666 wx_cv_use_log
='wxUSE_LOG=no'
8671 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8676 eval "$wx_cv_use_log"
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_LOG = no; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8689 $as_echo "$result" >&6; }
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8703 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8704 # Check whether --enable-longlong was given.
8705 if test "${enable_longlong+set}" = set; then :
8706 enableval=$enable_longlong;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
8710 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
8715 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8720 eval "$wx_cv_use_longlong"
8722 if test x"$enablestring" = xdisable; then
8723 if test $wxUSE_LONGLONG = no; then
8729 result=$wxUSE_LONGLONG
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8733 $as_echo "$result" >&6; }
8737 defaultval=$wxUSE_ALL_FEATURES
8738 if test -z "$defaultval"; then
8739 if test x"$enablestring" = xdisable; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mimetype" >&5
8747 $as_echo_n "checking
for --${enablestring:-enable}-mimetype...
" >&6; }
8748 # Check whether --enable-mimetype was given.
8749 if test "${enable_mimetype+set}" = set; then :
8750 enableval=$enable_mimetype;
8751 if test "$enableval" = yes; then
8752 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8754 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8759 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8764 eval "$wx_cv_use_mimetype"
8766 if test x
"$enablestring" = xdisable
; then
8767 if test $wxUSE_MIMETYPE = no
; then
8773 result
=$wxUSE_MIMETYPE
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8777 $as_echo "$result" >&6; }
8781 defaultval
=$wxUSE_ALL_FEATURES
8782 if test -z "$defaultval"; then
8783 if test x
"$enablestring" = xdisable
; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8791 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8792 # Check whether --enable-printfposparam was given.
8793 if test "${enable_printfposparam+set}" = set; then :
8794 enableval
=$enable_printfposparam;
8795 if test "$enableval" = yes; then
8796 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
8798 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
8803 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8808 eval "$wx_cv_use_printfposparam"
8810 if test x"$enablestring" = xdisable; then
8811 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8817 result=$wxUSE_PRINTF_POS_PARAMS
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8821 $as_echo "$result" >&6; }
8825 defaultval=$wxUSE_ALL_FEATURES
8826 if test -z "$defaultval"; then
8827 if test x"$enablestring" = xdisable; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8835 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8836 # Check whether --enable-snglinst was given.
8837 if test "${enable_snglinst+set}" = set; then :
8838 enableval=$enable_snglinst;
8839 if test "$enableval" = yes; then
8840 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8842 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8847 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8852 eval "$wx_cv_use_snglinst"
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_SNGLINST_CHECKER = no; then
8861 result=$wxUSE_SNGLINST_CHECKER
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8865 $as_echo "$result" >&6; }
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sound" >&5
8879 $as_echo_n "checking
for --${enablestring:-enable}-sound...
" >&6; }
8880 # Check whether --enable-sound was given.
8881 if test "${enable_sound+set}" = set; then :
8882 enableval=$enable_sound;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_sound='wxUSE_SOUND=yes'
8886 wx_cv_use_sound='wxUSE_SOUND=no'
8891 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8896 eval "$wx_cv_use_sound"
8898 if test x
"$enablestring" = xdisable
; then
8899 if test $wxUSE_SOUND = no
; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8909 $as_echo "$result" >&6; }
8913 defaultval
=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x
"$enablestring" = xdisable
; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8923 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8924 # Check whether --enable-stdpaths was given.
8925 if test "${enable_stdpaths+set}" = set; then :
8926 enableval
=$enable_stdpaths;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8930 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8935 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8940 eval "$wx_cv_use_stdpaths"
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_STDPATHS = no; then
8949 result=$wxUSE_STDPATHS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8953 $as_echo "$result" >&6; }
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8967 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8968 # Check whether --enable-stopwatch was given.
8969 if test "${enable_stopwatch+set}" = set; then :
8970 enableval=$enable_stopwatch;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8974 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8979 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8984 eval "$wx_cv_use_stopwatch"
8986 if test x"$enablestring" = xdisable; then
8987 if test $wxUSE_STOPWATCH = no; then
8993 result=$wxUSE_STOPWATCH
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8997 $as_echo "$result" >&6; }
9001 defaultval=$wxUSE_ALL_FEATURES
9002 if test -z "$defaultval"; then
9003 if test x"$enablestring" = xdisable; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-streams" >&5
9011 $as_echo_n "checking
for --${enablestring:-enable}-streams...
" >&6; }
9012 # Check whether --enable-streams was given.
9013 if test "${enable_streams+set}" = set; then :
9014 enableval=$enable_streams;
9015 if test "$enableval" = yes; then
9016 wx_cv_use_streams='wxUSE_STREAMS=yes'
9018 wx_cv_use_streams='wxUSE_STREAMS=no'
9023 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9028 eval "$wx_cv_use_streams"
9030 if test x
"$enablestring" = xdisable
; then
9031 if test $wxUSE_STREAMS = no
; then
9037 result
=$wxUSE_STREAMS
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9041 $as_echo "$result" >&6; }
9045 defaultval
=$wxUSE_ALL_FEATURES
9046 if test -z "$defaultval"; then
9047 if test x
"$enablestring" = xdisable
; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9055 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9056 # Check whether --enable-sysoptions was given.
9057 if test "${enable_sysoptions+set}" = set; then :
9058 enableval
=$enable_sysoptions;
9059 if test "$enableval" = yes; then
9060 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
9062 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
9067 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9072 eval "$wx_cv_use_sysoptions"
9074 if test x"$enablestring" = xdisable; then
9075 if test $wxUSE_SYSTEM_OPTIONS = no; then
9081 result=$wxUSE_SYSTEM_OPTIONS
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9085 $as_echo "$result" >&6; }
9089 defaultval=$wxUSE_ALL_FEATURES
9090 if test -z "$defaultval"; then
9091 if test x"$enablestring" = xdisable; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9099 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9100 # Check whether --enable-tarstream was given.
9101 if test "${enable_tarstream+set}" = set; then :
9102 enableval=$enable_tarstream;
9103 if test "$enableval" = yes; then
9104 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
9106 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
9111 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9116 eval "$wx_cv_use_tarstream"
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_TARSTREAM = no; then
9125 result=$wxUSE_TARSTREAM
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9129 $as_echo "$result" >&6; }
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textbuf" >&5
9143 $as_echo_n "checking
for --${enablestring:-enable}-textbuf...
" >&6; }
9144 # Check whether --enable-textbuf was given.
9145 if test "${enable_textbuf+set}" = set; then :
9146 enableval=$enable_textbuf;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9150 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9155 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9160 eval "$wx_cv_use_textbuf"
9162 if test x
"$enablestring" = xdisable
; then
9163 if test $wxUSE_TEXTBUFFER = no
; then
9169 result
=$wxUSE_TEXTBUFFER
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9173 $as_echo "$result" >&6; }
9177 defaultval
=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x
"$enablestring" = xdisable
; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9187 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9188 # Check whether --enable-textfile was given.
9189 if test "${enable_textfile+set}" = set; then :
9190 enableval
=$enable_textfile;
9191 if test "$enableval" = yes; then
9192 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
9194 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
9199 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9204 eval "$wx_cv_use_textfile"
9206 if test x"$enablestring" = xdisable; then
9207 if test $wxUSE_TEXTFILE = no; then
9213 result=$wxUSE_TEXTFILE
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9217 $as_echo "$result" >&6; }
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9231 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9232 # Check whether --enable-timer was given.
9233 if test "${enable_timer+set}" = set; then :
9234 enableval=$enable_timer;
9235 if test "$enableval" = yes; then
9236 wx_cv_use_timer='wxUSE_TIMER
=yes'
9238 wx_cv_use_timer='wxUSE_TIMER
=no
'
9243 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9248 eval "$wx_cv_use_timer"
9250 if test x"$enablestring" = xdisable; then
9251 if test $wxUSE_TIMER = no; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9261 $as_echo "$result" >&6; }
9265 defaultval=$wxUSE_ALL_FEATURES
9266 if test -z "$defaultval"; then
9267 if test x"$enablestring" = xdisable; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-variant" >&5
9275 $as_echo_n "checking
for --${enablestring:-enable}-variant...
" >&6; }
9276 # Check whether --enable-variant was given.
9277 if test "${enable_variant+set}" = set; then :
9278 enableval=$enable_variant;
9279 if test "$enableval" = yes; then
9280 wx_cv_use_variant='wxUSE_VARIANT=yes'
9282 wx_cv_use_variant='wxUSE_VARIANT=no'
9287 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9292 eval "$wx_cv_use_variant"
9294 if test x
"$enablestring" = xdisable
; then
9295 if test $wxUSE_VARIANT = no
; then
9301 result
=$wxUSE_VARIANT
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9305 $as_echo "$result" >&6; }
9309 defaultval
=$wxUSE_ALL_FEATURES
9310 if test -z "$defaultval"; then
9311 if test x
"$enablestring" = xdisable
; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9319 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9320 # Check whether --enable-zipstream was given.
9321 if test "${enable_zipstream+set}" = set; then :
9322 enableval
=$enable_zipstream;
9323 if test "$enableval" = yes; then
9324 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
9326 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
9331 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9336 eval "$wx_cv_use_zipstream"
9338 if test x"$enablestring" = xdisable; then
9339 if test $wxUSE_ZIPSTREAM = no; then
9345 result=$wxUSE_ZIPSTREAM
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9349 $as_echo "$result" >&6; }
9354 defaultval=$wxUSE_ALL_FEATURES
9355 if test -z "$defaultval"; then
9356 if test x"$enablestring" = xdisable; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9364 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9365 # Check whether --enable-url was given.
9366 if test "${enable_url+set}" = set; then :
9367 enableval=$enable_url;
9368 if test "$enableval" = yes; then
9369 wx_cv_use_url='wxUSE_URL
=yes'
9371 wx_cv_use_url='wxUSE_URL
=no
'
9376 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9381 eval "$wx_cv_use_url"
9383 if test x"$enablestring" = xdisable; then
9384 if test $wxUSE_URL = no; then
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9394 $as_echo "$result" >&6; }
9398 defaultval=$wxUSE_ALL_FEATURES
9399 if test -z "$defaultval"; then
9400 if test x"$enablestring" = xdisable; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol" >&5
9408 $as_echo_n "checking
for --${enablestring:-enable}-protocol...
" >&6; }
9409 # Check whether --enable-protocol was given.
9410 if test "${enable_protocol+set}" = set; then :
9411 enableval=$enable_protocol;
9412 if test "$enableval" = yes; then
9413 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9415 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9420 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9425 eval "$wx_cv_use_protocol"
9427 if test x
"$enablestring" = xdisable
; then
9428 if test $wxUSE_PROTOCOL = no
; then
9434 result
=$wxUSE_PROTOCOL
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9438 $as_echo "$result" >&6; }
9442 defaultval
=$wxUSE_ALL_FEATURES
9443 if test -z "$defaultval"; then
9444 if test x
"$enablestring" = xdisable
; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9452 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9453 # Check whether --enable-protocol_http was given.
9454 if test "${enable_protocol_http+set}" = set; then :
9455 enableval
=$enable_protocol_http;
9456 if test "$enableval" = yes; then
9457 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9459 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9464 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9469 eval "$wx_cv_use_protocol_http"
9471 if test x"$enablestring" = xdisable; then
9472 if test $wxUSE_PROTOCOL_HTTP = no; then
9478 result=$wxUSE_PROTOCOL_HTTP
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9482 $as_echo "$result" >&6; }
9486 defaultval=$wxUSE_ALL_FEATURES
9487 if test -z "$defaultval"; then
9488 if test x"$enablestring" = xdisable; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9496 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9497 # Check whether --enable-protocol_ftp was given.
9498 if test "${enable_protocol_ftp+set}" = set; then :
9499 enableval=$enable_protocol_ftp;
9500 if test "$enableval" = yes; then
9501 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9503 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9508 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9513 eval "$wx_cv_use_protocol_ftp"
9515 if test x"$enablestring" = xdisable; then
9516 if test $wxUSE_PROTOCOL_FTP = no; then
9522 result=$wxUSE_PROTOCOL_FTP
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9526 $as_echo "$result" >&6; }
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_file" >&5
9540 $as_echo_n "checking
for --${enablestring:-enable}-protocol_file...
" >&6; }
9541 # Check whether --enable-protocol_file was given.
9542 if test "${enable_protocol_file+set}" = set; then :
9543 enableval=$enable_protocol_file;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9547 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9552 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9557 eval "$wx_cv_use_protocol_file"
9559 if test x
"$enablestring" = xdisable
; then
9560 if test $wxUSE_PROTOCOL_FILE = no
; then
9566 result
=$wxUSE_PROTOCOL_FILE
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9570 $as_echo "$result" >&6; }
9575 defaultval
=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x
"$enablestring" = xdisable
; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9585 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9586 # Check whether --enable-threads was given.
9587 if test "${enable_threads+set}" = set; then :
9588 enableval
=$enable_threads;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_threads
='wxUSE_THREADS=yes'
9592 wx_cv_use_threads
='wxUSE_THREADS=no'
9597 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9602 eval "$wx_cv_use_threads"
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_THREADS = no; then
9611 result=$wxUSE_THREADS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9615 $as_echo "$result" >&6; }
9621 if test -z "$defaultval"; then
9622 if test x"$enablestring" = xdisable; then
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9630 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9631 # Check whether --enable-iniconf was given.
9632 if test "${enable_iniconf+set}" = set; then :
9633 enableval=$enable_iniconf;
9634 if test "$enableval" = yes; then
9635 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9637 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9642 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9647 eval "$wx_cv_use_iniconf"
9649 if test x"$enablestring" = xdisable; then
9650 if test $wxUSE_INICONF = no; then
9656 result=$wxUSE_INICONF
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9660 $as_echo "$result" >&6; }
9664 defaultval=$wxUSE_ALL_FEATURES
9665 if test -z "$defaultval"; then
9666 if test x"$enablestring" = xdisable; then
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-regkey" >&5
9674 $as_echo_n "checking
for --${enablestring:-enable}-regkey...
" >&6; }
9675 # Check whether --enable-regkey was given.
9676 if test "${enable_regkey+set}" = set; then :
9677 enableval=$enable_regkey;
9678 if test "$enableval" = yes; then
9679 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9681 wx_cv_use_regkey='wxUSE_REGKEY=no'
9686 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9691 eval "$wx_cv_use_regkey"
9693 if test x
"$enablestring" = xdisable
; then
9694 if test $wxUSE_REGKEY = no
; then
9700 result
=$wxUSE_REGKEY
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9704 $as_echo "$result" >&6; }
9707 if test "$wxUSE_GUI" = "yes"; then
9712 defaultval
=$wxUSE_ALL_FEATURES
9713 if test -z "$defaultval"; then
9714 if test x
"$enablestring" = xdisable
; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9722 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9723 # Check whether --enable-docview was given.
9724 if test "${enable_docview+set}" = set; then :
9725 enableval
=$enable_docview;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9729 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9734 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9739 eval "$wx_cv_use_docview"
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9748 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9752 $as_echo "$result" >&6; }
9756 defaultval=$wxUSE_ALL_FEATURES
9757 if test -z "$defaultval"; then
9758 if test x"$enablestring" = xdisable; then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9766 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9767 # Check whether --enable-help was given.
9768 if test "${enable_help+set}" = set; then :
9769 enableval=$enable_help;
9770 if test "$enableval" = yes; then
9771 wx_cv_use_help='wxUSE_HELP
=yes'
9773 wx_cv_use_help='wxUSE_HELP
=no
'
9778 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9783 eval "$wx_cv_use_help"
9785 if test x"$enablestring" = xdisable; then
9786 if test $wxUSE_HELP = no; then
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9796 $as_echo "$result" >&6; }
9800 defaultval=$wxUSE_ALL_FEATURES
9801 if test -z "$defaultval"; then
9802 if test x"$enablestring" = xdisable; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9810 $as_echo_n "checking
for --${enablestring:-enable}-mshtmlhelp...
" >&6; }
9811 # Check whether --enable-mshtmlhelp was given.
9812 if test "${enable_mshtmlhelp+set}" = set; then :
9813 enableval=$enable_mshtmlhelp;
9814 if test "$enableval" = yes; then
9815 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9817 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9822 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9827 eval "$wx_cv_use_mshtmlhelp"
9829 if test x
"$enablestring" = xdisable
; then
9830 if test $wxUSE_MS_HTML_HELP = no
; then
9836 result
=$wxUSE_MS_HTML_HELP
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9840 $as_echo "$result" >&6; }
9844 defaultval
=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x
"$enablestring" = xdisable
; then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9854 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9855 # Check whether --enable-html was given.
9856 if test "${enable_html+set}" = set; then :
9857 enableval
=$enable_html;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_html
='wxUSE_HTML=yes'
9861 wx_cv_use_html
='wxUSE_HTML=no'
9866 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9871 eval "$wx_cv_use_html"
9873 if test x"$enablestring" = xdisable; then
9874 if test $wxUSE_HTML = no; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9884 $as_echo "$result" >&6; }
9888 defaultval=$wxUSE_ALL_FEATURES
9889 if test -z "$defaultval"; then
9890 if test x"$enablestring" = xdisable; then
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9898 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9899 # Check whether --enable-htmlhelp was given.
9900 if test "${enable_htmlhelp+set}" = set; then :
9901 enableval=$enable_htmlhelp;
9902 if test "$enableval" = yes; then
9903 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9905 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9910 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9915 eval "$wx_cv_use_htmlhelp"
9917 if test x"$enablestring" = xdisable; then
9918 if test $wxUSE_WXHTML_HELP = no; then
9924 result=$wxUSE_WXHTML_HELP
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9928 $as_echo "$result" >&6; }
9932 defaultval=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x"$enablestring" = xdisable; then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xrc" >&5
9942 $as_echo_n "checking
for --${enablestring:-enable}-xrc...
" >&6; }
9943 # Check whether --enable-xrc was given.
9944 if test "${enable_xrc+set}" = set; then :
9945 enableval=$enable_xrc;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_xrc='wxUSE_XRC=yes'
9949 wx_cv_use_xrc='wxUSE_XRC=no'
9954 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9959 eval "$wx_cv_use_xrc"
9961 if test x
"$enablestring" = xdisable
; then
9962 if test $wxUSE_XRC = no
; then
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9972 $as_echo "$result" >&6; }
9976 defaultval
=$wxUSE_ALL_FEATURES
9977 if test -z "$defaultval"; then
9978 if test x
"$enablestring" = xdisable
; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9986 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9987 # Check whether --enable-aui was given.
9988 if test "${enable_aui+set}" = set; then :
9989 enableval
=$enable_aui;
9990 if test "$enableval" = yes; then
9991 wx_cv_use_aui
='wxUSE_AUI=yes'
9993 wx_cv_use_aui
='wxUSE_AUI=no'
9998 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10003 eval "$wx_cv_use_aui"
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_AUI = no; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10016 $as_echo "$result" >&6; }
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10030 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10031 # Check whether --enable-propgrid was given.
10032 if test "${enable_propgrid+set}" = set; then :
10033 enableval=$enable_propgrid;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
10037 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
10042 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10047 eval "$wx_cv_use_propgrid"
10049 if test x"$enablestring" = xdisable; then
10050 if test $wxUSE_PROPGRID = no; then
10056 result=$wxUSE_PROPGRID
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10060 $as_echo "$result" >&6; }
10064 defaultval=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x"$enablestring" = xdisable; then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ribbon" >&5
10074 $as_echo_n "checking
for --${enablestring:-enable}-ribbon...
" >&6; }
10075 # Check whether --enable-ribbon was given.
10076 if test "${enable_ribbon+set}" = set; then :
10077 enableval=$enable_ribbon;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10081 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10086 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10091 eval "$wx_cv_use_ribbon"
10093 if test x
"$enablestring" = xdisable
; then
10094 if test $wxUSE_RIBBON = no
; then
10100 result
=$wxUSE_RIBBON
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10104 $as_echo "$result" >&6; }
10108 defaultval
=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x
"$enablestring" = xdisable
; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10118 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10119 # Check whether --enable-stc was given.
10120 if test "${enable_stc+set}" = set; then :
10121 enableval
=$enable_stc;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_stc
='wxUSE_STC=yes'
10125 wx_cv_use_stc
='wxUSE_STC=no'
10130 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10135 eval "$wx_cv_use_stc"
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_STC = no; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10148 $as_echo "$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10162 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10163 # Check whether --enable-constraints was given.
10164 if test "${enable_constraints+set}" = set; then :
10165 enableval=$enable_constraints;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
10169 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
10174 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10179 eval "$wx_cv_use_constraints"
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_CONSTRAINTS = no; then
10188 result=$wxUSE_CONSTRAINTS
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10192 $as_echo "$result" >&6; }
10196 defaultval=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x"$enablestring" = xdisable; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-loggui" >&5
10206 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
10207 # Check whether --enable-loggui was given.
10208 if test "${enable_loggui+set}" = set; then :
10209 enableval=$enable_loggui;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10213 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10218 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10223 eval "$wx_cv_use_loggui"
10225 if test x
"$enablestring" = xdisable
; then
10226 if test $wxUSE_LOGGUI = no
; then
10232 result
=$wxUSE_LOGGUI
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10236 $as_echo "$result" >&6; }
10240 defaultval
=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x
"$enablestring" = xdisable
; then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10250 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10251 # Check whether --enable-logwin was given.
10252 if test "${enable_logwin+set}" = set; then :
10253 enableval
=$enable_logwin;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
10257 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
10262 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10267 eval "$wx_cv_use_logwin"
10269 if test x"$enablestring" = xdisable; then
10270 if test $wxUSE_LOGWINDOW = no; then
10276 result=$wxUSE_LOGWINDOW
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10280 $as_echo "$result" >&6; }
10284 defaultval=$wxUSE_ALL_FEATURES
10285 if test -z "$defaultval"; then
10286 if test x"$enablestring" = xdisable; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10294 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10295 # Check whether --enable-logdialog was given.
10296 if test "${enable_logdialog+set}" = set; then :
10297 enableval=$enable_logdialog;
10298 if test "$enableval" = yes; then
10299 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
10301 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
10306 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10311 eval "$wx_cv_use_logdialog"
10313 if test x"$enablestring" = xdisable; then
10314 if test $wxUSE_LOGDIALOG = no; then
10320 result=$wxUSE_LOGDIALOG
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10324 $as_echo "$result" >&6; }
10328 defaultval=$wxUSE_ALL_FEATURES
10329 if test -z "$defaultval"; then
10330 if test x"$enablestring" = xdisable; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdi" >&5
10338 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
10339 # Check whether --enable-mdi was given.
10340 if test "${enable_mdi+set}" = set; then :
10341 enableval=$enable_mdi;
10342 if test "$enableval" = yes; then
10343 wx_cv_use_mdi='wxUSE_MDI=yes'
10345 wx_cv_use_mdi='wxUSE_MDI=no'
10350 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10355 eval "$wx_cv_use_mdi"
10357 if test x
"$enablestring" = xdisable
; then
10358 if test $wxUSE_MDI = no
; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10368 $as_echo "$result" >&6; }
10372 defaultval
=$wxUSE_ALL_FEATURES
10373 if test -z "$defaultval"; then
10374 if test x
"$enablestring" = xdisable
; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10382 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10383 # Check whether --enable-mdidoc was given.
10384 if test "${enable_mdidoc+set}" = set; then :
10385 enableval
=$enable_mdidoc;
10386 if test "$enableval" = yes; then
10387 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10389 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10394 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10399 eval "$wx_cv_use_mdidoc"
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_MDI_ARCHITECTURE = no; then
10408 result=$wxUSE_MDI_ARCHITECTURE
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10412 $as_echo "$result" >&6; }
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10426 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10427 # Check whether --enable-mediactrl was given.
10428 if test "${enable_mediactrl+set}" = set; then :
10429 enableval=$enable_mediactrl;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
10433 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
10438 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10443 eval "$wx_cv_use_mediactrl"
10445 if test x"$enablestring" = xdisable; then
10446 if test $wxUSE_MEDIACTRL = no; then
10452 result=$wxUSE_MEDIACTRL
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10456 $as_echo "$result" >&6; }
10460 defaultval=$wxUSE_ALL_FEATURES
10461 if test -z "$defaultval"; then
10462 if test x"$enablestring" = xdisable; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gstreamer8" >&5
10470 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
10471 # Check whether --enable-gstreamer8 was given.
10472 if test "${enable_gstreamer8+set}" = set; then :
10473 enableval=$enable_gstreamer8;
10474 if test "$enableval" = yes; then
10475 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10477 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10482 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10487 eval "$wx_cv_use_gstreamer8"
10489 if test x
"$enablestring" = xdisable
; then
10490 if test $wxUSE_GSTREAMER8 = no
; then
10496 result
=$wxUSE_GSTREAMER8
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10500 $as_echo "$result" >&6; }
10504 defaultval
=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x
"$enablestring" = xdisable
; then
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10514 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10515 # Check whether --enable-richtext was given.
10516 if test "${enable_richtext+set}" = set; then :
10517 enableval
=$enable_richtext;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
10521 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
10526 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10531 eval "$wx_cv_use_richtext"
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_RICHTEXT = no; then
10540 result=$wxUSE_RICHTEXT
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10544 $as_echo "$result" >&6; }
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10558 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10559 # Check whether --enable-postscript was given.
10560 if test "${enable_postscript+set}" = set; then :
10561 enableval=$enable_postscript;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10565 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10570 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10575 eval "$wx_cv_use_postscript"
10577 if test x"$enablestring" = xdisable; then
10578 if test $wxUSE_POSTSCRIPT = no; then
10584 result=$wxUSE_POSTSCRIPT
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10588 $as_echo "$result" >&6; }
10592 defaultval=$wxUSE_ALL_FEATURES
10593 if test -z "$defaultval"; then
10594 if test x"$enablestring" = xdisable; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printarch" >&5
10602 $as_echo_n "checking
for --${enablestring:-enable}-printarch...
" >&6; }
10603 # Check whether --enable-printarch was given.
10604 if test "${enable_printarch+set}" = set; then :
10605 enableval=$enable_printarch;
10606 if test "$enableval" = yes; then
10607 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10609 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10614 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10619 eval "$wx_cv_use_printarch"
10621 if test x
"$enablestring" = xdisable
; then
10622 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
10628 result
=$wxUSE_PRINTING_ARCHITECTURE
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10632 $as_echo "$result" >&6; }
10636 defaultval
=$wxUSE_ALL_FEATURES
10637 if test -z "$defaultval"; then
10638 if test x
"$enablestring" = xdisable
; then
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10646 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10647 # Check whether --enable-svg was given.
10648 if test "${enable_svg+set}" = set; then :
10649 enableval
=$enable_svg;
10650 if test "$enableval" = yes; then
10651 wx_cv_use_svg
='wxUSE_SVG=yes'
10653 wx_cv_use_svg
='wxUSE_SVG=no'
10658 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10663 eval "$wx_cv_use_svg"
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_SVG = no; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10676 $as_echo "$result" >&6; }
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10690 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10691 # Check whether --enable-webkit was given.
10692 if test "${enable_webkit+set}" = set; then :
10693 enableval=$enable_webkit;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10697 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10702 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10707 eval "$wx_cv_use_webkit"
10709 if test x"$enablestring" = xdisable; then
10710 if test $wxUSE_WEBKIT = no; then
10716 result=$wxUSE_WEBKIT
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10720 $as_echo "$result" >&6; }
10724 defaultval=$wxUSE_ALL_FEATURES
10725 if test -z "$defaultval"; then
10726 if test x"$enablestring" = xdisable; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webview" >&5
10734 $as_echo_n "checking
for --${enablestring:-enable}-webview...
" >&6; }
10735 # Check whether --enable-webview was given.
10736 if test "${enable_webview+set}" = set; then :
10737 enableval=$enable_webview;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10741 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10746 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10751 eval "$wx_cv_use_webview"
10753 if test x
"$enablestring" = xdisable
; then
10754 if test $wxUSE_WEBVIEW = no
; then
10760 result
=$wxUSE_WEBVIEW
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10764 $as_echo "$result" >&6; }
10767 if test "$wxUSE_MAC" != 1; then
10770 defaultval
=$wxUSE_ALL_FEATURES
10771 if test -z "$defaultval"; then
10772 if test x
"$enablestring" = xdisable
; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10780 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10781 # Check whether --enable-graphics_ctx was given.
10782 if test "${enable_graphics_ctx+set}" = set; then :
10783 enableval
=$enable_graphics_ctx;
10784 if test "$enableval" = yes; then
10785 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10787 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10792 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10797 eval "$wx_cv_use_graphics_ctx"
10799 if test x"$enablestring" = xdisable; then
10800 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10806 result=$wxUSE_GRAPHICS_CONTEXT
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10810 $as_echo "$result" >&6; }
10817 defaultval=$wxUSE_ALL_FEATURES
10818 if test -z "$defaultval"; then
10819 if test x"$enablestring" = xdisable; then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10827 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10828 # Check whether --enable-clipboard was given.
10829 if test "${enable_clipboard+set}" = set; then :
10830 enableval=$enable_clipboard;
10831 if test "$enableval" = yes; then
10832 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
10834 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
10839 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10844 eval "$wx_cv_use_clipboard"
10846 if test x"$enablestring" = xdisable; then
10847 if test $wxUSE_CLIPBOARD = no; then
10853 result=$wxUSE_CLIPBOARD
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10857 $as_echo "$result" >&6; }
10861 defaultval=$wxUSE_ALL_FEATURES
10862 if test -z "$defaultval"; then
10863 if test x"$enablestring" = xdisable; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dnd" >&5
10871 $as_echo_n "checking
for --${enablestring:-enable}-dnd...
" >&6; }
10872 # Check whether --enable-dnd was given.
10873 if test "${enable_dnd+set}" = set; then :
10874 enableval=$enable_dnd;
10875 if test "$enableval" = yes; then
10876 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10878 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10883 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10888 eval "$wx_cv_use_dnd"
10890 if test x
"$enablestring" = xdisable
; then
10891 if test $wxUSE_DRAG_AND_DROP = no
; then
10897 result
=$wxUSE_DRAG_AND_DROP
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10901 $as_echo "$result" >&6; }
10905 DEFAULT_wxUSE_CONTROLS
=none
10907 enablestring
=disable
10909 if test -z "$defaultval"; then
10910 if test x
"$enablestring" = xdisable
; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10918 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10919 # Check whether --enable-controls was given.
10920 if test "${enable_controls+set}" = set; then :
10921 enableval
=$enable_controls;
10922 if test "$enableval" = yes; then
10923 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10925 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10930 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10935 eval "$wx_cv_use_controls"
10937 if test x"$enablestring" = xdisable; then
10938 if test $wxUSE_CONTROLS = no; then
10944 result=$wxUSE_CONTROLS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10948 $as_echo "$result" >&6; }
10951 if test "$wxUSE_CONTROLS" = "no"; then
10952 DEFAULT_wxUSE_ACCEL=no
10953 DEFAULT_wxUSE_ANIMATIONCTRL=no
10954 DEFAULT_wxUSE_BANNERWINDOW=no
10955 DEFAULT_wxUSE_BMPBUTTON=no
10956 DEFAULT_wxUSE_BUTTON=no
10957 DEFAULT_wxUSE_CALCTRL=no
10958 DEFAULT_wxUSE_CARET=no
10959 DEFAULT_wxUSE_CHECKBOX=no
10960 DEFAULT_wxUSE_CHECKLISTBOX=no
10961 DEFAULT_wxUSE_CHOICE=no
10962 DEFAULT_wxUSE_CHOICEBOOK=no
10963 DEFAULT_wxUSE_COLLPANE=no
10964 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10965 DEFAULT_wxUSE_COMBOBOX=no
10966 DEFAULT_wxUSE_COMBOBOX=no
10967 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10968 DEFAULT_wxUSE_DATAVIEWCTRL=no
10969 DEFAULT_wxUSE_DATEPICKCTRL=no
10970 DEFAULT_wxUSE_DETECT_SM=no
10971 DEFAULT_wxUSE_DIRPICKERCTRL=no
10972 DEFAULT_wxUSE_DISPLAY=no
10973 DEFAULT_wxUSE_FILECTRL=no
10974 DEFAULT_wxUSE_FILEPICKERCTRL=no
10975 DEFAULT_wxUSE_FONTPICKERCTRL=no
10976 DEFAULT_wxUSE_GAUGE=no
10977 DEFAULT_wxUSE_GRID=no
10978 DEFAULT_wxUSE_HEADERCTRL=no
10979 DEFAULT_wxUSE_HYPERLINKCTRL=no
10980 DEFAULT_wxUSE_IMAGLIST=no
10981 DEFAULT_wxUSE_LISTBOOK=no
10982 DEFAULT_wxUSE_LISTBOX=no
10983 DEFAULT_wxUSE_LISTCTRL=no
10984 DEFAULT_wxUSE_MARKUP=no
10985 DEFAULT_wxUSE_NOTEBOOK=no
10986 DEFAULT_wxUSE_POPUPWIN=no
10987 DEFAULT_wxUSE_RADIOBOX=no
10988 DEFAULT_wxUSE_RADIOBTN=no
10989 DEFAULT_wxUSE_RICHMSGDLG=no
10990 DEFAULT_wxUSE_RICHTOOLTIP=no
10991 DEFAULT_wxUSE_REARRANGECTRL=no
10992 DEFAULT_wxUSE_SASH=no
10993 DEFAULT_wxUSE_SCROLLBAR=no
10994 DEFAULT_wxUSE_SEARCHCTRL=no
10995 DEFAULT_wxUSE_SLIDER=no
10996 DEFAULT_wxUSE_SPINBTN=no
10997 DEFAULT_wxUSE_SPINCTRL=no
10998 DEFAULT_wxUSE_SPLITTER=no
10999 DEFAULT_wxUSE_STATBMP=no
11000 DEFAULT_wxUSE_STATBOX=no
11001 DEFAULT_wxUSE_STATLINE=no
11002 DEFAULT_wxUSE_STATUSBAR=no
11003 DEFAULT_wxUSE_TIMEPICKCTRL=no
11004 DEFAULT_wxUSE_TIPWINDOW=no
11005 DEFAULT_wxUSE_TOGGLEBTN=no
11006 DEFAULT_wxUSE_TOOLBAR=no
11007 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11008 DEFAULT_wxUSE_TOOLBOOK=no
11009 DEFAULT_wxUSE_TOOLTIPS=no
11010 DEFAULT_wxUSE_TREEBOOK=no
11011 DEFAULT_wxUSE_TREECTRL=no
11012 DEFAULT_wxUSE_TREELISTCTRL=no
11017 defaultval=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x"$enablestring" = xdisable; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11027 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11028 # Check whether --enable-markup was given.
11029 if test "${enable_markup+set}" = set; then :
11030 enableval=$enable_markup;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_markup='wxUSE_MARKUP
=yes'
11034 wx_cv_use_markup='wxUSE_MARKUP
=no
'
11039 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11044 eval "$wx_cv_use_markup"
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_MARKUP = no; then
11053 result=$wxUSE_MARKUP
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11057 $as_echo "$result" >&6; }
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accel" >&5
11072 $as_echo_n "checking
for --${enablestring:-enable}-accel...
" >&6; }
11073 # Check whether --enable-accel was given.
11074 if test "${enable_accel+set}" = set; then :
11075 enableval=$enable_accel;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_accel='wxUSE_ACCEL=yes'
11079 wx_cv_use_accel='wxUSE_ACCEL=no'
11084 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11089 eval "$wx_cv_use_accel"
11091 if test x
"$enablestring" = xdisable
; then
11092 if test $wxUSE_ACCEL = no
; then
11098 result
=$wxUSE_ACCEL
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11102 $as_echo "$result" >&6; }
11106 defaultval
=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x
"$enablestring" = xdisable
; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11116 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11117 # Check whether --enable-animatectrl was given.
11118 if test "${enable_animatectrl+set}" = set; then :
11119 enableval
=$enable_animatectrl;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
11123 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
11128 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11133 eval "$wx_cv_use_animatectrl"
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_ANIMATIONCTRL = no; then
11142 result=$wxUSE_ANIMATIONCTRL
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11146 $as_echo "$result" >&6; }
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11160 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11161 # Check whether --enable-bannerwindow was given.
11162 if test "${enable_bannerwindow+set}" = set; then :
11163 enableval=$enable_bannerwindow;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
11167 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
11172 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11177 eval "$wx_cv_use_bannerwindow"
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_BANNERWINDOW = no; then
11186 result=$wxUSE_BANNERWINDOW
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11190 $as_echo "$result" >&6; }
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-artstd" >&5
11204 $as_echo_n "checking
for --${enablestring:-enable}-artstd...
" >&6; }
11205 # Check whether --enable-artstd was given.
11206 if test "${enable_artstd+set}" = set; then :
11207 enableval=$enable_artstd;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11211 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11216 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11221 eval "$wx_cv_use_artstd"
11223 if test x
"$enablestring" = xdisable
; then
11224 if test $wxUSE_ARTPROVIDER_STD = no
; then
11230 result
=$wxUSE_ARTPROVIDER_STD
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11234 $as_echo "$result" >&6; }
11238 defaultval
=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x
"$enablestring" = xdisable
; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11248 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11249 # Check whether --enable-arttango was given.
11250 if test "${enable_arttango+set}" = set; then :
11251 enableval
=$enable_arttango;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
11255 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
11260 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11265 eval "$wx_cv_use_arttango"
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11274 result=$wxUSE_ARTPROVIDER_TANGO
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11278 $as_echo "$result" >&6; }
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11292 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11293 # Check whether --enable-bmpbutton was given.
11294 if test "${enable_bmpbutton+set}" = set; then :
11295 enableval=$enable_bmpbutton;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11299 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11304 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11309 eval "$wx_cv_use_bmpbutton"
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_BMPBUTTON = no; then
11318 result=$wxUSE_BMPBUTTON
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11322 $as_echo "$result" >&6; }
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11336 $as_echo_n "checking
for --${enablestring:-enable}-bmpcombobox...
" >&6; }
11337 # Check whether --enable-bmpcombobox was given.
11338 if test "${enable_bmpcombobox+set}" = set; then :
11339 enableval=$enable_bmpcombobox;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11343 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11348 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11353 eval "$wx_cv_use_bmpcombobox"
11355 if test x
"$enablestring" = xdisable
; then
11356 if test $wxUSE_BITMAPCOMBOBOX = no
; then
11362 result
=$wxUSE_BITMAPCOMBOBOX
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11366 $as_echo "$result" >&6; }
11370 defaultval
=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x
"$enablestring" = xdisable
; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11380 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11381 # Check whether --enable-button was given.
11382 if test "${enable_button+set}" = set; then :
11383 enableval
=$enable_button;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_button
='wxUSE_BUTTON=yes'
11387 wx_cv_use_button
='wxUSE_BUTTON=no'
11392 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11397 eval "$wx_cv_use_button"
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_BUTTON = no; then
11406 result=$wxUSE_BUTTON
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11410 $as_echo "$result" >&6; }
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11424 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11425 # Check whether --enable-calendar was given.
11426 if test "${enable_calendar+set}" = set; then :
11427 enableval=$enable_calendar;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
11431 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
11436 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11441 eval "$wx_cv_use_calendar"
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_CALCTRL = no; then
11450 result=$wxUSE_CALCTRL
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11454 $as_echo "$result" >&6; }
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-caret" >&5
11468 $as_echo_n "checking
for --${enablestring:-enable}-caret...
" >&6; }
11469 # Check whether --enable-caret was given.
11470 if test "${enable_caret+set}" = set; then :
11471 enableval=$enable_caret;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_caret='wxUSE_CARET=yes'
11475 wx_cv_use_caret='wxUSE_CARET=no'
11480 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11485 eval "$wx_cv_use_caret"
11487 if test x
"$enablestring" = xdisable
; then
11488 if test $wxUSE_CARET = no
; then
11494 result
=$wxUSE_CARET
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11498 $as_echo "$result" >&6; }
11502 defaultval
=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x
"$enablestring" = xdisable
; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11512 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11513 # Check whether --enable-checkbox was given.
11514 if test "${enable_checkbox+set}" = set; then :
11515 enableval
=$enable_checkbox;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
11519 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
11524 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11529 eval "$wx_cv_use_checkbox"
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_CHECKBOX = no; then
11538 result=$wxUSE_CHECKBOX
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11542 $as_echo "$result" >&6; }
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11556 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11557 # Check whether --enable-checklst was given.
11558 if test "${enable_checklst+set}" = set; then :
11559 enableval=$enable_checklst;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
11563 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
11568 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11573 eval "$wx_cv_use_checklst"
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_CHECKLST = no; then
11582 result=$wxUSE_CHECKLST
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11586 $as_echo "$result" >&6; }
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choice" >&5
11600 $as_echo_n "checking
for --${enablestring:-enable}-choice...
" >&6; }
11601 # Check whether --enable-choice was given.
11602 if test "${enable_choice+set}" = set; then :
11603 enableval=$enable_choice;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_choice='wxUSE_CHOICE=yes'
11607 wx_cv_use_choice='wxUSE_CHOICE=no'
11612 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11617 eval "$wx_cv_use_choice"
11619 if test x
"$enablestring" = xdisable
; then
11620 if test $wxUSE_CHOICE = no
; then
11626 result
=$wxUSE_CHOICE
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11630 $as_echo "$result" >&6; }
11634 defaultval
=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x
"$enablestring" = xdisable
; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11644 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11645 # Check whether --enable-choicebook was given.
11646 if test "${enable_choicebook+set}" = set; then :
11647 enableval
=$enable_choicebook;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
11651 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
11656 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11661 eval "$wx_cv_use_choicebook"
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_CHOICEBOOK = no; then
11670 result=$wxUSE_CHOICEBOOK
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11674 $as_echo "$result" >&6; }
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11688 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11689 # Check whether --enable-collpane was given.
11690 if test "${enable_collpane+set}" = set; then :
11691 enableval=$enable_collpane;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
11695 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
11700 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11705 eval "$wx_cv_use_collpane"
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_COLLPANE = no; then
11714 result=$wxUSE_COLLPANE
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11718 $as_echo "$result" >&6; }
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-colourpicker" >&5
11732 $as_echo_n "checking
for --${enablestring:-enable}-colourpicker...
" >&6; }
11733 # Check whether --enable-colourpicker was given.
11734 if test "${enable_colourpicker+set}" = set; then :
11735 enableval=$enable_colourpicker;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11739 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11744 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11749 eval "$wx_cv_use_colourpicker"
11751 if test x
"$enablestring" = xdisable
; then
11752 if test $wxUSE_COLOURPICKERCTRL = no
; then
11758 result
=$wxUSE_COLOURPICKERCTRL
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11762 $as_echo "$result" >&6; }
11766 defaultval
=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x
"$enablestring" = xdisable
; then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11776 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11777 # Check whether --enable-combobox was given.
11778 if test "${enable_combobox+set}" = set; then :
11779 enableval
=$enable_combobox;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
11783 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
11788 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11793 eval "$wx_cv_use_combobox"
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_COMBOBOX = no; then
11802 result=$wxUSE_COMBOBOX
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11806 $as_echo "$result" >&6; }
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11820 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11821 # Check whether --enable-comboctrl was given.
11822 if test "${enable_comboctrl+set}" = set; then :
11823 enableval=$enable_comboctrl;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
11827 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
11832 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11837 eval "$wx_cv_use_comboctrl"
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_COMBOCTRL = no; then
11846 result=$wxUSE_COMBOCTRL
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11850 $as_echo "$result" >&6; }
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
11864 $as_echo_n "checking
for --${enablestring:-enable}-commandlinkbutton...
" >&6; }
11865 # Check whether --enable-commandlinkbutton was given.
11866 if test "${enable_commandlinkbutton+set}" = set; then :
11867 enableval=$enable_commandlinkbutton;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11871 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11876 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11881 eval "$wx_cv_use_commandlinkbutton"
11883 if test x
"$enablestring" = xdisable
; then
11884 if test $wxUSE_COMMANDLINKBUTTON = no
; then
11890 result
=$wxUSE_COMMANDLINKBUTTON
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11894 $as_echo "$result" >&6; }
11898 defaultval
=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x
"$enablestring" = xdisable
; then
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11908 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11909 # Check whether --enable-dataviewctrl was given.
11910 if test "${enable_dataviewctrl+set}" = set; then :
11911 enableval
=$enable_dataviewctrl;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11915 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11920 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11925 eval "$wx_cv_use_dataviewctrl"
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_DATAVIEWCTRL = no; then
11934 result=$wxUSE_DATAVIEWCTRL
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11938 $as_echo "$result" >&6; }
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11952 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11953 # Check whether --enable-datepick was given.
11954 if test "${enable_datepick+set}" = set; then :
11955 enableval=$enable_datepick;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11959 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11969 eval "$wx_cv_use_datepick"
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_DATEPICKCTRL = no; then
11978 result=$wxUSE_DATEPICKCTRL
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11982 $as_echo "$result" >&6; }
11986 defaultval=$wxUSE_ALL_FEATURES
11987 if test -z "$defaultval"; then
11988 if test x"$enablestring" = xdisable; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-detect_sm" >&5
11996 $as_echo_n "checking
for --${enablestring:-enable}-detect_sm...
" >&6; }
11997 # Check whether --enable-detect_sm was given.
11998 if test "${enable_detect_sm+set}" = set; then :
11999 enableval=$enable_detect_sm;
12000 if test "$enableval" = yes; then
12001 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12003 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12008 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12013 eval "$wx_cv_use_detect_sm"
12015 if test x
"$enablestring" = xdisable
; then
12016 if test $wxUSE_DETECT_SM = no
; then
12022 result
=$wxUSE_DETECT_SM
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12026 $as_echo "$result" >&6; }
12030 defaultval
=$wxUSE_ALL_FEATURES
12031 if test -z "$defaultval"; then
12032 if test x
"$enablestring" = xdisable
; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12040 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12041 # Check whether --enable-dirpicker was given.
12042 if test "${enable_dirpicker+set}" = set; then :
12043 enableval
=$enable_dirpicker;
12044 if test "$enableval" = yes; then
12045 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
12047 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
12052 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12057 eval "$wx_cv_use_dirpicker"
12059 if test x"$enablestring" = xdisable; then
12060 if test $wxUSE_DIRPICKERCTRL = no; then
12066 result=$wxUSE_DIRPICKERCTRL
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12070 $as_echo "$result" >&6; }
12074 defaultval=$wxUSE_ALL_FEATURES
12075 if test -z "$defaultval"; then
12076 if test x"$enablestring" = xdisable; then
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12084 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12085 # Check whether --enable-display was given.
12086 if test "${enable_display+set}" = set; then :
12087 enableval=$enable_display;
12088 if test "$enableval" = yes; then
12089 wx_cv_use_display='wxUSE_DISPLAY
=yes'
12091 wx_cv_use_display='wxUSE_DISPLAY
=no
'
12096 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12101 eval "$wx_cv_use_display"
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_DISPLAY = no; then
12110 result=$wxUSE_DISPLAY
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12114 $as_echo "$result" >&6; }
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-editablebox" >&5
12128 $as_echo_n "checking
for --${enablestring:-enable}-editablebox...
" >&6; }
12129 # Check whether --enable-editablebox was given.
12130 if test "${enable_editablebox+set}" = set; then :
12131 enableval=$enable_editablebox;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12135 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12145 eval "$wx_cv_use_editablebox"
12147 if test x
"$enablestring" = xdisable
; then
12148 if test $wxUSE_EDITABLELISTBOX = no
; then
12154 result
=$wxUSE_EDITABLELISTBOX
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12158 $as_echo "$result" >&6; }
12162 defaultval
=$wxUSE_ALL_FEATURES
12163 if test -z "$defaultval"; then
12164 if test x
"$enablestring" = xdisable
; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12172 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12173 # Check whether --enable-filectrl was given.
12174 if test "${enable_filectrl+set}" = set; then :
12175 enableval
=$enable_filectrl;
12176 if test "$enableval" = yes; then
12177 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12179 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12184 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12189 eval "$wx_cv_use_filectrl"
12191 if test x"$enablestring" = xdisable; then
12192 if test $wxUSE_FILECTRL = no; then
12198 result=$wxUSE_FILECTRL
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12202 $as_echo "$result" >&6; }
12206 defaultval=$wxUSE_ALL_FEATURES
12207 if test -z "$defaultval"; then
12208 if test x"$enablestring" = xdisable; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12216 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12217 # Check whether --enable-filepicker was given.
12218 if test "${enable_filepicker+set}" = set; then :
12219 enableval=$enable_filepicker;
12220 if test "$enableval" = yes; then
12221 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
12223 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
12228 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12233 eval "$wx_cv_use_filepicker"
12235 if test x"$enablestring" = xdisable; then
12236 if test $wxUSE_FILEPICKERCTRL = no; then
12242 result=$wxUSE_FILEPICKERCTRL
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12246 $as_echo "$result" >&6; }
12250 defaultval=$wxUSE_ALL_FEATURES
12251 if test -z "$defaultval"; then
12252 if test x"$enablestring" = xdisable; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontpicker" >&5
12260 $as_echo_n "checking
for --${enablestring:-enable}-fontpicker...
" >&6; }
12261 # Check whether --enable-fontpicker was given.
12262 if test "${enable_fontpicker+set}" = set; then :
12263 enableval=$enable_fontpicker;
12264 if test "$enableval" = yes; then
12265 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12267 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12277 eval "$wx_cv_use_fontpicker"
12279 if test x
"$enablestring" = xdisable
; then
12280 if test $wxUSE_FONTPICKERCTRL = no
; then
12286 result
=$wxUSE_FONTPICKERCTRL
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12290 $as_echo "$result" >&6; }
12294 defaultval
=$wxUSE_ALL_FEATURES
12295 if test -z "$defaultval"; then
12296 if test x
"$enablestring" = xdisable
; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12304 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12305 # Check whether --enable-gauge was given.
12306 if test "${enable_gauge+set}" = set; then :
12307 enableval
=$enable_gauge;
12308 if test "$enableval" = yes; then
12309 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12311 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12316 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12321 eval "$wx_cv_use_gauge"
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_GAUGE = no; then
12330 result=$wxUSE_GAUGE
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12334 $as_echo "$result" >&6; }
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12348 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12349 # Check whether --enable-grid was given.
12350 if test "${enable_grid+set}" = set; then :
12351 enableval=$enable_grid;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_grid='wxUSE_GRID
=yes'
12355 wx_cv_use_grid='wxUSE_GRID
=no
'
12360 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12365 eval "$wx_cv_use_grid"
12367 if test x"$enablestring" = xdisable; then
12368 if test $wxUSE_GRID = no; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12378 $as_echo "$result" >&6; }
12382 defaultval=$wxUSE_ALL_FEATURES
12383 if test -z "$defaultval"; then
12384 if test x"$enablestring" = xdisable; then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-headerctrl" >&5
12392 $as_echo_n "checking
for --${enablestring:-enable}-headerctrl...
" >&6; }
12393 # Check whether --enable-headerctrl was given.
12394 if test "${enable_headerctrl+set}" = set; then :
12395 enableval=$enable_headerctrl;
12396 if test "$enableval" = yes; then
12397 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12399 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12404 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12409 eval "$wx_cv_use_headerctrl"
12411 if test x
"$enablestring" = xdisable
; then
12412 if test $wxUSE_HEADERCTRL = no
; then
12418 result
=$wxUSE_HEADERCTRL
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12422 $as_echo "$result" >&6; }
12426 defaultval
=$wxUSE_ALL_FEATURES
12427 if test -z "$defaultval"; then
12428 if test x
"$enablestring" = xdisable
; then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12436 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12437 # Check whether --enable-hyperlink was given.
12438 if test "${enable_hyperlink+set}" = set; then :
12439 enableval
=$enable_hyperlink;
12440 if test "$enableval" = yes; then
12441 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12443 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12448 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12453 eval "$wx_cv_use_hyperlink"
12455 if test x"$enablestring" = xdisable; then
12456 if test $wxUSE_HYPERLINKCTRL = no; then
12462 result=$wxUSE_HYPERLINKCTRL
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12466 $as_echo "$result" >&6; }
12470 defaultval=$wxUSE_ALL_FEATURES
12471 if test -z "$defaultval"; then
12472 if test x"$enablestring" = xdisable; then
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12480 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12481 # Check whether --enable-imaglist was given.
12482 if test "${enable_imaglist+set}" = set; then :
12483 enableval=$enable_imaglist;
12484 if test "$enableval" = yes; then
12485 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12487 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12492 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12497 eval "$wx_cv_use_imaglist"
12499 if test x"$enablestring" = xdisable; then
12500 if test $wxUSE_IMAGLIST = no; then
12506 result=$wxUSE_IMAGLIST
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12510 $as_echo "$result" >&6; }
12514 defaultval=$wxUSE_ALL_FEATURES
12515 if test -z "$defaultval"; then
12516 if test x"$enablestring" = xdisable; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-infobar" >&5
12524 $as_echo_n "checking
for --${enablestring:-enable}-infobar...
" >&6; }
12525 # Check whether --enable-infobar was given.
12526 if test "${enable_infobar+set}" = set; then :
12527 enableval=$enable_infobar;
12528 if test "$enableval" = yes; then
12529 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12531 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12536 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12541 eval "$wx_cv_use_infobar"
12543 if test x
"$enablestring" = xdisable
; then
12544 if test $wxUSE_INFOBAR = no
; then
12550 result
=$wxUSE_INFOBAR
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12554 $as_echo "$result" >&6; }
12558 defaultval
=$wxUSE_ALL_FEATURES
12559 if test -z "$defaultval"; then
12560 if test x
"$enablestring" = xdisable
; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12568 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12569 # Check whether --enable-listbook was given.
12570 if test "${enable_listbook+set}" = set; then :
12571 enableval
=$enable_listbook;
12572 if test "$enableval" = yes; then
12573 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12575 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12580 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12585 eval "$wx_cv_use_listbook"
12587 if test x"$enablestring" = xdisable; then
12588 if test $wxUSE_LISTBOOK = no; then
12594 result=$wxUSE_LISTBOOK
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12598 $as_echo "$result" >&6; }
12602 defaultval=$wxUSE_ALL_FEATURES
12603 if test -z "$defaultval"; then
12604 if test x"$enablestring" = xdisable; then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12612 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12613 # Check whether --enable-listbox was given.
12614 if test "${enable_listbox+set}" = set; then :
12615 enableval=$enable_listbox;
12616 if test "$enableval" = yes; then
12617 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12619 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12624 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12629 eval "$wx_cv_use_listbox"
12631 if test x"$enablestring" = xdisable; then
12632 if test $wxUSE_LISTBOX = no; then
12638 result=$wxUSE_LISTBOX
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12642 $as_echo "$result" >&6; }
12646 defaultval=$wxUSE_ALL_FEATURES
12647 if test -z "$defaultval"; then
12648 if test x"$enablestring" = xdisable; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listctrl" >&5
12656 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
12657 # Check whether --enable-listctrl was given.
12658 if test "${enable_listctrl+set}" = set; then :
12659 enableval=$enable_listctrl;
12660 if test "$enableval" = yes; then
12661 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12663 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12668 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12673 eval "$wx_cv_use_listctrl"
12675 if test x
"$enablestring" = xdisable
; then
12676 if test $wxUSE_LISTCTRL = no
; then
12682 result
=$wxUSE_LISTCTRL
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12686 $as_echo "$result" >&6; }
12690 defaultval
=$wxUSE_ALL_FEATURES
12691 if test -z "$defaultval"; then
12692 if test x
"$enablestring" = xdisable
; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12700 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12701 # Check whether --enable-notebook was given.
12702 if test "${enable_notebook+set}" = set; then :
12703 enableval
=$enable_notebook;
12704 if test "$enableval" = yes; then
12705 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12707 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12712 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12717 eval "$wx_cv_use_notebook"
12719 if test x"$enablestring" = xdisable; then
12720 if test $wxUSE_NOTEBOOK = no; then
12726 result=$wxUSE_NOTEBOOK
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12730 $as_echo "$result" >&6; }
12734 defaultval=$wxUSE_ALL_FEATURES
12735 if test -z "$defaultval"; then
12736 if test x"$enablestring" = xdisable; then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12744 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12745 # Check whether --enable-notifmsg was given.
12746 if test "${enable_notifmsg+set}" = set; then :
12747 enableval=$enable_notifmsg;
12748 if test "$enableval" = yes; then
12749 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
12751 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
12756 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12761 eval "$wx_cv_use_notifmsg"
12763 if test x"$enablestring" = xdisable; then
12764 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12770 result=$wxUSE_NOTIFICATION_MESSAGE
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12774 $as_echo "$result" >&6; }
12778 defaultval=$wxUSE_ALL_FEATURES
12779 if test -z "$defaultval"; then
12780 if test x"$enablestring" = xdisable; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-odcombobox" >&5
12788 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
12789 # Check whether --enable-odcombobox was given.
12790 if test "${enable_odcombobox+set}" = set; then :
12791 enableval=$enable_odcombobox;
12792 if test "$enableval" = yes; then
12793 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12795 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12800 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12805 eval "$wx_cv_use_odcombobox"
12807 if test x
"$enablestring" = xdisable
; then
12808 if test $wxUSE_ODCOMBOBOX = no
; then
12814 result
=$wxUSE_ODCOMBOBOX
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12818 $as_echo "$result" >&6; }
12822 defaultval
=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x
"$enablestring" = xdisable
; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12832 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12833 # Check whether --enable-popupwin was given.
12834 if test "${enable_popupwin+set}" = set; then :
12835 enableval
=$enable_popupwin;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12839 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12844 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12849 eval "$wx_cv_use_popupwin"
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_POPUPWIN = no; then
12858 result=$wxUSE_POPUPWIN
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12862 $as_echo "$result" >&6; }
12866 defaultval=$wxUSE_ALL_FEATURES
12867 if test -z "$defaultval"; then
12868 if test x"$enablestring" = xdisable; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12876 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12877 # Check whether --enable-radiobox was given.
12878 if test "${enable_radiobox+set}" = set; then :
12879 enableval=$enable_radiobox;
12880 if test "$enableval" = yes; then
12881 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12883 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12888 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12893 eval "$wx_cv_use_radiobox"
12895 if test x"$enablestring" = xdisable; then
12896 if test $wxUSE_RADIOBOX = no; then
12902 result=$wxUSE_RADIOBOX
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12906 $as_echo "$result" >&6; }
12910 defaultval=$wxUSE_ALL_FEATURES
12911 if test -z "$defaultval"; then
12912 if test x"$enablestring" = xdisable; then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobtn" >&5
12920 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
12921 # Check whether --enable-radiobtn was given.
12922 if test "${enable_radiobtn+set}" = set; then :
12923 enableval=$enable_radiobtn;
12924 if test "$enableval" = yes; then
12925 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12927 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12932 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12937 eval "$wx_cv_use_radiobtn"
12939 if test x
"$enablestring" = xdisable
; then
12940 if test $wxUSE_RADIOBTN = no
; then
12946 result
=$wxUSE_RADIOBTN
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12950 $as_echo "$result" >&6; }
12954 defaultval
=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x
"$enablestring" = xdisable
; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12964 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12965 # Check whether --enable-richmsgdlg was given.
12966 if test "${enable_richmsgdlg+set}" = set; then :
12967 enableval
=$enable_richmsgdlg;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
12971 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
12976 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12981 eval "$wx_cv_use_richmsgdlg"
12983 if test x"$enablestring" = xdisable; then
12984 if test $wxUSE_RICHMSGDLG = no; then
12990 result=$wxUSE_RICHMSGDLG
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12994 $as_echo "$result" >&6; }
12998 defaultval=$wxUSE_ALL_FEATURES
12999 if test -z "$defaultval"; then
13000 if test x"$enablestring" = xdisable; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13008 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13009 # Check whether --enable-richtooltip was given.
13010 if test "${enable_richtooltip+set}" = set; then :
13011 enableval=$enable_richtooltip;
13012 if test "$enableval" = yes; then
13013 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
13015 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
13020 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13025 eval "$wx_cv_use_richtooltip"
13027 if test x"$enablestring" = xdisable; then
13028 if test $wxUSE_RICHTOOLTIP = no; then
13034 result=$wxUSE_RICHTOOLTIP
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13038 $as_echo "$result" >&6; }
13042 defaultval=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x"$enablestring" = xdisable; then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rearrangectrl" >&5
13052 $as_echo_n "checking
for --${enablestring:-enable}-rearrangectrl...
" >&6; }
13053 # Check whether --enable-rearrangectrl was given.
13054 if test "${enable_rearrangectrl+set}" = set; then :
13055 enableval=$enable_rearrangectrl;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13059 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13064 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13069 eval "$wx_cv_use_rearrangectrl"
13071 if test x
"$enablestring" = xdisable
; then
13072 if test $wxUSE_REARRANGECTRL = no
; then
13078 result
=$wxUSE_REARRANGECTRL
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13082 $as_echo "$result" >&6; }
13086 defaultval
=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x
"$enablestring" = xdisable
; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13096 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13097 # Check whether --enable-sash was given.
13098 if test "${enable_sash+set}" = set; then :
13099 enableval
=$enable_sash;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_sash
='wxUSE_SASH=yes'
13103 wx_cv_use_sash
='wxUSE_SASH=no'
13108 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13113 eval "$wx_cv_use_sash"
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_SASH = no; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13126 $as_echo "$result" >&6; }
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13140 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13141 # Check whether --enable-scrollbar was given.
13142 if test "${enable_scrollbar+set}" = set; then :
13143 enableval=$enable_scrollbar;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13147 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13152 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13157 eval "$wx_cv_use_scrollbar"
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_SCROLLBAR = no; then
13166 result=$wxUSE_SCROLLBAR
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13170 $as_echo "$result" >&6; }
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-searchctrl" >&5
13184 $as_echo_n "checking
for --${enablestring:-enable}-searchctrl...
" >&6; }
13185 # Check whether --enable-searchctrl was given.
13186 if test "${enable_searchctrl+set}" = set; then :
13187 enableval=$enable_searchctrl;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13191 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13196 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13201 eval "$wx_cv_use_searchctrl"
13203 if test x
"$enablestring" = xdisable
; then
13204 if test $wxUSE_SEARCHCTRL = no
; then
13210 result
=$wxUSE_SEARCHCTRL
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13214 $as_echo "$result" >&6; }
13218 defaultval
=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x
"$enablestring" = xdisable
; then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13228 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13229 # Check whether --enable-slider was given.
13230 if test "${enable_slider+set}" = set; then :
13231 enableval
=$enable_slider;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13235 wx_cv_use_slider
='wxUSE_SLIDER=no'
13240 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13245 eval "$wx_cv_use_slider"
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_SLIDER = no; then
13254 result=$wxUSE_SLIDER
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13258 $as_echo "$result" >&6; }
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13272 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13273 # Check whether --enable-spinbtn was given.
13274 if test "${enable_spinbtn+set}" = set; then :
13275 enableval=$enable_spinbtn;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13279 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13284 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13289 eval "$wx_cv_use_spinbtn"
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_SPINBTN = no; then
13298 result=$wxUSE_SPINBTN
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13302 $as_echo "$result" >&6; }
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinctrl" >&5
13316 $as_echo_n "checking
for --${enablestring:-enable}-spinctrl...
" >&6; }
13317 # Check whether --enable-spinctrl was given.
13318 if test "${enable_spinctrl+set}" = set; then :
13319 enableval=$enable_spinctrl;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13323 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13328 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13333 eval "$wx_cv_use_spinctrl"
13335 if test x
"$enablestring" = xdisable
; then
13336 if test $wxUSE_SPINCTRL = no
; then
13342 result
=$wxUSE_SPINCTRL
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13346 $as_echo "$result" >&6; }
13350 defaultval
=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x
"$enablestring" = xdisable
; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13360 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13361 # Check whether --enable-splitter was given.
13362 if test "${enable_splitter+set}" = set; then :
13363 enableval
=$enable_splitter;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13367 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13372 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13377 eval "$wx_cv_use_splitter"
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_SPLITTER = no; then
13386 result=$wxUSE_SPLITTER
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13390 $as_echo "$result" >&6; }
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13404 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13405 # Check whether --enable-statbmp was given.
13406 if test "${enable_statbmp+set}" = set; then :
13407 enableval=$enable_statbmp;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13411 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13416 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13421 eval "$wx_cv_use_statbmp"
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_STATBMP = no; then
13430 result=$wxUSE_STATBMP
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13434 $as_echo "$result" >&6; }
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbox" >&5
13448 $as_echo_n "checking
for --${enablestring:-enable}-statbox...
" >&6; }
13449 # Check whether --enable-statbox was given.
13450 if test "${enable_statbox+set}" = set; then :
13451 enableval=$enable_statbox;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13455 wx_cv_use_statbox='wxUSE_STATBOX=no'
13460 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13465 eval "$wx_cv_use_statbox"
13467 if test x
"$enablestring" = xdisable
; then
13468 if test $wxUSE_STATBOX = no
; then
13474 result
=$wxUSE_STATBOX
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13478 $as_echo "$result" >&6; }
13482 defaultval
=$wxUSE_ALL_FEATURES
13483 if test -z "$defaultval"; then
13484 if test x
"$enablestring" = xdisable
; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13492 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13493 # Check whether --enable-statline was given.
13494 if test "${enable_statline+set}" = set; then :
13495 enableval
=$enable_statline;
13496 if test "$enableval" = yes; then
13497 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13499 wx_cv_use_statline
='wxUSE_STATLINE=no'
13504 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13509 eval "$wx_cv_use_statline"
13511 if test x"$enablestring" = xdisable; then
13512 if test $wxUSE_STATLINE = no; then
13518 result=$wxUSE_STATLINE
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13522 $as_echo "$result" >&6; }
13526 defaultval=$wxUSE_ALL_FEATURES
13527 if test -z "$defaultval"; then
13528 if test x"$enablestring" = xdisable; then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13536 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13537 # Check whether --enable-stattext was given.
13538 if test "${enable_stattext+set}" = set; then :
13539 enableval=$enable_stattext;
13540 if test "$enableval" = yes; then
13541 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13543 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13548 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13553 eval "$wx_cv_use_stattext"
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_STATTEXT = no; then
13562 result=$wxUSE_STATTEXT
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13566 $as_echo "$result" >&6; }
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statusbar" >&5
13580 $as_echo_n "checking
for --${enablestring:-enable}-statusbar...
" >&6; }
13581 # Check whether --enable-statusbar was given.
13582 if test "${enable_statusbar+set}" = set; then :
13583 enableval=$enable_statusbar;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13587 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13592 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13597 eval "$wx_cv_use_statusbar"
13599 if test x
"$enablestring" = xdisable
; then
13600 if test $wxUSE_STATUSBAR = no
; then
13606 result
=$wxUSE_STATUSBAR
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13610 $as_echo "$result" >&6; }
13614 defaultval
=$wxUSE_ALL_FEATURES
13615 if test -z "$defaultval"; then
13616 if test x
"$enablestring" = xdisable
; then
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13624 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13625 # Check whether --enable-taskbaricon was given.
13626 if test "${enable_taskbaricon+set}" = set; then :
13627 enableval
=$enable_taskbaricon;
13628 if test "$enableval" = yes; then
13629 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13631 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13636 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13641 eval "$wx_cv_use_taskbaricon"
13643 if test x"$enablestring" = xdisable; then
13644 if test $wxUSE_TASKBARICON = no; then
13650 result=$wxUSE_TASKBARICON
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13654 $as_echo "$result" >&6; }
13658 defaultval=$wxUSE_ALL_FEATURES
13659 if test -z "$defaultval"; then
13660 if test x"$enablestring" = xdisable; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13668 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13669 # Check whether --enable-tbarnative was given.
13670 if test "${enable_tbarnative+set}" = set; then :
13671 enableval=$enable_tbarnative;
13672 if test "$enableval" = yes; then
13673 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13675 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13680 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13685 eval "$wx_cv_use_tbarnative"
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_TOOLBAR_NATIVE = no; then
13694 result=$wxUSE_TOOLBAR_NATIVE
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13698 $as_echo "$result" >&6; }
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textctrl" >&5
13712 $as_echo_n "checking
for --${enablestring:-enable}-textctrl...
" >&6; }
13713 # Check whether --enable-textctrl was given.
13714 if test "${enable_textctrl+set}" = set; then :
13715 enableval=$enable_textctrl;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13719 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13724 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13729 eval "$wx_cv_use_textctrl"
13731 if test x
"$enablestring" = xdisable
; then
13732 if test $wxUSE_TEXTCTRL = no
; then
13738 result
=$wxUSE_TEXTCTRL
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13742 $as_echo "$result" >&6; }
13746 defaultval
=$wxUSE_ALL_FEATURES
13747 if test -z "$defaultval"; then
13748 if test x
"$enablestring" = xdisable
; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13756 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13757 # Check whether --enable-datepick was given.
13758 if test "${enable_datepick+set}" = set; then :
13759 enableval
=$enable_datepick;
13760 if test "$enableval" = yes; then
13761 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
13763 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
13768 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13773 eval "$wx_cv_use_datepick"
13775 if test x"$enablestring" = xdisable; then
13776 if test $wxUSE_TIMEPICKCTRL = no; then
13782 result=$wxUSE_TIMEPICKCTRL
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13786 $as_echo "$result" >&6; }
13790 defaultval=$wxUSE_ALL_FEATURES
13791 if test -z "$defaultval"; then
13792 if test x"$enablestring" = xdisable; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13800 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13801 # Check whether --enable-tipwindow was given.
13802 if test "${enable_tipwindow+set}" = set; then :
13803 enableval=$enable_tipwindow;
13804 if test "$enableval" = yes; then
13805 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13807 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13817 eval "$wx_cv_use_tipwindow"
13819 if test x"$enablestring" = xdisable; then
13820 if test $wxUSE_TIPWINDOW = no; then
13826 result=$wxUSE_TIPWINDOW
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13830 $as_echo "$result" >&6; }
13834 defaultval=$wxUSE_ALL_FEATURES
13835 if test -z "$defaultval"; then
13836 if test x"$enablestring" = xdisable; then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-togglebtn" >&5
13844 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
13845 # Check whether --enable-togglebtn was given.
13846 if test "${enable_togglebtn+set}" = set; then :
13847 enableval=$enable_togglebtn;
13848 if test "$enableval" = yes; then
13849 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13851 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13856 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13861 eval "$wx_cv_use_togglebtn"
13863 if test x
"$enablestring" = xdisable
; then
13864 if test $wxUSE_TOGGLEBTN = no
; then
13870 result
=$wxUSE_TOGGLEBTN
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13874 $as_echo "$result" >&6; }
13878 defaultval
=$wxUSE_ALL_FEATURES
13879 if test -z "$defaultval"; then
13880 if test x
"$enablestring" = xdisable
; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13888 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13889 # Check whether --enable-toolbar was given.
13890 if test "${enable_toolbar+set}" = set; then :
13891 enableval
=$enable_toolbar;
13892 if test "$enableval" = yes; then
13893 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13895 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13900 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13905 eval "$wx_cv_use_toolbar"
13907 if test x"$enablestring" = xdisable; then
13908 if test $wxUSE_TOOLBAR = no; then
13914 result=$wxUSE_TOOLBAR
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13918 $as_echo "$result" >&6; }
13922 defaultval=$wxUSE_ALL_FEATURES
13923 if test -z "$defaultval"; then
13924 if test x"$enablestring" = xdisable; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13932 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13933 # Check whether --enable-toolbook was given.
13934 if test "${enable_toolbook+set}" = set; then :
13935 enableval=$enable_toolbook;
13936 if test "$enableval" = yes; then
13937 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
13939 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
13944 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13949 eval "$wx_cv_use_toolbook"
13951 if test x"$enablestring" = xdisable; then
13952 if test $wxUSE_TOOLBOOK = no; then
13958 result=$wxUSE_TOOLBOOK
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13962 $as_echo "$result" >&6; }
13966 defaultval=$wxUSE_ALL_FEATURES
13967 if test -z "$defaultval"; then
13968 if test x"$enablestring" = xdisable; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treebook" >&5
13976 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
13977 # Check whether --enable-treebook was given.
13978 if test "${enable_treebook+set}" = set; then :
13979 enableval=$enable_treebook;
13980 if test "$enableval" = yes; then
13981 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13983 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13988 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13993 eval "$wx_cv_use_treebook"
13995 if test x
"$enablestring" = xdisable
; then
13996 if test $wxUSE_TREEBOOK = no
; then
14002 result
=$wxUSE_TREEBOOK
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14006 $as_echo "$result" >&6; }
14010 defaultval
=$wxUSE_ALL_FEATURES
14011 if test -z "$defaultval"; then
14012 if test x
"$enablestring" = xdisable
; then
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14020 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14021 # Check whether --enable-treectrl was given.
14022 if test "${enable_treectrl+set}" = set; then :
14023 enableval
=$enable_treectrl;
14024 if test "$enableval" = yes; then
14025 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
14027 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14032 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14037 eval "$wx_cv_use_treectrl"
14039 if test x"$enablestring" = xdisable; then
14040 if test $wxUSE_TREECTRL = no; then
14046 result=$wxUSE_TREECTRL
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14050 $as_echo "$result" >&6; }
14054 defaultval=$wxUSE_ALL_FEATURES
14055 if test -z "$defaultval"; then
14056 if test x"$enablestring" = xdisable; then
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14064 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14065 # Check whether --enable-treelist was given.
14066 if test "${enable_treelist+set}" = set; then :
14067 enableval=$enable_treelist;
14068 if test "$enableval" = yes; then
14069 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
14071 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
14076 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14081 eval "$wx_cv_use_treelist"
14083 if test x"$enablestring" = xdisable; then
14084 if test $wxUSE_TREELISTCTRL = no; then
14090 result=$wxUSE_TREELISTCTRL
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14094 $as_echo "$result" >&6; }
14100 defaultval=$wxUSE_ALL_FEATURES
14101 if test -z "$defaultval"; then
14102 if test x"$enablestring" = xdisable; then
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commondlg" >&5
14110 $as_echo_n "checking
for --${enablestring:-enable}-commondlg...
" >&6; }
14111 # Check whether --enable-commondlg was given.
14112 if test "${enable_commondlg+set}" = set; then :
14113 enableval=$enable_commondlg;
14114 if test "$enableval" = yes; then
14115 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14117 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14122 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14127 eval "$wx_cv_use_commondlg"
14129 if test x
"$enablestring" = xdisable
; then
14130 if test $wxUSE_COMMONDLGS = no
; then
14136 result
=$wxUSE_COMMONDLGS
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14140 $as_echo "$result" >&6; }
14144 defaultval
=$wxUSE_ALL_FEATURES
14145 if test -z "$defaultval"; then
14146 if test x
"$enablestring" = xdisable
; then
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14154 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14155 # Check whether --enable-aboutdlg was given.
14156 if test "${enable_aboutdlg+set}" = set; then :
14157 enableval
=$enable_aboutdlg;
14158 if test "$enableval" = yes; then
14159 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14161 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14166 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14171 eval "$wx_cv_use_aboutdlg"
14173 if test x"$enablestring" = xdisable; then
14174 if test $wxUSE_ABOUTDLG = no; then
14180 result=$wxUSE_ABOUTDLG
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14184 $as_echo "$result" >&6; }
14188 defaultval=$wxUSE_ALL_FEATURES
14189 if test -z "$defaultval"; then
14190 if test x"$enablestring" = xdisable; then
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14198 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14199 # Check whether --enable-choicedlg was given.
14200 if test "${enable_choicedlg+set}" = set; then :
14201 enableval=$enable_choicedlg;
14202 if test "$enableval" = yes; then
14203 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14205 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14210 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14215 eval "$wx_cv_use_choicedlg"
14217 if test x"$enablestring" = xdisable; then
14218 if test $wxUSE_CHOICEDLG = no; then
14224 result=$wxUSE_CHOICEDLG
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14228 $as_echo "$result" >&6; }
14232 defaultval=$wxUSE_ALL_FEATURES
14233 if test -z "$defaultval"; then
14234 if test x"$enablestring" = xdisable; then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-coldlg" >&5
14242 $as_echo_n "checking
for --${enablestring:-enable}-coldlg...
" >&6; }
14243 # Check whether --enable-coldlg was given.
14244 if test "${enable_coldlg+set}" = set; then :
14245 enableval=$enable_coldlg;
14246 if test "$enableval" = yes; then
14247 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14249 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14254 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14259 eval "$wx_cv_use_coldlg"
14261 if test x
"$enablestring" = xdisable
; then
14262 if test $wxUSE_COLOURDLG = no
; then
14268 result
=$wxUSE_COLOURDLG
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14272 $as_echo "$result" >&6; }
14276 defaultval
=$wxUSE_ALL_FEATURES
14277 if test -z "$defaultval"; then
14278 if test x
"$enablestring" = xdisable
; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14286 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14287 # Check whether --enable-filedlg was given.
14288 if test "${enable_filedlg+set}" = set; then :
14289 enableval
=$enable_filedlg;
14290 if test "$enableval" = yes; then
14291 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14293 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14298 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14303 eval "$wx_cv_use_filedlg"
14305 if test x"$enablestring" = xdisable; then
14306 if test $wxUSE_FILEDLG = no; then
14312 result=$wxUSE_FILEDLG
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14316 $as_echo "$result" >&6; }
14320 defaultval=$wxUSE_ALL_FEATURES
14321 if test -z "$defaultval"; then
14322 if test x"$enablestring" = xdisable; then
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14330 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14331 # Check whether --enable-finddlg was given.
14332 if test "${enable_finddlg+set}" = set; then :
14333 enableval=$enable_finddlg;
14334 if test "$enableval" = yes; then
14335 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14337 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14342 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14347 eval "$wx_cv_use_finddlg"
14349 if test x"$enablestring" = xdisable; then
14350 if test $wxUSE_FINDREPLDLG = no; then
14356 result=$wxUSE_FINDREPLDLG
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14360 $as_echo "$result" >&6; }
14364 defaultval=$wxUSE_ALL_FEATURES
14365 if test -z "$defaultval"; then
14366 if test x"$enablestring" = xdisable; then
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontdlg" >&5
14374 $as_echo_n "checking
for --${enablestring:-enable}-fontdlg...
" >&6; }
14375 # Check whether --enable-fontdlg was given.
14376 if test "${enable_fontdlg+set}" = set; then :
14377 enableval=$enable_fontdlg;
14378 if test "$enableval" = yes; then
14379 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14381 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14386 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14391 eval "$wx_cv_use_fontdlg"
14393 if test x
"$enablestring" = xdisable
; then
14394 if test $wxUSE_FONTDLG = no
; then
14400 result
=$wxUSE_FONTDLG
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14404 $as_echo "$result" >&6; }
14408 defaultval
=$wxUSE_ALL_FEATURES
14409 if test -z "$defaultval"; then
14410 if test x
"$enablestring" = xdisable
; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14418 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14419 # Check whether --enable-dirdlg was given.
14420 if test "${enable_dirdlg+set}" = set; then :
14421 enableval
=$enable_dirdlg;
14422 if test "$enableval" = yes; then
14423 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14425 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14430 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14435 eval "$wx_cv_use_dirdlg"
14437 if test x"$enablestring" = xdisable; then
14438 if test $wxUSE_DIRDLG = no; then
14444 result=$wxUSE_DIRDLG
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14448 $as_echo "$result" >&6; }
14452 defaultval=$wxUSE_ALL_FEATURES
14453 if test -z "$defaultval"; then
14454 if test x"$enablestring" = xdisable; then
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14462 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14463 # Check whether --enable-msgdlg was given.
14464 if test "${enable_msgdlg+set}" = set; then :
14465 enableval=$enable_msgdlg;
14466 if test "$enableval" = yes; then
14467 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14469 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14474 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14479 eval "$wx_cv_use_msgdlg"
14481 if test x"$enablestring" = xdisable; then
14482 if test $wxUSE_MSGDLG = no; then
14488 result=$wxUSE_MSGDLG
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14492 $as_echo "$result" >&6; }
14496 defaultval=$wxUSE_ALL_FEATURES
14497 if test -z "$defaultval"; then
14498 if test x"$enablestring" = xdisable; then
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-numberdlg" >&5
14506 $as_echo_n "checking
for --${enablestring:-enable}-numberdlg...
" >&6; }
14507 # Check whether --enable-numberdlg was given.
14508 if test "${enable_numberdlg+set}" = set; then :
14509 enableval=$enable_numberdlg;
14510 if test "$enableval" = yes; then
14511 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14513 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14518 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14523 eval "$wx_cv_use_numberdlg"
14525 if test x
"$enablestring" = xdisable
; then
14526 if test $wxUSE_NUMBERDLG = no
; then
14532 result
=$wxUSE_NUMBERDLG
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14536 $as_echo "$result" >&6; }
14540 defaultval
=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x
"$enablestring" = xdisable
; then
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14550 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14551 # Check whether --enable-splash was given.
14552 if test "${enable_splash+set}" = set; then :
14553 enableval
=$enable_splash;
14554 if test "$enableval" = yes; then
14555 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14557 wx_cv_use_splash
='wxUSE_SPLASH=no'
14562 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14567 eval "$wx_cv_use_splash"
14569 if test x"$enablestring" = xdisable; then
14570 if test $wxUSE_SPLASH = no; then
14576 result=$wxUSE_SPLASH
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14580 $as_echo "$result" >&6; }
14584 defaultval=$wxUSE_ALL_FEATURES
14585 if test -z "$defaultval"; then
14586 if test x"$enablestring" = xdisable; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14594 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14595 # Check whether --enable-textdlg was given.
14596 if test "${enable_textdlg+set}" = set; then :
14597 enableval=$enable_textdlg;
14598 if test "$enableval" = yes; then
14599 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14601 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14606 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14611 eval "$wx_cv_use_textdlg"
14613 if test x"$enablestring" = xdisable; then
14614 if test $wxUSE_TEXTDLG = no; then
14620 result=$wxUSE_TEXTDLG
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14624 $as_echo "$result" >&6; }
14628 defaultval=$wxUSE_ALL_FEATURES
14629 if test -z "$defaultval"; then
14630 if test x"$enablestring" = xdisable; then
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipdlg" >&5
14638 $as_echo_n "checking
for --${enablestring:-enable}-tipdlg...
" >&6; }
14639 # Check whether --enable-tipdlg was given.
14640 if test "${enable_tipdlg+set}" = set; then :
14641 enableval=$enable_tipdlg;
14642 if test "$enableval" = yes; then
14643 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14645 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14650 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14655 eval "$wx_cv_use_tipdlg"
14657 if test x
"$enablestring" = xdisable
; then
14658 if test $wxUSE_STARTUP_TIPS = no
; then
14664 result
=$wxUSE_STARTUP_TIPS
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14668 $as_echo "$result" >&6; }
14672 defaultval
=$wxUSE_ALL_FEATURES
14673 if test -z "$defaultval"; then
14674 if test x
"$enablestring" = xdisable
; then
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14682 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14683 # Check whether --enable-progressdlg was given.
14684 if test "${enable_progressdlg+set}" = set; then :
14685 enableval
=$enable_progressdlg;
14686 if test "$enableval" = yes; then
14687 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14689 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14694 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14699 eval "$wx_cv_use_progressdlg"
14701 if test x"$enablestring" = xdisable; then
14702 if test $wxUSE_PROGRESSDLG = no; then
14708 result=$wxUSE_PROGRESSDLG
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14712 $as_echo "$result" >&6; }
14716 defaultval=$wxUSE_ALL_FEATURES
14717 if test -z "$defaultval"; then
14718 if test x"$enablestring" = xdisable; then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14726 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14727 # Check whether --enable-wizarddlg was given.
14728 if test "${enable_wizarddlg+set}" = set; then :
14729 enableval=$enable_wizarddlg;
14730 if test "$enableval" = yes; then
14731 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
14733 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
14738 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14743 eval "$wx_cv_use_wizarddlg"
14745 if test x"$enablestring" = xdisable; then
14746 if test $wxUSE_WIZARDDLG = no; then
14752 result=$wxUSE_WIZARDDLG
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14756 $as_echo "$result" >&6; }
14762 defaultval=$wxUSE_ALL_FEATURES
14763 if test -z "$defaultval"; then
14764 if test x"$enablestring" = xdisable; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-menus" >&5
14772 $as_echo_n "checking
for --${enablestring:-enable}-menus...
" >&6; }
14773 # Check whether --enable-menus was given.
14774 if test "${enable_menus+set}" = set; then :
14775 enableval=$enable_menus;
14776 if test "$enableval" = yes; then
14777 wx_cv_use_menus='wxUSE_MENUS=yes'
14779 wx_cv_use_menus='wxUSE_MENUS=no'
14784 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14789 eval "$wx_cv_use_menus"
14791 if test x
"$enablestring" = xdisable
; then
14792 if test $wxUSE_MENUS = no
; then
14798 result
=$wxUSE_MENUS
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14802 $as_echo "$result" >&6; }
14806 defaultval
=$wxUSE_ALL_FEATURES
14807 if test -z "$defaultval"; then
14808 if test x
"$enablestring" = xdisable
; then
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14816 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14817 # Check whether --enable-miniframe was given.
14818 if test "${enable_miniframe+set}" = set; then :
14819 enableval
=$enable_miniframe;
14820 if test "$enableval" = yes; then
14821 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
14823 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
14828 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14833 eval "$wx_cv_use_miniframe"
14835 if test x"$enablestring" = xdisable; then
14836 if test $wxUSE_MINIFRAME = no; then
14842 result=$wxUSE_MINIFRAME
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14846 $as_echo "$result" >&6; }
14850 defaultval=$wxUSE_ALL_FEATURES
14851 if test -z "$defaultval"; then
14852 if test x"$enablestring" = xdisable; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14860 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14861 # Check whether --enable-tooltips was given.
14862 if test "${enable_tooltips+set}" = set; then :
14863 enableval=$enable_tooltips;
14864 if test "$enableval" = yes; then
14865 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
14867 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
14872 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14877 eval "$wx_cv_use_tooltips"
14879 if test x"$enablestring" = xdisable; then
14880 if test $wxUSE_TOOLTIPS = no; then
14886 result=$wxUSE_TOOLTIPS
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14890 $as_echo "$result" >&6; }
14894 defaultval=$wxUSE_ALL_FEATURES
14895 if test -z "$defaultval"; then
14896 if test x"$enablestring" = xdisable; then
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splines" >&5
14904 $as_echo_n "checking
for --${enablestring:-enable}-splines...
" >&6; }
14905 # Check whether --enable-splines was given.
14906 if test "${enable_splines+set}" = set; then :
14907 enableval=$enable_splines;
14908 if test "$enableval" = yes; then
14909 wx_cv_use_splines='wxUSE_SPLINES=yes'
14911 wx_cv_use_splines='wxUSE_SPLINES=no'
14916 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14921 eval "$wx_cv_use_splines"
14923 if test x
"$enablestring" = xdisable
; then
14924 if test $wxUSE_SPLINES = no
; then
14930 result
=$wxUSE_SPLINES
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14934 $as_echo "$result" >&6; }
14938 defaultval
=$wxUSE_ALL_FEATURES
14939 if test -z "$defaultval"; then
14940 if test x
"$enablestring" = xdisable
; then
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14948 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14949 # Check whether --enable-mousewheel was given.
14950 if test "${enable_mousewheel+set}" = set; then :
14951 enableval
=$enable_mousewheel;
14952 if test "$enableval" = yes; then
14953 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
14955 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
14960 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14965 eval "$wx_cv_use_mousewheel"
14967 if test x"$enablestring" = xdisable; then
14968 if test $wxUSE_MOUSEWHEEL = no; then
14974 result=$wxUSE_MOUSEWHEEL
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14978 $as_echo "$result" >&6; }
14982 defaultval=$wxUSE_ALL_FEATURES
14983 if test -z "$defaultval"; then
14984 if test x"$enablestring" = xdisable; then
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14992 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14993 # Check whether --enable-validators was given.
14994 if test "${enable_validators+set}" = set; then :
14995 enableval=$enable_validators;
14996 if test "$enableval" = yes; then
14997 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
14999 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
15004 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15009 eval "$wx_cv_use_validators"
15011 if test x"$enablestring" = xdisable; then
15012 if test $wxUSE_VALIDATORS = no; then
15018 result=$wxUSE_VALIDATORS
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15022 $as_echo "$result" >&6; }
15026 defaultval=$wxUSE_ALL_FEATURES
15027 if test -z "$defaultval"; then
15028 if test x"$enablestring" = xdisable; then
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-busyinfo" >&5
15036 $as_echo_n "checking
for --${enablestring:-enable}-busyinfo...
" >&6; }
15037 # Check whether --enable-busyinfo was given.
15038 if test "${enable_busyinfo+set}" = set; then :
15039 enableval=$enable_busyinfo;
15040 if test "$enableval" = yes; then
15041 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15043 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15048 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15053 eval "$wx_cv_use_busyinfo"
15055 if test x
"$enablestring" = xdisable
; then
15056 if test $wxUSE_BUSYINFO = no
; then
15062 result
=$wxUSE_BUSYINFO
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15066 $as_echo "$result" >&6; }
15070 defaultval
=$wxUSE_ALL_FEATURES
15071 if test -z "$defaultval"; then
15072 if test x
"$enablestring" = xdisable
; then
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15080 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15081 # Check whether --enable-hotkey was given.
15082 if test "${enable_hotkey+set}" = set; then :
15083 enableval
=$enable_hotkey;
15084 if test "$enableval" = yes; then
15085 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
15087 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
15092 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15097 eval "$wx_cv_use_hotkey"
15099 if test x"$enablestring" = xdisable; then
15100 if test $wxUSE_HOTKEY = no; then
15106 result=$wxUSE_HOTKEY
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15110 $as_echo "$result" >&6; }
15114 defaultval=$wxUSE_ALL_FEATURES
15115 if test -z "$defaultval"; then
15116 if test x"$enablestring" = xdisable; then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15124 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15125 # Check whether --enable-joystick was given.
15126 if test "${enable_joystick+set}" = set; then :
15127 enableval=$enable_joystick;
15128 if test "$enableval" = yes; then
15129 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15131 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15136 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15141 eval "$wx_cv_use_joystick"
15143 if test x"$enablestring" = xdisable; then
15144 if test $wxUSE_JOYSTICK = no; then
15150 result=$wxUSE_JOYSTICK
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15154 $as_echo "$result" >&6; }
15158 defaultval=$wxUSE_ALL_FEATURES
15159 if test -z "$defaultval"; then
15160 if test x"$enablestring" = xdisable; then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-metafile" >&5
15168 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
15169 # Check whether --enable-metafile was given.
15170 if test "${enable_metafile+set}" = set; then :
15171 enableval=$enable_metafile;
15172 if test "$enableval" = yes; then
15173 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15175 wx_cv_use_metafile='wxUSE_METAFILE=no'
15180 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15185 eval "$wx_cv_use_metafile"
15187 if test x
"$enablestring" = xdisable
; then
15188 if test $wxUSE_METAFILE = no
; then
15194 result
=$wxUSE_METAFILE
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15198 $as_echo "$result" >&6; }
15202 defaultval
=$wxUSE_ALL_FEATURES
15203 if test -z "$defaultval"; then
15204 if test x
"$enablestring" = xdisable
; then
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15212 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15213 # Check whether --enable-dragimage was given.
15214 if test "${enable_dragimage+set}" = set; then :
15215 enableval
=$enable_dragimage;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15219 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15224 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15229 eval "$wx_cv_use_dragimage"
15231 if test x"$enablestring" = xdisable; then
15232 if test $wxUSE_DRAGIMAGE = no; then
15238 result=$wxUSE_DRAGIMAGE
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15242 $as_echo "$result" >&6; }
15246 defaultval=$wxUSE_ALL_FEATURES
15247 if test -z "$defaultval"; then
15248 if test x"$enablestring" = xdisable; then
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15256 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15257 # Check whether --enable-accessibility was given.
15258 if test "${enable_accessibility+set}" = set; then :
15259 enableval=$enable_accessibility;
15260 if test "$enableval" = yes; then
15261 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15263 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15268 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15273 eval "$wx_cv_use_accessibility"
15275 if test x"$enablestring" = xdisable; then
15276 if test $wxUSE_ACCESSIBILITY = no; then
15282 result=$wxUSE_ACCESSIBILITY
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15286 $as_echo "$result" >&6; }
15290 defaultval=$wxUSE_ALL_FEATURES
15291 if test -z "$defaultval"; then
15292 if test x"$enablestring" = xdisable; then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uiactionsim" >&5
15300 $as_echo_n "checking
for --${enablestring:-enable}-uiactionsim...
" >&6; }
15301 # Check whether --enable-uiactionsim was given.
15302 if test "${enable_uiactionsim+set}" = set; then :
15303 enableval=$enable_uiactionsim;
15304 if test "$enableval" = yes; then
15305 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15307 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15312 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15317 eval "$wx_cv_use_uiactionsim"
15319 if test x
"$enablestring" = xdisable
; then
15320 if test $wxUSE_UIACTIONSIMULATOR = no
; then
15326 result
=$wxUSE_UIACTIONSIMULATOR
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15330 $as_echo "$result" >&6; }
15334 defaultval
=$wxUSE_ALL_FEATURES
15335 if test -z "$defaultval"; then
15336 if test x
"$enablestring" = xdisable
; then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15344 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15345 # Check whether --enable-dctransform was given.
15346 if test "${enable_dctransform+set}" = set; then :
15347 enableval
=$enable_dctransform;
15348 if test "$enableval" = yes; then
15349 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
15351 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
15356 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15361 eval "$wx_cv_use_dctransform"
15363 if test x"$enablestring" = xdisable; then
15364 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15370 result=$wxUSE_DC_TRANSFORM_MATRIX
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15374 $as_echo "$result" >&6; }
15378 defaultval=$wxUSE_ALL_FEATURES
15379 if test -z "$defaultval"; then
15380 if test x"$enablestring" = xdisable; then
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15388 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15389 # Check whether --enable-webviewwebkit was given.
15390 if test "${enable_webviewwebkit+set}" = set; then :
15391 enableval=$enable_webviewwebkit;
15392 if test "$enableval" = yes; then
15393 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
15395 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
15400 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15405 eval "$wx_cv_use_webviewwebkit"
15407 if test x"$enablestring" = xdisable; then
15408 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15414 result=$wxUSE_WEBVIEW_WEBKIT
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15418 $as_echo "$result" >&6; }
15424 defaultval=$wxUSE_ALL_FEATURES
15425 if test -z "$defaultval"; then
15426 if test x"$enablestring" = xdisable; then
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-palette" >&5
15434 $as_echo_n "checking
for --${enablestring:-enable}-palette...
" >&6; }
15435 # Check whether --enable-palette was given.
15436 if test "${enable_palette+set}" = set; then :
15437 enableval=$enable_palette;
15438 if test "$enableval" = yes; then
15439 wx_cv_use_palette='wxUSE_PALETTE=yes'
15441 wx_cv_use_palette='wxUSE_PALETTE=no'
15446 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15451 eval "$wx_cv_use_palette"
15453 if test x
"$enablestring" = xdisable
; then
15454 if test $wxUSE_PALETTE = no
; then
15460 result
=$wxUSE_PALETTE
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15464 $as_echo "$result" >&6; }
15468 defaultval
=$wxUSE_ALL_FEATURES
15469 if test -z "$defaultval"; then
15470 if test x
"$enablestring" = xdisable
; then
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15478 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15479 # Check whether --enable-image was given.
15480 if test "${enable_image+set}" = set; then :
15481 enableval
=$enable_image;
15482 if test "$enableval" = yes; then
15483 wx_cv_use_image
='wxUSE_IMAGE=yes'
15485 wx_cv_use_image
='wxUSE_IMAGE=no'
15490 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15495 eval "$wx_cv_use_image"
15497 if test x"$enablestring" = xdisable; then
15498 if test $wxUSE_IMAGE = no; then
15504 result=$wxUSE_IMAGE
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15508 $as_echo "$result" >&6; }
15512 defaultval=$wxUSE_ALL_FEATURES
15513 if test -z "$defaultval"; then
15514 if test x"$enablestring" = xdisable; then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15522 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15523 # Check whether --enable-gif was given.
15524 if test "${enable_gif+set}" = set; then :
15525 enableval=$enable_gif;
15526 if test "$enableval" = yes; then
15527 wx_cv_use_gif='wxUSE_GIF
=yes'
15529 wx_cv_use_gif='wxUSE_GIF
=no
'
15534 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15539 eval "$wx_cv_use_gif"
15541 if test x"$enablestring" = xdisable; then
15542 if test $wxUSE_GIF = no; then
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15552 $as_echo "$result" >&6; }
15556 defaultval=$wxUSE_ALL_FEATURES
15557 if test -z "$defaultval"; then
15558 if test x"$enablestring" = xdisable; then
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pcx" >&5
15566 $as_echo_n "checking
for --${enablestring:-enable}-pcx...
" >&6; }
15567 # Check whether --enable-pcx was given.
15568 if test "${enable_pcx+set}" = set; then :
15569 enableval=$enable_pcx;
15570 if test "$enableval" = yes; then
15571 wx_cv_use_pcx='wxUSE_PCX=yes'
15573 wx_cv_use_pcx='wxUSE_PCX=no'
15578 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15583 eval "$wx_cv_use_pcx"
15585 if test x
"$enablestring" = xdisable
; then
15586 if test $wxUSE_PCX = no
; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15596 $as_echo "$result" >&6; }
15600 defaultval
=$wxUSE_ALL_FEATURES
15601 if test -z "$defaultval"; then
15602 if test x
"$enablestring" = xdisable
; then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15610 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15611 # Check whether --enable-tga was given.
15612 if test "${enable_tga+set}" = set; then :
15613 enableval
=$enable_tga;
15614 if test "$enableval" = yes; then
15615 wx_cv_use_tga
='wxUSE_TGA=yes'
15617 wx_cv_use_tga
='wxUSE_TGA=no'
15622 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15627 eval "$wx_cv_use_tga"
15629 if test x"$enablestring" = xdisable; then
15630 if test $wxUSE_TGA = no; then
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15640 $as_echo "$result" >&6; }
15644 defaultval=$wxUSE_ALL_FEATURES
15645 if test -z "$defaultval"; then
15646 if test x"$enablestring" = xdisable; then
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15654 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15655 # Check whether --enable-iff was given.
15656 if test "${enable_iff+set}" = set; then :
15657 enableval=$enable_iff;
15658 if test "$enableval" = yes; then
15659 wx_cv_use_iff='wxUSE_IFF
=yes'
15661 wx_cv_use_iff='wxUSE_IFF
=no
'
15666 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15671 eval "$wx_cv_use_iff"
15673 if test x"$enablestring" = xdisable; then
15674 if test $wxUSE_IFF = no; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15684 $as_echo "$result" >&6; }
15688 defaultval=$wxUSE_ALL_FEATURES
15689 if test -z "$defaultval"; then
15690 if test x"$enablestring" = xdisable; then
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pnm" >&5
15698 $as_echo_n "checking
for --${enablestring:-enable}-pnm...
" >&6; }
15699 # Check whether --enable-pnm was given.
15700 if test "${enable_pnm+set}" = set; then :
15701 enableval=$enable_pnm;
15702 if test "$enableval" = yes; then
15703 wx_cv_use_pnm='wxUSE_PNM=yes'
15705 wx_cv_use_pnm='wxUSE_PNM=no'
15710 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15715 eval "$wx_cv_use_pnm"
15717 if test x
"$enablestring" = xdisable
; then
15718 if test $wxUSE_PNM = no
; then
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15728 $as_echo "$result" >&6; }
15732 defaultval
=$wxUSE_ALL_FEATURES
15733 if test -z "$defaultval"; then
15734 if test x
"$enablestring" = xdisable
; then
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15742 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15743 # Check whether --enable-xpm was given.
15744 if test "${enable_xpm+set}" = set; then :
15745 enableval
=$enable_xpm;
15746 if test "$enableval" = yes; then
15747 wx_cv_use_xpm
='wxUSE_XPM=yes'
15749 wx_cv_use_xpm
='wxUSE_XPM=no'
15754 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15759 eval "$wx_cv_use_xpm"
15761 if test x"$enablestring" = xdisable; then
15762 if test $wxUSE_XPM = no; then
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15772 $as_echo "$result" >&6; }
15776 defaultval=$wxUSE_ALL_FEATURES
15777 if test -z "$defaultval"; then
15778 if test x"$enablestring" = xdisable; then
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15786 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15787 # Check whether --enable-ico_cur was given.
15788 if test "${enable_ico_cur+set}" = set; then :
15789 enableval=$enable_ico_cur;
15790 if test "$enableval" = yes; then
15791 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15793 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15798 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15803 eval "$wx_cv_use_ico_cur"
15805 if test x"$enablestring" = xdisable; then
15806 if test $wxUSE_ICO_CUR = no; then
15812 result=$wxUSE_ICO_CUR
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15816 $as_echo "$result" >&6; }
15822 defaultval=$wxUSE_ALL_FEATURES
15823 if test -z "$defaultval"; then
15824 if test x"$enablestring" = xdisable; then
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dccache" >&5
15832 $as_echo_n "checking
for --${enablestring:-enable}-dccache...
" >&6; }
15833 # Check whether --enable-dccache was given.
15834 if test "${enable_dccache+set}" = set; then :
15835 enableval=$enable_dccache;
15836 if test "$enableval" = yes; then
15837 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15839 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15844 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15849 eval "$wx_cv_use_dccache"
15851 if test x
"$enablestring" = xdisable
; then
15852 if test $wxUSE_DC_CACHEING = no
; then
15858 result
=$wxUSE_DC_CACHEING
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15862 $as_echo "$result" >&6; }
15866 defaultval
=$wxUSE_ALL_FEATURES
15867 if test -z "$defaultval"; then
15868 if test x
"$enablestring" = xdisable
; then
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15876 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15877 # Check whether --enable-ps-in-msw was given.
15878 if test "${enable_ps_in_msw+set}" = set; then :
15879 enableval
=$enable_ps_in_msw;
15880 if test "$enableval" = yes; then
15881 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15883 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15888 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15893 eval "$wx_cv_use_ps_in_msw"
15895 if test x"$enablestring" = xdisable; then
15896 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15902 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15906 $as_echo "$result" >&6; }
15910 defaultval=$wxUSE_ALL_FEATURES
15911 if test -z "$defaultval"; then
15912 if test x"$enablestring" = xdisable; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15920 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15921 # Check whether --enable-ownerdrawn was given.
15922 if test "${enable_ownerdrawn+set}" = set; then :
15923 enableval=$enable_ownerdrawn;
15924 if test "$enableval" = yes; then
15925 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15927 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15932 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15937 eval "$wx_cv_use_ownerdrawn"
15939 if test x"$enablestring" = xdisable; then
15940 if test $wxUSE_OWNER_DRAWN = no; then
15946 result=$wxUSE_OWNER_DRAWN
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15950 $as_echo "$result" >&6; }
15954 defaultval=$wxUSE_ALL_FEATURES
15955 if test -z "$defaultval"; then
15956 if test x"$enablestring" = xdisable; then
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uxtheme" >&5
15964 $as_echo_n "checking
for --${enablestring:-enable}-uxtheme...
" >&6; }
15965 # Check whether --enable-uxtheme was given.
15966 if test "${enable_uxtheme+set}" = set; then :
15967 enableval=$enable_uxtheme;
15968 if test "$enableval" = yes; then
15969 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15971 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15976 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15981 eval "$wx_cv_use_uxtheme"
15983 if test x
"$enablestring" = xdisable
; then
15984 if test $wxUSE_UXTHEME = no
; then
15990 result
=$wxUSE_UXTHEME
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15994 $as_echo "$result" >&6; }
15998 defaultval
=$wxUSE_ALL_FEATURES
15999 if test -z "$defaultval"; then
16000 if test x
"$enablestring" = xdisable
; then
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16008 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16009 # Check whether --enable-wxdib was given.
16010 if test "${enable_wxdib+set}" = set; then :
16011 enableval
=$enable_wxdib;
16012 if test "$enableval" = yes; then
16013 wx_cv_use_wxdib
='wxUSE_DIB=yes'
16015 wx_cv_use_wxdib
='wxUSE_DIB=no'
16020 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16025 eval "$wx_cv_use_wxdib"
16027 if test x"$enablestring" = xdisable; then
16028 if test $wxUSE_DIB = no; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16038 $as_echo "$result" >&6; }
16042 defaultval=$wxUSE_ALL_FEATURES
16043 if test -z "$defaultval"; then
16044 if test x"$enablestring" = xdisable; then
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16052 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16053 # Check whether --enable-webviewie was given.
16054 if test "${enable_webviewie+set}" = set; then :
16055 enableval=$enable_webviewie;
16056 if test "$enableval" = yes; then
16057 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
16059 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
16064 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16069 eval "$wx_cv_use_webviewie"
16071 if test x"$enablestring" = xdisable; then
16072 if test $wxUSE_WEBVIEW_IE = no; then
16078 result=$wxUSE_WEBVIEW_IE
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16082 $as_echo "$result" >&6; }
16085 if test "$wxUSE_MSW" != 1; then
16086 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16091 defaultval=$wxUSE_ALL_FEATURES
16092 if test -z "$defaultval"; then
16093 if test x"$enablestring" = xdisable; then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-autoidman" >&5
16101 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
16102 # Check whether --enable-autoidman was given.
16103 if test "${enable_autoidman+set}" = set; then :
16104 enableval=$enable_autoidman;
16105 if test "$enableval" = yes; then
16106 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16108 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16113 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16118 eval "$wx_cv_use_autoidman"
16120 if test x
"$enablestring" = xdisable
; then
16121 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
16127 result
=$wxUSE_AUTOID_MANAGEMENT
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16131 $as_echo "$result" >&6; }
16137 cat >confcache
<<\_ACEOF
16138 # This file is a shell script that caches the results of configure
16139 # tests run on this system so they can be shared between configure
16140 # scripts and configure runs, see configure's option --config-cache.
16141 # It is not useful on other systems. If it contains results you don't
16142 # want to keep, you may remove or edit it.
16144 # config.status only pays attention to the cache file if you give it
16145 # the --recheck option to rerun configure.
16147 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16149 # following values.
16153 # The following way of writing the cache mishandles newlines in values,
16154 # but we know of no workaround that is simple, portable, and efficient.
16155 # So, we kill variables containing newlines.
16156 # Ultrix sh set writes to stderr and can't be redirected directly,
16157 # and sets the high bit in the cache file unless we assign to the vars.
16159 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16160 eval ac_val
=\$
$ac_var
16164 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16165 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16168 _
| IFS
| as_nl
) ;; #(
16169 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16170 *) { eval $ac_var=; unset $ac_var;} ;;
16176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16177 *${as_nl}ac_space
=\
*)
16178 # `set' does not quote correctly, so add quotes: double-quote
16179 # substitution turns \\\\ into \\, and sed turns \\ into \.
16182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16185 # `set' quotes correctly as required by POSIX, so do not add quotes.
16186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16199 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16200 if test -w "$cache_file"; then
16201 if test "x$cache_file" != "x/dev/null"; then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16203 $as_echo "$as_me: updating cache $cache_file" >&6;}
16204 if test ! -f "$cache_file" || test -h "$cache_file"; then
16205 cat confcache
>"$cache_file"
16207 case $cache_file in #(
16209 mv -f confcache
"$cache_file"$$
&&
16210 mv -f "$cache_file"$$
"$cache_file" ;; #(
16212 mv -f confcache
"$cache_file" ;;
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16225 ac_cpp
='$CPP $CPPFLAGS'
16226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16229 if test -n "$ac_tool_prefix"; then
16230 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16231 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_prog_CC+:} false
; then :
16235 $as_echo_n "(cached) " >&6
16237 if test -n "$CC"; then
16238 ac_cv_prog_CC
="$CC" # Let the user override the test.
16240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16241 for as_dir
in $PATH
16244 test -z "$as_dir" && as_dir
=.
16245 for ac_exec_ext
in '' $ac_executable_extensions; do
16246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16247 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16258 if test -n "$CC"; then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16260 $as_echo "$CC" >&6; }
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16268 if test -z "$ac_cv_prog_CC"; then
16270 # Extract the first word of "gcc", so it can be a program name with args.
16271 set dummy gcc
; ac_word
=$2
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16273 $as_echo_n "checking for $ac_word... " >&6; }
16274 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16275 $as_echo_n "(cached) " >&6
16277 if test -n "$ac_ct_CC"; then
16278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16281 for as_dir
in $PATH
16284 test -z "$as_dir" && as_dir
=.
16285 for ac_exec_ext
in '' $ac_executable_extensions; do
16286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16287 ac_cv_prog_ac_ct_CC
="gcc"
16288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16298 if test -n "$ac_ct_CC"; then
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16300 $as_echo "$ac_ct_CC" >&6; }
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 $as_echo "no" >&6; }
16306 if test "x$ac_ct_CC" = x
; then
16309 case $cross_compiling:$ac_tool_warned in
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16313 ac_tool_warned
=yes ;;
16318 CC
="$ac_cv_prog_CC"
16321 if test -z "$CC"; then
16322 if test -n "$ac_tool_prefix"; then
16323 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16324 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16326 $as_echo_n "checking for $ac_word... " >&6; }
16327 if ${ac_cv_prog_CC+:} false
; then :
16328 $as_echo_n "(cached) " >&6
16330 if test -n "$CC"; then
16331 ac_cv_prog_CC
="$CC" # Let the user override the test.
16333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16334 for as_dir
in $PATH
16337 test -z "$as_dir" && as_dir
=.
16338 for ac_exec_ext
in '' $ac_executable_extensions; do
16339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16340 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 if test -n "$CC"; then
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16353 $as_echo "$CC" >&6; }
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16356 $as_echo "no" >&6; }
16362 if test -z "$CC"; then
16363 # Extract the first word of "cc", so it can be a program name with args.
16364 set dummy cc
; ac_word
=$2
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16366 $as_echo_n "checking for $ac_word... " >&6; }
16367 if ${ac_cv_prog_CC+:} false
; then :
16368 $as_echo_n "(cached) " >&6
16370 if test -n "$CC"; then
16371 ac_cv_prog_CC
="$CC" # Let the user override the test.
16373 ac_prog_rejected
=no
16374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16375 for as_dir
in $PATH
16378 test -z "$as_dir" && as_dir
=.
16379 for ac_exec_ext
in '' $ac_executable_extensions; do
16380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16382 ac_prog_rejected
=yes
16386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16393 if test $ac_prog_rejected = yes; then
16394 # We found a bogon in the path, so make sure we never use it.
16395 set dummy
$ac_cv_prog_CC
16397 if test $# != 0; then
16398 # We chose a different compiler from the bogus one.
16399 # However, it has the same basename, so the bogon will be chosen
16400 # first if we set CC to just the basename; use the full file name.
16402 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16408 if test -n "$CC"; then
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16410 $as_echo "$CC" >&6; }
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16413 $as_echo "no" >&6; }
16418 if test -z "$CC"; then
16419 if test -n "$ac_tool_prefix"; then
16420 for ac_prog
in cl.exe
16422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16423 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16425 $as_echo_n "checking for $ac_word... " >&6; }
16426 if ${ac_cv_prog_CC+:} false
; then :
16427 $as_echo_n "(cached) " >&6
16429 if test -n "$CC"; then
16430 ac_cv_prog_CC
="$CC" # Let the user override the test.
16432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16433 for as_dir
in $PATH
16436 test -z "$as_dir" && as_dir
=.
16437 for ac_exec_ext
in '' $ac_executable_extensions; do
16438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16439 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16450 if test -n "$CC"; then
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16452 $as_echo "$CC" >&6; }
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16455 $as_echo "no" >&6; }
16459 test -n "$CC" && break
16462 if test -z "$CC"; then
16464 for ac_prog
in cl.exe
16466 # Extract the first word of "$ac_prog", so it can be a program name with args.
16467 set dummy
$ac_prog; ac_word
=$2
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16469 $as_echo_n "checking for $ac_word... " >&6; }
16470 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16471 $as_echo_n "(cached) " >&6
16473 if test -n "$ac_ct_CC"; then
16474 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16477 for as_dir
in $PATH
16480 test -z "$as_dir" && as_dir
=.
16481 for ac_exec_ext
in '' $ac_executable_extensions; do
16482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16483 ac_cv_prog_ac_ct_CC
="$ac_prog"
16484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16493 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16494 if test -n "$ac_ct_CC"; then
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16496 $as_echo "$ac_ct_CC" >&6; }
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16499 $as_echo "no" >&6; }
16503 test -n "$ac_ct_CC" && break
16506 if test "x$ac_ct_CC" = x
; then
16509 case $cross_compiling:$ac_tool_warned in
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16513 ac_tool_warned
=yes ;;
16522 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16524 as_fn_error $?
"no acceptable C compiler found in \$PATH
16525 See \`config.log' for more details" "$LINENO" 5; }
16527 # Provide some information about the compiler.
16528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16531 for ac_option
in --version -v -V -qversion; do
16532 { { ac_try
="$ac_compiler $ac_option >&5"
16533 case "(($ac_try" in
16534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16535 *) ac_try_echo=$ac_try;;
16537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16538 $as_echo "$ac_try_echo"; } >&5
16539 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16541 if test -s conftest.err; then
16543 ... rest of stderr output deleted ...
16544 10q' conftest.err >conftest.er1
16545 cat conftest.er1 >&5
16547 rm -f conftest.er1 conftest.err
16548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16549 test $ac_status = 0; }
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16563 ac_clean_files_save=$ac_clean_files
16564 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16565 # Try to create an executable without -o first, disregard a.out.
16566 # It will help us diagnose broken compilers, and finding out an intuition
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16569 $as_echo_n "checking whether the C compiler works... " >&6; }
16570 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16572 # The possible output files:
16573 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16576 for ac_file in $ac_files
16579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16580 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16585 if { { ac_try="$ac_link_default"
16586 case "(($ac_try" in
16587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16588 *) ac_try_echo
=$ac_try;;
16590 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16591 $as_echo "$ac_try_echo"; } >&5
16592 (eval "$ac_link_default") 2>&5
16594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16595 test $ac_status = 0; }; then :
16596 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16598 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16599 # so that the user can short-circuit this test for compilers unknown to
16601 for ac_file
in $ac_files ''
16603 test -f "$ac_file" || continue
16605 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16608 # We found the default executable, but exeext='' is most
16612 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16614 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16616 # We set ac_cv_exeext here because the later test for it is not
16617 # safe: cross compilers may not add the suffix if given an `-o'
16618 # argument, so we may need to know it at that point already.
16619 # Even if this section looks crufty: it has the advantage of
16620 # actually working.
16626 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16631 if test -z "$ac_file"; then :
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16633 $as_echo "no" >&6; }
16634 $as_echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.
$ac_ext >&5
16637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16639 as_fn_error
77 "C compiler cannot create executables
16640 See \`config.log' for more details" "$LINENO" 5; }
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16643 $as_echo "yes" >&6; }
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16646 $as_echo_n "checking for C compiler default output file name... " >&6; }
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16648 $as_echo "$ac_file" >&6; }
16649 ac_exeext
=$ac_cv_exeext
16651 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16652 ac_clean_files
=$ac_clean_files_save
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16654 $as_echo_n "checking for suffix of executables... " >&6; }
16655 if { { ac_try
="$ac_link"
16656 case "(($ac_try" in
16657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16661 $as_echo "$ac_try_echo"; } >&5
16662 (eval "$ac_link") 2>&5
16664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16665 test $ac_status = 0; }; then :
16666 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16667 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16668 # work properly (i.e., refer to `conftest.exe'), while it won't with
16670 for ac_file
in conftest.exe conftest conftest.
*; do
16671 test -f "$ac_file" || continue
16673 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16674 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16682 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16683 See \`config.log' for more details" "$LINENO" 5; }
16685 rm -f conftest conftest
$ac_cv_exeext
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16687 $as_echo "$ac_cv_exeext" >&6; }
16689 rm -f conftest.
$ac_ext
16690 EXEEXT
=$ac_cv_exeext
16692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16698 FILE *f = fopen ("conftest.out", "w");
16699 return ferror (f) || fclose (f) != 0;
16705 ac_clean_files
="$ac_clean_files conftest.out"
16706 # Check that the compiler produces executables we can run. If not, either
16707 # the compiler is broken, or we cross compile.
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16709 $as_echo_n "checking whether we are cross compiling... " >&6; }
16710 if test "$cross_compiling" != yes; then
16711 { { ac_try
="$ac_link"
16712 case "(($ac_try" in
16713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16717 $as_echo "$ac_try_echo"; } >&5
16718 (eval "$ac_link") 2>&5
16720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16721 test $ac_status = 0; }
16722 if { ac_try='./conftest$ac_cv_exeext'
16723 { { case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16725 *) ac_try_echo
=$ac_try;;
16727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16728 $as_echo "$ac_try_echo"; } >&5
16729 (eval "$ac_try") 2>&5
16731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16732 test $ac_status = 0; }; }; then
16735 if test "$cross_compiling" = maybe
; then
16736 cross_compiling
=yes
16738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16740 as_fn_error $?
"cannot run C compiled programs.
16741 If you meant to cross compile, use \`--host'.
16742 See \`config.log' for more details" "$LINENO" 5; }
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16747 $as_echo "$cross_compiling" >&6; }
16749 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16750 ac_clean_files
=$ac_clean_files_save
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16752 $as_echo_n "checking for suffix of object files... " >&6; }
16753 if ${ac_cv_objext+:} false
; then :
16754 $as_echo_n "(cached) " >&6
16756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16767 rm -f conftest.o conftest.obj
16768 if { { ac_try
="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16774 $as_echo "$ac_try_echo"; } >&5
16775 (eval "$ac_compile") 2>&5
16777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16778 test $ac_status = 0; }; then :
16779 for ac_file in conftest.o conftest.obj conftest.*; do
16780 test -f "$ac_file" || continue;
16782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16788 $as_echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16793 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16794 See \
`config.log' for more details" "$LINENO" 5; }
16796 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16799 $as_echo "$ac_cv_objext" >&6; }
16800 OBJEXT=$ac_cv_objext
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16804 if ${ac_cv_c_compiler_gnu+:} false; then :
16805 $as_echo_n "(cached) " >&6
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16821 if ac_fn_c_try_compile "$LINENO"; then :
16822 ac_compiler_gnu=yes
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16831 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16832 if test $ac_compiler_gnu = yes; then
16837 ac_test_CFLAGS=${CFLAGS+set}
16838 ac_save_CFLAGS=$CFLAGS
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16840 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16841 if ${ac_cv_prog_cc_g+:} false; then :
16842 $as_echo_n "(cached) " >&6
16844 ac_save_c_werror_flag=$ac_c_werror_flag
16845 ac_c_werror_flag=yes
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16859 if ac_fn_c_try_compile "$LINENO"; then :
16860 ac_cv_prog_cc_g=yes
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16874 if ac_fn_c_try_compile "$LINENO"; then :
16877 ac_c_werror_flag=$ac_save_c_werror_flag
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16890 if ac_fn_c_try_compile "$LINENO"; then :
16891 ac_cv_prog_cc_g=yes
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898 ac_c_werror_flag=$ac_save_c_werror_flag
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16901 $as_echo "$ac_cv_prog_cc_g" >&6; }
16902 if test "$ac_test_CFLAGS" = set; then
16903 CFLAGS=$ac_save_CFLAGS
16904 elif test $ac_cv_prog_cc_g = yes; then
16905 if test "$GCC" = yes; then
16911 if test "$GCC" = yes; then
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16919 if ${ac_cv_prog_cc_c89+:} false; then :
16920 $as_echo_n "(cached) " >&6
16922 ac_cv_prog_cc_c89=no
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 #include <stdarg.h>
16929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16930 struct buf { int x; };
16931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16932 static char *e (p, i)
16938 static char *f (char * (*g) (char **, int), char **p, ...)
16943 s = g (p, va_arg (v,int));
16948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16949 function prototypes and stuff, but not '\xHH' hex character constants.
16950 These don't provoke an error unfortunately, instead are silently treated
16951 as 'x'. The following induces an error, until -std is added to get
16952 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16953 array size at least. It's necessary to write '\x00'==0 to get something
16954 that's true only with -std. */
16955 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16958 inside strings and character constants. */
16960 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16962 int test (int i, double x);
16963 struct s1 {int (*f) (int a);};
16964 struct s2 {int (*f) (double a);};
16965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16976 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16977 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16979 CC="$ac_save_CC $ac_arg"
16980 if ac_fn_c_try_compile "$LINENO"; then :
16981 ac_cv_prog_cc_c89=$ac_arg
16983 rm -f core conftest.err conftest.$ac_objext
16984 test "x$ac_cv_prog_cc_c89" != "xno" && break
16986 rm -f conftest.$ac_ext
16991 case "x$ac_cv_prog_cc_c89" in
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16994 $as_echo "none needed" >&6; } ;;
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16997 $as_echo "unsupported" >&6; } ;;
16999 CC="$CC $ac_cv_prog_cc_c89"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17001 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17003 if test "x$ac_cv_prog_cc_c89" != xno; then :
17008 ac_cpp='$CPP $CPPFLAGS'
17009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17021 ac_cpp='$CPP $CPPFLAGS'
17022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17027 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17028 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17029 $as_echo_n "(cached) " >&6
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17038 #ifndef __INTEL_COMPILER
17046 if ac_fn_c_try_compile "$LINENO"; then :
17047 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17049 bakefile_cv_c_compiler___INTEL_COMPILER=no
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17057 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17058 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17072 if test "$INTELCC" = "yes"; then
17076 ac_cpp='$CPP $CPPFLAGS'
17077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17082 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17083 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17084 $as_echo_n "(cached) " >&6
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17093 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17101 if ac_fn_c_try_compile "$LINENO"; then :
17102 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17104 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17112 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17113 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17119 ac_cpp='$CPP $CPPFLAGS'
17120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17135 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17136 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17137 $as_echo_n "(cached) " >&6
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17146 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17154 if ac_fn_c_try_compile "$LINENO"; then :
17155 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17157 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17165 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17166 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17181 if test "x$GCC" != "xyes"; then
17182 if test "xCC" = "xC"; then
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17184 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17185 if ${bakefile_cv_c_exto+:} false; then :
17186 $as_echo_n "(cached) " >&6
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17199 rm -f conftest.$ac_objext conftest.$ac_ext.o
17200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17201 (eval $ac_compile) 2>&5
17203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17204 test $ac_status = 0; }; then :
17205 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17207 conftest.$ac_ext.o)
17208 bakefile_cv_c_exto="-ext o"
17215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17217 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17218 See \
`config.log' for more details" "$LINENO" 5; }
17221 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17225 $as_echo "$bakefile_cv_c_exto" >&6; }
17226 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17227 if test "c" = "c"; then
17228 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17230 if test "c" = "cxx"; then
17231 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17235 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17236 unset ac_cv_prog_cc_g
17237 ac_test_CFLAGS=${CFLAGS+set}
17238 ac_save_CFLAGS=$CFLAGS
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17241 if ${ac_cv_prog_cc_g+:} false; then :
17242 $as_echo_n "(cached) " >&6
17244 ac_save_c_werror_flag=$ac_c_werror_flag
17245 ac_c_werror_flag=yes
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17259 if ac_fn_c_try_compile "$LINENO"; then :
17260 ac_cv_prog_cc_g=yes
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17274 if ac_fn_c_try_compile "$LINENO"; then :
17277 ac_c_werror_flag=$ac_save_c_werror_flag
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17290 if ac_fn_c_try_compile "$LINENO"; then :
17291 ac_cv_prog_cc_g=yes
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ac_c_werror_flag=$ac_save_c_werror_flag
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17301 $as_echo "$ac_cv_prog_cc_g" >&6; }
17302 if test "$ac_test_CFLAGS" = set; then
17303 CFLAGS=$ac_save_CFLAGS
17304 elif test $ac_cv_prog_cc_g = yes; then
17305 if test "$GCC" = yes; then
17311 if test "$GCC" = yes; then
17325 ac_cpp='$CPP $CPPFLAGS'
17326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17331 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17332 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17333 $as_echo_n "(cached) " >&6
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17350 if ac_fn_c_try_compile "$LINENO"; then :
17351 bakefile_cv_c_compiler___xlC__=yes
17353 bakefile_cv_c_compiler___xlC__=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17361 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17362 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17387 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17388 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17389 $as_echo_n "(cached) " >&6
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 bakefile_cv_c_compiler___MWERKS__=yes
17409 bakefile_cv_c_compiler___MWERKS__=no
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17417 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17418 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431 if test "$MWCC" != "yes"; then
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17441 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17443 $as_echo_n "(cached) " >&6
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461 bakefile_cv_c_compiler___xlC__=yes
17463 bakefile_cv_c_compiler___xlC__=no
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17472 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 ac_cpp='$CPP $CPPFLAGS'
17493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17498 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17499 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17500 $as_echo_n "(cached) " >&6
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17509 #ifndef _SGI_COMPILER_VERSION
17517 if ac_fn_c_try_compile "$LINENO"; then :
17518 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17520 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17528 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17529 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545 if test "$INTELCC" != "yes"; then
17549 ac_cpp='$CPP $CPPFLAGS'
17550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17555 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17556 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17557 $as_echo_n "(cached) " >&6
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17574 if ac_fn_c_try_compile "$LINENO"; then :
17575 bakefile_cv_c_compiler___SUNPRO_C=yes
17577 bakefile_cv_c_compiler___SUNPRO_C=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17585 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17586 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17592 ac_cpp='$CPP $CPPFLAGS'
17593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606 ac_cpp='$CPP $CPPFLAGS'
17607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17612 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17613 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17614 $as_echo_n "(cached) " >&6
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 bakefile_cv_c_compiler___HP_cc=yes
17634 bakefile_cv_c_compiler___HP_cc=no
17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17642 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17643 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17649 ac_cpp='$CPP $CPPFLAGS'
17650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17662 ac_cpp='$CPP $CPPFLAGS'
17663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17668 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17669 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17670 $as_echo_n "(cached) " >&6
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17687 if ac_fn_c_try_compile "$LINENO"; then :
17688 bakefile_cv_c_compiler___DECC=yes
17690 bakefile_cv_c_compiler___DECC=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17698 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17699 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17724 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17725 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17726 $as_echo_n "(cached) " >&6
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17743 if ac_fn_c_try_compile "$LINENO"; then :
17744 bakefile_cv_c_compiler___SUNPRO_C=yes
17746 bakefile_cv_c_compiler___SUNPRO_C=no
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17754 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17755 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17761 ac_cpp='$CPP $CPPFLAGS'
17762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17780 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17781 # On Suns, sometimes $CPP names a directory.
17782 if test -n "$CPP" && test -d "$CPP"; then
17785 if test -z "$CPP"; then
17786 if ${ac_cv_prog_CPP+:} false; then :
17787 $as_echo_n "(cached) " >&6
17789 # Double quotes because CPP needs to be expanded
17790 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17792 ac_preproc_ok=false
17793 for ac_c_preproc_warn_flag in '' yes
17795 # Use a header file that comes with gcc, so configuring glibc
17796 # with a fresh cross-compiler works.
17797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17798 # <limits.h> exists even on freestanding compilers.
17799 # On the NeXT, cc -E runs the code through the compiler's parser,
17800 # not just through cpp. "Syntax error" is here to catch this case.
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17804 # include <limits.h>
17806 # include <assert.h>
17810 if ac_fn_c_try_cpp "$LINENO"; then :
17813 # Broken: fails on valid input.
17816 rm -f conftest.err conftest.i conftest.$ac_ext
17818 # OK, works on sane cases. Now check whether nonexistent headers
17819 # can be detected and how.
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <ac_nonexistent.h>
17824 if ac_fn_c_try_cpp "$LINENO"; then :
17825 # Broken: success on invalid input.
17828 # Passes both tests.
17832 rm -f conftest.err conftest.i conftest.$ac_ext
17835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17836 rm -f conftest.i conftest.err conftest.
$ac_ext
17837 if $ac_preproc_ok; then :
17842 ac_cv_prog_CPP
=$CPP
17845 CPP
=$ac_cv_prog_CPP
17847 ac_cv_prog_CPP
=$CPP
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17850 $as_echo "$CPP" >&6; }
17851 ac_preproc_ok
=false
17852 for ac_c_preproc_warn_flag
in '' yes
17854 # Use a header file that comes with gcc, so configuring glibc
17855 # with a fresh cross-compiler works.
17856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17857 # <limits.h> exists even on freestanding compilers.
17858 # On the NeXT, cc -E runs the code through the compiler's parser,
17859 # not just through cpp. "Syntax error" is here to catch this case.
17860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17863 # include <limits.h>
17865 # include <assert.h>
17869 if ac_fn_c_try_cpp
"$LINENO"; then :
17872 # Broken: fails on valid input.
17875 rm -f conftest.err conftest.i conftest.
$ac_ext
17877 # OK, works on sane cases. Now check whether nonexistent headers
17878 # can be detected and how.
17879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #include <ac_nonexistent.h>
17883 if ac_fn_c_try_cpp
"$LINENO"; then :
17884 # Broken: success on invalid input.
17887 # Passes both tests.
17891 rm -f conftest.err conftest.i conftest.
$ac_ext
17894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17895 rm -f conftest.i conftest.err conftest.
$ac_ext
17896 if $ac_preproc_ok; then :
17899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17901 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17902 See \`config.log' for more details" "$LINENO" 5; }
17906 ac_cpp
='$CPP $CPPFLAGS'
17907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17914 if ${ac_cv_path_GREP+:} false
; then :
17915 $as_echo_n "(cached) " >&6
17917 if test -z "$GREP"; then
17918 ac_path_GREP_found
=false
17919 # Loop through the user's path and test for each of PROGNAME-LIST
17920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17921 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17924 test -z "$as_dir" && as_dir
=.
17925 for ac_prog
in grep ggrep
; do
17926 for ac_exec_ext
in '' $ac_executable_extensions; do
17927 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17928 as_fn_executable_p
"$ac_path_GREP" || continue
17929 # Check for GNU ac_path_GREP and select it if it is found.
17930 # Check for GNU $ac_path_GREP
17931 case `"$ac_path_GREP" --version 2>&1` in
17933 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17936 $as_echo_n 0123456789 >"conftest.in"
17939 cat "conftest.in" "conftest.in" >"conftest.tmp"
17940 mv "conftest.tmp" "conftest.in"
17941 cp "conftest.in" "conftest.nl"
17942 $as_echo 'GREP' >> "conftest.nl"
17943 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17944 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17945 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17946 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17947 # Best one so far, save it but keep looking for a better one
17948 ac_cv_path_GREP
="$ac_path_GREP"
17949 ac_path_GREP_max
=$ac_count
17951 # 10*(2^10) chars as input seems more than enough
17952 test $ac_count -gt 10 && break
17954 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17957 $ac_path_GREP_found && break 3
17962 if test -z "$ac_cv_path_GREP"; then
17963 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17966 ac_cv_path_GREP
=$GREP
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17971 $as_echo "$ac_cv_path_GREP" >&6; }
17972 GREP
="$ac_cv_path_GREP"
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17976 $as_echo_n "checking for egrep... " >&6; }
17977 if ${ac_cv_path_EGREP+:} false
; then :
17978 $as_echo_n "(cached) " >&6
17980 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17981 then ac_cv_path_EGREP
="$GREP -E"
17983 if test -z "$EGREP"; then
17984 ac_path_EGREP_found
=false
17985 # Loop through the user's path and test for each of PROGNAME-LIST
17986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17987 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17990 test -z "$as_dir" && as_dir
=.
17991 for ac_prog
in egrep; do
17992 for ac_exec_ext
in '' $ac_executable_extensions; do
17993 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17994 as_fn_executable_p
"$ac_path_EGREP" || continue
17995 # Check for GNU ac_path_EGREP and select it if it is found.
17996 # Check for GNU $ac_path_EGREP
17997 case `"$ac_path_EGREP" --version 2>&1` in
17999 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18002 $as_echo_n 0123456789 >"conftest.in"
18005 cat "conftest.in" "conftest.in" >"conftest.tmp"
18006 mv "conftest.tmp" "conftest.in"
18007 cp "conftest.in" "conftest.nl"
18008 $as_echo 'EGREP' >> "conftest.nl"
18009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18010 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18011 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18013 # Best one so far, save it but keep looking for a better one
18014 ac_cv_path_EGREP
="$ac_path_EGREP"
18015 ac_path_EGREP_max
=$ac_count
18017 # 10*(2^10) chars as input seems more than enough
18018 test $ac_count -gt 10 && break
18020 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18023 $ac_path_EGREP_found && break 3
18028 if test -z "$ac_cv_path_EGREP"; then
18029 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18032 ac_cv_path_EGREP
=$EGREP
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18038 $as_echo "$ac_cv_path_EGREP" >&6; }
18039 EGREP
="$ac_cv_path_EGREP"
18042 if test $ac_cv_c_compiler_gnu = yes; then
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18044 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18045 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18046 $as_echo_n "(cached) " >&6
18048 ac_pattern
="Autoconf.*'x'"
18049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18055 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18056 ac_cv_prog_gcc_traditional
=yes
18058 ac_cv_prog_gcc_traditional
=no
18063 if test $ac_cv_prog_gcc_traditional = no
; then
18064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18065 /* end confdefs.h. */
18066 #include <termio.h>
18069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18070 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18071 ac_cv_prog_gcc_traditional
=yes
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18078 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18079 if test $ac_cv_prog_gcc_traditional = yes; then
18080 CC
="$CC -traditional"
18085 CXXFLAGS
=${CXXFLAGS:=}
18087 ac_cpp
='$CXXCPP $CPPFLAGS'
18088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18091 if test -z "$CXX"; then
18092 if test -n "$CCC"; then
18095 if test -n "$ac_tool_prefix"; then
18096 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18099 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18101 $as_echo_n "checking for $ac_word... " >&6; }
18102 if ${ac_cv_prog_CXX+:} false
; then :
18103 $as_echo_n "(cached) " >&6
18105 if test -n "$CXX"; then
18106 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18109 for as_dir
in $PATH
18112 test -z "$as_dir" && as_dir
=.
18113 for ac_exec_ext
in '' $ac_executable_extensions; do
18114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18115 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18125 CXX
=$ac_cv_prog_CXX
18126 if test -n "$CXX"; then
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18128 $as_echo "$CXX" >&6; }
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18131 $as_echo "no" >&6; }
18135 test -n "$CXX" && break
18138 if test -z "$CXX"; then
18140 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18142 # Extract the first word of "$ac_prog", so it can be a program name with args.
18143 set dummy
$ac_prog; ac_word
=$2
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18145 $as_echo_n "checking for $ac_word... " >&6; }
18146 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18147 $as_echo_n "(cached) " >&6
18149 if test -n "$ac_ct_CXX"; then
18150 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18153 for as_dir
in $PATH
18156 test -z "$as_dir" && as_dir
=.
18157 for ac_exec_ext
in '' $ac_executable_extensions; do
18158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18159 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18169 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18170 if test -n "$ac_ct_CXX"; then
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18172 $as_echo "$ac_ct_CXX" >&6; }
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18175 $as_echo "no" >&6; }
18179 test -n "$ac_ct_CXX" && break
18182 if test "x$ac_ct_CXX" = x
; then
18185 case $cross_compiling:$ac_tool_warned in
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18189 ac_tool_warned
=yes ;;
18197 # Provide some information about the compiler.
18198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18201 for ac_option
in --version -v -V -qversion; do
18202 { { ac_try
="$ac_compiler $ac_option >&5"
18203 case "(($ac_try" in
18204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18205 *) ac_try_echo=$ac_try;;
18207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18208 $as_echo "$ac_try_echo"; } >&5
18209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18211 if test -s conftest.err; then
18213 ... rest of stderr output deleted ...
18214 10q' conftest.err >conftest.er1
18215 cat conftest.er1 >&5
18217 rm -f conftest.er1 conftest.err
18218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18219 test $ac_status = 0; }
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18223 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18224 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18225 $as_echo_n "(cached) " >&6
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18241 if ac_fn_cxx_try_compile "$LINENO"; then :
18242 ac_compiler_gnu=yes
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18251 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18252 if test $ac_compiler_gnu = yes; then
18257 ac_test_CXXFLAGS=${CXXFLAGS+set}
18258 ac_save_CXXFLAGS=$CXXFLAGS
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18260 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18261 if ${ac_cv_prog_cxx_g+:} false; then :
18262 $as_echo_n "(cached) " >&6
18264 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18265 ac_cxx_werror_flag=yes
18266 ac_cv_prog_cxx_g=no
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18279 if ac_fn_cxx_try_compile "$LINENO"; then :
18280 ac_cv_prog_cxx_g=yes
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18310 if ac_fn_cxx_try_compile "$LINENO"; then :
18311 ac_cv_prog_cxx_g=yes
18313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18321 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18322 if test "$ac_test_CXXFLAGS" = set; then
18323 CXXFLAGS=$ac_save_CXXFLAGS
18324 elif test $ac_cv_prog_cxx_g = yes; then
18325 if test "$GXX" = yes; then
18331 if test "$GXX" = yes; then
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351 ac_cpp='$CXXCPP $CPPFLAGS'
18352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18357 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18358 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18359 $as_echo_n "(cached) " >&6
18361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18368 #ifndef __INTEL_COMPILER
18376 if ac_fn_cxx_try_compile "$LINENO"; then :
18377 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18379 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18387 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18388 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18394 ac_cpp='$CPP $CPPFLAGS'
18395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18402 if test "$INTELCXX" = "yes"; then
18406 ac_cpp='$CXXCPP $CPPFLAGS'
18407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18412 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18413 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18414 $as_echo_n "(cached) " >&6
18416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h. */
18423 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18431 if ac_fn_cxx_try_compile "$LINENO"; then :
18432 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18434 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18442 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18443 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18449 ac_cpp='$CPP $CPPFLAGS'
18450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18465 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18466 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18467 $as_echo_n "(cached) " >&6
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18476 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18484 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18487 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18495 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18496 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18511 if test "x$GCXX" != "xyes"; then
18512 if test "xCXX" = "xC"; then
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18514 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18515 if ${bakefile_cv_c_exto+:} false; then :
18516 $as_echo_n "(cached) " >&6
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18529 rm -f conftest.$ac_objext conftest.$ac_ext.o
18530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18531 (eval $ac_compile) 2>&5
18533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18534 test $ac_status = 0; }; then :
18535 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18537 conftest.$ac_ext.o)
18538 bakefile_cv_c_exto="-ext o"
18545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18547 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18548 See \
`config.log' for more details" "$LINENO" 5; }
18551 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18555 $as_echo "$bakefile_cv_c_exto" >&6; }
18556 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18557 if test "c" = "c"; then
18558 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18560 if test "c" = "cxx"; then
18561 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18565 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18566 unset ac_cv_prog_cc_g
18567 ac_test_CFLAGS=${CFLAGS+set}
18568 ac_save_CFLAGS=$CFLAGS
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18571 if ${ac_cv_prog_cc_g+:} false; then :
18572 $as_echo_n "(cached) " >&6
18574 ac_save_c_werror_flag=$ac_c_werror_flag
18575 ac_c_werror_flag=yes
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590 ac_cv_prog_cc_g=yes
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h. */
18604 if ac_fn_c_try_compile "$LINENO"; then :
18607 ac_c_werror_flag=$ac_save_c_werror_flag
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18620 if ac_fn_c_try_compile "$LINENO"; then :
18621 ac_cv_prog_cc_g=yes
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 ac_c_werror_flag=$ac_save_c_werror_flag
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18631 $as_echo "$ac_cv_prog_cc_g" >&6; }
18632 if test "$ac_test_CFLAGS" = set; then
18633 CFLAGS=$ac_save_CFLAGS
18634 elif test $ac_cv_prog_cc_g = yes; then
18635 if test "$GCC" = yes; then
18641 if test "$GCC" = yes; then
18655 ac_cpp='$CXXCPP $CPPFLAGS'
18656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18661 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18662 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18663 $as_echo_n "(cached) " >&6
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18680 if ac_fn_cxx_try_compile "$LINENO"; then :
18681 bakefile_cv_cxx_compiler___xlC__=yes
18683 bakefile_cv_cxx_compiler___xlC__=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18691 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18692 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18711 ac_cpp='$CXXCPP $CPPFLAGS'
18712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18717 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18718 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18719 $as_echo_n "(cached) " >&6
18721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h. */
18736 if ac_fn_cxx_try_compile "$LINENO"; then :
18737 bakefile_cv_cxx_compiler___MWERKS__=yes
18739 bakefile_cv_cxx_compiler___MWERKS__=no
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18747 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18748 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18754 ac_cpp='$CPP $CPPFLAGS'
18755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18761 if test "$MWCXX" != "yes"; then
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18773 $as_echo_n "(cached) " >&6
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 bakefile_cv_cxx_compiler___xlC__=yes
18793 bakefile_cv_cxx_compiler___xlC__=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18802 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18822 ac_cpp='$CXXCPP $CPPFLAGS'
18823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18828 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18829 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18830 $as_echo_n "(cached) " >&6
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18839 #ifndef _SGI_COMPILER_VERSION
18847 if ac_fn_cxx_try_compile "$LINENO"; then :
18848 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18850 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18858 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18859 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18865 ac_cpp='$CPP $CPPFLAGS'
18866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18875 if test "$INTELCXX" != "yes"; then
18879 ac_cpp='$CXXCPP $CPPFLAGS'
18880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18885 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18886 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18887 $as_echo_n "(cached) " >&6
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18896 #ifndef __SUNPRO_CC
18904 if ac_fn_cxx_try_compile "$LINENO"; then :
18905 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18907 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18915 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18916 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18922 ac_cpp='$CPP $CPPFLAGS'
18923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18936 ac_cpp='$CXXCPP $CPPFLAGS'
18937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18942 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18943 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18944 $as_echo_n "(cached) " >&6
18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 bakefile_cv_cxx_compiler___HP_aCC=yes
18964 bakefile_cv_cxx_compiler___HP_aCC=no
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18972 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18973 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18979 ac_cpp='$CPP $CPPFLAGS'
18980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18992 ac_cpp='$CXXCPP $CPPFLAGS'
18993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18998 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18999 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19000 $as_echo_n "(cached) " >&6
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19017 if ac_fn_cxx_try_compile "$LINENO"; then :
19018 bakefile_cv_cxx_compiler___DECCXX=yes
19020 bakefile_cv_cxx_compiler___DECCXX=no
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19028 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19029 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19035 ac_cpp='$CPP $CPPFLAGS'
19036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19048 ac_cpp='$CXXCPP $CPPFLAGS'
19049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19054 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19055 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19056 $as_echo_n "(cached) " >&6
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19065 #ifndef __SUNPRO_CC
19073 if ac_fn_cxx_try_compile "$LINENO"; then :
19074 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19076 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19084 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19085 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19091 ac_cpp='$CPP $CPPFLAGS'
19092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19104 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19105 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19108 if test "x$SUNCXX" != xyes; then
19109 if test -n "$ac_tool_prefix"; then
19110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19111 set dummy ${ac_tool_prefix}ar; ac_word=$2
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19113 $as_echo_n "checking for $ac_word... " >&6; }
19114 if ${ac_cv_prog_AR+:} false; then :
19115 $as_echo_n "(cached) " >&6
19117 if test -n "$AR"; then
19118 ac_cv_prog_AR="$AR" # Let the user override the test.
19120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19121 for as_dir in $PATH
19124 test -z "$as_dir" && as_dir=.
19125 for ac_exec_ext in '' $ac_executable_extensions; do
19126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19127 ac_cv_prog_AR="${ac_tool_prefix}ar"
19128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19138 if test -n "$AR"; then
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19140 $as_echo "$AR" >&6; }
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19143 $as_echo "no" >&6; }
19148 if test -z "$ac_cv_prog_AR"; then
19150 # Extract the first word of "ar", so it can be a program name with args.
19151 set dummy ar; ac_word=$2
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19153 $as_echo_n "checking for $ac_word... " >&6; }
19154 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19155 $as_echo_n "(cached) " >&6
19157 if test -n "$ac_ct_AR"; then
19158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19161 for as_dir in $PATH
19164 test -z "$as_dir" && as_dir=.
19165 for ac_exec_ext in '' $ac_executable_extensions; do
19166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19167 ac_cv_prog_ac_ct_AR="ar"
19168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19178 if test -n "$ac_ct_AR"; then
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19180 $as_echo "$ac_ct_AR" >&6; }
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19183 $as_echo "no" >&6; }
19186 if test "x$ac_ct_AR" = x; then
19189 case $cross_compiling:$ac_tool_warned in
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19193 ac_tool_warned=yes ;;
19198 AR="$ac_cv_prog_AR"
19201 if test "x$AR" = "x" ; then
19202 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19207 if test "$wxUSE_MAC" = 1; then
19209 retest_macosx_linking=no
19213 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19214 if test "x$wxUSE_MAC_ARCH" != xno; then
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19216 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19219 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19220 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19221 else OSX_ARCH_OPTS="ppc,i386"
19222 if test "$wxUSE_OSX_COCOA" = 1; then
19223 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19228 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19230 $as_echo "$OSX_ARCH_OPTS" >&6; }
19232 retest_macosx_linking=yes
19234 if test "x$wxUSE_MAC_ARCH" != xno; then
19235 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19239 if test "x$OSX_ARCH_OPTS" != "x"; then
19240 if echo $OSX_ARCH_OPTS | grep -q ","; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19242 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19243 disable_macosx_deps=yes
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19246 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19250 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19252 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19253 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19254 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19255 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19256 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19259 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19261 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19262 # TODO: Search for most recent SDK and use it.
19263 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19267 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19269 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19270 if ! test -d "$wxUSE_MACOSX_SDK"; then
19271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19273 as_fn_error $? "not found
19274 See \
`config.log' for more details" "$LINENO" 5; }
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19277 $as_echo "exists" >&6; }
19279 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19280 retest_macosx_linking=yes
19283 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19284 wxUSE_MACOSX_VERSION_MIN=
19285 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19286 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19288 $as_echo_n "checking SDK deployment version... " >&6; }
19290 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19292 # If that failed, try again with the new key
19293 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19295 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19299 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19300 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19302 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19305 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19306 wxUSE_MACOSX_VERSION_MIN=
19309 wxUSE_MACOSX_VERSION_MIN=
19311 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19312 wxUSE_MACOSX_VERSION_MIN=10.5
19315 if test "x$MACOSX_SDK_OPTS" != "x"; then
19316 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19317 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19318 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19319 retest_macosx_linking=yes
19322 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19323 if test "$wxUSE_OSX_IPHONE" = 1; then
19324 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19326 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19328 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19329 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19330 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19331 retest_macosx_linking=yes
19334 if test "x$retest_macosx_linking" = "xyes"; then
19336 ac_cpp='$CPP $CPPFLAGS'
19337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19342 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19354 if ac_fn_c_try_link "$LINENO"; then :
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19356 $as_echo "yes" >&6; }
19358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19360 as_fn_error $? "no. Try a different SDK
19361 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19363 rm -f core conftest.err conftest.$ac_objext \
19364 conftest$ac_exeext conftest.$ac_ext
19366 ac_cpp='$CPP $CPPFLAGS'
19367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373 ac_cpp='$CXXCPP $CPPFLAGS'
19374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19379 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19391 if ac_fn_cxx_try_link "$LINENO"; then :
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19393 $as_echo "yes" >&6; }
19395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19397 as_fn_error $? "no. Try a different SDK
19398 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 ac_cpp='$CPP $CPPFLAGS'
19404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19414 INSTALL_PROGRAM="cp -fp"
19415 INSTALL_DATA="cp -fp"
19422 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19423 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19426 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19427 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19430 if test "x$USE_AIX" = "x1"; then
19431 if test "x$XLCXX" = "xyes"; then
19432 CXXFLAGS="-qunique $CXXFLAGS"
19435 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19439 powerpc-*-darwin* )
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19441 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19448 #ifndef __POWERPC__
19449 choke me for lack of PowerPC
19456 if ac_fn_c_try_compile "$LINENO"; then :
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19458 $as_echo "yes" >&6; }
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19461 $as_echo "no" >&6; }
19462 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19473 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19476 #include <CoreFoundation/CFBase.h>
19486 if ac_fn_c_try_compile "$LINENO"; then :
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19488 $as_echo "yes" >&6; }
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19491 $as_echo "no" >&6; }
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19493 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #define __CF_USE_FRAMEWORK_INCLUDES__
19497 #include <CoreFoundation/CFBase.h>
19507 if ac_fn_c_try_compile "$LINENO"; then :
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19509 $as_echo "yes" >&6; }
19510 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19514 as_fn_error $? "no. CoreFoundation not available.
19515 See \
`config.log' for more details" "$LINENO" 5; }
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 doesnt_want_win32=0
19530 if test "$wxUSE_MSW" = 1 ; then
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19534 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19535 if ${wx_cv_nocygwin+:} false; then :
19536 $as_echo_n "(cached) " >&6
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19554 if ac_fn_c_try_compile "$LINENO"; then :
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19565 $as_echo "$wx_cv_nocygwin" >&6; }
19567 if test "$wx_cv_nocygwin" = "yes"; then
19570 doesnt_want_win32=1
19573 if test "$wants_win32" = 1 ; then
19574 BAKEFILE_FORCE_PLATFORM=win32
19582 if test "$wxUSE_WINE" = "yes"; then
19584 LDFLAGS_GUI="-mwindows"
19587 if test "$wants_win32" = 1 ; then
19590 $as_echo "#define __WIN32__ 1" >>confdefs.h
19592 $as_echo "#define __WIN95__ 1" >>confdefs.h
19594 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19596 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19598 $as_echo "#define STRICT 1" >>confdefs.h
19601 if test "$doesnt_want_win32" = 1 ; then
19606 if test "$USE_UNIX" = 1 ; then
19608 $as_echo "#define __UNIX__ 1" >>confdefs.h
19613 *-pc-os2_emx | *-pc-os2-emx )
19614 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19616 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19617 if ${ac_cv_lib_cExt_drand48+:} false; then :
19618 $as_echo_n "(cached) " >&6
19620 ac_check_lib_save_LIBS=$LIBS
19621 LIBS="-lcExt $LIBS"
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19625 /* Override any GCC internal prototype to avoid an error.
19626 Use char because int might match the return type of a GCC
19627 builtin and then its argument prototype would still apply. */
19640 if ac_fn_c_try_link "$LINENO"; then :
19641 ac_cv_lib_cExt_drand48=yes
19643 ac_cv_lib_cExt_drand48=no
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19647 LIBS=$ac_check_lib_save_LIBS
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19650 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19651 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19652 LIBS="$LIBS -lcExt"
19656 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19659 $as_echo_n "checking for gcc/libc version... " >&6; }
19660 if ${wx_cv_gccversion+:} false; then :
19661 $as_echo_n "(cached) " >&6
19664 if test "$cross_compiling" = yes; then :
19665 wx_cv_gccversion="EMX2"
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19675 FILE *f=fopen("conftestval", "w");
19680 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19682 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19692 if ac_fn_c_try_run "$LINENO"; then :
19693 wx_cv_gccversion=`cat conftestval
`
19695 wx_cv_gccversion="EMX2"
19697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19698 conftest.$ac_objext conftest.beam conftest.$ac_ext
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19704 $as_echo "$wx_cv_gccversion" >&6; }
19705 if test "$wx_cv_gccversion" = "EMX2"; then
19706 LIBS="$LIBS -lstdcpp"
19707 LDFLAGS="$LDFLAGS -Zsysv-signals"
19709 if test "$wx_cv_gccversion" = "EMX3"; then
19710 LIBS="$LIBS -lstdcxx -lgcc"
19711 LDFLAGS="$LDFLAGS -Zsysv-signals"
19713 LIBS="$LIBS -lstdc++"
19716 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19718 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19726 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19727 if ${ac_cv_string_strcasecmp+:} false; then :
19728 $as_echo_n "(cached) " >&6
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19734 #include <string.h>
19740 strcasecmp("foo", "bar");
19746 if ac_fn_c_try_link "$LINENO"; then :
19747 ac_cv_string_strcasecmp=yes
19749 ac_cv_string_strcasecmp=no
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19757 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19759 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19760 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19764 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19765 if ${ac_cv_strings_strcasecmp+:} false; then :
19766 $as_echo_n "(cached) " >&6
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19772 #include <strings.h>
19778 strcasecmp("foo", "bar");
19784 if ac_fn_c_try_link "$LINENO"; then :
19785 ac_cv_strings_strcasecmp=yes
19787 ac_cv_strings_strcasecmp=no
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19795 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19797 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19798 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19801 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19810 $as_echo_n "checking for ANSI C header files... " >&6; }
19811 if ${ac_cv_header_stdc+:} false; then :
19812 $as_echo_n "(cached) " >&6
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #include <stdlib.h>
19817 #include <stdarg.h>
19818 #include <string.h>
19829 if ac_fn_c_try_compile "$LINENO"; then :
19830 ac_cv_header_stdc=yes
19832 ac_cv_header_stdc=no
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 if test $ac_cv_header_stdc = yes; then
19837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 #include <string.h>
19843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19844 $EGREP "memchr" >/dev/null 2>&1; then :
19847 ac_cv_header_stdc=no
19853 if test $ac_cv_header_stdc = yes; then
19854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19857 #include <stdlib.h>
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861 $EGREP "free" >/dev/null 2>&1; then :
19864 ac_cv_header_stdc=no
19870 if test $ac_cv_header_stdc = yes; then
19871 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19872 if test "$cross_compiling" = yes; then :
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19878 #include <stdlib.h>
19879 #if ((' ' & 0x0FF) == 0x020)
19880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19883 # define ISLOWER(c) \
19884 (('a' <= (c) && (c) <= 'i') \
19885 || ('j' <= (c) && (c) <= 'r') \
19886 || ('s' <= (c) && (c) <= 'z'))
19887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19895 for (i = 0; i < 256; i++)
19896 if (XOR (islower (i), ISLOWER (i))
19897 || toupper (i) != TOUPPER (i))
19902 if ac_fn_c_try_run "$LINENO"; then :
19905 ac_cv_header_stdc=no
19907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19908 conftest.$ac_objext conftest.beam conftest.$ac_ext
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19914 $as_echo "$ac_cv_header_stdc" >&6; }
19915 if test $ac_cv_header_stdc = yes; then
19917 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19923 inttypes.h stdint.h unistd.h
19925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19929 cat >>confdefs.h <<_ACEOF
19930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19938 for ac_header in langinfo.h wchar.h
19940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19944 cat >>confdefs.h <<_ACEOF
19945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19953 if test "$ac_cv_header_wchar_h" != "yes"; then
19954 for ac_header in wcstr.h
19956 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19958 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19959 cat >>confdefs.h <<_ACEOF
19960 #define HAVE_WCSTR_H 1
19970 *-pc-os2_emx | *-pc-os2-emx )
19971 if test $ac_cv_header_langinfo_h = "yes" \
19972 -a \( "$wx_cv_gccversion" = "EMX2" \
19973 -o "$wx_cv_gccversion" = "EMX3" \
19974 -o "$wx_cv_gccversion" = "Innotek5" \); then
19975 LIBS="$LIBS -lintl"
19980 if test "$USE_UNIX" = 1 ; then
19981 for ac_header in sys/select.h
19983 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19985 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19986 cat >>confdefs.h <<_ACEOF
19987 #define HAVE_SYS_SELECT_H 1
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19998 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19999 if ${ac_cv_c_const+:} false; then :
20000 $as_echo_n "(cached) " >&6
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20009 #ifndef __cplusplus
20010 /* Ultrix mips cc rejects this sort of thing. */
20011 typedef int charset[2];
20012 const charset cs = { 0, 0 };
20013 /* SunOS 4.1.1 cc rejects this. */
20014 char const *const *pcpcc;
20016 /* NEC SVR4.0.2 mips cc rejects this. */
20017 struct point {int x, y;};
20018 static struct point const zero = {0,0};
20019 /* AIX XL C 1.02.0.0 rejects this.
20020 It does not let you subtract one const X* pointer from another in
20021 an arm of an if-expression whose if-part is not a constant
20023 const char *g = "string";
20024 pcpcc = &g + (g ? g-g : 0);
20025 /* HPUX 7.0 cc rejects these. */
20027 ppc = (char**) pcpcc;
20028 pcpcc = (char const *const *) ppc;
20029 { /* SCO 3.2v4 cc rejects this sort of thing. */
20032 char const *s = 0 ? (char *) 0 : (char const *) 0;
20037 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20038 int x[] = {25, 17};
20039 const int *foo = &x[0];
20042 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20043 typedef const int *iptr;
20047 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20048 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20049 struct s { int j; const int *ap[3]; } bx;
20050 struct s *b = &bx; b->j = 5;
20052 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20053 const int foo = 10;
20054 if (!foo) return 0;
20056 return !cs[0] && !zero.x;
20063 if ac_fn_c_try_compile "$LINENO"; then :
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20071 $as_echo "$ac_cv_c_const" >&6; }
20072 if test $ac_cv_c_const = no; then
20074 $as_echo "#define const /**/" >>confdefs.h
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20079 $as_echo_n "checking for inline... " >&6; }
20080 if ${ac_cv_c_inline+:} false; then :
20081 $as_echo_n "(cached) " >&6
20084 for ac_kw in inline __inline__ __inline; do
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #ifndef __cplusplus
20089 static $ac_kw foo_t static_foo () {return 0; }
20090 $ac_kw foo_t foo () {return 0; }
20094 if ac_fn_c_try_compile "$LINENO"; then :
20095 ac_cv_c_inline=$ac_kw
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098 test "$ac_cv_c_inline" != no && break
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20103 $as_echo "$ac_cv_c_inline" >&6; }
20105 case $ac_cv_c_inline in
20108 case $ac_cv_c_inline in
20110 *) ac_val=$ac_cv_c_inline;;
20112 cat >>confdefs.h <<_ACEOF
20113 #ifndef __cplusplus
20114 #define inline $ac_val
20121 # The cast to long int works around a bug in the HP C Compiler
20122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20123 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20124 # This bug is HP SR number 8606223364.
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20126 $as_echo_n "checking size of short... " >&6; }
20127 if ${ac_cv_sizeof_short+:} false; then :
20128 $as_echo_n "(cached) " >&6
20130 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20133 if test "$ac_cv_type_short" = yes; then
20134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20135 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20136 as_fn_error 77 "cannot compute sizeof (short)
20137 See \`config.log
' for more details" "$LINENO" 5; }
20139 ac_cv_sizeof_short=0
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20145 $as_echo "$ac_cv_sizeof_short" >&6; }
20149 cat >>confdefs.h <<_ACEOF
20150 #define SIZEOF_SHORT $ac_cv_sizeof_short
20154 # The cast to long int works around a bug in the HP C Compiler
20155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20157 # This bug is HP SR number 8606223364.
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20159 $as_echo_n "checking size of void *... " >&6; }
20160 if ${ac_cv_sizeof_void_p+:} false
; then :
20161 $as_echo_n "(cached) " >&6
20163 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20166 if test "$ac_cv_type_void_p" = yes; then
20167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20169 as_fn_error
77 "cannot compute sizeof (void *)
20170 See \`config.log' for more details" "$LINENO" 5; }
20172 ac_cv_sizeof_void_p
=0
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20178 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20182 cat >>confdefs.h
<<_ACEOF
20183 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20187 # The cast to long int works around a bug in the HP C Compiler
20188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20190 # This bug is HP SR number 8606223364.
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20192 $as_echo_n "checking size of int... " >&6; }
20193 if ${ac_cv_sizeof_int+:} false
; then :
20194 $as_echo_n "(cached) " >&6
20196 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20199 if test "$ac_cv_type_int" = yes; then
20200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20202 as_fn_error
77 "cannot compute sizeof (int)
20203 See \`config.log' for more details" "$LINENO" 5; }
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20211 $as_echo "$ac_cv_sizeof_int" >&6; }
20215 cat >>confdefs.h
<<_ACEOF
20216 #define SIZEOF_INT $ac_cv_sizeof_int
20220 # The cast to long int works around a bug in the HP C Compiler
20221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20223 # This bug is HP SR number 8606223364.
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20225 $as_echo_n "checking size of long... " >&6; }
20226 if ${ac_cv_sizeof_long+:} false
; then :
20227 $as_echo_n "(cached) " >&6
20229 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20232 if test "$ac_cv_type_long" = yes; then
20233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20235 as_fn_error
77 "cannot compute sizeof (long)
20236 See \`config.log' for more details" "$LINENO" 5; }
20238 ac_cv_sizeof_long
=0
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20244 $as_echo "$ac_cv_sizeof_long" >&6; }
20248 cat >>confdefs.h
<<_ACEOF
20249 #define SIZEOF_LONG $ac_cv_sizeof_long
20253 # The cast to long int works around a bug in the HP C Compiler
20254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20256 # This bug is HP SR number 8606223364.
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20258 $as_echo_n "checking size of size_t... " >&6; }
20259 if ${ac_cv_sizeof_size_t+:} false
; then :
20260 $as_echo_n "(cached) " >&6
20262 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20265 if test "$ac_cv_type_size_t" = yes; then
20266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20268 as_fn_error
77 "cannot compute sizeof (size_t)
20269 See \`config.log' for more details" "$LINENO" 5; }
20271 ac_cv_sizeof_size_t
=0
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20277 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20281 cat >>confdefs.h
<<_ACEOF
20282 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20289 # The cast to long int works around a bug in the HP C Compiler
20290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20292 # This bug is HP SR number 8606223364.
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20294 $as_echo_n "checking size of long long... " >&6; }
20295 if ${ac_cv_sizeof_long_long+:} false
; then :
20296 $as_echo_n "(cached) " >&6
20298 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20301 if test "$ac_cv_type_long_long" = yes; then
20302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20304 as_fn_error
77 "cannot compute sizeof (long long)
20305 See \`config.log' for more details" "$LINENO" 5; }
20307 ac_cv_sizeof_long_long
=0
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20313 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20317 cat >>confdefs.h
<<_ACEOF
20318 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20324 # The cast to long int works around a bug in the HP C Compiler
20325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20327 # This bug is HP SR number 8606223364.
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20329 $as_echo_n "checking size of long long... " >&6; }
20330 if ${ac_cv_sizeof_long_long+:} false
; then :
20331 $as_echo_n "(cached) " >&6
20333 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20336 if test "$ac_cv_type_long_long" = yes; then
20337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20339 as_fn_error
77 "cannot compute sizeof (long long)
20340 See \`config.log' for more details" "$LINENO" 5; }
20342 ac_cv_sizeof_long_long
=0
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20348 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20352 cat >>confdefs.h
<<_ACEOF
20353 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20357 if test "$ac_cv_sizeof_long_long" != 0; then
20358 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20362 # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20367 $as_echo_n "checking size of long long... " >&6; }
20368 if ${ac_cv_sizeof_long_long+:} false
; then :
20369 $as_echo_n "(cached) " >&6
20371 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20374 if test "$ac_cv_type_long_long" = yes; then
20375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20377 as_fn_error
77 "cannot compute sizeof (long long)
20378 See \`config.log' for more details" "$LINENO" 5; }
20380 ac_cv_sizeof_long_long
=0
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20386 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20390 cat >>confdefs.h
<<_ACEOF
20391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20402 $as_echo_n "checking size of wchar_t... " >&6; }
20403 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20404 $as_echo_n "(cached) " >&6
20406 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20407 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20408 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20409 # error \"fake wchar_t\"
20411 #ifdef HAVE_WCHAR_H
20413 # include <stddef.h>
20415 # include <wchar.h>
20417 #ifdef HAVE_STDLIB_H
20418 # include <stdlib.h>
20426 if test "$ac_cv_type_wchar_t" = yes; then
20427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20429 as_fn_error
77 "cannot compute sizeof (wchar_t)
20430 See \`config.log' for more details" "$LINENO" 5; }
20432 ac_cv_sizeof_wchar_t
=0
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20438 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20442 cat >>confdefs.h
<<_ACEOF
20443 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20447 if test "$ac_cv_sizeof_wchar_t" = 0; then
20448 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20450 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20454 $as_echo_n "checking for va_copy... " >&6; }
20455 if ${wx_cv_func_va_copy+:} false
; then :
20456 $as_echo_n "(cached) " >&6
20460 ac_cpp
='$CXXCPP $CPPFLAGS'
20461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20466 /* end confdefs.h. */
20469 #include <stdarg.h>
20470 void foo(char *f, ...)
20485 if ac_fn_cxx_try_link
"$LINENO"; then :
20486 wx_cv_func_va_copy
=yes
20488 wx_cv_func_va_copy
=no
20491 rm -f core conftest.err conftest.
$ac_objext \
20492 conftest
$ac_exeext conftest.
$ac_ext
20494 ac_cpp
='$CPP $CPPFLAGS'
20495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20503 $as_echo "$wx_cv_func_va_copy" >&6; }
20505 if test $wx_cv_func_va_copy = "yes"; then
20506 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20510 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20511 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20512 $as_echo_n "(cached) " >&6
20515 if test "$cross_compiling" = yes; then :
20516 wx_cv_type_va_list_lvalue
=yes
20519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20523 #include <stdarg.h>
20524 int foo(char *f, ...)
20529 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20537 return foo("hi", 17);
20541 if ac_fn_c_try_run
"$LINENO"; then :
20542 wx_cv_type_va_list_lvalue
=yes
20544 wx_cv_type_va_list_lvalue
=no
20546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20547 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20554 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20556 if test $wx_cv_type_va_list_lvalue != "yes"; then
20557 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20562 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20565 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20566 if ${wx_cv_have_variadic_macros+:} false
; then :
20567 $as_echo_n "(cached) " >&6
20571 ac_cpp
='$CXXCPP $CPPFLAGS'
20572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h. */
20581 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20587 test("%s %d %p", "test", 1, 0);
20594 if ac_fn_cxx_try_compile
"$LINENO"; then :
20595 wx_cv_have_variadic_macros
=yes
20597 wx_cv_have_variadic_macros
=no
20600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20602 ac_cpp
='$CPP $CPPFLAGS'
20603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20611 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20613 if test $wx_cv_have_variadic_macros = "yes"; then
20614 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20620 LARGEFILE_CPPFLAGS
=
20621 # Check whether --enable-largefile was given.
20622 if test "${enable_largefile+set}" = set; then :
20623 enableval
=$enable_largefile;
20626 if test "$enable_largefile" != no
; then
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20630 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20631 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20632 $as_echo_n "(cached) " >&6
20635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20636 /* end confdefs.h. */
20637 #define _FILE_OFFSET_BITS 64
20638 #include <sys/types.h>
20643 unsigned int field: sizeof(off_t) == 8;
20650 if ac_fn_c_try_compile
"$LINENO"; then :
20651 ac_cv_sys_file_offset_bits
=64
20653 ac_cv_sys_file_offset_bits
=no
20655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20660 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20662 if test "$ac_cv_sys_file_offset_bits" != no
; then
20664 cat >>confdefs.h
<<_ACEOF
20665 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20670 if test "x$wx_largefile" != "xyes"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20673 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20674 if ${ac_cv_sys_large_files+:} false
; then :
20675 $as_echo_n "(cached) " >&6
20678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20680 #define _LARGE_FILES 1
20681 #include <sys/types.h>
20686 unsigned int field: sizeof(off_t) == 8;
20693 if ac_fn_c_try_compile
"$LINENO"; then :
20694 ac_cv_sys_large_files
=1
20696 ac_cv_sys_large_files
=no
20698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20703 $as_echo "$ac_cv_sys_large_files" >&6; }
20705 if test "$ac_cv_sys_large_files" != no
; then
20707 cat >>confdefs.h
<<_ACEOF
20708 #define _LARGE_FILES $ac_cv_sys_large_files
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20716 $as_echo_n "checking if large file support is available... " >&6; }
20717 if test "x$wx_largefile" = "xyes"; then
20718 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20722 $as_echo "$wx_largefile" >&6; }
20725 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20726 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20727 elif test "$ac_cv_sys_large_files" = 1; then
20728 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20731 if test -n "$LARGEFILE_CPPFLAGS"; then
20732 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20734 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20736 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20737 if ${wx_cv_STDC_EXT_required+:} false
; then :
20738 $as_echo_n "(cached) " >&6
20742 ac_cpp
='$CXXCPP $CPPFLAGS'
20743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20754 #ifndef __STDC_EXT__
20762 if ac_fn_cxx_try_compile
"$LINENO"; then :
20763 wx_cv_STDC_EXT_required
=no
20765 wx_cv_STDC_EXT_required
=yes
20768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20770 ac_cpp
='$CPP $CPPFLAGS'
20771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20779 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20780 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20781 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20787 ac_cpp
='$CXXCPP $CPPFLAGS'
20788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20792 old_CPPFLAGS
="$CPPFLAGS"
20793 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20795 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20796 if ${ac_cv_sys_largefile_source+:} false
; then :
20797 $as_echo_n "(cached) " >&6
20800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20801 /* end confdefs.h. */
20802 #include <sys/types.h> /* for off_t */
20807 int (*fp) (FILE *, off_t, int) = fseeko;
20808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20813 if ac_fn_cxx_try_link
"$LINENO"; then :
20814 ac_cv_sys_largefile_source
=no
; break
20816 rm -f core conftest.err conftest.
$ac_objext \
20817 conftest
$ac_exeext conftest.
$ac_ext
20818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20819 /* end confdefs.h. */
20820 #define _LARGEFILE_SOURCE 1
20821 #include <sys/types.h> /* for off_t */
20826 int (*fp) (FILE *, off_t, int) = fseeko;
20827 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20832 if ac_fn_cxx_try_link
"$LINENO"; then :
20833 ac_cv_sys_largefile_source
=1; break
20835 rm -f core conftest.err conftest.
$ac_objext \
20836 conftest
$ac_exeext conftest.
$ac_ext
20837 ac_cv_sys_largefile_source
=unknown
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20842 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20843 case $ac_cv_sys_largefile_source in #(
20846 cat >>confdefs.h
<<_ACEOF
20847 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20853 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20854 # in glibc 2.1.3, but that breaks too many other things.
20855 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20856 if test $ac_cv_sys_largefile_source != unknown
; then
20858 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20862 CPPFLAGS
="$old_CPPFLAGS"
20864 ac_cpp
='$CPP $CPPFLAGS'
20865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20869 if test "$ac_cv_sys_largefile_source" != no
; then
20870 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20874 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20875 if ${ac_cv_c_bigendian+:} false
; then :
20876 $as_echo_n "(cached) " >&6
20878 ac_cv_c_bigendian
=unknown
20879 # See if sys/param.h defines the BYTE_ORDER macro.
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <sys/types.h>
20883 #include <sys/param.h>
20888 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20889 bogus endian macros
20895 if ac_fn_c_try_compile
"$LINENO"; then :
20896 # It does; now see whether it defined to BIG_ENDIAN or not.
20897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h. */
20899 #include <sys/types.h>
20900 #include <sys/param.h>
20905 #if BYTE_ORDER != BIG_ENDIAN
20912 if ac_fn_c_try_compile
"$LINENO"; then :
20913 ac_cv_c_bigendian
=yes
20915 ac_cv_c_bigendian
=no
20917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20920 if test $ac_cv_c_bigendian = unknown
; then
20921 if test "$cross_compiling" = yes; then :
20922 ac_cv_c_bigendian
=unknown
20924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 /* Are we little or big endian? From Harbison&Steele. */
20931 char c[sizeof (long)];
20934 exit (u.c[sizeof (long) - 1] == 1);
20937 if ac_fn_c_try_run
"$LINENO"; then :
20938 ac_cv_c_bigendian
=no
20940 ac_cv_c_bigendian
=yes
20942 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20943 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20949 $as_echo "$ac_cv_c_bigendian" >&6; }
20950 if test $ac_cv_c_bigendian = unknown
; then
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
20952 $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
20954 if test $ac_cv_c_bigendian = yes; then
20955 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20963 ac_cpp
='$CXXCPP $CPPFLAGS'
20964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20969 for ac_header
in iostream
20971 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
20973 if test "x$ac_cv_header_iostream" = xyes
; then :
20974 cat >>confdefs.h
<<_ACEOF
20975 #define HAVE_IOSTREAM 1
20983 if test "$ac_cv_header_iostream" = "yes" ; then
20986 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20991 ac_cpp
='$CPP $CPPFLAGS'
20992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21000 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21001 if ${wx_cv_explicit+:} false
; then :
21002 $as_echo_n "(cached) " >&6
21007 ac_cpp
='$CXXCPP $CPPFLAGS'
21008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 class Foo { public: explicit Foo(int) {} };
21028 if ac_fn_cxx_try_compile
"$LINENO"; then :
21030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21033 class Foo { public: explicit Foo(int) {} };
21034 static void TakeFoo(const Foo& foo) { }
21047 if ac_fn_cxx_try_compile
"$LINENO"; then :
21053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 ac_cpp
='$CPP $CPPFLAGS'
21063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21070 $as_echo "$wx_cv_explicit" >&6; }
21072 if test "$wx_cv_explicit" = "yes"; then
21073 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21078 if test "x$SUNCXX" = xyes
; then
21079 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21082 if test "x$SUNCC" = xyes
; then
21083 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21086 if test "x$SGICC" = "xyes"; then
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21088 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21089 if ${wx_cv_prog_sgicc744+:} false
; then :
21090 $as_echo_n "(cached) " >&6
21093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21100 #if _SGI_COMPILER_VERSION >= 744
21101 chock me: mipsPro is 7.4.4 or later
21108 if ac_fn_c_try_compile
"$LINENO"; then :
21109 wx_cv_prog_sgicc744
=no
21111 wx_cv_prog_sgicc744
=yes
21114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21119 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21121 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21122 CFLAGS
="-woff 3970 $CFLAGS"
21125 if test "x$SGICXX" = "xyes"; then
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21127 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21128 if ${wx_cv_prog_sgicxx744+:} false
; then :
21129 $as_echo_n "(cached) " >&6
21133 ac_cpp
='$CXXCPP $CPPFLAGS'
21134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21145 #if _SGI_COMPILER_VERSION >= 744
21146 chock me: mipsPro is 7.4.4 or later
21153 if ac_fn_cxx_try_compile
"$LINENO"; then :
21154 wx_cv_prog_sgicxx744
=no
21156 wx_cv_prog_sgicxx744
=yes
21159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 ac_cpp
='$CPP $CPPFLAGS'
21162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21170 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21172 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21173 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21177 if test "x$HPCC" = "xyes"; then
21178 CFLAGS
="+W 2011,2450 $CFLAGS"
21180 if test "x$HPCXX" = "xyes"; then
21181 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21184 if test "x$COMPAQCXX" = "xyes"; then
21185 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21189 ac_cpp
='$CXXCPP $CPPFLAGS'
21190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21195 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21196 if test "$wxUSE_UNICODE" = "yes"; then
21197 std_string
="std::wstring"
21198 char_type
="wchar_t"
21200 std_string
="std::string"
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21205 $as_echo_n "checking for $std_string in <string>... " >&6; }
21206 if ${wx_cv_class_stdstring+:} false
; then :
21207 $as_echo_n "(cached) " >&6
21210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21221 if ac_fn_cxx_try_compile
"$LINENO"; then :
21222 wx_cv_class_stdstring
=yes
21224 wx_cv_class_stdstring
=no
21227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21232 $as_echo "$wx_cv_class_stdstring" >&6; }
21234 if test "$wx_cv_class_stdstring" = yes; then
21235 if test "$wxUSE_UNICODE" = "yes"; then
21236 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21241 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21242 if ${wx_cv_class_stdbasicstring+:} false
; then :
21243 $as_echo_n "(cached) " >&6
21246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21249 #ifdef HAVE_WCHAR_H
21251 # include <stddef.h>
21253 # include <wchar.h>
21255 #ifdef HAVE_STDLIB_H
21256 # include <stdlib.h>
21264 std::basic_string<$char_type> foo;
21265 const $char_type* dummy = foo.c_str();
21270 if ac_fn_cxx_try_compile
"$LINENO"; then :
21271 wx_cv_class_stdbasicstring
=yes
21273 wx_cv_class_stdbasicstring
=no
21276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21281 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21283 if test "$wx_cv_class_stdbasicstring" != yes; then
21284 if test "$wxUSE_STL" = "yes"; then
21285 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21286 elif test "$wxUSE_STD_STRING" = "yes"; then
21287 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21290 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21291 wxUSE_STD_STRING
=no
21297 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21298 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21300 if test "x$ac_cv_type_std__istream" = xyes
; then :
21302 cat >>confdefs.h
<<_ACEOF
21303 #define HAVE_STD__ISTREAM 1
21308 wxUSE_STD_IOSTREAM
=no
21310 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21312 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21314 cat >>confdefs.h
<<_ACEOF
21315 #define HAVE_STD__OSTREAM 1
21320 wxUSE_STD_IOSTREAM
=no
21324 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21325 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21326 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21329 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21334 if test "$wxUSE_STL" = "yes"; then
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21336 $as_echo_n "checking for basic STL functionality... " >&6; }
21337 if ${wx_cv_lib_stl+:} false
; then :
21338 $as_echo_n "(cached) " >&6
21340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21343 #include <functional>
21344 #include <algorithm>
21350 std::vector<int> moo;
21351 std::list<int> foo;
21352 std::vector<int>::iterator it =
21353 std::find_if(moo.begin(), moo.end(),
21354 std::bind2nd(std::less<int>(), 3));
21359 if ac_fn_cxx_try_compile
"$LINENO"; then :
21365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21369 $as_echo "$wx_cv_lib_stl" >&6; }
21371 if test "$wx_cv_lib_stl" != yes; then
21372 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21376 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21377 if ${wx_cv_func_stdstring_compare+:} false
; then :
21378 $as_echo_n "(cached) " >&6
21380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h. */
21386 std::string foo, bar;
21388 foo.compare(1, 1, bar);
21389 foo.compare(1, 1, bar, 1, 1);
21391 foo.compare(1, 1, "");
21392 foo.compare(1, 1, "", 2);
21397 if ac_fn_cxx_try_compile
"$LINENO"; then :
21398 wx_cv_func_stdstring_compare
=yes
21400 wx_cv_func_stdstring_compare
=no
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21407 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21409 if test "$wx_cv_func_stdstring_compare" = yes; then
21410 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21414 if test "$wx_cv_class_gnuhashmapset" = yes; then
21415 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21417 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21421 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21424 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21426 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21427 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21428 $as_echo_n "(cached) " >&6
21430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21431 /* end confdefs.h. */
21432 #include <unordered_map>
21433 #include <unordered_set>
21437 std::unordered_map<double*, char*> test1;
21438 std::unordered_set<char*> test2;
21443 if ac_fn_cxx_try_compile
"$LINENO"; then :
21444 wx_cv_class_stdunorderedmapset
=yes
21446 wx_cv_class_stdunorderedmapset
=no
21448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21453 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21458 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21459 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21461 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21464 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21467 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21469 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21470 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21471 $as_echo_n "(cached) " >&6
21473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21475 #include <tr1/unordered_map>
21476 #include <tr1/unordered_set>
21480 std::tr1::unordered_map<double*, char*> test1;
21481 std::tr1::unordered_set<char*> test2;
21482 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21483 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21489 if ac_fn_cxx_try_compile
"$LINENO"; then :
21490 wx_cv_class_tr1unorderedmapset
=yes
21492 wx_cv_class_tr1unorderedmapset
=no
21494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21499 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21504 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21505 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21507 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21510 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21513 if test "x$ac_cv_header_hash_map" = xyes
; then :
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21515 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21516 if ${wx_cv_class_stdhashmapset+:} false
; then :
21517 $as_echo_n "(cached) " >&6
21519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21521 #include <hash_map>
21522 #include <hash_set>
21526 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21527 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21532 if ac_fn_cxx_try_compile
"$LINENO"; then :
21533 wx_cv_class_stdhashmapset
=yes
21535 wx_cv_class_stdhashmapset
=no
21537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21542 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21547 if test "$wx_cv_class_stdhashmapset" = yes; then
21548 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21550 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21554 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21557 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21559 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21560 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21561 $as_echo_n "(cached) " >&6
21563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21565 #include <ext/hash_map>
21566 #include <ext/hash_set>
21570 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21571 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21576 if ac_fn_cxx_try_compile
"$LINENO"; then :
21577 wx_cv_class_gnuhashmapset
=yes
21579 wx_cv_class_gnuhashmapset
=no
21581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21586 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21596 ac_cpp
='$CXXCPP $CPPFLAGS'
21597 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21601 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21602 if test -z "$CXXCPP"; then
21603 if ${ac_cv_prog_CXXCPP+:} false
; then :
21604 $as_echo_n "(cached) " >&6
21606 # Double quotes because CXXCPP needs to be expanded
21607 for CXXCPP
in "$CXX -E" "/lib/cpp"
21609 ac_preproc_ok
=false
21610 for ac_cxx_preproc_warn_flag
in '' yes
21612 # Use a header file that comes with gcc, so configuring glibc
21613 # with a fresh cross-compiler works.
21614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21615 # <limits.h> exists even on freestanding compilers.
21616 # On the NeXT, cc -E runs the code through the compiler's parser,
21617 # not just through cpp. "Syntax error" is here to catch this case.
21618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h. */
21621 # include <limits.h>
21623 # include <assert.h>
21627 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21630 # Broken: fails on valid input.
21633 rm -f conftest.err conftest.i conftest.
$ac_ext
21635 # OK, works on sane cases. Now check whether nonexistent headers
21636 # can be detected and how.
21637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21639 #include <ac_nonexistent.h>
21641 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21642 # Broken: success on invalid input.
21645 # Passes both tests.
21649 rm -f conftest.err conftest.i conftest.
$ac_ext
21652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21653 rm -f conftest.i conftest.err conftest.
$ac_ext
21654 if $ac_preproc_ok; then :
21659 ac_cv_prog_CXXCPP
=$CXXCPP
21662 CXXCPP
=$ac_cv_prog_CXXCPP
21664 ac_cv_prog_CXXCPP
=$CXXCPP
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21667 $as_echo "$CXXCPP" >&6; }
21668 ac_preproc_ok
=false
21669 for ac_cxx_preproc_warn_flag
in '' yes
21671 # Use a header file that comes with gcc, so configuring glibc
21672 # with a fresh cross-compiler works.
21673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21674 # <limits.h> exists even on freestanding compilers.
21675 # On the NeXT, cc -E runs the code through the compiler's parser,
21676 # not just through cpp. "Syntax error" is here to catch this case.
21677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21680 # include <limits.h>
21682 # include <assert.h>
21686 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21689 # Broken: fails on valid input.
21692 rm -f conftest.err conftest.i conftest.
$ac_ext
21694 # OK, works on sane cases. Now check whether nonexistent headers
21695 # can be detected and how.
21696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21698 #include <ac_nonexistent.h>
21700 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21701 # Broken: success on invalid input.
21704 # Passes both tests.
21708 rm -f conftest.err conftest.i conftest.
$ac_ext
21711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21712 rm -f conftest.i conftest.err conftest.
$ac_ext
21713 if $ac_preproc_ok; then :
21716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21718 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21719 See \`config.log' for more details" "$LINENO" 5; }
21723 ac_cpp
='$CXXCPP $CPPFLAGS'
21724 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21729 for ac_header
in type_traits tr
1/type_traits
21731 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21732 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21733 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21734 cat >>confdefs.h
<<_ACEOF
21735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21745 if test -n "$GCC"; then
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21747 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21748 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21749 $as_echo_n "(cached) " >&6
21752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h. */
21759 unsigned int value=0;
21760 /* wxAtomicInc doesn't use return value here */
21761 __sync_fetch_and_add(&value, 2);
21762 __sync_sub_and_fetch(&value, 1);
21763 /* but wxAtomicDec does, so mimic that: */
21764 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21770 if ac_fn_cxx_try_link
"$LINENO"; then :
21771 wx_cv_cc_gcc_atomic_builtins
=yes
21773 wx_cv_cc_gcc_atomic_builtins
=no
21775 rm -f core conftest.err conftest.
$ac_objext \
21776 conftest
$ac_exeext conftest.
$ac_ext
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21781 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21782 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21783 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21790 ac_cpp
='$CPP $CPPFLAGS'
21791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21798 /usr/local/include \
21799 /usr/local/X11/include \
21800 /usr/local/include/X11 \
21801 /usr/local/X11R7/include \
21802 /usr/local/X11R6/include \
21803 /usr/local/include/X11R7 \
21804 /usr/local/include/X11R6 \
21806 /usr/Motif-2.1/include \
21807 /usr/Motif-1.2/include \
21808 /usr/include/Motif1.2 \
21811 /usr/openwin/include \
21815 /usr/X11R7/include \
21816 /usr/X11R6/include \
21817 /usr/X11R6.4/include \
21819 /usr/include/X11R7 \
21820 /usr/include/X11R6 \
21825 /usr/XFree86/include/X11 \
21828 /usr/local/X1R5/include \
21829 /usr/local/include/X11R5 \
21830 /usr/X11R5/include \
21831 /usr/include/X11R5 \
21833 /usr/local/X11R4/include \
21834 /usr/local/include/X11R4 \
21835 /usr/X11R4/include \
21836 /usr/include/X11R4 \
21838 /usr/openwin/share/include"
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21841 $as_echo_n "checking for libraries directories... " >&6; }
21845 if ${wx_cv_std_libpath+:} false
; then :
21846 $as_echo_n "(cached) " >&6
21849 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21850 for e
in a so sl dylib dll.a
; do
21852 if test -f $libc; then
21855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21858 int main() { return 0; }
21861 if ac_fn_c_try_link
"$LINENO"; then :
21862 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21864 rm -f core conftest.err conftest.
$ac_objext \
21865 conftest
$ac_exeext conftest.
$ac_ext
21867 if test "x$wx_cv_std_libpath" != "x"; then
21880 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21881 wx_cv_std_libpath
="lib/64"
21886 if test "$ac_cv_sizeof_void_p" = 8; then
21887 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21888 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21889 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21890 wx_cv_std_libpath
="lib64"
21895 if test -d '/usr/lib/i386-linux-gnu'; then
21896 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21901 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21902 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21907 if test -z "$wx_cv_std_libpath"; then
21908 wx_cv_std_libpath
="lib"
21911 if test -z "$wx_cv_std_libfullpath"; then
21912 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21917 $as_echo "$wx_cv_std_libfullpath" >&6; }
21919 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21921 if test "$build" != "$host" -a "$GCC" = yes; then
21922 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21923 cross_root
=`dirname $cross_root`
21924 cross_root
=`dirname $cross_root`
21926 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21927 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21928 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21930 if test -z "$PKG_CONFIG_PATH"; then
21931 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21932 export PKG_CONFIG_PATH
21935 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21938 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21940 if test -f "$ac_dir/X11/Intrinsic.h"; then
21941 ac_find_includes
=$ac_dir
21946 x_includes
=$ac_find_includes
21948 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
21951 for ac_dir
in $SEARCH_LIB
21953 for ac_extension
in a so sl dylib dll.a
; do
21954 if test -f "$ac_dir/libXt.$ac_extension"; then
21955 ac_find_libraries
=$ac_dir
21961 x_libraries
=$ac_find_libraries
21967 cat >confcache
<<\_ACEOF
21968 # This file is a shell script that caches the results of configure
21969 # tests run on this system so they can be shared between configure
21970 # scripts and configure runs, see configure's option --config-cache.
21971 # It is not useful on other systems. If it contains results you don't
21972 # want to keep, you may remove or edit it.
21974 # config.status only pays attention to the cache file if you give it
21975 # the --recheck option to rerun configure.
21977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21979 # following values.
21983 # The following way of writing the cache mishandles newlines in values,
21984 # but we know of no workaround that is simple, portable, and efficient.
21985 # So, we kill variables containing newlines.
21986 # Ultrix sh set writes to stderr and can't be redirected directly,
21987 # and sets the high bit in the cache file unless we assign to the vars.
21989 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21990 eval ac_val
=\$
$ac_var
21994 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21998 _
| IFS
| as_nl
) ;; #(
21999 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22000 *) { eval $ac_var=; unset $ac_var;} ;;
22006 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22007 *${as_nl}ac_space
=\
*)
22008 # `set' does not quote correctly, so add quotes: double-quote
22009 # substitution turns \\\\ into \\, and sed turns \\ into \.
22012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22015 # `set' quotes correctly as required by POSIX, so do not add quotes.
22016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22025 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22027 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22029 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22030 if test -w "$cache_file"; then
22031 if test "x$cache_file" != "x/dev/null"; then
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22033 $as_echo "$as_me: updating cache $cache_file" >&6;}
22034 if test ! -f "$cache_file" || test -h "$cache_file"; then
22035 cat confcache
>"$cache_file"
22037 case $cache_file in #(
22039 mv -f confcache
"$cache_file"$$
&&
22040 mv -f "$cache_file"$$
"$cache_file" ;; #(
22042 mv -f confcache
"$cache_file" ;;
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22048 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22057 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22058 if test "x$ac_cv_func_cos" = xyes
; then :
22059 cat >>confdefs.h
<<_ACEOF
22066 for ac_func
in floor
22068 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22069 if test "x$ac_cv_func_floor" = xyes
; then :
22070 cat >>confdefs.h
<<_ACEOF
22071 #define HAVE_FLOOR 1
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22078 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22079 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22081 $as_echo "yes" >&6; }
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22084 $as_echo "no" >&6; }
22086 # use different functions to avoid configure caching
22091 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22092 if test "x$ac_cv_func_sin" = xyes
; then :
22093 cat >>confdefs.h
<<_ACEOF
22100 for ac_func
in ceil
22102 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22103 if test "x$ac_cv_func_ceil" = xyes
; then :
22104 cat >>confdefs.h
<<_ACEOF
22105 #define HAVE_CEIL 1
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22112 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22113 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22118 $as_echo "no" >&6; }
22119 # not sure we should warn the user, crash, etc.
22124 ac_cpp
='$CXXCPP $CPPFLAGS'
22125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22129 if test "wxUSE_UNICODE" = "yes"; then
22131 for wx_func
in wcstoull
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22134 $as_echo_n "checking for $wx_func... " >&6; }
22135 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22136 $as_echo_n "(cached) " >&6
22139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22144 $ac_includes_default
22160 if ac_fn_cxx_try_link
"$LINENO"; then :
22161 eval wx_cv_func_
$wx_func=yes
22163 eval wx_cv_func_
$wx_func=no
22165 rm -f core conftest.err conftest.
$ac_objext \
22166 conftest
$ac_exeext conftest.
$ac_ext
22169 eval ac_res
=\
$wx_cv_func_$wx_func
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22171 $as_echo "$ac_res" >&6; }
22173 if eval test \
$wx_cv_func_$wx_func = yes
22175 cat >>confdefs.h
<<_ACEOF
22176 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22188 for wx_func
in strtoull
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22191 $as_echo_n "checking for $wx_func... " >&6; }
22192 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22193 $as_echo_n "(cached) " >&6
22196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22197 /* end confdefs.h. */
22201 $ac_includes_default
22217 if ac_fn_cxx_try_link
"$LINENO"; then :
22218 eval wx_cv_func_
$wx_func=yes
22220 eval wx_cv_func_
$wx_func=no
22222 rm -f core conftest.err conftest.
$ac_objext \
22223 conftest
$ac_exeext conftest.
$ac_ext
22226 eval ac_res
=\
$wx_cv_func_$wx_func
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22228 $as_echo "$ac_res" >&6; }
22230 if eval test \
$wx_cv_func_$wx_func = yes
22232 cat >>confdefs.h
<<_ACEOF
22233 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22245 ac_cpp
='$CPP $CPPFLAGS'
22246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22253 if test "$wxUSE_REGEX" != "no"; then
22254 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22257 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22259 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22260 wxUSE_REGEX
=builtin
22263 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22264 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22266 if test "x$ac_cv_header_regex_h" = xyes
; then :
22267 for ac_func
in regcomp re_search
22269 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22270 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22271 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22272 cat >>confdefs.h
<<_ACEOF
22273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22283 if test "x$ac_cv_func_regcomp" != "xyes"; then
22284 if test "$wxUSE_REGEX" = "sys" ; then
22285 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22288 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22289 wxUSE_REGEX
=builtin
22293 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22301 if test "$wxUSE_ZLIB" != "no" ; then
22302 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22305 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22306 if test "$USE_DARWIN" = 1; then
22307 system_zlib_h_ok
="yes"
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22310 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22311 if ${ac_cv_header_zlib_h+:} false
; then :
22312 $as_echo_n "(cached) " >&6
22314 if test "$cross_compiling" = yes; then :
22315 unset ac_cv_header_zlib_h
22318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h. */
22326 FILE *f=fopen("conftestval", "w");
22329 ZLIB_VERSION[0] == '1' &&
22330 (ZLIB_VERSION[2] > '1' ||
22331 (ZLIB_VERSION[2] == '1' &&
22332 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22337 if ac_fn_c_try_run
"$LINENO"; then :
22338 ac_cv_header_zlib_h
=`cat conftestval`
22340 ac_cv_header_zlib_h
=no
22342 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22343 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22349 $as_echo "$ac_cv_header_zlib_h" >&6; }
22350 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22352 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22358 system_zlib_h_ok
=$ac_cv_header_zlib_h
22361 if test "$system_zlib_h_ok" = "yes"; then
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22363 $as_echo_n "checking for deflate in -lz... " >&6; }
22364 if ${ac_cv_lib_z_deflate+:} false
; then :
22365 $as_echo_n "(cached) " >&6
22367 ac_check_lib_save_LIBS
=$LIBS
22369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22370 /* end confdefs.h. */
22372 /* Override any GCC internal prototype to avoid an error.
22373 Use char because int might match the return type of a GCC
22374 builtin and then its argument prototype would still apply. */
22387 if ac_fn_c_try_link
"$LINENO"; then :
22388 ac_cv_lib_z_deflate
=yes
22390 ac_cv_lib_z_deflate
=no
22392 rm -f core conftest.err conftest.
$ac_objext \
22393 conftest
$ac_exeext conftest.
$ac_ext
22394 LIBS
=$ac_check_lib_save_LIBS
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22397 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22398 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22404 if test "x$ZLIB_LINK" = "x" ; then
22405 if test "$wxUSE_ZLIB" = "sys" ; then
22406 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22409 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22420 if test "$wxUSE_LIBPNG" != "no" ; then
22421 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22424 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22426 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22427 wxUSE_LIBPNG
=builtin
22430 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22432 $as_echo_n "checking for png.h > 0.90... " >&6; }
22433 if ${ac_cv_header_png_h+:} false
; then :
22434 $as_echo_n "(cached) " >&6
22436 if test "$cross_compiling" = yes; then :
22437 unset ac_cv_header_png_h
22440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22448 FILE *f=fopen("conftestval", "w");
22451 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22456 if ac_fn_c_try_run
"$LINENO"; then :
22457 ac_cv_header_png_h
=`cat conftestval`
22459 ac_cv_header_png_h
=no
22461 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22462 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22468 $as_echo "$ac_cv_header_png_h" >&6; }
22469 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22471 if test "x$ac_cv_header_png_h" = xyes
; then :
22477 if test "$ac_cv_header_png_h" = "yes"; then
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22479 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22480 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22481 $as_echo_n "(cached) " >&6
22483 ac_check_lib_save_LIBS
=$LIBS
22484 LIBS
="-lpng -lz -lm $LIBS"
22485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22488 /* Override any GCC internal prototype to avoid an error.
22489 Use char because int might match the return type of a GCC
22490 builtin and then its argument prototype would still apply. */
22494 char png_sig_cmp ();
22498 return png_sig_cmp ();
22503 if ac_fn_c_try_link
"$LINENO"; then :
22504 ac_cv_lib_png_png_sig_cmp
=yes
22506 ac_cv_lib_png_png_sig_cmp
=no
22508 rm -f core conftest.err conftest.
$ac_objext \
22509 conftest
$ac_exeext conftest.
$ac_ext
22510 LIBS
=$ac_check_lib_save_LIBS
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22513 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22514 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22515 PNG_LINK
=" -lpng -lz"
22520 if test "x$PNG_LINK" = "x" ; then
22521 if test "$wxUSE_LIBPNG" = "sys" ; then
22522 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22525 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22526 wxUSE_LIBPNG
=builtin
22536 if test "$wxUSE_LIBJPEG" != "no" ; then
22537 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22540 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22542 $as_echo_n "checking for jpeglib.h... " >&6; }
22543 if ${ac_cv_header_jpeglib_h+:} false
; then :
22544 $as_echo_n "(cached) " >&6
22546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22547 /* end confdefs.h. */
22549 #undef HAVE_STDLIB_H
22551 #include <jpeglib.h>
22562 if ac_fn_c_try_compile
"$LINENO"; then :
22563 ac_cv_header_jpeglib_h
=yes
22565 ac_cv_header_jpeglib_h
=no
22568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22573 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22575 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22577 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22578 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22579 $as_echo_n "(cached) " >&6
22581 ac_check_lib_save_LIBS
=$LIBS
22582 LIBS
="-ljpeg $LIBS"
22583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22586 /* Override any GCC internal prototype to avoid an error.
22587 Use char because int might match the return type of a GCC
22588 builtin and then its argument prototype would still apply. */
22592 char jpeg_read_header ();
22596 return jpeg_read_header ();
22601 if ac_fn_c_try_link
"$LINENO"; then :
22602 ac_cv_lib_jpeg_jpeg_read_header
=yes
22604 ac_cv_lib_jpeg_jpeg_read_header
=no
22606 rm -f core conftest.err conftest.
$ac_objext \
22607 conftest
$ac_exeext conftest.
$ac_ext
22608 LIBS
=$ac_check_lib_save_LIBS
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22611 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22612 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22613 JPEG_LINK
=" -ljpeg"
22618 if test "x$JPEG_LINK" = "x" ; then
22619 if test "$wxUSE_LIBJPEG" = "sys" ; then
22620 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22623 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22624 wxUSE_LIBJPEG
=builtin
22629 if test "$wxUSE_MSW" = 1; then
22630 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22632 if test "x$ac_cv_type_boolean" = xyes
; then :
22634 cat >>confdefs.h
<<_ACEOF
22635 #define HAVE_BOOLEAN 1
22639 # The cast to long int works around a bug in the HP C Compiler
22640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22642 # This bug is HP SR number 8606223364.
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22644 $as_echo_n "checking size of boolean... " >&6; }
22645 if ${ac_cv_sizeof_boolean+:} false
; then :
22646 $as_echo_n "(cached) " >&6
22648 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22649 #undef HAVE_BOOLEAN
22651 #include <jpeglib.h>
22656 if test "$ac_cv_type_boolean" = yes; then
22657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22659 as_fn_error
77 "cannot compute sizeof (boolean)
22660 See \`config.log' for more details" "$LINENO" 5; }
22662 ac_cv_sizeof_boolean
=0
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22668 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22672 cat >>confdefs.h
<<_ACEOF
22673 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22677 cat >>confdefs.h
<<_ACEOF
22678 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22691 TIFF_PREREQ_LINKS
=-lm
22692 if test "$wxUSE_LIBTIFF" != "no" ; then
22693 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22696 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22697 if test "$wxUSE_LIBJPEG" = "sys"; then
22698 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22700 if test "$wxUSE_ZLIB" = "sys"; then
22701 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22703 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22706 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22709 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22710 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22711 $as_echo_n "(cached) " >&6
22713 ac_check_lib_save_LIBS
=$LIBS
22714 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h. */
22718 /* Override any GCC internal prototype to avoid an error.
22719 Use char because int might match the return type of a GCC
22720 builtin and then its argument prototype would still apply. */
22728 return TIFFError ();
22733 if ac_fn_c_try_link
"$LINENO"; then :
22734 ac_cv_lib_tiff_TIFFError
=yes
22736 ac_cv_lib_tiff_TIFFError
=no
22738 rm -f core conftest.err conftest.
$ac_objext \
22739 conftest
$ac_exeext conftest.
$ac_ext
22740 LIBS
=$ac_check_lib_save_LIBS
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22743 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22744 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22745 TIFF_LINK
=" -ltiff"
22753 if test "x$TIFF_LINK" = "x" ; then
22754 if test "$wxUSE_LIBTIFF" = "sys" ; then
22755 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22758 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22759 wxUSE_LIBTIFF
=builtin
22765 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22766 if test "$wxUSE_LIBJPEG" = "no"; then
22767 ac_configure_args
="$ac_configure_args --disable-jpeg"
22771 subdirs
="$subdirs src/tiff"
22777 if test "$wxUSE_EXPAT" != "no"; then
22779 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22781 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22784 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22785 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22787 if test "x$ac_cv_header_expat_h" = xyes
; then :
22792 if test "x$found_expat_h" = "x1"; then
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22794 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22795 if ${wx_cv_expat_is_not_broken+:} false
; then :
22796 $as_echo_n "(cached) " >&6
22800 ac_cpp
='$CXXCPP $CPPFLAGS'
22801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22816 if ac_fn_cxx_try_compile
"$LINENO"; then :
22817 wx_cv_expat_is_not_broken
=yes
22819 wx_cv_expat_is_not_broken
=no
22822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22824 ac_cpp
='$CPP $CPPFLAGS'
22825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22833 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22834 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22836 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22837 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22838 $as_echo_n "(cached) " >&6
22840 ac_check_lib_save_LIBS
=$LIBS
22841 LIBS
="-lexpat $LIBS"
22842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22845 /* Override any GCC internal prototype to avoid an error.
22846 Use char because int might match the return type of a GCC
22847 builtin and then its argument prototype would still apply. */
22851 char XML_ParserCreate ();
22855 return XML_ParserCreate ();
22860 if ac_fn_c_try_link
"$LINENO"; then :
22861 ac_cv_lib_expat_XML_ParserCreate
=yes
22863 ac_cv_lib_expat_XML_ParserCreate
=no
22865 rm -f core conftest.err conftest.
$ac_objext \
22866 conftest
$ac_exeext conftest.
$ac_ext
22867 LIBS
=$ac_check_lib_save_LIBS
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22870 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22871 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
22872 EXPAT_LINK
=" -lexpat"
22877 if test "x$EXPAT_LINK" = "x" ; then
22878 if test "$wxUSE_EXPAT" = "sys" ; then
22879 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22882 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22883 wxUSE_EXPAT
=builtin
22889 if test "$wxUSE_EXPAT" = "builtin" ; then
22890 subdirs
="$subdirs src/expat"
22897 if test "$wxUSE_LIBMSPACK" != "no"; then
22898 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22900 if test "x$ac_cv_header_mspack_h" = xyes
; then :
22905 if test "x$found_mspack_h" = "x1"; then
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22907 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22908 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
22909 $as_echo_n "(cached) " >&6
22911 ac_check_lib_save_LIBS
=$LIBS
22912 LIBS
="-lmspack $LIBS"
22913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22914 /* end confdefs.h. */
22916 /* Override any GCC internal prototype to avoid an error.
22917 Use char because int might match the return type of a GCC
22918 builtin and then its argument prototype would still apply. */
22922 char mspack_create_chm_decompressor ();
22926 return mspack_create_chm_decompressor ();
22931 if ac_fn_c_try_link
"$LINENO"; then :
22932 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22934 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22936 rm -f core conftest.err conftest.
$ac_objext \
22937 conftest
$ac_exeext conftest.
$ac_ext
22938 LIBS
=$ac_check_lib_save_LIBS
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22941 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22942 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
22943 MSPACK_LINK
=" -lmspack"
22947 if test "x$MSPACK_LINK" = "x" ; then
22952 if test "$wxUSE_LIBMSPACK" != "no"; then
22953 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22966 if test "$USE_WIN32" = 1 ; then
22967 for ac_header
in w32api.h
22969 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22971 if test "x$ac_cv_header_w32api_h" = xyes
; then :
22972 cat >>confdefs.h
<<_ACEOF
22973 #define HAVE_W32API_H 1
22980 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
22982 if test "x$ac_cv_header_windows_h" = xyes
; then :
22986 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22992 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22994 x86_64
-*-mingw32* )
22995 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
22998 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22999 LIBS
="$LIBS -loleacc"
23004 LIBS
="$LIBS -lkernel32 -luser32"
23007 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23008 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23010 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23012 WIN32INSTALL
=win32install
23015 if test "$wxUSE_GUI" = "yes"; then
23026 if test "$wxUSE_OLD_COCOA" = 1 ; then
23027 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23029 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23030 wxUSE_PRINTING_ARCHITECTURE
=no
23032 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23034 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23035 wxUSE_DRAG_AND_DROP
=no
23037 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23039 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23044 if test "$wxUSE_MSW" = 1 ; then
23050 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23054 if test "$wxUSE_GTK" = 1; then
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23056 $as_echo_n "checking for GTK+ version... " >&6; }
23058 gtk_version_cached
=1
23059 if ${wx_cv_lib_gtk+:} false
; then :
23060 $as_echo_n "(cached) " >&6
23063 gtk_version_cached
=0
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23068 if test "$wxUSE_THREADS" = "yes"; then
23069 GTK_MODULES
=gthread
23072 if test -z "$wxGTK_VERSION"; then
23077 if test "x$wxGTK_VERSION" != "x1"
23081 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23086 if test "$wxGTK_VERSION" != 3; then
23087 # Check whether --enable-gtktest was given.
23088 if test "${enable_gtktest+set}" = set; then :
23089 enableval
=$enable_gtktest;
23095 pkg_config_args
=gtk
+-2.0
23096 for module
in .
$GTK_MODULES
23100 pkg_config_args
="$pkg_config_args gthread-2.0"
23107 # Extract the first word of "pkg-config", so it can be a program name with args.
23108 set dummy pkg
-config; ac_word
=$2
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23110 $as_echo_n "checking for $ac_word... " >&6; }
23111 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23112 $as_echo_n "(cached) " >&6
23114 case $PKG_CONFIG in
23116 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23120 for as_dir
in $PATH
23123 test -z "$as_dir" && as_dir
=.
23124 for ac_exec_ext
in '' $ac_executable_extensions; do
23125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23126 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23134 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23138 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23139 if test -n "$PKG_CONFIG"; then
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23141 $as_echo "$PKG_CONFIG" >&6; }
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23144 $as_echo "no" >&6; }
23149 if test x
$PKG_CONFIG != xno
; then
23150 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23153 echo "*** pkg-config too old; version 0.7 or better required."
23161 min_gtk_version
=2.6.0
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23163 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23165 if test x
$PKG_CONFIG != xno
; then
23166 ## don't try to run the test against uninstalled libtool libs
23167 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23168 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23172 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23179 if test x
"$no_gtk" = x
; then
23180 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23181 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23182 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23184 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23186 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23188 if test "x$enable_gtktest" = "xyes" ; then
23189 ac_save_CFLAGS
="$CFLAGS"
23190 ac_save_LIBS
="$LIBS"
23191 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23192 LIBS
="$GTK_LIBS $LIBS"
23194 if test "$cross_compiling" = yes; then :
23195 echo $ac_n "cross compiling; assumed OK... $ac_c"
23197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h. */
23200 #include <gtk/gtk.h>
23202 #include <stdlib.h>
23207 int major, minor, micro;
23210 system ("touch conf.gtktest");
23212 /* HP/UX 9 (%@#!) writes to sscanf strings */
23213 tmp_version = g_strdup("$min_gtk_version");
23214 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23215 printf("%s, bad version string\n", "$min_gtk_version");
23219 if ((gtk_major_version != $gtk_config_major_version) ||
23220 (gtk_minor_version != $gtk_config_minor_version) ||
23221 (gtk_micro_version != $gtk_config_micro_version))
23223 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23224 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23225 gtk_major_version, gtk_minor_version, gtk_micro_version);
23226 printf ("*** was found! If pkg-config was correct, then it is best\n");
23227 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23228 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23229 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23230 printf("*** required on your system.\n");
23231 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23232 printf("*** to point to the correct configuration files\n");
23234 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23235 (gtk_minor_version != GTK_MINOR_VERSION) ||
23236 (gtk_micro_version != GTK_MICRO_VERSION))
23238 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23239 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23240 printf("*** library (version %d.%d.%d)\n",
23241 gtk_major_version, gtk_minor_version, gtk_micro_version);
23245 if ((gtk_major_version > major) ||
23246 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23247 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23253 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23254 gtk_major_version, gtk_minor_version, gtk_micro_version);
23255 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23256 major, minor, micro);
23257 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23259 printf("*** If you have already installed a sufficiently new version, this error\n");
23260 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23261 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23262 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23263 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23264 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23265 printf("*** so that the correct libraries are found at run-time))\n");
23272 if ac_fn_c_try_run
"$LINENO"; then :
23277 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23278 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23281 CFLAGS
="$ac_save_CFLAGS"
23282 LIBS
="$ac_save_LIBS"
23285 if test "x$no_gtk" = x
; then
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23287 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23291 $as_echo "no" >&6; }
23292 if test "$PKG_CONFIG" = "no" ; then
23293 echo "*** A new enough version of pkg-config was not found."
23294 echo "*** See http://pkgconfig.sourceforge.net"
23296 if test -f conf.gtktest
; then
23299 echo "*** Could not run GTK+ test program, checking why..."
23300 ac_save_CFLAGS
="$CFLAGS"
23301 ac_save_LIBS
="$LIBS"
23302 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23303 LIBS
="$LIBS $GTK_LIBS"
23304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23305 /* end confdefs.h. */
23307 #include <gtk/gtk.h>
23313 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23318 if ac_fn_c_try_link
"$LINENO"; then :
23319 echo "*** The test program compiled, but did not run. This usually means"
23320 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23321 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23322 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23323 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23324 echo "*** is required on your system"
23326 echo "*** If you have an old version installed, it is best to remove it, although"
23327 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23329 echo "*** The test program failed to compile or link. See the file config.log for the"
23330 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23332 rm -f core conftest.err conftest.
$ac_objext \
23333 conftest
$ac_exeext conftest.
$ac_ext
23334 CFLAGS
="$ac_save_CFLAGS"
23335 LIBS
="$ac_save_LIBS"
23347 if test -z "$wx_cv_lib_gtk"; then
23348 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23349 # Check whether --enable-gtktest was given.
23350 if test "${enable_gtktest+set}" = set; then :
23351 enableval
=$enable_gtktest;
23357 pkg_config_args
=gtk
+-3.0
23358 for module
in .
$GTK_MODULES
23362 pkg_config_args
="$pkg_config_args gthread-2.0"
23369 # Extract the first word of "pkg-config", so it can be a program name with args.
23370 set dummy pkg
-config; ac_word
=$2
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23372 $as_echo_n "checking for $ac_word... " >&6; }
23373 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23374 $as_echo_n "(cached) " >&6
23376 case $PKG_CONFIG in
23378 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23382 for as_dir
in $PATH
23385 test -z "$as_dir" && as_dir
=.
23386 for ac_exec_ext
in '' $ac_executable_extensions; do
23387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23388 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23400 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23401 if test -n "$PKG_CONFIG"; then
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23403 $as_echo "$PKG_CONFIG" >&6; }
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23406 $as_echo "no" >&6; }
23411 if test x
$PKG_CONFIG != xno
; then
23412 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23415 echo "*** pkg-config too old; version 0.7 or better required."
23423 min_gtk_version
=3.0.0
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23425 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23427 if test x
$PKG_CONFIG != xno
; then
23428 ## don't try to run the test against uninstalled libtool libs
23429 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23430 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23434 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23441 if test x
"$no_gtk" = x
; then
23442 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23443 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23444 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23446 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23448 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23450 if test "x$enable_gtktest" = "xyes" ; then
23451 ac_save_CFLAGS
="$CFLAGS"
23452 ac_save_LIBS
="$LIBS"
23453 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23454 LIBS
="$GTK_LIBS $LIBS"
23456 if test "$cross_compiling" = yes; then :
23457 echo $ac_n "cross compiling; assumed OK... $ac_c"
23459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23462 #include <gtk/gtk.h>
23464 #include <stdlib.h>
23469 int major, minor, micro;
23472 fclose (fopen ("conf.gtktest", "w"));
23474 /* HP/UX 9 (%@#!) writes to sscanf strings */
23475 tmp_version = g_strdup("$min_gtk_version");
23476 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23477 printf("%s, bad version string\n", "$min_gtk_version");
23481 if ((gtk_major_version != $gtk_config_major_version) ||
23482 (gtk_minor_version != $gtk_config_minor_version) ||
23483 (gtk_micro_version != $gtk_config_micro_version))
23485 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23487 gtk_major_version, gtk_minor_version, gtk_micro_version);
23488 printf ("*** was found! If pkg-config was correct, then it is best\n");
23489 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23491 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23492 printf("*** required on your system.\n");
23493 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23494 printf("*** to point to the correct configuration files\n");
23496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23497 (gtk_minor_version != GTK_MINOR_VERSION) ||
23498 (gtk_micro_version != GTK_MICRO_VERSION))
23500 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23502 printf("*** library (version %d.%d.%d)\n",
23503 gtk_major_version, gtk_minor_version, gtk_micro_version);
23507 if ((gtk_major_version > major) ||
23508 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23509 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23515 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23516 gtk_major_version, gtk_minor_version, gtk_micro_version);
23517 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23518 major, minor, micro);
23519 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23521 printf("*** If you have already installed a sufficiently new version, this error\n");
23522 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23523 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23524 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23525 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23526 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23527 printf("*** so that the correct libraries are found at run-time))\n");
23534 if ac_fn_c_try_run
"$LINENO"; then :
23539 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23540 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23543 CFLAGS
="$ac_save_CFLAGS"
23544 LIBS
="$ac_save_LIBS"
23547 if test "x$no_gtk" = x
; then
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23549 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23553 $as_echo "no" >&6; }
23554 if test "$PKG_CONFIG" = "no" ; then
23555 echo "*** A new enough version of pkg-config was not found."
23556 echo "*** See http://pkgconfig.sourceforge.net"
23558 if test -f conf.gtktest
; then
23561 echo "*** Could not run GTK+ test program, checking why..."
23562 ac_save_CFLAGS
="$CFLAGS"
23563 ac_save_LIBS
="$LIBS"
23564 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23565 LIBS
="$LIBS $GTK_LIBS"
23566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23567 /* end confdefs.h. */
23569 #include <gtk/gtk.h>
23575 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23580 if ac_fn_c_try_link
"$LINENO"; then :
23581 echo "*** The test program compiled, but did not run. This usually means"
23582 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23583 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23584 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23585 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23586 echo "*** is required on your system"
23588 echo "*** If you have an old version installed, it is best to remove it, although"
23589 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23591 echo "*** The test program failed to compile or link. See the file config.log for the"
23592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23594 rm -f core conftest.err conftest.
$ac_objext \
23595 conftest
$ac_exeext conftest.
$ac_ext
23596 CFLAGS
="$ac_save_CFLAGS"
23597 LIBS
="$ac_save_LIBS"
23612 if test -z "$wx_cv_lib_gtk"; then
23613 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23615 # Check whether --with-gtk-prefix was given.
23616 if test "${with_gtk_prefix+set}" = set; then :
23617 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23619 gtk_config_prefix
=""
23623 # Check whether --with-gtk-exec-prefix was given.
23624 if test "${with_gtk_exec_prefix+set}" = set; then :
23625 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23627 gtk_config_exec_prefix
=""
23630 # Check whether --enable-gtktest was given.
23631 if test "${enable_gtktest+set}" = set; then :
23632 enableval
=$enable_gtktest;
23638 for module
in .
$GTK_MODULES
23642 gtk_config_args
="$gtk_config_args gthread"
23647 if test x
$gtk_config_exec_prefix != x
; then
23648 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23649 if test x
${GTK_CONFIG+set} != xset
; then
23650 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23653 if test x
$gtk_config_prefix != x
; then
23654 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23655 if test x
${GTK_CONFIG+set} != xset
; then
23656 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23660 # Extract the first word of "gtk-config", so it can be a program name with args.
23661 set dummy gtk
-config; ac_word
=$2
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23663 $as_echo_n "checking for $ac_word... " >&6; }
23664 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23665 $as_echo_n "(cached) " >&6
23667 case $GTK_CONFIG in
23669 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23673 for as_dir
in $PATH
23676 test -z "$as_dir" && as_dir
=.
23677 for ac_exec_ext
in '' $ac_executable_extensions; do
23678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23679 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23687 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23691 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23692 if test -n "$GTK_CONFIG"; then
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23694 $as_echo "$GTK_CONFIG" >&6; }
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23697 $as_echo "no" >&6; }
23701 min_gtk_version
=1.2.7
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23703 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23705 if test "$GTK_CONFIG" = "no" ; then
23708 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23709 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23710 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23712 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23714 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23716 if test "x$enable_gtktest" = "xyes" ; then
23717 ac_save_CFLAGS
="$CFLAGS"
23718 ac_save_LIBS
="$LIBS"
23719 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23720 LIBS
="$GTK_LIBS $LIBS"
23722 if test "$cross_compiling" = yes; then :
23723 echo $ac_n "cross compiling; assumed OK... $ac_c"
23725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h. */
23728 #include <gtk/gtk.h>
23730 #include <stdlib.h>
23735 int major, minor, micro;
23738 system ("touch conf.gtktest");
23740 /* HP/UX 9 (%@#!) writes to sscanf strings */
23741 tmp_version = g_strdup("$min_gtk_version");
23742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23743 printf("%s, bad version string\n", "$min_gtk_version");
23747 if ((gtk_major_version != $gtk_config_major_version) ||
23748 (gtk_minor_version != $gtk_config_minor_version) ||
23749 (gtk_micro_version != $gtk_config_micro_version))
23751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23753 gtk_major_version, gtk_minor_version, gtk_micro_version);
23754 printf ("*** was found! If gtk-config was correct, then it is best\n");
23755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23756 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23758 printf("*** required on your system.\n");
23759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23761 printf("*** before re-running configure\n");
23763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23765 (gtk_minor_version != GTK_MINOR_VERSION) ||
23766 (gtk_micro_version != GTK_MICRO_VERSION))
23768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23770 printf("*** library (version %d.%d.%d)\n",
23771 gtk_major_version, gtk_minor_version, gtk_micro_version);
23773 #endif /* defined (GTK_MAJOR_VERSION) ... */
23776 if ((gtk_major_version > major) ||
23777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23785 gtk_major_version, gtk_minor_version, gtk_micro_version);
23786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23787 major, minor, micro);
23788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23790 printf("*** If you have already installed a sufficiently new version, this error\n");
23791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23795 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23796 printf("*** so that the correct libraries are found at run-time))\n");
23803 if ac_fn_c_try_run
"$LINENO"; then :
23808 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23809 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23812 CFLAGS
="$ac_save_CFLAGS"
23813 LIBS
="$ac_save_LIBS"
23816 if test "x$no_gtk" = x
; then
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23818 $as_echo "yes" >&6; }
23819 wx_cv_lib_gtk
=1.2.7
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23822 $as_echo "no" >&6; }
23823 if test "$GTK_CONFIG" = "no" ; then
23824 echo "*** The gtk-config script installed by GTK could not be found"
23825 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23826 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23827 echo "*** full path to gtk-config."
23829 if test -f conf.gtktest
; then
23832 echo "*** Could not run GTK test program, checking why..."
23833 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23834 LIBS
="$LIBS $GTK_LIBS"
23835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23836 /* end confdefs.h. */
23838 #include <gtk/gtk.h>
23844 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23849 if ac_fn_c_try_link
"$LINENO"; then :
23850 echo "*** The test program compiled, but did not run. This usually means"
23851 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23852 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23853 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23854 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23855 echo "*** is required on your system"
23857 echo "*** If you have an old version installed, it is best to remove it, although"
23858 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23860 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23861 echo "*** came with the system with the command"
23863 echo "*** rpm --erase --nodeps gtk gtk-devel"
23865 echo "*** The test program failed to compile or link. See the file config.log for the"
23866 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23867 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23868 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23870 rm -f core conftest.err conftest.
$ac_objext \
23871 conftest
$ac_exeext conftest.
$ac_ext
23872 CFLAGS
="$ac_save_CFLAGS"
23873 LIBS
="$ac_save_LIBS"
23885 if test -z "$wx_cv_lib_gtk"; then
23887 # Check whether --with-gtk-prefix was given.
23888 if test "${with_gtk_prefix+set}" = set; then :
23889 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23891 gtk_config_prefix
=""
23895 # Check whether --with-gtk-exec-prefix was given.
23896 if test "${with_gtk_exec_prefix+set}" = set; then :
23897 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23899 gtk_config_exec_prefix
=""
23902 # Check whether --enable-gtktest was given.
23903 if test "${enable_gtktest+set}" = set; then :
23904 enableval
=$enable_gtktest;
23910 for module
in .
$GTK_MODULES
23914 gtk_config_args
="$gtk_config_args gthread"
23919 if test x
$gtk_config_exec_prefix != x
; then
23920 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23921 if test x
${GTK_CONFIG+set} != xset
; then
23922 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23925 if test x
$gtk_config_prefix != x
; then
23926 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23927 if test x
${GTK_CONFIG+set} != xset
; then
23928 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23932 # Extract the first word of "gtk-config", so it can be a program name with args.
23933 set dummy gtk
-config; ac_word
=$2
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23935 $as_echo_n "checking for $ac_word... " >&6; }
23936 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23937 $as_echo_n "(cached) " >&6
23939 case $GTK_CONFIG in
23941 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23945 for as_dir
in $PATH
23948 test -z "$as_dir" && as_dir
=.
23949 for ac_exec_ext
in '' $ac_executable_extensions; do
23950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23951 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23959 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23963 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23964 if test -n "$GTK_CONFIG"; then
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23966 $as_echo "$GTK_CONFIG" >&6; }
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23969 $as_echo "no" >&6; }
23973 min_gtk_version
=1.2.3
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23975 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23977 if test "$GTK_CONFIG" = "no" ; then
23980 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23981 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23982 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23984 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23986 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23988 if test "x$enable_gtktest" = "xyes" ; then
23989 ac_save_CFLAGS
="$CFLAGS"
23990 ac_save_LIBS
="$LIBS"
23991 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23992 LIBS
="$GTK_LIBS $LIBS"
23994 if test "$cross_compiling" = yes; then :
23995 echo $ac_n "cross compiling; assumed OK... $ac_c"
23997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
24000 #include <gtk/gtk.h>
24002 #include <stdlib.h>
24007 int major, minor, micro;
24010 system ("touch conf.gtktest");
24012 /* HP/UX 9 (%@#!) writes to sscanf strings */
24013 tmp_version = g_strdup("$min_gtk_version");
24014 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24015 printf("%s, bad version string\n", "$min_gtk_version");
24019 if ((gtk_major_version != $gtk_config_major_version) ||
24020 (gtk_minor_version != $gtk_config_minor_version) ||
24021 (gtk_micro_version != $gtk_config_micro_version))
24023 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24024 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24025 gtk_major_version, gtk_minor_version, gtk_micro_version);
24026 printf ("*** was found! If gtk-config was correct, then it is best\n");
24027 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24028 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24029 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24030 printf("*** required on your system.\n");
24031 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24032 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24033 printf("*** before re-running configure\n");
24035 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24036 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24037 (gtk_minor_version != GTK_MINOR_VERSION) ||
24038 (gtk_micro_version != GTK_MICRO_VERSION))
24040 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24041 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24042 printf("*** library (version %d.%d.%d)\n",
24043 gtk_major_version, gtk_minor_version, gtk_micro_version);
24045 #endif /* defined (GTK_MAJOR_VERSION) ... */
24048 if ((gtk_major_version > major) ||
24049 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24050 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24056 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24057 gtk_major_version, gtk_minor_version, gtk_micro_version);
24058 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24059 major, minor, micro);
24060 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24062 printf("*** If you have already installed a sufficiently new version, this error\n");
24063 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24064 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24065 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24066 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24067 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24068 printf("*** so that the correct libraries are found at run-time))\n");
24075 if ac_fn_c_try_run
"$LINENO"; then :
24080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24081 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24084 CFLAGS
="$ac_save_CFLAGS"
24085 LIBS
="$ac_save_LIBS"
24088 if test "x$no_gtk" = x
; then
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24090 $as_echo "yes" >&6; }
24091 wx_cv_lib_gtk
=1.2.3
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24094 $as_echo "no" >&6; }
24095 if test "$GTK_CONFIG" = "no" ; then
24096 echo "*** The gtk-config script installed by GTK could not be found"
24097 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24098 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24099 echo "*** full path to gtk-config."
24101 if test -f conf.gtktest
; then
24104 echo "*** Could not run GTK test program, checking why..."
24105 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24106 LIBS
="$LIBS $GTK_LIBS"
24107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h. */
24110 #include <gtk/gtk.h>
24116 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24121 if ac_fn_c_try_link
"$LINENO"; then :
24122 echo "*** The test program compiled, but did not run. This usually means"
24123 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24124 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24125 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24126 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24127 echo "*** is required on your system"
24129 echo "*** If you have an old version installed, it is best to remove it, although"
24130 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24132 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24133 echo "*** came with the system with the command"
24135 echo "*** rpm --erase --nodeps gtk gtk-devel"
24137 echo "*** The test program failed to compile or link. See the file config.log for the"
24138 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24139 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24140 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24142 rm -f core conftest.err conftest.
$ac_objext \
24143 conftest
$ac_exeext conftest.
$ac_ext
24144 CFLAGS
="$ac_save_CFLAGS"
24145 LIBS
="$ac_save_LIBS"
24160 if test -z "$wx_cv_lib_gtk"; then
24163 GTK_LIBS
="$GTK_LIBS -lX11"
24165 wx_cv_cflags_gtk
=$GTK_CFLAGS
24166 wx_cv_libs_gtk
=$GTK_LIBS
24173 if test "$gtk_version_cached" = 1; then
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24175 $as_echo "$wx_cv_lib_gtk" >&6; }
24178 case "$wx_cv_lib_gtk" in
24189 *) as_fn_error $?
"
24190 The development files for GTK+ were not found. For GTK+ 2, please
24191 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24192 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24193 and that the version is 1.2.3 or above. Also check that the
24194 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24195 --libs' are in the LD_LIBRARY_PATH or equivalent.
24200 if test "$WXGTK3" = 1; then
24201 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24203 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24205 elif test "$WXGTK2" = 1; then
24206 save_CFLAGS
="$CFLAGS"
24208 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24209 LIBS
="$LIBS $wx_cv_libs_gtk"
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24212 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24216 #include <gtk/gtk.h>
24222 #if !GTK_CHECK_VERSION(2,18,0)
24230 if ac_fn_c_try_compile
"$LINENO"; then :
24232 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24234 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24237 $as_echo "yes" >&6; }
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24243 $as_echo "no" >&6; }
24247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24249 if test "$ac_wxgtk218" = 0; then
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24251 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h. */
24255 #include <gtk/gtk.h>
24261 #if !GTK_CHECK_VERSION(2,10,0)
24269 if ac_fn_c_try_compile
"$LINENO"; then :
24271 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24274 $as_echo "yes" >&6; }
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24280 $as_echo "no" >&6; }
24284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24287 CFLAGS
="$save_CFLAGS"
24290 if test "$wxUSE_UNICODE" = "yes"; then
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24292 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24297 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24298 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24299 $as_echo_n "(cached) " >&6
24301 ac_check_lib_save_LIBS
=$LIBS
24303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24306 /* Override any GCC internal prototype to avoid an error.
24307 Use char because int might match the return type of a GCC
24308 builtin and then its argument prototype would still apply. */
24312 char gdk_im_open ();
24316 return gdk_im_open ();
24321 if ac_fn_c_try_link
"$LINENO"; then :
24322 ac_cv_lib_gdk_gdk_im_open
=yes
24324 ac_cv_lib_gdk_gdk_im_open
=no
24326 rm -f core conftest.err conftest.
$ac_objext \
24327 conftest
$ac_exeext conftest.
$ac_ext
24328 LIBS
=$ac_check_lib_save_LIBS
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24331 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24332 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24333 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24338 if test "$USE_DARWIN" != 1; then
24339 for ac_func
in poll
24341 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24342 if test "x$ac_cv_func_poll" = xyes
; then :
24343 cat >>confdefs.h
<<_ACEOF
24344 #define HAVE_POLL 1
24353 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24354 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24355 AFMINSTALL
=afminstall
24359 if test "$wxUSE_GPE" = "yes"; then
24360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24361 $as_echo_n "checking for gpewidget library... " >&6; }
24364 for ac_dir
in $SEARCH_LIB
24366 for ac_extension
in a so sl dylib dll.a
; do
24367 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24368 ac_find_libraries
=$ac_dir
24374 if test "$ac_find_libraries" != "" ; then
24376 if test "$ac_find_libraries" = "default location"; then
24379 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24381 if test $result = 0; then
24384 ac_path_to_link
=" -L$ac_find_libraries"
24388 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24391 $as_echo "found in $ac_find_libraries" >&6; }
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24394 $as_echo "not found" >&6; }
24400 if test "$wxUSE_DFB" = 1; then
24403 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24404 if test -n "$ac_tool_prefix"; then
24405 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24406 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24408 $as_echo_n "checking for $ac_word... " >&6; }
24409 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24410 $as_echo_n "(cached) " >&6
24412 case $PKG_CONFIG in
24414 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24418 for as_dir
in $PATH
24421 test -z "$as_dir" && as_dir
=.
24422 for ac_exec_ext
in '' $ac_executable_extensions; do
24423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24424 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24435 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24436 if test -n "$PKG_CONFIG"; then
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24438 $as_echo "$PKG_CONFIG" >&6; }
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24441 $as_echo "no" >&6; }
24446 if test -z "$ac_cv_path_PKG_CONFIG"; then
24447 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24448 # Extract the first word of "pkg-config", so it can be a program name with args.
24449 set dummy pkg
-config; ac_word
=$2
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24451 $as_echo_n "checking for $ac_word... " >&6; }
24452 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24453 $as_echo_n "(cached) " >&6
24455 case $ac_pt_PKG_CONFIG in
24457 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24461 for as_dir
in $PATH
24464 test -z "$as_dir" && as_dir
=.
24465 for ac_exec_ext
in '' $ac_executable_extensions; do
24466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24467 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24478 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24479 if test -n "$ac_pt_PKG_CONFIG"; then
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24481 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24484 $as_echo "no" >&6; }
24487 if test "x$ac_pt_PKG_CONFIG" = x
; then
24490 case $cross_compiling:$ac_tool_warned in
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24494 ac_tool_warned
=yes ;;
24496 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24499 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24503 if test -n "$PKG_CONFIG"; then
24504 _pkg_min_version
=0.9.0
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24506 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24507 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24509 $as_echo "yes" >&6; }
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24512 $as_echo "no" >&6; }
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24521 $as_echo_n "checking for DIRECTFB... " >&6; }
24523 if test -n "$PKG_CONFIG"; then
24524 if test -n "$DIRECTFB_CFLAGS"; then
24525 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24527 if test -n "$PKG_CONFIG" && \
24528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24529 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24532 test $ac_status = 0; }; then
24533 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24541 if test -n "$PKG_CONFIG"; then
24542 if test -n "$DIRECTFB_LIBS"; then
24543 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24545 if test -n "$PKG_CONFIG" && \
24546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24547 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24550 test $ac_status = 0; }; then
24551 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24562 if test $pkg_failed = yes; then
24564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24565 _pkg_short_errors_supported
=yes
24567 _pkg_short_errors_supported
=no
24569 if test $_pkg_short_errors_supported = yes; then
24570 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24572 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24574 # Put the nasty error message in config.log where it belongs
24575 echo "$DIRECTFB_PKG_ERRORS" >&5
24578 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24581 elif test $pkg_failed = untried
; then
24583 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24587 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24588 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24590 $as_echo "yes" >&6; }
24592 wxUSE_UNIVERSAL
="yes"
24593 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24594 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24601 if test "$wxUSE_MICROWIN" = 1; then
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24603 $as_echo_n "checking for MicroWindows... " >&6; }
24604 if test "x$MICROWINDOWS" = x
; then
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24606 $as_echo "not found" >&6; }
24607 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24610 $as_echo "$MICROWINDOWS" >&6; }
24613 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24615 $as_echo "MicroWindows' libraries found." >&6; }
24617 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24620 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24621 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24623 wxUSE_UNIVERSAL
="yes"
24625 AFMINSTALL
=afminstall
24627 GUIDIST
=MICROWIN_DIST
24629 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24632 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24634 $as_echo_n "checking for X... " >&6; }
24637 # Check whether --with-x was given.
24638 if test "${with_x+set}" = set; then :
24642 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24643 if test "x$with_x" = xno
; then
24644 # The user explicitly disabled X.
24647 case $x_includes,$x_libraries in #(
24648 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24649 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24650 $as_echo_n "(cached) " >&6
24652 # One or both of the vars are not set, and there is no cached value.
24653 ac_x_includes
=no ac_x_libraries
=no
24654 rm -f -r conftest.dir
24655 if mkdir conftest.dir
; then
24657 cat >Imakefile
<<'_ACEOF'
24659 @echo incroot='${INCROOT}'
24661 @echo usrlibdir='${USRLIBDIR}'
24663 @echo libdir='${LIBDIR}'
24665 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24666 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24667 for ac_var
in incroot usrlibdir libdir
; do
24668 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24670 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24671 for ac_extension
in a so sl dylib la dll
; do
24672 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24673 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24674 ac_im_usrlibdir
=$ac_im_libdir; break
24677 # Screen out bogus values from the imake configuration. They are
24678 # bogus both because they are the default anyway, and because
24679 # using them would break gcc on systems where it needs fixed includes.
24680 case $ac_im_incroot in
24681 /usr
/include
) ac_x_includes
= ;;
24682 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24684 case $ac_im_usrlibdir in
24685 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24686 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24690 rm -f -r conftest.dir
24693 # Standard set of common directories for X headers.
24694 # Check X11 before X11Rn because it is often a symlink to the current release.
24708 /usr/local/X11/include
24709 /usr/local/X11R7/include
24710 /usr/local/X11R6/include
24711 /usr/local/X11R5/include
24712 /usr/local/X11R4/include
24714 /usr/local/include/X11
24715 /usr/local/include/X11R7
24716 /usr/local/include/X11R6
24717 /usr/local/include/X11R5
24718 /usr/local/include/X11R4
24722 /usr/XFree86/include/X11
24726 /usr/unsupported/include
24727 /usr/athena/include
24728 /usr/local/x11r5/include
24729 /usr/lpp/Xamples/include
24731 /usr/openwin/include
24732 /usr/openwin/share/include'
24734 if test "$ac_x_includes" = no
; then
24735 # Guess where to find include files, by looking for Xlib.h.
24736 # First, try using that file with no special directory specified.
24737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h. */
24739 #include <X11/Xlib.h>
24741 if ac_fn_c_try_cpp
"$LINENO"; then :
24742 # We can compile using X headers with no special include directory.
24745 for ac_dir
in $ac_x_header_dirs; do
24746 if test -r "$ac_dir/X11/Xlib.h"; then
24747 ac_x_includes
=$ac_dir
24752 rm -f conftest.err conftest.i conftest.
$ac_ext
24753 fi # $ac_x_includes = no
24755 if test "$ac_x_libraries" = no
; then
24756 # Check for the libraries.
24757 # See if we find them without any special options.
24758 # Don't add to $LIBS permanently.
24761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <X11/Xlib.h>
24772 if ac_fn_c_try_link
"$LINENO"; then :
24774 # We can link X programs with no special library path.
24778 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24780 # Don't even attempt the hair of trying to link an X program!
24781 for ac_extension
in a so sl dylib la dll
; do
24782 if test -r "$ac_dir/libX11.$ac_extension"; then
24783 ac_x_libraries
=$ac_dir
24789 rm -f core conftest.err conftest.
$ac_objext \
24790 conftest
$ac_exeext conftest.
$ac_ext
24791 fi # $ac_x_libraries = no
24793 case $ac_x_includes,$ac_x_libraries in #(
24794 no
,* | *,no
| *\'*)
24795 # Didn't find X, or a directory has "'" in its name.
24796 ac_cv_have_x
="have_x=no";; #(
24798 # Record where we found X for the cache.
24799 ac_cv_have_x
="have_x=yes\
24800 ac_x_includes='$ac_x_includes'\
24801 ac_x_libraries='$ac_x_libraries'"
24807 eval "$ac_cv_have_x"
24810 if test "$have_x" != yes; then
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24812 $as_echo "$have_x" >&6; }
24815 # If each of the values was on the command line, it overrides each guess.
24816 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24817 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24818 # Update the cache value to reflect the command line values.
24819 ac_cv_have_x
="have_x=yes\
24820 ac_x_includes='$x_includes'\
24821 ac_x_libraries='$x_libraries'"
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24823 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24826 if test "$no_x" = yes; then
24827 # Not all programs may use this symbol, but it does not hurt to define it.
24829 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24831 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24833 if test -n "$x_includes"; then
24834 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24837 # It would also be nice to do this for all -L options, not just this one.
24838 if test -n "$x_libraries"; then
24839 X_LIBS
="$X_LIBS -L$x_libraries"
24840 # For Solaris; some versions of Sun CC require a space after -R and
24841 # others require no space. Words are not sufficient . . . .
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24843 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24844 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24845 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24846 ac_c_werror_flag
=yes
24847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24848 /* end confdefs.h. */
24858 if ac_fn_c_try_link
"$LINENO"; then :
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24860 $as_echo "no" >&6; }
24861 X_LIBS
="$X_LIBS -R$x_libraries"
24863 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24865 /* end confdefs.h. */
24875 if ac_fn_c_try_link
"$LINENO"; then :
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24877 $as_echo "yes" >&6; }
24878 X_LIBS
="$X_LIBS -R $x_libraries"
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24881 $as_echo "neither works" >&6; }
24883 rm -f core conftest.err conftest.
$ac_objext \
24884 conftest
$ac_exeext conftest.
$ac_ext
24886 rm -f core conftest.err conftest.
$ac_objext \
24887 conftest
$ac_exeext conftest.
$ac_ext
24888 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24889 LIBS
=$ac_xsave_LIBS
24892 # Check for system-dependent libraries X programs must link with.
24893 # Do this before checking for the system-independent R6 libraries
24894 # (-lICE), since we may need -lsocket or whatever for X linking.
24896 if test "$ISC" = yes; then
24897 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24899 # Martyn Johnson says this is needed for Ultrix, if the X
24900 # libraries were built with DECnet support. And Karl Berry says
24901 # the Alpha needs dnet_stub (dnet does not exist).
24902 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24906 /* Override any GCC internal prototype to avoid an error.
24907 Use char because int might match the return type of a GCC
24908 builtin and then its argument prototype would still apply. */
24912 char XOpenDisplay ();
24916 return XOpenDisplay ();
24921 if ac_fn_c_try_link
"$LINENO"; then :
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24925 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24926 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
24927 $as_echo_n "(cached) " >&6
24929 ac_check_lib_save_LIBS
=$LIBS
24930 LIBS
="-ldnet $LIBS"
24931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24934 /* Override any GCC internal prototype to avoid an error.
24935 Use char because int might match the return type of a GCC
24936 builtin and then its argument prototype would still apply. */
24944 return dnet_ntoa ();
24949 if ac_fn_c_try_link
"$LINENO"; then :
24950 ac_cv_lib_dnet_dnet_ntoa
=yes
24952 ac_cv_lib_dnet_dnet_ntoa
=no
24954 rm -f core conftest.err conftest.
$ac_objext \
24955 conftest
$ac_exeext conftest.
$ac_ext
24956 LIBS
=$ac_check_lib_save_LIBS
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24959 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24960 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
24961 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24964 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24966 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24967 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
24968 $as_echo_n "(cached) " >&6
24970 ac_check_lib_save_LIBS
=$LIBS
24971 LIBS
="-ldnet_stub $LIBS"
24972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24973 /* end confdefs.h. */
24975 /* Override any GCC internal prototype to avoid an error.
24976 Use char because int might match the return type of a GCC
24977 builtin and then its argument prototype would still apply. */
24985 return dnet_ntoa ();
24990 if ac_fn_c_try_link
"$LINENO"; then :
24991 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24993 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24995 rm -f core conftest.err conftest.
$ac_objext \
24996 conftest
$ac_exeext conftest.
$ac_ext
24997 LIBS
=$ac_check_lib_save_LIBS
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25000 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25001 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25007 rm -f core conftest.err conftest.
$ac_objext \
25008 conftest
$ac_exeext conftest.
$ac_ext
25009 LIBS
="$ac_xsave_LIBS"
25011 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25012 # to get the SysV transport functions.
25013 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25015 # The nsl library prevents programs from opening the X display
25016 # on Irix 5.2, according to T.E. Dickey.
25017 # The functions gethostbyname, getservbyname, and inet_addr are
25018 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25019 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25020 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25024 if test $ac_cv_func_gethostbyname = no
; then
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25026 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25027 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25028 $as_echo_n "(cached) " >&6
25030 ac_check_lib_save_LIBS
=$LIBS
25032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25033 /* end confdefs.h. */
25035 /* Override any GCC internal prototype to avoid an error.
25036 Use char because int might match the return type of a GCC
25037 builtin and then its argument prototype would still apply. */
25041 char gethostbyname ();
25045 return gethostbyname ();
25050 if ac_fn_c_try_link
"$LINENO"; then :
25051 ac_cv_lib_nsl_gethostbyname
=yes
25053 ac_cv_lib_nsl_gethostbyname
=no
25055 rm -f core conftest.err conftest.
$ac_objext \
25056 conftest
$ac_exeext conftest.
$ac_ext
25057 LIBS
=$ac_check_lib_save_LIBS
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25060 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25061 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25062 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25065 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25067 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25068 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25069 $as_echo_n "(cached) " >&6
25071 ac_check_lib_save_LIBS
=$LIBS
25073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25076 /* Override any GCC internal prototype to avoid an error.
25077 Use char because int might match the return type of a GCC
25078 builtin and then its argument prototype would still apply. */
25082 char gethostbyname ();
25086 return gethostbyname ();
25091 if ac_fn_c_try_link
"$LINENO"; then :
25092 ac_cv_lib_bsd_gethostbyname
=yes
25094 ac_cv_lib_bsd_gethostbyname
=no
25096 rm -f core conftest.err conftest.
$ac_objext \
25097 conftest
$ac_exeext conftest.
$ac_ext
25098 LIBS
=$ac_check_lib_save_LIBS
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25101 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25102 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25103 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25109 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25110 # socket/setsockopt and other routines are undefined under SCO ODT
25111 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25112 # on later versions), says Simon Leinen: it contains gethostby*
25113 # variants that don't use the name server (or something). -lsocket
25114 # must be given before -lnsl if both are needed. We assume that
25115 # if connect needs -lnsl, so does gethostbyname.
25116 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25117 if test "x$ac_cv_func_connect" = xyes
; then :
25121 if test $ac_cv_func_connect = no
; then
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25123 $as_echo_n "checking for connect in -lsocket... " >&6; }
25124 if ${ac_cv_lib_socket_connect+:} false
; then :
25125 $as_echo_n "(cached) " >&6
25127 ac_check_lib_save_LIBS
=$LIBS
25128 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25132 /* Override any GCC internal prototype to avoid an error.
25133 Use char because int might match the return type of a GCC
25134 builtin and then its argument prototype would still apply. */
25147 if ac_fn_c_try_link
"$LINENO"; then :
25148 ac_cv_lib_socket_connect
=yes
25150 ac_cv_lib_socket_connect
=no
25152 rm -f core conftest.err conftest.
$ac_objext \
25153 conftest
$ac_exeext conftest.
$ac_ext
25154 LIBS
=$ac_check_lib_save_LIBS
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25157 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25158 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25159 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25164 # Guillermo Gomez says -lposix is necessary on A/UX.
25165 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25166 if test "x$ac_cv_func_remove" = xyes
; then :
25170 if test $ac_cv_func_remove = no
; then
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25172 $as_echo_n "checking for remove in -lposix... " >&6; }
25173 if ${ac_cv_lib_posix_remove+:} false
; then :
25174 $as_echo_n "(cached) " >&6
25176 ac_check_lib_save_LIBS
=$LIBS
25177 LIBS
="-lposix $LIBS"
25178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25179 /* end confdefs.h. */
25181 /* Override any GCC internal prototype to avoid an error.
25182 Use char because int might match the return type of a GCC
25183 builtin and then its argument prototype would still apply. */
25196 if ac_fn_c_try_link
"$LINENO"; then :
25197 ac_cv_lib_posix_remove
=yes
25199 ac_cv_lib_posix_remove
=no
25201 rm -f core conftest.err conftest.
$ac_objext \
25202 conftest
$ac_exeext conftest.
$ac_ext
25203 LIBS
=$ac_check_lib_save_LIBS
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25206 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25207 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25208 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25214 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25215 if test "x$ac_cv_func_shmat" = xyes
; then :
25219 if test $ac_cv_func_shmat = no
; then
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25221 $as_echo_n "checking for shmat in -lipc... " >&6; }
25222 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25223 $as_echo_n "(cached) " >&6
25225 ac_check_lib_save_LIBS
=$LIBS
25227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25228 /* end confdefs.h. */
25230 /* Override any GCC internal prototype to avoid an error.
25231 Use char because int might match the return type of a GCC
25232 builtin and then its argument prototype would still apply. */
25245 if ac_fn_c_try_link
"$LINENO"; then :
25246 ac_cv_lib_ipc_shmat
=yes
25248 ac_cv_lib_ipc_shmat
=no
25250 rm -f core conftest.err conftest.
$ac_objext \
25251 conftest
$ac_exeext conftest.
$ac_ext
25252 LIBS
=$ac_check_lib_save_LIBS
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25255 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25256 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25263 # Check for libraries that X11R6 Xt/Xaw programs need.
25264 ac_save_LDFLAGS
=$LDFLAGS
25265 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25266 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25267 # check for ICE first), but we must link in the order -lSM -lICE or
25268 # we get undefined symbols. So assume we have SM if we have ICE.
25269 # These have to be linked with before -lX11, unlike the other
25270 # libraries we check for below, so use a different variable.
25271 # John Interrante, Karl Berry
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25273 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25274 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25275 $as_echo_n "(cached) " >&6
25277 ac_check_lib_save_LIBS
=$LIBS
25278 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25280 /* end confdefs.h. */
25282 /* Override any GCC internal prototype to avoid an error.
25283 Use char because int might match the return type of a GCC
25284 builtin and then its argument prototype would still apply. */
25288 char IceConnectionNumber ();
25292 return IceConnectionNumber ();
25297 if ac_fn_c_try_link
"$LINENO"; then :
25298 ac_cv_lib_ICE_IceConnectionNumber
=yes
25300 ac_cv_lib_ICE_IceConnectionNumber
=no
25302 rm -f core conftest.err conftest.
$ac_objext \
25303 conftest
$ac_exeext conftest.
$ac_ext
25304 LIBS
=$ac_check_lib_save_LIBS
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25307 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25308 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25309 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25312 LDFLAGS
=$ac_save_LDFLAGS
25317 if test "$no_x" = "yes"; then
25318 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25321 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25322 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25323 AFMINSTALL
=afminstall
25324 COMPILED_X_PROGRAM
=0
25328 if test "$wxUSE_X11" = 1; then
25329 if test "$wxUSE_NANOX" = "yes"; then
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25331 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25332 if test "x$MICROWIN" = x
; then
25333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25334 $as_echo "not found" >&6; }
25335 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25338 $as_echo "$MICROWIN" >&6; }
25339 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25344 if test "$wxUSE_UNICODE" = "yes"; then
25347 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25348 if test -n "$ac_tool_prefix"; then
25349 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25350 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25352 $as_echo_n "checking for $ac_word... " >&6; }
25353 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25354 $as_echo_n "(cached) " >&6
25356 case $PKG_CONFIG in
25358 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25362 for as_dir
in $PATH
25365 test -z "$as_dir" && as_dir
=.
25366 for ac_exec_ext
in '' $ac_executable_extensions; do
25367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25368 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25379 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25380 if test -n "$PKG_CONFIG"; then
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25382 $as_echo "$PKG_CONFIG" >&6; }
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25385 $as_echo "no" >&6; }
25390 if test -z "$ac_cv_path_PKG_CONFIG"; then
25391 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25392 # Extract the first word of "pkg-config", so it can be a program name with args.
25393 set dummy pkg
-config; ac_word
=$2
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25395 $as_echo_n "checking for $ac_word... " >&6; }
25396 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25397 $as_echo_n "(cached) " >&6
25399 case $ac_pt_PKG_CONFIG in
25401 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25405 for as_dir
in $PATH
25408 test -z "$as_dir" && as_dir
=.
25409 for ac_exec_ext
in '' $ac_executable_extensions; do
25410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25411 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25422 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25423 if test -n "$ac_pt_PKG_CONFIG"; then
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25425 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25428 $as_echo "no" >&6; }
25431 if test "x$ac_pt_PKG_CONFIG" = x
; then
25434 case $cross_compiling:$ac_tool_warned in
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25438 ac_tool_warned
=yes ;;
25440 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25443 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25447 if test -n "$PKG_CONFIG"; then
25448 _pkg_min_version
=0.9.0
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25450 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25451 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25453 $as_echo "yes" >&6; }
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25456 $as_echo "no" >&6; }
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25465 $as_echo_n "checking for PANGOX... " >&6; }
25467 if test -n "$PKG_CONFIG"; then
25468 if test -n "$PANGOX_CFLAGS"; then
25469 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25471 if test -n "$PKG_CONFIG" && \
25472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25473 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25476 test $ac_status = 0; }; then
25477 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25485 if test -n "$PKG_CONFIG"; then
25486 if test -n "$PANGOX_LIBS"; then
25487 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25489 if test -n "$PKG_CONFIG" && \
25490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25491 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25494 test $ac_status = 0; }; then
25495 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25506 if test $pkg_failed = yes; then
25508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25509 _pkg_short_errors_supported
=yes
25511 _pkg_short_errors_supported
=no
25513 if test $_pkg_short_errors_supported = yes; then
25514 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25516 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25518 # Put the nasty error message in config.log where it belongs
25519 echo "$PANGOX_PKG_ERRORS" >&5
25522 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25525 elif test $pkg_failed = untried
; then
25527 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25531 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25532 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25534 $as_echo "yes" >&6; }
25536 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25537 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25538 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25544 $as_echo_n "checking for PANGOFT2... " >&6; }
25546 if test -n "$PKG_CONFIG"; then
25547 if test -n "$PANGOFT2_CFLAGS"; then
25548 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25550 if test -n "$PKG_CONFIG" && \
25551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25552 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25555 test $ac_status = 0; }; then
25556 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25564 if test -n "$PKG_CONFIG"; then
25565 if test -n "$PANGOFT2_LIBS"; then
25566 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25568 if test -n "$PKG_CONFIG" && \
25569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25570 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25573 test $ac_status = 0; }; then
25574 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25585 if test $pkg_failed = yes; then
25587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25588 _pkg_short_errors_supported
=yes
25590 _pkg_short_errors_supported
=no
25592 if test $_pkg_short_errors_supported = yes; then
25593 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25595 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25597 # Put the nasty error message in config.log where it belongs
25598 echo "$PANGOFT2_PKG_ERRORS" >&5
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25602 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25603 wxUSE_PRINTING_ARCHITECTURE
="no"
25606 elif test $pkg_failed = untried
; then
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25609 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25610 wxUSE_PRINTING_ARCHITECTURE
="no"
25614 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25615 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25617 $as_echo "yes" >&6; }
25619 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25620 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25621 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25627 $as_echo_n "checking for PANGOXFT... " >&6; }
25629 if test -n "$PKG_CONFIG"; then
25630 if test -n "$PANGOXFT_CFLAGS"; then
25631 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25633 if test -n "$PKG_CONFIG" && \
25634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25635 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25638 test $ac_status = 0; }; then
25639 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25647 if test -n "$PKG_CONFIG"; then
25648 if test -n "$PANGOXFT_LIBS"; then
25649 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25651 if test -n "$PKG_CONFIG" && \
25652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25653 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25656 test $ac_status = 0; }; then
25657 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25668 if test $pkg_failed = yes; then
25670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25671 _pkg_short_errors_supported
=yes
25673 _pkg_short_errors_supported
=no
25675 if test $_pkg_short_errors_supported = yes; then
25676 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25678 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25680 # Put the nasty error message in config.log where it belongs
25681 echo "$PANGOXFT_PKG_ERRORS" >&5
25684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25685 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25688 elif test $pkg_failed = untried
; then
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25691 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25695 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25696 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25698 $as_echo "yes" >&6; }
25700 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25702 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25703 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25704 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25708 LIBS
="$LIBS $PANGOX_LIBS"
25709 for ac_func
in pango_font_family_is_monospace
25711 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25712 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25713 cat >>confdefs.h
<<_ACEOF
25714 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25723 wxUSE_UNIVERSAL
="yes"
25725 if test "$wxUSE_NANOX" = "yes"; then
25726 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25727 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
25728 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25730 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25737 if test "$wxUSE_MOTIF" = 1; then
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25739 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25742 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25744 if test -f "$ac_dir/Xm/Xm.h"; then
25745 ac_find_includes
=$ac_dir
25750 if test "$ac_find_includes" != "" ; then
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25752 $as_echo "found in $ac_find_includes" >&6; }
25754 if test "x$ac_find_includes" = "x/usr/include"; then
25755 ac_path_to_include
=""
25757 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25759 if test $result = 0; then
25760 ac_path_to_include
=""
25762 ac_path_to_include
=" -I$ac_find_includes"
25766 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25768 save_CFLAGS
=$CFLAGS
25769 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h. */
25781 version = xmUseVersion;
25787 if ac_fn_c_try_compile
"$LINENO"; then :
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25790 $as_echo "found in default search path" >&6; }
25791 COMPILED_X_PROGRAM
=1
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25796 $as_echo "no" >&6; }
25797 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25803 CFLAGS
=$save_CFLAGS
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25808 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25811 for ac_dir
in $SEARCH_LIB
25813 for ac_extension
in a so sl dylib dll.a
; do
25814 if test -f "$ac_dir/libXm.$ac_extension"; then
25815 ac_find_libraries
=$ac_dir
25822 if test "x$ac_find_libraries" != "x" ; then
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25824 $as_echo "found in $ac_find_libraries" >&6; }
25827 if test "$ac_find_libraries" = "default location"; then
25830 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25832 if test $result = 0; then
25835 ac_path_to_link
=" -L$ac_find_libraries"
25839 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25841 save_CFLAGS
=$CFLAGS
25842 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25844 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h. */
25856 version = xmUseVersion;
25862 if ac_fn_c_try_link
"$LINENO"; then :
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25865 $as_echo "found in default search path" >&6; }
25866 COMPILED_X_PROGRAM
=1
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25871 $as_echo "no" >&6; }
25872 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25876 rm -f core conftest.err conftest.
$ac_objext \
25877 conftest
$ac_exeext conftest.
$ac_ext
25879 CFLAGS
=$save_CFLAGS
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25884 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25888 for libp
in "" " -lXp"; do
25889 if test "$libs_found" = 0; then
25890 for libsm_ice
in "" " -lSM -lICE"; do
25891 if test "$libs_found" = 0; then
25893 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25894 save_CFLAGS
=$CFLAGS
25895 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25898 /* end confdefs.h. */
25901 #include <Xm/List.h>
25907 XmString string = NULL;
25910 XmListAddItem(w, string, position);
25916 if ac_fn_c_try_link
"$LINENO"; then :
25919 libsm_ice_link
="$libsm_ice"
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25921 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25925 rm -f core conftest.err conftest.
$ac_objext \
25926 conftest
$ac_exeext conftest.
$ac_ext
25929 CFLAGS
=$save_CFLAGS
25935 if test "$libs_found" = 0; then
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25937 $as_echo "can't find the right libraries" >&6; }
25938 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25942 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25943 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
25944 $as_echo_n "(cached) " >&6
25946 ac_check_lib_save_LIBS
=$LIBS
25948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h. */
25951 /* Override any GCC internal prototype to avoid an error.
25952 Use char because int might match the return type of a GCC
25953 builtin and then its argument prototype would still apply. */
25957 char SgCreateList ();
25961 return SgCreateList ();
25966 if ac_fn_c_try_link
"$LINENO"; then :
25967 ac_cv_lib_Sgm_SgCreateList
=yes
25969 ac_cv_lib_Sgm_SgCreateList
=no
25971 rm -f core conftest.err conftest.
$ac_objext \
25972 conftest
$ac_exeext conftest.
$ac_ext
25973 LIBS
=$ac_check_lib_save_LIBS
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25976 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25977 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
25978 libsgm_link
=" -lSgm"
25982 save_CFLAGS
=$CFLAGS
25983 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25986 $as_echo_n "checking for Motif 2... " >&6; }
25987 if ${wx_cv_lib_motif2+:} false
; then :
25988 $as_echo_n "(cached) " >&6
25990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25991 /* end confdefs.h. */
25999 #if XmVersion < 2000
26007 if ac_fn_c_try_compile
"$LINENO"; then :
26008 wx_cv_lib_motif2
="yes"
26010 wx_cv_lib_motif2
="no"
26012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26015 $as_echo "$wx_cv_lib_motif2" >&6; }
26016 if test "$wx_cv_lib_motif2" = "yes"; then
26017 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26020 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26025 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26026 if ${wx_cv_lib_lesstif+:} false
; then :
26027 $as_echo_n "(cached) " >&6
26029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26030 /* end confdefs.h. */
26038 #if !defined(LesstifVersion) || LesstifVersion <= 0
26046 if ac_fn_c_try_compile
"$LINENO"; then :
26047 wx_cv_lib_lesstif
="yes"
26049 wx_cv_lib_lesstif
="no"
26051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26055 $as_echo "$wx_cv_lib_lesstif" >&6; }
26056 if test "$wx_cv_lib_lesstif" = "yes"; then
26057 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26060 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26064 CFLAGS
=$save_CFLAGS
26066 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26071 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26072 if test "$wxUSE_LIBXPM" = "sys"; then
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26074 $as_echo_n "checking for Xpm library... " >&6; }
26077 for ac_dir
in $SEARCH_LIB
26079 for ac_extension
in a so sl dylib dll.a
; do
26080 if test -f "$ac_dir/libXpm.$ac_extension"; then
26081 ac_find_libraries
=$ac_dir
26087 if test "$ac_find_libraries" != "" ; then
26089 if test "$ac_find_libraries" = "default location"; then
26092 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26094 if test $result = 0; then
26097 ac_path_to_link
=" -L$ac_find_libraries"
26101 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26103 $as_echo "found in $ac_find_libraries" >&6; }
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26106 $as_echo_n "checking for X11/xpm.h... " >&6; }
26107 if ${wx_cv_x11_xpm_h+:} false
; then :
26108 $as_echo_n "(cached) " >&6
26111 save_CFLAGS
=$CFLAGS
26112 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h. */
26117 #include <X11/xpm.h>
26124 version = XpmLibraryVersion();
26130 if ac_fn_c_try_compile
"$LINENO"; then :
26131 wx_cv_x11_xpm_h
=yes
26136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26138 CFLAGS
=$save_CFLAGS
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26143 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26145 if test $wx_cv_x11_xpm_h = "yes"; then
26146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26147 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26151 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26158 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26159 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26160 $as_echo_n "(cached) " >&6
26162 ac_check_lib_save_LIBS
=$LIBS
26163 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26165 /* end confdefs.h. */
26167 /* Override any GCC internal prototype to avoid an error.
26168 Use char because int might match the return type of a GCC
26169 builtin and then its argument prototype would still apply. */
26173 char XShapeQueryExtension ();
26177 return XShapeQueryExtension ();
26182 if ac_fn_c_try_link
"$LINENO"; then :
26183 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26185 ac_cv_lib_Xext_XShapeQueryExtension
=no
26187 rm -f core conftest.err conftest.
$ac_objext \
26188 conftest
$ac_exeext conftest.
$ac_ext
26189 LIBS
=$ac_check_lib_save_LIBS
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26192 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26193 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26195 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26201 if test "$wxHAVE_XEXT_LIB" = 1; then
26202 save_CFLAGS
="$CFLAGS"
26203 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26206 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26208 /* end confdefs.h. */
26210 #include <X11/Xlib.h>
26211 #include <X11/extensions/shape.h>
26217 int dummy1, dummy2;
26218 XShapeQueryExtension((Display*)NULL,
26219 (int*)NULL, (int*)NULL);
26225 if ac_fn_c_try_compile
"$LINENO"; then :
26227 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26230 $as_echo "found" >&6; }
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26235 $as_echo "not found" >&6; }
26238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26239 CFLAGS
="$save_CFLAGS"
26244 if test "$wxUSE_OSX_CARBON" = 1; then
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26246 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26247 if test "$GCC" = yes; then
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26249 $as_echo "gcc" >&6; }
26250 CPPFLAGS_PASCAL
="-fpascal-strings"
26251 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26253 $as_echo "xlc" >&6; }
26254 CPPFLAGS_PASCAL
="-qmacpstr"
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26257 $as_echo "none" >&6; }
26260 if test "x$wxUSE_UNIX" = "xyes"; then
26261 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26263 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26267 GUIDIST
=OSX_CARBON_DIST
26268 WXBASEPORT
="_carbon"
26270 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26273 if test "$wxUSE_OSX_COCOA" = 1; then
26275 GUIDIST
=OSX_COCOA_DIST
26277 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26280 if test "$wxUSE_OSX_IPHONE" = 1; then
26284 if test "$wxUSE_OLD_COCOA" = 1; then
26289 if test "$wxUSE_PM" = 1; then
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26293 $as_echo_n "checking for type SPBCDATA... " >&6; }
26294 if ${wx_cv_spbcdata+:} false
; then :
26295 $as_echo_n "(cached) " >&6
26298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26314 if ac_fn_c_try_compile
"$LINENO"; then :
26320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26325 $as_echo "$wx_cv_spbcdata" >&6; }
26327 if test $wx_cv_spbcdata = "yes"; then
26328 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26333 if test "$TOOLKIT" = "PM" ; then
26336 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26339 if test "$wxUSE_UNIVERSAL" = "yes"; then
26340 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26344 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26345 DISTDIR
="wx\$(TOOLKIT)"
26351 if test "$USE_WIN32" = 1 ; then
26355 GUIDIST
="BASE_DIST"
26361 if test "$wxUSE_GUI" = "yes"; then
26362 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26363 for ac_header
in X
11/Xlib.h
26365 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26367 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26368 cat >>confdefs.h
<<_ACEOF
26369 #define HAVE_X11_XLIB_H 1
26376 for ac_header
in X
11/XKBlib.h
26378 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26379 #if HAVE_X11_XLIB_H
26380 #include <X11/Xlib.h>
26384 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26385 cat >>confdefs.h
<<_ACEOF
26386 #define HAVE_X11_XKBLIB_H 1
26399 if test "$wxUSE_DISPLAY" = "yes"; then
26400 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26404 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26407 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26408 if test -n "$ac_tool_prefix"; then
26409 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26410 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26412 $as_echo_n "checking for $ac_word... " >&6; }
26413 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26414 $as_echo_n "(cached) " >&6
26416 case $PKG_CONFIG in
26418 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26422 for as_dir
in $PATH
26425 test -z "$as_dir" && as_dir
=.
26426 for ac_exec_ext
in '' $ac_executable_extensions; do
26427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26428 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26439 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26440 if test -n "$PKG_CONFIG"; then
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26442 $as_echo "$PKG_CONFIG" >&6; }
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26445 $as_echo "no" >&6; }
26450 if test -z "$ac_cv_path_PKG_CONFIG"; then
26451 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26452 # Extract the first word of "pkg-config", so it can be a program name with args.
26453 set dummy pkg
-config; ac_word
=$2
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26455 $as_echo_n "checking for $ac_word... " >&6; }
26456 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26457 $as_echo_n "(cached) " >&6
26459 case $ac_pt_PKG_CONFIG in
26461 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26465 for as_dir
in $PATH
26468 test -z "$as_dir" && as_dir
=.
26469 for ac_exec_ext
in '' $ac_executable_extensions; do
26470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26471 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26482 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26483 if test -n "$ac_pt_PKG_CONFIG"; then
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26485 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26488 $as_echo "no" >&6; }
26491 if test "x$ac_pt_PKG_CONFIG" = x
; then
26494 case $cross_compiling:$ac_tool_warned in
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26498 ac_tool_warned
=yes ;;
26500 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26503 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26507 if test -n "$PKG_CONFIG"; then
26508 _pkg_min_version
=0.9.0
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26510 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26511 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26513 $as_echo "yes" >&6; }
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26516 $as_echo "no" >&6; }
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26524 $as_echo_n "checking for Xinerama... " >&6; }
26526 if test -n "$PKG_CONFIG"; then
26527 if test -n "$Xinerama_CFLAGS"; then
26528 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26530 if test -n "$PKG_CONFIG" && \
26531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26532 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26535 test $ac_status = 0; }; then
26536 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26544 if test -n "$PKG_CONFIG"; then
26545 if test -n "$Xinerama_LIBS"; then
26546 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26548 if test -n "$PKG_CONFIG" && \
26549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26550 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26553 test $ac_status = 0; }; then
26554 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26565 if test $pkg_failed = yes; then
26567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26568 _pkg_short_errors_supported
=yes
26570 _pkg_short_errors_supported
=no
26572 if test $_pkg_short_errors_supported = yes; then
26573 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26575 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26577 # Put the nasty error message in config.log where it belongs
26578 echo "$Xinerama_PKG_ERRORS" >&5
26581 if test "x$ac_find_libraries" = "x"; then
26582 if test "xXineramaQueryScreens" != "x"; then
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26584 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26585 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26586 $as_echo_n "(cached) " >&6
26588 ac_check_lib_save_LIBS
=$LIBS
26589 LIBS
="-lXinerama $LIBS"
26590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26591 /* end confdefs.h. */
26593 /* Override any GCC internal prototype to avoid an error.
26594 Use char because int might match the return type of a GCC
26595 builtin and then its argument prototype would still apply. */
26599 char XineramaQueryScreens ();
26603 return XineramaQueryScreens ();
26608 if ac_fn_c_try_link
"$LINENO"; then :
26609 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26611 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26613 rm -f core conftest.err conftest.
$ac_objext \
26614 conftest
$ac_exeext conftest.
$ac_ext
26615 LIBS
=$ac_check_lib_save_LIBS
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26618 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26619 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26620 ac_find_libraries
="std"
26626 if test "x$ac_find_libraries" = "x"; then
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26628 $as_echo_n "checking elsewhere... " >&6; }
26631 for ac_dir
in $SEARCH_LIB
26633 for ac_extension
in a so sl dylib dll.a
; do
26634 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26635 ac_find_libraries
=$ac_dir
26641 if test "x$ac_find_libraries" != "x"; then
26642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26643 $as_echo "yes" >&6; }
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26646 $as_echo "no" >&6; }
26650 elif test $pkg_failed = untried
; then
26652 if test "x$ac_find_libraries" = "x"; then
26653 if test "xXineramaQueryScreens" != "x"; then
26654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26655 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26656 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26657 $as_echo_n "(cached) " >&6
26659 ac_check_lib_save_LIBS
=$LIBS
26660 LIBS
="-lXinerama $LIBS"
26661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26662 /* end confdefs.h. */
26664 /* Override any GCC internal prototype to avoid an error.
26665 Use char because int might match the return type of a GCC
26666 builtin and then its argument prototype would still apply. */
26670 char XineramaQueryScreens ();
26674 return XineramaQueryScreens ();
26679 if ac_fn_c_try_link
"$LINENO"; then :
26680 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26682 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26684 rm -f core conftest.err conftest.
$ac_objext \
26685 conftest
$ac_exeext conftest.
$ac_ext
26686 LIBS
=$ac_check_lib_save_LIBS
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26689 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26690 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26691 ac_find_libraries
="std"
26697 if test "x$ac_find_libraries" = "x"; then
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26699 $as_echo_n "checking elsewhere... " >&6; }
26702 for ac_dir
in $SEARCH_LIB
26704 for ac_extension
in a so sl dylib dll.a
; do
26705 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26706 ac_find_libraries
=$ac_dir
26712 if test "x$ac_find_libraries" != "x"; then
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26714 $as_echo "yes" >&6; }
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26717 $as_echo "no" >&6; }
26722 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26723 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26725 $as_echo "yes" >&6; }
26727 ac_find_libraries
="std"
26729 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26730 eval fl_libs
=\
$Xinerama_LIBS
26732 for fl_path
in $fl_libs
26734 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26735 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26741 if test "$ac_find_libraries" != "" ; then
26742 if test "$ac_find_libraries" != "std" ; then
26744 if test "$ac_find_libraries" = "default location"; then
26747 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26749 if test $result = 0; then
26752 ac_path_to_link
=" -L$ac_find_libraries"
26756 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26757 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26761 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26764 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26767 elif test "$wxUSE_MSW" = 1; then
26768 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26770 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26778 if test "$wxUSE_DISPLAY" = "yes"; then
26779 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26783 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26786 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26787 if test -n "$ac_tool_prefix"; then
26788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26789 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26791 $as_echo_n "checking for $ac_word... " >&6; }
26792 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26793 $as_echo_n "(cached) " >&6
26795 case $PKG_CONFIG in
26797 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26801 for as_dir
in $PATH
26804 test -z "$as_dir" && as_dir
=.
26805 for ac_exec_ext
in '' $ac_executable_extensions; do
26806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26807 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26818 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26819 if test -n "$PKG_CONFIG"; then
26820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26821 $as_echo "$PKG_CONFIG" >&6; }
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26824 $as_echo "no" >&6; }
26829 if test -z "$ac_cv_path_PKG_CONFIG"; then
26830 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26831 # Extract the first word of "pkg-config", so it can be a program name with args.
26832 set dummy pkg
-config; ac_word
=$2
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26834 $as_echo_n "checking for $ac_word... " >&6; }
26835 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26836 $as_echo_n "(cached) " >&6
26838 case $ac_pt_PKG_CONFIG in
26840 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26844 for as_dir
in $PATH
26847 test -z "$as_dir" && as_dir
=.
26848 for ac_exec_ext
in '' $ac_executable_extensions; do
26849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26850 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26861 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26862 if test -n "$ac_pt_PKG_CONFIG"; then
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26864 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26867 $as_echo "no" >&6; }
26870 if test "x$ac_pt_PKG_CONFIG" = x
; then
26873 case $cross_compiling:$ac_tool_warned in
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26877 ac_tool_warned
=yes ;;
26879 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26882 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26886 if test -n "$PKG_CONFIG"; then
26887 _pkg_min_version
=0.9.0
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26889 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26892 $as_echo "yes" >&6; }
26894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26895 $as_echo "no" >&6; }
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26903 $as_echo_n "checking for Xxf86vm... " >&6; }
26905 if test -n "$PKG_CONFIG"; then
26906 if test -n "$Xxf86vm_CFLAGS"; then
26907 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26909 if test -n "$PKG_CONFIG" && \
26910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26911 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26914 test $ac_status = 0; }; then
26915 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26923 if test -n "$PKG_CONFIG"; then
26924 if test -n "$Xxf86vm_LIBS"; then
26925 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26927 if test -n "$PKG_CONFIG" && \
26928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26929 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26932 test $ac_status = 0; }; then
26933 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26944 if test $pkg_failed = yes; then
26946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26947 _pkg_short_errors_supported
=yes
26949 _pkg_short_errors_supported
=no
26951 if test $_pkg_short_errors_supported = yes; then
26952 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26954 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26956 # Put the nasty error message in config.log where it belongs
26957 echo "$Xxf86vm_PKG_ERRORS" >&5
26960 if test "x$ac_find_libraries" = "x"; then
26961 if test "xXF86VidModeQueryExtension" != "x"; then
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26963 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26964 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
26965 $as_echo_n "(cached) " >&6
26967 ac_check_lib_save_LIBS
=$LIBS
26968 LIBS
="-lXxf86vm $LIBS"
26969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26970 /* end confdefs.h. */
26972 /* Override any GCC internal prototype to avoid an error.
26973 Use char because int might match the return type of a GCC
26974 builtin and then its argument prototype would still apply. */
26978 char XF86VidModeQueryExtension ();
26982 return XF86VidModeQueryExtension ();
26987 if ac_fn_c_try_link
"$LINENO"; then :
26988 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26990 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26992 rm -f core conftest.err conftest.
$ac_objext \
26993 conftest
$ac_exeext conftest.
$ac_ext
26994 LIBS
=$ac_check_lib_save_LIBS
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26997 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26998 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
26999 ac_find_libraries
="std"
27005 if test "x$ac_find_libraries" = "x"; then
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27007 $as_echo_n "checking elsewhere... " >&6; }
27010 for ac_dir
in $SEARCH_LIB
27012 for ac_extension
in a so sl dylib dll.a
; do
27013 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27014 ac_find_libraries
=$ac_dir
27020 if test "x$ac_find_libraries" != "x"; then
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27022 $as_echo "yes" >&6; }
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27025 $as_echo "no" >&6; }
27029 elif test $pkg_failed = untried
; then
27031 if test "x$ac_find_libraries" = "x"; then
27032 if test "xXF86VidModeQueryExtension" != "x"; then
27033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27034 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27035 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27036 $as_echo_n "(cached) " >&6
27038 ac_check_lib_save_LIBS
=$LIBS
27039 LIBS
="-lXxf86vm $LIBS"
27040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h. */
27043 /* Override any GCC internal prototype to avoid an error.
27044 Use char because int might match the return type of a GCC
27045 builtin and then its argument prototype would still apply. */
27049 char XF86VidModeQueryExtension ();
27053 return XF86VidModeQueryExtension ();
27058 if ac_fn_c_try_link
"$LINENO"; then :
27059 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27061 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27063 rm -f core conftest.err conftest.
$ac_objext \
27064 conftest
$ac_exeext conftest.
$ac_ext
27065 LIBS
=$ac_check_lib_save_LIBS
27067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27068 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27069 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27070 ac_find_libraries
="std"
27076 if test "x$ac_find_libraries" = "x"; then
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27078 $as_echo_n "checking elsewhere... " >&6; }
27081 for ac_dir
in $SEARCH_LIB
27083 for ac_extension
in a so sl dylib dll.a
; do
27084 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27085 ac_find_libraries
=$ac_dir
27091 if test "x$ac_find_libraries" != "x"; then
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27093 $as_echo "yes" >&6; }
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27096 $as_echo "no" >&6; }
27101 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27102 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27104 $as_echo "yes" >&6; }
27106 ac_find_libraries
="std"
27108 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27109 eval fl_libs
=\
$Xxf86vm_LIBS
27111 for fl_path
in $fl_libs
27113 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27114 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27120 if test "$ac_find_libraries" != "" ; then
27121 for ac_header
in X
11/extensions
/xf86vmode.h
27123 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27124 #if HAVE_X11_XLIB_H
27125 #include <X11/Xlib.h>
27129 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27130 cat >>confdefs.h
<<_ACEOF
27131 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27144 if test "$wxUSE_DETECT_SM" = "yes"; then
27145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27149 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27152 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27153 if test -n "$ac_tool_prefix"; then
27154 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27155 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27157 $as_echo_n "checking for $ac_word... " >&6; }
27158 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27159 $as_echo_n "(cached) " >&6
27161 case $PKG_CONFIG in
27163 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27167 for as_dir
in $PATH
27170 test -z "$as_dir" && as_dir
=.
27171 for ac_exec_ext
in '' $ac_executable_extensions; do
27172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27173 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27184 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27185 if test -n "$PKG_CONFIG"; then
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27187 $as_echo "$PKG_CONFIG" >&6; }
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27190 $as_echo "no" >&6; }
27195 if test -z "$ac_cv_path_PKG_CONFIG"; then
27196 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27197 # Extract the first word of "pkg-config", so it can be a program name with args.
27198 set dummy pkg
-config; ac_word
=$2
27199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27200 $as_echo_n "checking for $ac_word... " >&6; }
27201 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27202 $as_echo_n "(cached) " >&6
27204 case $ac_pt_PKG_CONFIG in
27206 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27210 for as_dir
in $PATH
27213 test -z "$as_dir" && as_dir
=.
27214 for ac_exec_ext
in '' $ac_executable_extensions; do
27215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27216 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27227 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27228 if test -n "$ac_pt_PKG_CONFIG"; then
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27230 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27233 $as_echo "no" >&6; }
27236 if test "x$ac_pt_PKG_CONFIG" = x
; then
27239 case $cross_compiling:$ac_tool_warned in
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27243 ac_tool_warned
=yes ;;
27245 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27248 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27252 if test -n "$PKG_CONFIG"; then
27253 _pkg_min_version
=0.9.0
27254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27255 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27256 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27258 $as_echo "yes" >&6; }
27260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27261 $as_echo "no" >&6; }
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27269 $as_echo_n "checking for SM... " >&6; }
27271 if test -n "$PKG_CONFIG"; then
27272 if test -n "$SM_CFLAGS"; then
27273 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27275 if test -n "$PKG_CONFIG" && \
27276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27277 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27280 test $ac_status = 0; }; then
27281 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27289 if test -n "$PKG_CONFIG"; then
27290 if test -n "$SM_LIBS"; then
27291 pkg_cv_SM_LIBS
="$SM_LIBS"
27293 if test -n "$PKG_CONFIG" && \
27294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27295 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27298 test $ac_status = 0; }; then
27299 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27310 if test $pkg_failed = yes; then
27312 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27313 _pkg_short_errors_supported
=yes
27315 _pkg_short_errors_supported
=no
27317 if test $_pkg_short_errors_supported = yes; then
27318 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27320 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27322 # Put the nasty error message in config.log where it belongs
27323 echo "$SM_PKG_ERRORS" >&5
27326 if test "x$ac_find_libraries" = "x"; then
27327 if test "xSmcOpenConnection" != "x"; then
27328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27329 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27330 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27331 $as_echo_n "(cached) " >&6
27333 ac_check_lib_save_LIBS
=$LIBS
27335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27336 /* end confdefs.h. */
27338 /* Override any GCC internal prototype to avoid an error.
27339 Use char because int might match the return type of a GCC
27340 builtin and then its argument prototype would still apply. */
27344 char SmcOpenConnection ();
27348 return SmcOpenConnection ();
27353 if ac_fn_c_try_link
"$LINENO"; then :
27354 ac_cv_lib_SM_SmcOpenConnection
=yes
27356 ac_cv_lib_SM_SmcOpenConnection
=no
27358 rm -f core conftest.err conftest.
$ac_objext \
27359 conftest
$ac_exeext conftest.
$ac_ext
27360 LIBS
=$ac_check_lib_save_LIBS
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27363 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27364 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27365 ac_find_libraries
="std"
27371 if test "x$ac_find_libraries" = "x"; then
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27373 $as_echo_n "checking elsewhere... " >&6; }
27376 for ac_dir
in $SEARCH_LIB
27378 for ac_extension
in a so sl dylib dll.a
; do
27379 if test -f "$ac_dir/libSM.$ac_extension"; then
27380 ac_find_libraries
=$ac_dir
27386 if test "x$ac_find_libraries" != "x"; then
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27388 $as_echo "yes" >&6; }
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27391 $as_echo "no" >&6; }
27395 elif test $pkg_failed = untried
; then
27397 if test "x$ac_find_libraries" = "x"; then
27398 if test "xSmcOpenConnection" != "x"; then
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27400 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27401 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27402 $as_echo_n "(cached) " >&6
27404 ac_check_lib_save_LIBS
=$LIBS
27406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27407 /* end confdefs.h. */
27409 /* Override any GCC internal prototype to avoid an error.
27410 Use char because int might match the return type of a GCC
27411 builtin and then its argument prototype would still apply. */
27415 char SmcOpenConnection ();
27419 return SmcOpenConnection ();
27424 if ac_fn_c_try_link
"$LINENO"; then :
27425 ac_cv_lib_SM_SmcOpenConnection
=yes
27427 ac_cv_lib_SM_SmcOpenConnection
=no
27429 rm -f core conftest.err conftest.
$ac_objext \
27430 conftest
$ac_exeext conftest.
$ac_ext
27431 LIBS
=$ac_check_lib_save_LIBS
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27434 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27435 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27436 ac_find_libraries
="std"
27442 if test "x$ac_find_libraries" = "x"; then
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27444 $as_echo_n "checking elsewhere... " >&6; }
27447 for ac_dir
in $SEARCH_LIB
27449 for ac_extension
in a so sl dylib dll.a
; do
27450 if test -f "$ac_dir/libSM.$ac_extension"; then
27451 ac_find_libraries
=$ac_dir
27457 if test "x$ac_find_libraries" != "x"; then
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27459 $as_echo "yes" >&6; }
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27462 $as_echo "no" >&6; }
27467 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27468 SM_LIBS
=$pkg_cv_SM_LIBS
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27470 $as_echo "yes" >&6; }
27472 ac_find_libraries
="std"
27474 eval ac_find_cflags
=\
$SM_CFLAGS
27475 eval fl_libs
=\
$SM_LIBS
27477 for fl_path
in $fl_libs
27479 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27480 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27486 if test "$ac_find_libraries" != "" ; then
27487 if test "$ac_find_libraries" != "std" ; then
27489 if test "$ac_find_libraries" = "default location"; then
27492 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27494 if test $result = 0; then
27497 ac_path_to_link
=" -L$ac_find_libraries"
27501 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27502 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27505 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27508 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27509 wxUSE_DETECT_SM
="no"
27512 wxUSE_DETECT_SM
="no"
27519 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27522 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27523 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27524 elif test "$wxUSE_MSW" = 1; then
27525 OPENGL_LIBS
="-lopengl32 -lglu32"
27526 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27529 $as_echo_n "checking for OpenGL headers... " >&6; }
27532 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27534 if test -f "$ac_dir/GL/gl.h"; then
27535 ac_find_includes
=$ac_dir
27540 if test "$ac_find_includes" != "" ; then
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27542 $as_echo "found in $ac_find_includes" >&6; }
27544 if test "x$ac_find_includes" = "x/usr/include"; then
27545 ac_path_to_include
=""
27547 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27549 if test $result = 0; then
27550 ac_path_to_include
=""
27552 ac_path_to_include
=" -I$ac_find_includes"
27556 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27559 $as_echo "not found" >&6; }
27562 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27564 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27566 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27568 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27575 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27578 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27579 if test -n "$ac_tool_prefix"; then
27580 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27581 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27583 $as_echo_n "checking for $ac_word... " >&6; }
27584 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27585 $as_echo_n "(cached) " >&6
27587 case $PKG_CONFIG in
27589 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27593 for as_dir
in $PATH
27596 test -z "$as_dir" && as_dir
=.
27597 for ac_exec_ext
in '' $ac_executable_extensions; do
27598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27599 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27610 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27611 if test -n "$PKG_CONFIG"; then
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27613 $as_echo "$PKG_CONFIG" >&6; }
27615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27616 $as_echo "no" >&6; }
27621 if test -z "$ac_cv_path_PKG_CONFIG"; then
27622 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27623 # Extract the first word of "pkg-config", so it can be a program name with args.
27624 set dummy pkg
-config; ac_word
=$2
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27626 $as_echo_n "checking for $ac_word... " >&6; }
27627 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27628 $as_echo_n "(cached) " >&6
27630 case $ac_pt_PKG_CONFIG in
27632 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27636 for as_dir
in $PATH
27639 test -z "$as_dir" && as_dir
=.
27640 for ac_exec_ext
in '' $ac_executable_extensions; do
27641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27642 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27653 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27654 if test -n "$ac_pt_PKG_CONFIG"; then
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27656 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27659 $as_echo "no" >&6; }
27662 if test "x$ac_pt_PKG_CONFIG" = x
; then
27665 case $cross_compiling:$ac_tool_warned in
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27669 ac_tool_warned
=yes ;;
27671 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27674 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27678 if test -n "$PKG_CONFIG"; then
27679 _pkg_min_version
=0.9.0
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27681 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27682 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27684 $as_echo "yes" >&6; }
27686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27687 $as_echo "no" >&6; }
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27695 $as_echo_n "checking for GL... " >&6; }
27697 if test -n "$PKG_CONFIG"; then
27698 if test -n "$GL_CFLAGS"; then
27699 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27701 if test -n "$PKG_CONFIG" && \
27702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27703 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27706 test $ac_status = 0; }; then
27707 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27715 if test -n "$PKG_CONFIG"; then
27716 if test -n "$GL_LIBS"; then
27717 pkg_cv_GL_LIBS
="$GL_LIBS"
27719 if test -n "$PKG_CONFIG" && \
27720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27721 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27724 test $ac_status = 0; }; then
27725 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27736 if test $pkg_failed = yes; then
27738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27739 _pkg_short_errors_supported
=yes
27741 _pkg_short_errors_supported
=no
27743 if test $_pkg_short_errors_supported = yes; then
27744 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27746 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27748 # Put the nasty error message in config.log where it belongs
27749 echo "$GL_PKG_ERRORS" >&5
27752 if test "x$ac_find_libraries" = "x"; then
27753 if test "xglBegin" != "x"; then
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27755 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27756 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27757 $as_echo_n "(cached) " >&6
27759 ac_check_lib_save_LIBS
=$LIBS
27761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h. */
27764 /* Override any GCC internal prototype to avoid an error.
27765 Use char because int might match the return type of a GCC
27766 builtin and then its argument prototype would still apply. */
27779 if ac_fn_c_try_link
"$LINENO"; then :
27780 ac_cv_lib_GL_glBegin
=yes
27782 ac_cv_lib_GL_glBegin
=no
27784 rm -f core conftest.err conftest.
$ac_objext \
27785 conftest
$ac_exeext conftest.
$ac_ext
27786 LIBS
=$ac_check_lib_save_LIBS
27788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27789 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27790 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27791 ac_find_libraries
="std"
27797 if test "x$ac_find_libraries" = "x"; then
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27799 $as_echo_n "checking elsewhere... " >&6; }
27802 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27804 for ac_extension
in a so sl dylib dll.a
; do
27805 if test -f "$ac_dir/libGL.$ac_extension"; then
27806 ac_find_libraries
=$ac_dir
27812 if test "x$ac_find_libraries" != "x"; then
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27814 $as_echo "yes" >&6; }
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27817 $as_echo "no" >&6; }
27821 elif test $pkg_failed = untried
; then
27823 if test "x$ac_find_libraries" = "x"; then
27824 if test "xglBegin" != "x"; then
27825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27826 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27827 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27828 $as_echo_n "(cached) " >&6
27830 ac_check_lib_save_LIBS
=$LIBS
27832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27835 /* Override any GCC internal prototype to avoid an error.
27836 Use char because int might match the return type of a GCC
27837 builtin and then its argument prototype would still apply. */
27850 if ac_fn_c_try_link
"$LINENO"; then :
27851 ac_cv_lib_GL_glBegin
=yes
27853 ac_cv_lib_GL_glBegin
=no
27855 rm -f core conftest.err conftest.
$ac_objext \
27856 conftest
$ac_exeext conftest.
$ac_ext
27857 LIBS
=$ac_check_lib_save_LIBS
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27860 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27861 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27862 ac_find_libraries
="std"
27868 if test "x$ac_find_libraries" = "x"; then
27869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27870 $as_echo_n "checking elsewhere... " >&6; }
27873 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27875 for ac_extension
in a so sl dylib dll.a
; do
27876 if test -f "$ac_dir/libGL.$ac_extension"; then
27877 ac_find_libraries
=$ac_dir
27883 if test "x$ac_find_libraries" != "x"; then
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27885 $as_echo "yes" >&6; }
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27888 $as_echo "no" >&6; }
27893 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27894 GL_LIBS
=$pkg_cv_GL_LIBS
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27896 $as_echo "yes" >&6; }
27898 ac_find_libraries
="std"
27900 eval ac_find_cflags
=\
$GL_CFLAGS
27901 eval fl_libs
=\
$GL_LIBS
27903 for fl_path
in $fl_libs
27905 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27906 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27912 if test "$ac_find_libraries" != "" ; then
27913 if test "$ac_find_libraries" != "std" ; then
27915 if test "$ac_find_libraries" = "default location"; then
27918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27920 if test $result = 0; then
27923 ac_path_to_link
=" -L$ac_find_libraries"
27927 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27928 LDFLAGS_GL
="$ac_path_to_link"
27935 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27938 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27939 if test -n "$ac_tool_prefix"; then
27940 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27941 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27943 $as_echo_n "checking for $ac_word... " >&6; }
27944 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27945 $as_echo_n "(cached) " >&6
27947 case $PKG_CONFIG in
27949 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27953 for as_dir
in $PATH
27956 test -z "$as_dir" && as_dir
=.
27957 for ac_exec_ext
in '' $ac_executable_extensions; do
27958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27959 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27970 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27971 if test -n "$PKG_CONFIG"; then
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27973 $as_echo "$PKG_CONFIG" >&6; }
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27976 $as_echo "no" >&6; }
27981 if test -z "$ac_cv_path_PKG_CONFIG"; then
27982 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27983 # Extract the first word of "pkg-config", so it can be a program name with args.
27984 set dummy pkg
-config; ac_word
=$2
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27986 $as_echo_n "checking for $ac_word... " >&6; }
27987 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27988 $as_echo_n "(cached) " >&6
27990 case $ac_pt_PKG_CONFIG in
27992 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27996 for as_dir
in $PATH
27999 test -z "$as_dir" && as_dir
=.
28000 for ac_exec_ext
in '' $ac_executable_extensions; do
28001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28002 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28013 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28014 if test -n "$ac_pt_PKG_CONFIG"; then
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28016 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28019 $as_echo "no" >&6; }
28022 if test "x$ac_pt_PKG_CONFIG" = x
; then
28025 case $cross_compiling:$ac_tool_warned in
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28029 ac_tool_warned
=yes ;;
28031 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28034 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28038 if test -n "$PKG_CONFIG"; then
28039 _pkg_min_version
=0.9.0
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28041 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28042 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28044 $as_echo "yes" >&6; }
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28047 $as_echo "no" >&6; }
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28055 $as_echo_n "checking for GLU... " >&6; }
28057 if test -n "$PKG_CONFIG"; then
28058 if test -n "$GLU_CFLAGS"; then
28059 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28061 if test -n "$PKG_CONFIG" && \
28062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28063 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28066 test $ac_status = 0; }; then
28067 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28075 if test -n "$PKG_CONFIG"; then
28076 if test -n "$GLU_LIBS"; then
28077 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28079 if test -n "$PKG_CONFIG" && \
28080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28081 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28084 test $ac_status = 0; }; then
28085 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28096 if test $pkg_failed = yes; then
28098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28099 _pkg_short_errors_supported
=yes
28101 _pkg_short_errors_supported
=no
28103 if test $_pkg_short_errors_supported = yes; then
28104 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28106 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28108 # Put the nasty error message in config.log where it belongs
28109 echo "$GLU_PKG_ERRORS" >&5
28112 if test "x$ac_find_libraries" = "x"; then
28113 if test "xgluBeginCurve" != "x"; then
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28115 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28116 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28117 $as_echo_n "(cached) " >&6
28119 ac_check_lib_save_LIBS
=$LIBS
28121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28122 /* end confdefs.h. */
28124 /* Override any GCC internal prototype to avoid an error.
28125 Use char because int might match the return type of a GCC
28126 builtin and then its argument prototype would still apply. */
28130 char gluBeginCurve ();
28134 return gluBeginCurve ();
28139 if ac_fn_c_try_link
"$LINENO"; then :
28140 ac_cv_lib_GLU_gluBeginCurve
=yes
28142 ac_cv_lib_GLU_gluBeginCurve
=no
28144 rm -f core conftest.err conftest.
$ac_objext \
28145 conftest
$ac_exeext conftest.
$ac_ext
28146 LIBS
=$ac_check_lib_save_LIBS
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28149 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28150 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28151 ac_find_libraries
="std"
28157 if test "x$ac_find_libraries" = "x"; then
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28159 $as_echo_n "checking elsewhere... " >&6; }
28162 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28164 for ac_extension
in a so sl dylib dll.a
; do
28165 if test -f "$ac_dir/libGLU.$ac_extension"; then
28166 ac_find_libraries
=$ac_dir
28172 if test "x$ac_find_libraries" != "x"; then
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28174 $as_echo "yes" >&6; }
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28177 $as_echo "no" >&6; }
28181 elif test $pkg_failed = untried
; then
28183 if test "x$ac_find_libraries" = "x"; then
28184 if test "xgluBeginCurve" != "x"; then
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28186 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28187 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28188 $as_echo_n "(cached) " >&6
28190 ac_check_lib_save_LIBS
=$LIBS
28192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28193 /* end confdefs.h. */
28195 /* Override any GCC internal prototype to avoid an error.
28196 Use char because int might match the return type of a GCC
28197 builtin and then its argument prototype would still apply. */
28201 char gluBeginCurve ();
28205 return gluBeginCurve ();
28210 if ac_fn_c_try_link
"$LINENO"; then :
28211 ac_cv_lib_GLU_gluBeginCurve
=yes
28213 ac_cv_lib_GLU_gluBeginCurve
=no
28215 rm -f core conftest.err conftest.
$ac_objext \
28216 conftest
$ac_exeext conftest.
$ac_ext
28217 LIBS
=$ac_check_lib_save_LIBS
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28220 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28221 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28222 ac_find_libraries
="std"
28228 if test "x$ac_find_libraries" = "x"; then
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28230 $as_echo_n "checking elsewhere... " >&6; }
28233 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28235 for ac_extension
in a so sl dylib dll.a
; do
28236 if test -f "$ac_dir/libGLU.$ac_extension"; then
28237 ac_find_libraries
=$ac_dir
28243 if test "x$ac_find_libraries" != "x"; then
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28245 $as_echo "yes" >&6; }
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28248 $as_echo "no" >&6; }
28253 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28254 GLU_LIBS
=$pkg_cv_GLU_LIBS
28255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28256 $as_echo "yes" >&6; }
28258 ac_find_libraries
="std"
28260 eval ac_find_cflags
=\
$GLU_CFLAGS
28261 eval fl_libs
=\
$GLU_LIBS
28263 for fl_path
in $fl_libs
28265 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28266 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28272 if test "$ac_find_libraries" != "" ; then
28273 if test "$ac_find_libraries" != "std" ; then
28275 if test "$ac_find_libraries" = "default location"; then
28278 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28280 if test $result = 0; then
28283 ac_path_to_link
=" -L$ac_find_libraries"
28287 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28288 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28289 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28294 OPENGL_LIBS
="-lGL -lGLU"
28298 if test "$found_gl" != 1; then
28302 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28306 if test -n "$ac_tool_prefix"; then
28307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28308 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28310 $as_echo_n "checking for $ac_word... " >&6; }
28311 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28312 $as_echo_n "(cached) " >&6
28314 case $PKG_CONFIG in
28316 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28320 for as_dir
in $PATH
28323 test -z "$as_dir" && as_dir
=.
28324 for ac_exec_ext
in '' $ac_executable_extensions; do
28325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28326 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28337 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28338 if test -n "$PKG_CONFIG"; then
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28340 $as_echo "$PKG_CONFIG" >&6; }
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28343 $as_echo "no" >&6; }
28348 if test -z "$ac_cv_path_PKG_CONFIG"; then
28349 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28350 # Extract the first word of "pkg-config", so it can be a program name with args.
28351 set dummy pkg
-config; ac_word
=$2
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28353 $as_echo_n "checking for $ac_word... " >&6; }
28354 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28355 $as_echo_n "(cached) " >&6
28357 case $ac_pt_PKG_CONFIG in
28359 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28363 for as_dir
in $PATH
28366 test -z "$as_dir" && as_dir
=.
28367 for ac_exec_ext
in '' $ac_executable_extensions; do
28368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28369 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28380 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28381 if test -n "$ac_pt_PKG_CONFIG"; then
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28383 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28386 $as_echo "no" >&6; }
28389 if test "x$ac_pt_PKG_CONFIG" = x
; then
28392 case $cross_compiling:$ac_tool_warned in
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28396 ac_tool_warned
=yes ;;
28398 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28401 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28405 if test -n "$PKG_CONFIG"; then
28406 _pkg_min_version
=0.9.0
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28408 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28409 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28411 $as_echo "yes" >&6; }
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28414 $as_echo "no" >&6; }
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28422 $as_echo_n "checking for MesaGL... " >&6; }
28424 if test -n "$PKG_CONFIG"; then
28425 if test -n "$MesaGL_CFLAGS"; then
28426 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28428 if test -n "$PKG_CONFIG" && \
28429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28430 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28433 test $ac_status = 0; }; then
28434 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28442 if test -n "$PKG_CONFIG"; then
28443 if test -n "$MesaGL_LIBS"; then
28444 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28446 if test -n "$PKG_CONFIG" && \
28447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28448 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28451 test $ac_status = 0; }; then
28452 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28463 if test $pkg_failed = yes; then
28465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28466 _pkg_short_errors_supported
=yes
28468 _pkg_short_errors_supported
=no
28470 if test $_pkg_short_errors_supported = yes; then
28471 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28473 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28475 # Put the nasty error message in config.log where it belongs
28476 echo "$MesaGL_PKG_ERRORS" >&5
28479 if test "x$ac_find_libraries" = "x"; then
28480 if test "xglEnable" != "x"; then
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28482 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28483 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28484 $as_echo_n "(cached) " >&6
28486 ac_check_lib_save_LIBS
=$LIBS
28487 LIBS
="-lMesaGL $LIBS"
28488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h. */
28491 /* Override any GCC internal prototype to avoid an error.
28492 Use char because int might match the return type of a GCC
28493 builtin and then its argument prototype would still apply. */
28501 return glEnable ();
28506 if ac_fn_c_try_link
"$LINENO"; then :
28507 ac_cv_lib_MesaGL_glEnable
=yes
28509 ac_cv_lib_MesaGL_glEnable
=no
28511 rm -f core conftest.err conftest.
$ac_objext \
28512 conftest
$ac_exeext conftest.
$ac_ext
28513 LIBS
=$ac_check_lib_save_LIBS
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28516 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28517 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28518 ac_find_libraries
="std"
28524 if test "x$ac_find_libraries" = "x"; then
28525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28526 $as_echo_n "checking elsewhere... " >&6; }
28529 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28531 for ac_extension
in a so sl dylib dll.a
; do
28532 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28533 ac_find_libraries
=$ac_dir
28539 if test "x$ac_find_libraries" != "x"; then
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28541 $as_echo "yes" >&6; }
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28544 $as_echo "no" >&6; }
28548 elif test $pkg_failed = untried
; then
28550 if test "x$ac_find_libraries" = "x"; then
28551 if test "xglEnable" != "x"; then
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28553 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28554 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28555 $as_echo_n "(cached) " >&6
28557 ac_check_lib_save_LIBS
=$LIBS
28558 LIBS
="-lMesaGL $LIBS"
28559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28560 /* end confdefs.h. */
28562 /* Override any GCC internal prototype to avoid an error.
28563 Use char because int might match the return type of a GCC
28564 builtin and then its argument prototype would still apply. */
28572 return glEnable ();
28577 if ac_fn_c_try_link
"$LINENO"; then :
28578 ac_cv_lib_MesaGL_glEnable
=yes
28580 ac_cv_lib_MesaGL_glEnable
=no
28582 rm -f core conftest.err conftest.
$ac_objext \
28583 conftest
$ac_exeext conftest.
$ac_ext
28584 LIBS
=$ac_check_lib_save_LIBS
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28587 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28588 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28589 ac_find_libraries
="std"
28595 if test "x$ac_find_libraries" = "x"; then
28596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28597 $as_echo_n "checking elsewhere... " >&6; }
28600 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28602 for ac_extension
in a so sl dylib dll.a
; do
28603 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28604 ac_find_libraries
=$ac_dir
28610 if test "x$ac_find_libraries" != "x"; then
28611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28612 $as_echo "yes" >&6; }
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28615 $as_echo "no" >&6; }
28620 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28621 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28623 $as_echo "yes" >&6; }
28625 ac_find_libraries
="std"
28627 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28628 eval fl_libs
=\
$MesaGL_LIBS
28630 for fl_path
in $fl_libs
28632 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28633 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28639 if test "$ac_find_libraries" != "" ; then
28640 if test "$ac_find_libraries" != "std" ; then
28642 if test "$ac_find_libraries" = "default location"; then
28645 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28647 if test $result = 0; then
28650 ac_path_to_link
=" -L$ac_find_libraries"
28654 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28655 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28658 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28670 if test "x$OPENGL_LIBS" = "x"; then
28671 if test "$wxUSE_OPENGL" = "yes"; then
28672 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28675 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28682 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28686 if test "$wxUSE_OPENGL" = "auto"; then
28690 if test "$wxUSE_OPENGL" = "yes"; then
28692 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28694 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28701 if test -n "$TOOLKIT" ; then
28702 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28707 if test "$wxUSE_SHARED" = "yes"; then
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28712 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28717 if test "$wxUSE_SHARED" = "yes"; then
28721 *-*-cygwin* | *-*-mingw* )
28722 wx_cv_version_script
=no
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28727 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28728 if ${wx_cv_version_script+:} false
; then :
28729 $as_echo_n "(cached) " >&6
28732 echo "VER_1 { *; };" >conftest.sym
28733 echo "int main() { return 0; }" >conftest.cpp
28736 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28737 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28738 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28739 (eval $ac_try) 2>&5
28741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742 test $ac_status = 0; }; } ; then
28743 if test -s conftest.stderr
; then
28744 wx_cv_version_script
=no
28746 wx_cv_version_script
=yes
28749 wx_cv_version_script
=no
28752 if test $wx_cv_version_script = yes
28754 echo "struct B { virtual ~B() { } }; \
28755 struct D : public B { }; \
28756 void F() { D d; }" > conftest.cpp
28759 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28760 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28761 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28762 (eval $ac_try) 2>&5
28764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28765 test $ac_status = 0; }; } &&
28767 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28768 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28769 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28770 (eval $ac_try) 2>&5
28772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28773 test $ac_status = 0; }; }
28776 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28777 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28778 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28779 (eval $ac_try) 2>&5
28781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28782 test $ac_status = 0; }; }
28784 wx_cv_version_script
=yes
28786 wx_cv_version_script
=no
28791 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28792 rm -f conftest1.output conftest2.output conftest3.output
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28796 $as_echo "$wx_cv_version_script" >&6; }
28798 if test $wx_cv_version_script = yes ; then
28799 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28805 if test "$wxUSE_VISIBILITY" != "no"; then
28808 if test -n "$GCC"; then
28809 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28810 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28812 $as_echo_n "checking for symbols visibility support... " >&6; }
28813 if ${wx_cv_cc_visibility+:} false
; then :
28814 $as_echo_n "(cached) " >&6
28817 wx_save_CXXFLAGS
="$CXXFLAGS"
28818 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28820 ac_cpp
='$CXXCPP $CPPFLAGS'
28821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28828 /* we need gcc >= 4.0, older versions with visibility support
28829 didn't have class visibility: */
28830 #if defined(__GNUC__) && __GNUC__ < 4
28831 error this gcc is too old;
28834 /* visibility only makes sense for ELF shared libs: */
28835 #if !defined(__ELF__) && !defined(__APPLE__)
28836 error this platform has no visibility;
28839 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28840 #if defined(__clang__)
28841 clang compiler is still broken w.r.t. visibility;
28844 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28845 extern __attribute__((__visibility__("default"))) int exportedvar;
28846 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28847 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28848 class __attribute__((__visibility__("default"))) Foo {
28860 if ac_fn_cxx_try_compile
"$LINENO"; then :
28861 wx_cv_cc_visibility
=yes
28863 wx_cv_cc_visibility
=no
28865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28867 ac_cpp
='$CPP $CPPFLAGS'
28868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28872 CXXFLAGS
="$wx_save_CXXFLAGS"
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28876 $as_echo "$wx_cv_cc_visibility" >&6; }
28877 if test $wx_cv_cc_visibility = yes; then
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28879 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28880 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
28881 $as_echo_n "(cached) " >&6
28884 wx_save_CXXFLAGS
="$CXXFLAGS"
28885 wx_save_LDFLAGS
="$LDFLAGS"
28886 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28887 LDFLAGS
="$LDFLAGS -shared -fPIC"
28889 ac_cpp
='$CXXCPP $CPPFLAGS'
28890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28895 /* end confdefs.h. */
28903 std::string s("hello");
28910 if ac_fn_cxx_try_link
"$LINENO"; then :
28911 wx_cv_cc_broken_libstdcxx_visibility
=no
28913 wx_cv_cc_broken_libstdcxx_visibility
=yes
28915 rm -f core conftest.err conftest.
$ac_objext \
28916 conftest
$ac_exeext conftest.
$ac_ext
28918 ac_cpp
='$CPP $CPPFLAGS'
28919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28923 CXXFLAGS
="$wx_save_CXXFLAGS"
28924 LDFLAGS
="$wx_save_LDFLAGS"
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28928 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28930 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28932 $as_echo_n "checking whether we can work around it... " >&6; }
28933 if ${wx_cv_cc_visibility_workaround+:} false
; then :
28934 $as_echo_n "(cached) " >&6
28938 ac_cpp
='$CXXCPP $CPPFLAGS'
28939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28944 /* end confdefs.h. */
28946 #pragma GCC visibility push(default)
28948 #pragma GCC visibility pop
28954 std::string s("hello");
28961 if ac_fn_cxx_try_link
"$LINENO"; then :
28962 wx_cv_cc_visibility_workaround
=no
28964 wx_cv_cc_visibility_workaround
=yes
28966 rm -f core conftest.err conftest.
$ac_objext \
28967 conftest
$ac_exeext conftest.
$ac_ext
28969 ac_cpp
='$CPP $CPPFLAGS'
28970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28978 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28980 if test $wx_cv_cc_visibility_workaround = no
; then
28981 wx_cv_cc_visibility
=no
28986 if test $wx_cv_cc_visibility = yes; then
28987 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28989 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28990 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28994 CFLAGS_VISIBILITY
=""
28995 CXXFLAGS_VISIBILITY
=""
29003 if test "x$SUNCXX" = xyes
; then
29004 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29005 WXCONFIG_RPATH
="-R\$libdir"
29008 *-*-linux* | *-*-gnu* )
29009 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29010 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29015 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29017 saveLdflags
="$LDFLAGS"
29018 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29020 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29022 /* end confdefs.h. */
29032 if ac_fn_c_try_link
"$LINENO"; then :
29034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29035 $as_echo "yes" >&6; }
29036 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29037 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29042 $as_echo "no" >&6; }
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29044 $as_echo_n "checking if the linker accepts -R... " >&6; }
29045 LDFLAGS
="$saveLdflags -Wl,-R,/"
29046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29047 /* end confdefs.h. */
29057 if ac_fn_c_try_link
"$LINENO"; then :
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29060 $as_echo "yes" >&6; }
29061 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29062 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29067 $as_echo "no" >&6; }
29070 rm -f core conftest.err conftest.
$ac_objext \
29071 conftest
$ac_exeext conftest.
$ac_ext
29074 rm -f core conftest.err conftest.
$ac_objext \
29075 conftest
$ac_exeext conftest.
$ac_ext
29076 LDFLAGS
="$saveLdflags"
29080 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29081 if test "$install_name_tool" -a -x "$install_name_tool"; then
29082 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29083 cat <<EOF >change-install-names
29085 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29086 for i in \${libnames} ; do
29087 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29088 for dep in \${libnames} ; do
29089 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29093 chmod +x change
-install-names
29094 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29097 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29100 *-*-cygwin* | *-*-mingw32* )
29104 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29105 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29111 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29113 if test $wxUSE_RPATH = "no"; then
29114 SAMPLES_RPATH_FLAG
=''
29115 DYLIB_PATH_POSTLINK
=''
29123 config_linkage_component
="-static"
29130 lib_unicode_suffix
=
29132 if test "$wxUSE_UNICODE" = "yes"; then
29133 lib_unicode_suffix
=u
29134 WX_CHARTYPE
="unicode"
29138 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29139 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29142 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29146 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29148 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29150 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29153 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29154 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29156 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29158 if test "${TOOLKIT_DIR}" = "os2"; then
29159 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29161 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29166 if test "$wxUSE_OLD_COCOA" = 1; then
29169 ac_cpp
='$CPP $CPPFLAGS'
29170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29177 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 #include <AppKit/NSEvent.h>
29181 #include <CoreFoundation/CoreFoundation.h>
29191 if ac_fn_c_try_compile
"$LINENO"; then :
29192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29193 $as_echo "no" >&6; }
29195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29196 $as_echo "yes" >&6; }
29197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29198 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29200 /* end confdefs.h. */
29201 #define __Point__ 1
29202 #include <AppKit/NSEvent.h>
29203 #include <CoreFoundation/CoreFoundation.h>
29213 if ac_fn_c_try_compile
"$LINENO"; then :
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29215 $as_echo "yes" >&6; }
29216 $as_echo "#define __Point__ 1" >>confdefs.h
29220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29223 See \`config.log' for more details" "$LINENO" 5; }
29226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29231 ac_cpp
='$CPP $CPPFLAGS'
29232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29239 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29240 if test "x$ac_cv_type_mode_t" = xyes
; then :
29244 cat >>confdefs.h
<<_ACEOF
29250 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29251 if test "x$ac_cv_type_off_t" = xyes
; then :
29255 cat >>confdefs.h
<<_ACEOF
29256 #define off_t long int
29261 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29262 if test "x$ac_cv_type_pid_t" = xyes
; then :
29266 cat >>confdefs.h
<<_ACEOF
29272 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29273 if test "x$ac_cv_type_size_t" = xyes
; then :
29277 cat >>confdefs.h
<<_ACEOF
29278 #define size_t unsigned int
29284 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29285 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29287 cat >>confdefs.h
<<_ACEOF
29288 #define HAVE_SSIZE_T 1
29296 ac_cpp
='$CXXCPP $CPPFLAGS'
29297 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29301 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29302 if ${wx_cv_size_t_is_uint+:} false
; then :
29303 $as_echo_n "(cached) " >&6
29306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29307 /* end confdefs.h. */
29308 #include <stddef.h>
29315 struct Foo { void foo(size_t); void foo(unsigned int); };
29323 if ac_fn_cxx_try_compile
"$LINENO"; then :
29324 wx_cv_size_t_is_uint
=no
29326 wx_cv_size_t_is_uint
=yes
29329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29334 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29336 if test "$wx_cv_size_t_is_uint" = "yes"; then
29337 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29341 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29342 if ${wx_cv_size_t_is_ulong+:} false
; then :
29343 $as_echo_n "(cached) " >&6
29345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29346 /* end confdefs.h. */
29347 #include <stddef.h>
29354 struct Foo { void foo(size_t); void foo(unsigned long); };
29362 if ac_fn_cxx_try_compile
"$LINENO"; then :
29363 wx_cv_size_t_is_ulong
=no
29365 wx_cv_size_t_is_ulong
=yes
29368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29372 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29374 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29375 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29381 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29382 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29383 $as_echo_n "(cached) " >&6
29385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29386 /* end confdefs.h. */
29394 struct Foo { void foo(wchar_t);
29395 void foo(unsigned short);
29396 void foo(unsigned int);
29397 void foo(unsigned long); };
29405 if ac_fn_cxx_try_compile
"$LINENO"; then :
29406 wx_cv_wchar_t_is_separate_type
=yes
29408 wx_cv_wchar_t_is_separate_type
=no
29411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29415 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29417 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29418 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29421 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29426 ac_cpp
='$CPP $CPPFLAGS'
29427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29433 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29434 if ${wx_cv_struct_pw_gecos+:} false
; then :
29435 $as_echo_n "(cached) " >&6
29438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h. */
29453 if ac_fn_c_try_compile
"$LINENO"; then :
29455 wx_cv_struct_pw_gecos
=yes
29459 wx_cv_struct_pw_gecos
=no
29463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29468 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29470 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29471 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29478 for ac_func
in wcslen
29480 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29481 if test "x$ac_cv_func_wcslen" = xyes
; then :
29482 cat >>confdefs.h
<<_ACEOF
29483 #define HAVE_WCSLEN 1
29490 if test "$WCSLEN_FOUND" = 0; then
29491 if test "$TOOLKIT" = "MSW"; then
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29493 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29494 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29495 $as_echo_n "(cached) " >&6
29497 ac_check_lib_save_LIBS
=$LIBS
29498 LIBS
="-lmsvcrt $LIBS"
29499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29500 /* end confdefs.h. */
29502 /* Override any GCC internal prototype to avoid an error.
29503 Use char because int might match the return type of a GCC
29504 builtin and then its argument prototype would still apply. */
29517 if ac_fn_c_try_link
"$LINENO"; then :
29518 ac_cv_lib_msvcrt_wcslen
=yes
29520 ac_cv_lib_msvcrt_wcslen
=no
29522 rm -f core conftest.err conftest.
$ac_objext \
29523 conftest
$ac_exeext conftest.
$ac_ext
29524 LIBS
=$ac_check_lib_save_LIBS
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29527 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29528 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29534 $as_echo_n "checking for wcslen in -lw... " >&6; }
29535 if ${ac_cv_lib_w_wcslen+:} false
; then :
29536 $as_echo_n "(cached) " >&6
29538 ac_check_lib_save_LIBS
=$LIBS
29540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29541 /* end confdefs.h. */
29543 /* Override any GCC internal prototype to avoid an error.
29544 Use char because int might match the return type of a GCC
29545 builtin and then its argument prototype would still apply. */
29558 if ac_fn_c_try_link
"$LINENO"; then :
29559 ac_cv_lib_w_wcslen
=yes
29561 ac_cv_lib_w_wcslen
=no
29563 rm -f core conftest.err conftest.
$ac_objext \
29564 conftest
$ac_exeext conftest.
$ac_ext
29565 LIBS
=$ac_check_lib_save_LIBS
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29568 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29569 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29579 if test "$WCSLEN_FOUND" = 1; then
29580 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29584 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29586 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29587 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29588 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29589 cat >>confdefs.h
<<_ACEOF
29590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29597 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29598 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29601 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29603 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29605 cat >>confdefs.h
<<_ACEOF
29606 #define HAVE_MBSTATE_T 1
29609 for ac_func
in wcsrtombs
29611 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29612 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29613 cat >>confdefs.h
<<_ACEOF
29614 #define HAVE_WCSRTOMBS 1
29623 for ac_func
in snprintf vsnprintf vsscanf
29625 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29626 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29627 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29628 cat >>confdefs.h
<<_ACEOF
29629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29637 ac_cpp
='$CXXCPP $CPPFLAGS'
29638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29642 if test "$ac_cv_func_vsnprintf" = "yes"; then
29643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29644 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29645 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29646 $as_echo_n "(cached) " >&6
29649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29650 /* end confdefs.h. */
29653 #include <stdarg.h>
29661 vsnprintf(buf, 10u, "%s", ap);
29667 if ac_fn_cxx_try_compile
"$LINENO"; then :
29668 wx_cv_func_vsnprintf_decl
=yes
29670 wx_cv_func_vsnprintf_decl
=no
29673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29678 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29680 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29681 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29685 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29686 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29687 $as_echo_n "(cached) " >&6
29690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29694 #include <stdarg.h>
29696 #if __MSL__ >= 0x6000
29698 using namespace std;
29708 const char *fmt = "%s";
29709 vsnprintf(buf, 10u, fmt, ap);
29715 if ac_fn_cxx_try_compile
"$LINENO"; then :
29716 wx_cv_func_broken_vsnprintf_decl
=no
29718 wx_cv_func_broken_vsnprintf_decl
=yes
29721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29726 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29728 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29729 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29735 if test "$ac_cv_func_snprintf" = "yes"; then
29736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29737 $as_echo_n "checking for snprintf declaration... " >&6; }
29738 if ${wx_cv_func_snprintf_decl+:} false
; then :
29739 $as_echo_n "(cached) " >&6
29742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29743 /* end confdefs.h. */
29746 #include <stdarg.h>
29748 #if __MSL__ >= 0x6000
29750 using namespace std;
29759 snprintf(buf, 10u, "%s", "wx");
29765 if ac_fn_cxx_try_compile
"$LINENO"; then :
29766 wx_cv_func_snprintf_decl
=yes
29768 wx_cv_func_snprintf_decl
=no
29771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29776 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29778 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29779 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29783 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29786 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29787 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29788 $as_echo_n "(cached) " >&6
29791 if test "$cross_compiling" = yes; then :
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29794 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29795 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29796 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29797 wx_cv_func_snprintf_pos_params
=no
29801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29809 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29810 if (strcmp ("2 3 1", buffer) == 0)
29816 if ac_fn_cxx_try_run
"$LINENO"; then :
29817 wx_cv_func_snprintf_pos_params
=no
29819 wx_cv_func_snprintf_pos_params
=yes
29821 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29822 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29829 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29831 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29832 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29838 if test "$ac_cv_func_vsscanf" = "yes"; then
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29840 $as_echo_n "checking for vsscanf declaration... " >&6; }
29841 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29842 $as_echo_n "(cached) " >&6
29845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29846 /* end confdefs.h. */
29849 #include <stdarg.h>
29851 #if __MSL__ >= 0x6000
29853 using namespace std;
29863 vsscanf(buf, "%s", args);
29869 if ac_fn_cxx_try_compile
"$LINENO"; then :
29870 wx_cv_func_vsscanf_decl
=yes
29872 wx_cv_func_vsscanf_decl
=no
29875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29880 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29882 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29883 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29888 ac_cpp
='$CPP $CPPFLAGS'
29889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29894 if test "$wxUSE_UNICODE" = yes; then
29896 wchar_headers
="#include <stdio.h>
29897 #include <wchar.h>"
29900 for ac_header
in widec.h
29902 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29904 if test "x$ac_cv_header_widec_h" = xyes
; then :
29905 cat >>confdefs.h
<<_ACEOF
29906 #define HAVE_WIDEC_H 1
29913 if test "$ac_cv_header_widec_h" = "yes"; then
29914 wchar_headers
="$wchar_headers
29915 #include <widec.h>"
29920 for wx_func
in putws fputws wprintf vswprintf vswscanf
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29923 $as_echo_n "checking for $wx_func... " >&6; }
29924 if eval \
${wx_cv_func_$wx_func+:} false
; then :
29925 $as_echo_n "(cached) " >&6
29928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29929 /* end confdefs.h. */
29933 $ac_includes_default
29949 if ac_fn_c_try_link
"$LINENO"; then :
29950 eval wx_cv_func_
$wx_func=yes
29952 eval wx_cv_func_
$wx_func=no
29954 rm -f core conftest.err conftest.
$ac_objext \
29955 conftest
$ac_exeext conftest.
$ac_ext
29958 eval ac_res
=\
$wx_cv_func_$wx_func
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29960 $as_echo "$ac_res" >&6; }
29962 if eval test \
$wx_cv_func_$wx_func = yes
29964 cat >>confdefs.h
<<_ACEOF
29965 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29977 $as_echo_n "checking for _vsnwprintf... " >&6; }
29978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29989 if ac_fn_c_try_compile
"$LINENO"; then :
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29991 $as_echo "yes" >&6; }
29992 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29996 $as_echo "no" >&6; }
29998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30001 if test "$wxUSE_FILE" = "yes"; then
30003 for wx_func
in fsync
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30006 $as_echo_n "checking for $wx_func... " >&6; }
30007 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30008 $as_echo_n "(cached) " >&6
30011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30012 /* end confdefs.h. */
30016 $ac_includes_default
30032 if ac_fn_c_try_link
"$LINENO"; then :
30033 eval wx_cv_func_
$wx_func=yes
30035 eval wx_cv_func_
$wx_func=no
30037 rm -f core conftest.err conftest.
$ac_objext \
30038 conftest
$ac_exeext conftest.
$ac_ext
30041 eval ac_res
=\
$wx_cv_func_$wx_func
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30043 $as_echo "$ac_res" >&6; }
30045 if eval test \
$wx_cv_func_$wx_func = yes
30047 cat >>confdefs.h
<<_ACEOF
30048 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30061 ac_cpp
='$CXXCPP $CPPFLAGS'
30062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30067 for wx_func
in round
30069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30070 $as_echo_n "checking for $wx_func... " >&6; }
30071 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30072 $as_echo_n "(cached) " >&6
30075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30076 /* end confdefs.h. */
30080 $ac_includes_default
30096 if ac_fn_cxx_try_link
"$LINENO"; then :
30097 eval wx_cv_func_
$wx_func=yes
30099 eval wx_cv_func_
$wx_func=no
30101 rm -f core conftest.err conftest.
$ac_objext \
30102 conftest
$ac_exeext conftest.
$ac_ext
30105 eval ac_res
=\
$wx_cv_func_$wx_func
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30107 $as_echo "$ac_res" >&6; }
30109 if eval test \
$wx_cv_func_$wx_func = yes
30111 cat >>confdefs.h
<<_ACEOF
30112 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30123 ac_cpp
='$CPP $CPPFLAGS'
30124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30129 if test "$TOOLKIT" != "MSW"; then
30131 if test "$wxUSE_LIBICONV" != "no" ; then
30135 # Check whether --with-libiconv-prefix was given.
30136 if test "${with_libiconv_prefix+set}" = set; then :
30137 withval
=$with_libiconv_prefix;
30138 for dir
in `echo "$withval" | tr : ' '`; do
30139 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30140 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30147 $as_echo_n "checking for iconv... " >&6; }
30148 if ${am_cv_func_iconv+:} false
; then :
30149 $as_echo_n "(cached) " >&6
30152 am_cv_func_iconv
="no, consider installing GNU libiconv"
30154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30155 /* end confdefs.h. */
30156 #include <stdlib.h>
30161 iconv_t cd = iconv_open("","");
30162 iconv(cd,NULL,NULL,NULL,NULL);
30168 if ac_fn_c_try_link
"$LINENO"; then :
30169 am_cv_func_iconv
=yes
30171 rm -f core conftest.err conftest.
$ac_objext \
30172 conftest
$ac_exeext conftest.
$ac_ext
30173 if test "$am_cv_func_iconv" != yes; then
30174 am_save_LIBS
="$LIBS"
30175 LIBS
="$LIBS -liconv"
30176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30177 /* end confdefs.h. */
30178 #include <stdlib.h>
30183 iconv_t cd = iconv_open("","");
30184 iconv(cd,NULL,NULL,NULL,NULL);
30190 if ac_fn_c_try_link
"$LINENO"; then :
30191 am_cv_lib_iconv
=yes
30192 am_cv_func_iconv
=yes
30194 rm -f core conftest.err conftest.
$ac_objext \
30195 conftest
$ac_exeext conftest.
$ac_ext
30196 LIBS
="$am_save_LIBS"
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30201 $as_echo "$am_cv_func_iconv" >&6; }
30202 if test "$am_cv_func_iconv" = yes; then
30204 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30207 $as_echo_n "checking if iconv needs const... " >&6; }
30208 if ${wx_cv_func_iconv_const+:} false
; then :
30209 $as_echo_n "(cached) " >&6
30211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30214 #include <stdlib.h>
30220 #if defined(__STDC__) || defined(__cplusplus)
30221 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30234 if ac_fn_c_try_compile
"$LINENO"; then :
30235 wx_cv_func_iconv_const
="no"
30237 wx_cv_func_iconv_const
="yes"
30240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30244 $as_echo "$wx_cv_func_iconv_const" >&6; }
30247 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30248 iconv_const
="const"
30252 cat >>confdefs.h
<<_ACEOF
30253 #define ICONV_CONST $iconv_const
30258 if test "$am_cv_lib_iconv" = yes; then
30263 LIBS
="$LIBICONV $LIBS"
30266 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30267 for ac_func
in sigaction
30269 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30270 if test "x$ac_cv_func_sigaction" = xyes
; then :
30271 cat >>confdefs.h
<<_ACEOF
30272 #define HAVE_SIGACTION 1
30279 if test "$ac_cv_func_sigaction" = "no"; then
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30281 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30282 wxUSE_ON_FATAL_EXCEPTION
=no
30285 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30287 $as_echo_n "checking for sa_handler type... " >&6; }
30288 if ${wx_cv_type_sa_handler+:} false
; then :
30289 $as_echo_n "(cached) " >&6
30293 ac_cpp
='$CXXCPP $CPPFLAGS'
30294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300 #include <signal.h>
30305 extern void testSigHandler(int);
30307 struct sigaction sa;
30308 sa.sa_handler = testSigHandler;
30314 if ac_fn_cxx_try_compile
"$LINENO"; then :
30316 wx_cv_type_sa_handler
=int
30320 wx_cv_type_sa_handler
=void
30323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30325 ac_cpp
='$CPP $CPPFLAGS'
30326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30333 $as_echo "$wx_cv_type_sa_handler" >&6; }
30335 cat >>confdefs.h
<<_ACEOF
30336 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30342 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30344 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30345 if ${wx_cv_func_backtrace+:} false
; then :
30346 $as_echo_n "(cached) " >&6
30350 ac_cpp
='$CXXCPP $CPPFLAGS'
30351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30356 /* end confdefs.h. */
30357 #include <execinfo.h>
30365 backtrace(trace, 1);
30366 messages = backtrace_symbols(trace, 1);
30372 if ac_fn_cxx_try_compile
"$LINENO"; then :
30373 wx_cv_func_backtrace
=yes
30375 wx_cv_func_backtrace
=no
30378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30380 ac_cpp
='$CPP $CPPFLAGS'
30381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30389 $as_echo "$wx_cv_func_backtrace" >&6; }
30392 if test "$wx_cv_func_backtrace" = "no"; then
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30394 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30395 wxUSE_STACKWALKER
=no
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30398 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30399 if ${wx_cv_func_cxa_demangle+:} false
; then :
30400 $as_echo_n "(cached) " >&6
30404 ac_cpp
='$CXXCPP $CPPFLAGS'
30405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h. */
30411 #include <cxxabi.h>
30417 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30423 if ac_fn_cxx_try_link
"$LINENO"; then :
30424 wx_cv_func_cxa_demangle
=yes
30426 wx_cv_func_cxa_demangle
=no
30429 rm -f core conftest.err conftest.
$ac_objext \
30430 conftest
$ac_exeext conftest.
$ac_ext
30432 ac_cpp
='$CPP $CPPFLAGS'
30433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30441 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30443 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30444 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30450 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30452 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30453 wxUSE_STACKWALKER
=no
30457 for ac_func
in mkstemp mktemp
30459 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30460 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30461 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30462 cat >>confdefs.h
<<_ACEOF
30463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30471 $as_echo_n "checking for statfs... " >&6; }
30472 if ${wx_cv_func_statfs+:} false
; then :
30473 $as_echo_n "(cached) " >&6
30475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30476 /* end confdefs.h. */
30478 #if defined(__BSD__)
30479 #include <sys/param.h>
30480 #include <sys/mount.h>
30482 #include <sys/vfs.h>
30500 if ac_fn_c_try_compile
"$LINENO"; then :
30501 wx_cv_func_statfs
=yes
30503 wx_cv_func_statfs
=no
30506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30510 $as_echo "$wx_cv_func_statfs" >&6; }
30512 if test "$wx_cv_func_statfs" = "yes"; then
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30514 $as_echo_n "checking for statfs declaration... " >&6; }
30515 if ${wx_cv_func_statfs_decl+:} false
; then :
30516 $as_echo_n "(cached) " >&6
30519 ac_cpp
='$CXXCPP $CPPFLAGS'
30520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30525 /* end confdefs.h. */
30527 #if defined(__BSD__)
30528 #include <sys/param.h>
30529 #include <sys/mount.h>
30531 #include <sys/vfs.h>
30545 if ac_fn_cxx_try_compile
"$LINENO"; then :
30546 wx_cv_func_statfs_decl
=yes
30548 wx_cv_func_statfs_decl
=no
30551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30553 ac_cpp
='$CPP $CPPFLAGS'
30554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30561 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30563 if test "$wx_cv_func_statfs_decl" = "yes"; then
30564 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30568 wx_cv_type_statvfs_t
="struct statfs"
30569 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30573 $as_echo_n "checking for statvfs... " >&6; }
30574 if ${wx_cv_func_statvfs+:} false
; then :
30575 $as_echo_n "(cached) " >&6
30577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30578 /* end confdefs.h. */
30580 #include <stddef.h>
30581 #include <sys/statvfs.h>
30587 statvfs("/", NULL);
30593 if ac_fn_c_try_compile
"$LINENO"; then :
30594 wx_cv_func_statvfs
=yes
30596 wx_cv_func_statvfs
=no
30599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30603 $as_echo "$wx_cv_func_statvfs" >&6; }
30605 if test "$wx_cv_func_statvfs" = "yes"; then
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30607 $as_echo_n "checking for statvfs argument type... " >&6; }
30608 if ${wx_cv_type_statvfs_t+:} false
; then :
30609 $as_echo_n "(cached) " >&6
30612 ac_cpp
='$CXXCPP $CPPFLAGS'
30613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30620 #include <sys/statvfs.h>
30637 if ac_fn_cxx_try_compile
"$LINENO"; then :
30638 wx_cv_type_statvfs_t
=statvfs_t
30641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30642 /* end confdefs.h. */
30644 #include <sys/statvfs.h>
30661 if ac_fn_cxx_try_compile
"$LINENO"; then :
30662 wx_cv_type_statvfs_t
="struct statvfs"
30664 wx_cv_type_statvfs_t
="unknown"
30667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30673 ac_cpp
='$CPP $CPPFLAGS'
30674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30681 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30683 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30684 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30688 wx_cv_type_statvfs_t
="unknown"
30692 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30693 cat >>confdefs.h
<<_ACEOF
30694 #define WX_STATFS_T $wx_cv_type_statvfs_t
30698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30699 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30702 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30703 for ac_func
in fcntl flock
30705 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30706 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30707 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30708 cat >>confdefs.h
<<_ACEOF
30709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30716 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30718 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30719 wxUSE_SNGLINST_CHECKER
=no
30723 for ac_func
in setenv putenv
30725 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30727 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30728 cat >>confdefs.h
<<_ACEOF
30729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30735 if test "$ac_cv_func_setenv" = "yes"; then
30736 for ac_func
in unsetenv
30738 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30739 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30740 cat >>confdefs.h
<<_ACEOF
30741 #define HAVE_UNSETENV 1
30749 HAVE_SOME_SLEEP_FUNC
=0
30750 if test "$USE_BEOS" = 1; then
30751 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30753 HAVE_SOME_SLEEP_FUNC
=1
30756 if test "$USE_DARWIN" = 1; then
30757 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30759 HAVE_SOME_SLEEP_FUNC
=1
30762 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30764 for ac_func
in nanosleep
30766 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30767 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30768 cat >>confdefs.h
<<_ACEOF
30769 #define HAVE_NANOSLEEP 1
30771 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30776 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30777 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30778 $as_echo_n "(cached) " >&6
30780 ac_check_lib_save_LIBS
=$LIBS
30781 LIBS
="-lposix4 $LIBS"
30782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h. */
30785 /* Override any GCC internal prototype to avoid an error.
30786 Use char because int might match the return type of a GCC
30787 builtin and then its argument prototype would still apply. */
30795 return nanosleep ();
30800 if ac_fn_c_try_link
"$LINENO"; then :
30801 ac_cv_lib_posix4_nanosleep
=yes
30803 ac_cv_lib_posix4_nanosleep
=no
30805 rm -f core conftest.err conftest.
$ac_objext \
30806 conftest
$ac_exeext conftest.
$ac_ext
30807 LIBS
=$ac_check_lib_save_LIBS
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30810 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30811 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
30813 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30815 POSIX4_LINK
=" -lposix4"
30820 for wx_func
in usleep
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30823 $as_echo_n "checking for $wx_func... " >&6; }
30824 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30825 $as_echo_n "(cached) " >&6
30828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30829 /* end confdefs.h. */
30833 $ac_includes_default
30849 if ac_fn_c_try_link
"$LINENO"; then :
30850 eval wx_cv_func_
$wx_func=yes
30852 eval wx_cv_func_
$wx_func=no
30854 rm -f core conftest.err conftest.
$ac_objext \
30855 conftest
$ac_exeext conftest.
$ac_ext
30858 eval ac_res
=\
$wx_cv_func_$wx_func
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30860 $as_echo "$ac_res" >&6; }
30862 if eval test \
$wx_cv_func_$wx_func = yes
30864 cat >>confdefs.h
<<_ACEOF
30865 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30872 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30889 for wx_func
in uname
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30892 $as_echo_n "checking for $wx_func... " >&6; }
30893 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30894 $as_echo_n "(cached) " >&6
30897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30898 /* end confdefs.h. */
30901 #include <sys/utsname.h>
30902 $ac_includes_default
30918 if ac_fn_c_try_link
"$LINENO"; then :
30919 eval wx_cv_func_
$wx_func=yes
30921 eval wx_cv_func_
$wx_func=no
30923 rm -f core conftest.err conftest.
$ac_objext \
30924 conftest
$ac_exeext conftest.
$ac_ext
30927 eval ac_res
=\
$wx_cv_func_$wx_func
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30929 $as_echo "$ac_res" >&6; }
30931 if eval test \
$wx_cv_func_$wx_func = yes
30933 cat >>confdefs.h
<<_ACEOF
30934 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30944 if test "$wx_cv_func_uname" != yes; then
30946 for wx_func
in gethostname
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30949 $as_echo_n "checking for $wx_func... " >&6; }
30950 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30951 $as_echo_n "(cached) " >&6
30954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30955 /* end confdefs.h. */
30959 $ac_includes_default
30975 if ac_fn_c_try_link
"$LINENO"; then :
30976 eval wx_cv_func_
$wx_func=yes
30978 eval wx_cv_func_
$wx_func=no
30980 rm -f core conftest.err conftest.
$ac_objext \
30981 conftest
$ac_exeext conftest.
$ac_ext
30984 eval ac_res
=\
$wx_cv_func_$wx_func
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30986 $as_echo "$ac_res" >&6; }
30988 if eval test \
$wx_cv_func_$wx_func = yes
30990 cat >>confdefs.h
<<_ACEOF
30991 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31004 for wx_func
in strtok_r
31006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31007 $as_echo_n "checking for $wx_func... " >&6; }
31008 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31009 $as_echo_n "(cached) " >&6
31012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h. */
31017 $ac_includes_default
31033 if ac_fn_c_try_link
"$LINENO"; then :
31034 eval wx_cv_func_
$wx_func=yes
31036 eval wx_cv_func_
$wx_func=no
31038 rm -f core conftest.err conftest.
$ac_objext \
31039 conftest
$ac_exeext conftest.
$ac_ext
31042 eval ac_res
=\
$wx_cv_func_$wx_func
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31044 $as_echo "$ac_res" >&6; }
31046 if eval test \
$wx_cv_func_$wx_func = yes
31048 cat >>confdefs.h
<<_ACEOF
31049 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31061 for ac_func
in inet_addr
31063 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31064 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31065 cat >>confdefs.h
<<_ACEOF
31066 #define HAVE_INET_ADDR 1
31068 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31073 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31074 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31075 $as_echo_n "(cached) " >&6
31077 ac_check_lib_save_LIBS
=$LIBS
31079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31080 /* end confdefs.h. */
31082 /* Override any GCC internal prototype to avoid an error.
31083 Use char because int might match the return type of a GCC
31084 builtin and then its argument prototype would still apply. */
31092 return inet_addr ();
31097 if ac_fn_c_try_link
"$LINENO"; then :
31098 ac_cv_lib_nsl_inet_addr
=yes
31100 ac_cv_lib_nsl_inet_addr
=no
31102 rm -f core conftest.err conftest.
$ac_objext \
31103 conftest
$ac_exeext conftest.
$ac_ext
31104 LIBS
=$ac_check_lib_save_LIBS
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31107 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31108 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31113 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31114 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31115 $as_echo_n "(cached) " >&6
31117 ac_check_lib_save_LIBS
=$LIBS
31118 LIBS
="-lresolv $LIBS"
31119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h. */
31122 /* Override any GCC internal prototype to avoid an error.
31123 Use char because int might match the return type of a GCC
31124 builtin and then its argument prototype would still apply. */
31132 return inet_addr ();
31137 if ac_fn_c_try_link
"$LINENO"; then :
31138 ac_cv_lib_resolv_inet_addr
=yes
31140 ac_cv_lib_resolv_inet_addr
=no
31142 rm -f core conftest.err conftest.
$ac_objext \
31143 conftest
$ac_exeext conftest.
$ac_ext
31144 LIBS
=$ac_check_lib_save_LIBS
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31147 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31148 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31153 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31154 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31155 $as_echo_n "(cached) " >&6
31157 ac_check_lib_save_LIBS
=$LIBS
31158 LIBS
="-lsocket $LIBS"
31159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h. */
31162 /* Override any GCC internal prototype to avoid an error.
31163 Use char because int might match the return type of a GCC
31164 builtin and then its argument prototype would still apply. */
31172 return inet_addr ();
31177 if ac_fn_c_try_link
"$LINENO"; then :
31178 ac_cv_lib_socket_inet_addr
=yes
31180 ac_cv_lib_socket_inet_addr
=no
31182 rm -f core conftest.err conftest.
$ac_objext \
31183 conftest
$ac_exeext conftest.
$ac_ext
31184 LIBS
=$ac_check_lib_save_LIBS
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31187 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31188 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31207 for ac_func
in inet_aton
31209 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31210 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31211 cat >>confdefs.h
<<_ACEOF
31212 #define HAVE_INET_ATON 1
31214 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31218 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31220 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31221 if eval \
${$as_ac_Lib+:} false
; then :
31222 $as_echo_n "(cached) " >&6
31224 ac_check_lib_save_LIBS
=$LIBS
31225 LIBS
="-l$INET_LINK $LIBS"
31226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31227 /* end confdefs.h. */
31229 /* Override any GCC internal prototype to avoid an error.
31230 Use char because int might match the return type of a GCC
31231 builtin and then its argument prototype would still apply. */
31239 return inet_aton ();
31244 if ac_fn_c_try_link
"$LINENO"; then :
31245 eval "$as_ac_Lib=yes"
31247 eval "$as_ac_Lib=no"
31249 rm -f core conftest.err conftest.
$ac_objext \
31250 conftest
$ac_exeext conftest.
$ac_ext
31251 LIBS
=$ac_check_lib_save_LIBS
31253 eval ac_res
=\$
$as_ac_Lib
31254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31255 $as_echo "$ac_res" >&6; }
31256 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31257 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31266 if test "x$INET_LINK" != "x"; then
31267 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31269 INET_LINK
=" -l$INET_LINK"
31273 for wx_func
in fdopen
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31276 $as_echo_n "checking for $wx_func... " >&6; }
31277 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31278 $as_echo_n "(cached) " >&6
31281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31282 /* end confdefs.h. */
31286 $ac_includes_default
31302 if ac_fn_c_try_link
"$LINENO"; then :
31303 eval wx_cv_func_
$wx_func=yes
31305 eval wx_cv_func_
$wx_func=no
31307 rm -f core conftest.err conftest.
$ac_objext \
31308 conftest
$ac_exeext conftest.
$ac_ext
31311 eval ac_res
=\
$wx_cv_func_$wx_func
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31313 $as_echo "$ac_res" >&6; }
31315 if eval test \
$wx_cv_func_$wx_func = yes
31317 cat >>confdefs.h
<<_ACEOF
31318 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31329 if test "$wxUSE_TARSTREAM" = "yes"; then
31331 for wx_func
in sysconf
31333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31334 $as_echo_n "checking for $wx_func... " >&6; }
31335 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31336 $as_echo_n "(cached) " >&6
31339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31340 /* end confdefs.h. */
31344 $ac_includes_default
31360 if ac_fn_c_try_link
"$LINENO"; then :
31361 eval wx_cv_func_
$wx_func=yes
31363 eval wx_cv_func_
$wx_func=no
31365 rm -f core conftest.err conftest.
$ac_objext \
31366 conftest
$ac_exeext conftest.
$ac_ext
31369 eval ac_res
=\
$wx_cv_func_$wx_func
31370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31371 $as_echo "$ac_res" >&6; }
31373 if eval test \
$wx_cv_func_$wx_func = yes
31375 cat >>confdefs.h
<<_ACEOF
31376 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31388 for wx_func
in getpwuid_r
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31391 $as_echo_n "checking for $wx_func... " >&6; }
31392 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31393 $as_echo_n "(cached) " >&6
31396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31404 $ac_includes_default
31414 struct passwd pw, *ppw;
31416 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31424 if ac_fn_c_try_link
"$LINENO"; then :
31425 eval wx_cv_func_
$wx_func=yes
31427 eval wx_cv_func_
$wx_func=no
31429 rm -f core conftest.err conftest.
$ac_objext \
31430 conftest
$ac_exeext conftest.
$ac_ext
31433 eval ac_res
=\
$wx_cv_func_$wx_func
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31435 $as_echo "$ac_res" >&6; }
31437 if eval test \
$wx_cv_func_$wx_func = yes
31439 cat >>confdefs.h
<<_ACEOF
31440 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31452 for wx_func
in getgrgid_r
31454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31455 $as_echo_n "checking for $wx_func... " >&6; }
31456 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31457 $as_echo_n "(cached) " >&6
31460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31461 /* end confdefs.h. */
31468 $ac_includes_default
31478 struct group grp, *pgrp;
31480 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31488 if ac_fn_c_try_link
"$LINENO"; then :
31489 eval wx_cv_func_
$wx_func=yes
31491 eval wx_cv_func_
$wx_func=no
31493 rm -f core conftest.err conftest.
$ac_objext \
31494 conftest
$ac_exeext conftest.
$ac_ext
31497 eval ac_res
=\
$wx_cv_func_$wx_func
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31499 $as_echo "$ac_res" >&6; }
31501 if eval test \
$wx_cv_func_$wx_func = yes
31503 cat >>confdefs.h
<<_ACEOF
31504 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31520 cat >confcache
<<\_ACEOF
31521 # This file is a shell script that caches the results of configure
31522 # tests run on this system so they can be shared between configure
31523 # scripts and configure runs, see configure's option --config-cache.
31524 # It is not useful on other systems. If it contains results you don't
31525 # want to keep, you may remove or edit it.
31527 # config.status only pays attention to the cache file if you give it
31528 # the --recheck option to rerun configure.
31530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31532 # following values.
31536 # The following way of writing the cache mishandles newlines in values,
31537 # but we know of no workaround that is simple, portable, and efficient.
31538 # So, we kill variables containing newlines.
31539 # Ultrix sh set writes to stderr and can't be redirected directly,
31540 # and sets the high bit in the cache file unless we assign to the vars.
31542 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31543 eval ac_val
=\$
$ac_var
31547 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31551 _
| IFS
| as_nl
) ;; #(
31552 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31553 *) { eval $ac_var=; unset $ac_var;} ;;
31559 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31560 *${as_nl}ac_space
=\
*)
31561 # `set' does not quote correctly, so add quotes: double-quote
31562 # substitution turns \\\\ into \\, and sed turns \\ into \.
31565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31568 # `set' quotes correctly as required by POSIX, so do not add quotes.
31569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31582 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31583 if test -w "$cache_file"; then
31584 if test "x$cache_file" != "x/dev/null"; then
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31586 $as_echo "$as_me: updating cache $cache_file" >&6;}
31587 if test ! -f "$cache_file" || test -h "$cache_file"; then
31588 cat confcache
>"$cache_file"
31590 case $cache_file in #(
31592 mv -f confcache
"$cache_file"$$
&&
31593 mv -f "$cache_file"$$
"$cache_file" ;; #(
31595 mv -f confcache
"$cache_file" ;;
31600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31607 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31613 if test "$wxUSE_THREADS" = "yes" ; then
31614 if test "$USE_BEOS" = 1; then
31615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31616 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31621 if test "$wxUSE_THREADS" = "yes" ; then
31624 THREAD_OPTS
="-pthread"
31625 if test "x$SUNCXX" = xyes
; then
31626 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31630 *-*-solaris2* | *-*-sunos4* )
31631 if test "x$GCC" = "xyes"; then
31632 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31636 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31638 *-*-darwin* | *-*-cygwin* )
31642 THREAD_OPTS
="pthreads"
31645 if test "x$GCC" = "xyes"; then
31646 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31654 if test "x$GCC" = "xyes"; then
31664 if test "x$GCC" != "xyes"; then
31665 THREAD_OPTS
="-Ethread"
31672 THREAD_OPTS
="none pthread"
31676 THREAD_OPTS
="$THREAD_OPTS pthread none"
31681 for flag
in $THREAD_OPTS; do
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31685 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31690 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31691 THREADS_CFLAGS
="$flag"
31695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31696 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31697 THREADS_LINK
="-l$flag"
31702 save_CFLAGS
="$CFLAGS"
31703 LIBS
="$THREADS_LINK $LIBS"
31704 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31707 /* end confdefs.h. */
31708 #include <pthread.h>
31712 pthread_create(0,0,0,0);
31717 if ac_fn_c_try_link
"$LINENO"; then :
31720 rm -f core conftest.err conftest.
$ac_objext \
31721 conftest
$ac_exeext conftest.
$ac_ext
31724 CFLAGS
="$save_CFLAGS"
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31727 $as_echo "$THREADS_OK" >&6; }
31728 if test "x$THREADS_OK" = "xyes"; then
31736 if test "x$THREADS_OK" != "xyes"; then
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31739 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31741 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31742 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31743 LIBS
="$THREADS_LINK $LIBS"
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31746 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31750 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31751 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31752 flag
="-D_THREAD_SAFE"
31755 flag
="-D_THREAD_SAFE"
31758 flag
="-D_REENTRANT"
31759 if test "x$GCC" != "xyes"; then
31760 flag
="$flag -D_RWSTD_MULTI_THREAD"
31763 *solaris
* | alpha
*-osf*)
31764 flag
="-D_REENTRANT"
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31768 $as_echo "${flag}" >&6; }
31769 if test "x$flag" != xno
; then
31770 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31773 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31777 if test "$wxUSE_THREADS" = "yes" ; then
31778 for ac_func
in pthread_setconcurrency
31780 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31781 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31782 cat >>confdefs.h
<<_ACEOF
31783 #define HAVE_PTHREAD_SETCONCURRENCY 1
31785 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31789 for ac_func
in thr_setconcurrency
31791 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31792 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31793 cat >>confdefs.h
<<_ACEOF
31794 #define HAVE_THR_SETCONCURRENCY 1
31796 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31800 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31810 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31811 if ${wx_cv_func_pthread_cleanup+:} false
; then :
31812 $as_echo_n "(cached) " >&6
31816 ac_cpp
='$CXXCPP $CPPFLAGS'
31817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31822 /* end confdefs.h. */
31823 #include <pthread.h>
31824 void ThreadCleanupFunc(void *p);
31831 pthread_cleanup_push(ThreadCleanupFunc, p);
31832 pthread_cleanup_pop(0);
31838 if ac_fn_cxx_try_compile
"$LINENO"; then :
31840 wx_cv_func_pthread_cleanup
=yes
31844 wx_cv_func_pthread_cleanup
=no
31848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31850 ac_cpp
='$CPP $CPPFLAGS'
31851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31858 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31859 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31860 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31864 for ac_header
in sched.h
31866 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31868 if test "x$ac_cv_header_sched_h" = xyes
; then :
31869 cat >>confdefs.h
<<_ACEOF
31870 #define HAVE_SCHED_H 1
31877 if test "$ac_cv_header_sched_h" = "yes"; then
31878 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31879 if test "x$ac_cv_func_sched_yield" = xyes
; then :
31880 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31885 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31886 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
31887 $as_echo_n "(cached) " >&6
31889 ac_check_lib_save_LIBS
=$LIBS
31890 LIBS
="-lposix4 $LIBS"
31891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31894 /* Override any GCC internal prototype to avoid an error.
31895 Use char because int might match the return type of a GCC
31896 builtin and then its argument prototype would still apply. */
31900 char sched_yield ();
31904 return sched_yield ();
31909 if ac_fn_c_try_link
"$LINENO"; then :
31910 ac_cv_lib_posix4_sched_yield
=yes
31912 ac_cv_lib_posix4_sched_yield
=no
31914 rm -f core conftest.err conftest.
$ac_objext \
31915 conftest
$ac_exeext conftest.
$ac_ext
31916 LIBS
=$ac_check_lib_save_LIBS
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31919 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31920 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
31921 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31922 POSIX4_LINK
=" -lposix4"
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31925 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31936 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31937 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
31938 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31939 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
31940 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31941 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31945 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31946 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
31947 $as_echo_n "(cached) " >&6
31949 ac_check_lib_save_LIBS
=$LIBS
31950 LIBS
="-lposix4 $LIBS"
31951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31952 /* end confdefs.h. */
31954 /* Override any GCC internal prototype to avoid an error.
31955 Use char because int might match the return type of a GCC
31956 builtin and then its argument prototype would still apply. */
31960 char sched_get_priority_max ();
31964 return sched_get_priority_max ();
31969 if ac_fn_c_try_link
"$LINENO"; then :
31970 ac_cv_lib_posix4_sched_get_priority_max
=yes
31972 ac_cv_lib_posix4_sched_get_priority_max
=no
31974 rm -f core conftest.err conftest.
$ac_objext \
31975 conftest
$ac_exeext conftest.
$ac_ext
31976 LIBS
=$ac_check_lib_save_LIBS
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31979 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31980 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
31983 POSIX4_LINK
=" -lposix4"
31997 if test "$HAVE_PRIOR_FUNCS" = 1; then
31998 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32002 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32005 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32006 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32007 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32011 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32015 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32016 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32017 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32021 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32025 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32026 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32027 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32034 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32035 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32036 $as_echo_n "(cached) " >&6
32039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32040 /* end confdefs.h. */
32041 #include <pthread.h>
32046 pthread_mutexattr_t attr;
32047 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32053 if ac_fn_c_try_compile
"$LINENO"; then :
32054 wx_cv_type_pthread_mutexattr_t
=yes
32056 wx_cv_type_pthread_mutexattr_t
=no
32059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32063 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32065 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32066 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32070 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32071 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32072 $as_echo_n "(cached) " >&6
32075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32076 /* end confdefs.h. */
32077 #include <pthread.h>
32082 pthread_mutexattr_t attr;
32083 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32089 if ac_fn_c_try_compile
"$LINENO"; then :
32090 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32092 wx_cv_func_pthread_mutexattr_settype_decl
=no
32095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32099 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32100 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32101 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32106 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32107 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32108 $as_echo_n "(cached) " >&6
32111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32112 /* end confdefs.h. */
32113 #include <pthread.h>
32118 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32124 if ac_fn_c_try_compile
"$LINENO"; then :
32126 wx_cv_type_pthread_rec_mutex_init
=yes
32130 wx_cv_type_pthread_rec_mutex_init
=no
32134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32138 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32139 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32140 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32144 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32148 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32149 if test "$USE_NETBSD" = 1; then
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32151 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32152 wxUSE_COMPILER_TLS
=no
32154 wxUSE_COMPILER_TLS
=yes
32158 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32160 $as_echo_n "checking for __thread keyword... " >&6; }
32161 if ${wx_cv_cc___thread+:} false
; then :
32162 $as_echo_n "(cached) " >&6
32165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <pthread.h>
32172 static __thread int n = 0;
32173 static __thread int *p = 0;
32179 if ac_fn_c_try_compile
"$LINENO"; then :
32180 wx_cv_cc___thread
=yes
32182 wx_cv_cc___thread
=no
32185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32190 $as_echo "$wx_cv_cc___thread" >&6; }
32192 if test "$wx_cv_cc___thread" = "yes"; then
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32199 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32201 if test "x$GCC" = "xyes" ; then :
32203 if test -z "" ; then :
32205 ax_gcc_option_test
="int main()
32212 ax_gcc_option_test
=""
32216 # Dump the test program to file
32217 cat <<EOF > conftest.c
32218 $ax_gcc_option_test
32221 # Dump back the file to the log, useful for debugging purposes
32222 { ac_try
='cat conftest.c 1>&5'
32223 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32224 (eval $ac_try) 2>&5
32226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32227 test $ac_status = 0; }; }
32229 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32230 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32231 (eval $ac_try) 2>&5
32233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32234 test $ac_status = 0; }; } ; then :
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32237 $as_echo "yes" >&6; }
32239 ax_gcc_version_option
=yes
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32245 $as_echo "no" >&6; }
32247 ax_gcc_version_option
=no
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32255 $as_echo "no gcc available" >&6; }
32259 if test "x$GXX" = "xyes"; then :
32261 if test "x$ax_gxx_version_option" != "no"; then :
32263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32264 $as_echo_n "checking gxx version... " >&6; }
32265 if ${ax_cv_gxx_version+:} false
; then :
32266 $as_echo_n "(cached) " >&6
32269 ax_cv_gxx_version
="`$CXX -dumpversion`"
32270 if test "x$ax_cv_gxx_version" = "x"; then :
32272 ax_cv_gxx_version
=""
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32278 $as_echo "$ax_cv_gxx_version" >&6; }
32279 GXX_VERSION
=$ax_cv_gxx_version
32286 if test -n "$ax_cv_gxx_version"; then
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32288 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32289 case "$ax_cv_gxx_version" in
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32292 $as_echo "no, it's broken" >&6; }
32293 wx_cv_cc___thread
=no
32296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32297 $as_echo "yes, it works" >&6; }
32303 if test "$wx_cv_cc___thread" = "yes"; then
32304 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32311 if test "$wxUSE_THREADS" = "yes" ; then
32313 x86_64
-*-mingw32* )
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32317 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32318 if ${wx_cv_cflags_mthread+:} false
; then :
32319 $as_echo_n "(cached) " >&6
32322 CFLAGS_OLD
="$CFLAGS"
32323 CFLAGS
="-mthreads $CFLAGS"
32324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32325 /* end confdefs.h. */
32335 if ac_fn_c_try_compile
"$LINENO"; then :
32336 wx_cv_cflags_mthread
=yes
32338 wx_cv_cflags_mthread
=no
32341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32346 $as_echo "$wx_cv_cflags_mthread" >&6; }
32348 if test "$wx_cv_cflags_mthread" = "yes"; then
32349 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32350 LDFLAGS
="$LDFLAGS -mthreads"
32352 CFLAGS
="$CFLAGS_OLD"
32356 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32357 LDFLAGS
="$LDFLAGS -Zmt"
32363 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32364 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32365 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32369 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32370 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32371 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32379 ac_cpp
='$CPP $CPPFLAGS'
32380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32385 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32387 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32388 $as_echo_n "(cached) " >&6
32392 ################################################################
32394 ac_cv_func_which_gethostbyname_r
=unknown
32397 # ONE ARGUMENT (sanity check)
32400 # This should fail, as there is no variant of gethostbyname_r() that takes
32401 # a single argument. If it actually compiles, then we can assume that
32402 # netdb.h is not declaring the function, and the compiler is thereby
32403 # assuming an implicit prototype. In which case, we're out of luck.
32405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h. */
32412 char *name = "www.gnu.org";
32413 (void)gethostbyname_r(name) /* ; */
32420 if ac_fn_c_try_compile
"$LINENO"; then :
32421 ac_cv_func_which_gethostbyname_r
=no
32424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32431 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32434 /* end confdefs.h. */
32440 char *name = "www.gnu.org";
32441 struct hostent ret, *retp;
32445 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32452 if ac_fn_c_try_compile
"$LINENO"; then :
32453 ac_cv_func_which_gethostbyname_r
=six
32456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32465 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h. */
32474 char *name = "www.gnu.org";
32475 struct hostent ret;
32479 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32486 if ac_fn_c_try_compile
"$LINENO"; then :
32487 ac_cv_func_which_gethostbyname_r
=five
32490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32496 # (e.g. AIX, HP-UX, Tru64)
32499 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32502 /* end confdefs.h. */
32508 char *name = "www.gnu.org";
32509 struct hostent ret;
32510 struct hostent_data data;
32511 (void)gethostbyname_r(name, &ret, &data) /* ; */
32518 if ac_fn_c_try_compile
"$LINENO"; then :
32519 ac_cv_func_which_gethostbyname_r
=three
32522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32526 ################################################################
32531 case "$ac_cv_func_which_gethostbyname_r" in
32533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32534 $as_echo "three" >&6; }
32535 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32541 $as_echo "five" >&6; }
32542 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32548 $as_echo "six" >&6; }
32549 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32555 $as_echo "cannot find function declaration in netdb.h" >&6; }
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32560 $as_echo "can't tell" >&6; }
32564 as_fn_error $?
"internal error" "$LINENO" 5
32569 ac_cpp
='$CPP $CPPFLAGS'
32570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32576 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32577 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32578 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32579 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32580 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32587 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32588 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32589 $as_echo_n "(cached) " >&6
32593 ac_cpp
='$CXXCPP $CPPFLAGS'
32594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32600 /* end confdefs.h. */
32608 struct servent *se, *res;
32611 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32617 if ac_fn_cxx_try_compile
"$LINENO"; then :
32618 ac_cv_func_which_getservbyname_r
=six
32621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32622 /* end confdefs.h. */
32630 struct servent *se;
32633 (void) getservbyname_r(name, proto, se, buffer, buflen)
32639 if ac_fn_cxx_try_compile
"$LINENO"; then :
32640 ac_cv_func_which_getservbyname_r
=five
32643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32644 /* end confdefs.h. */
32652 struct servent *se;
32653 struct servent_data data;
32654 (void) getservbyname_r(name, proto, se, &data);
32660 if ac_fn_cxx_try_compile
"$LINENO"; then :
32661 ac_cv_func_which_getservbyname_r
=four
32663 ac_cv_func_which_getservbyname_r
=no
32666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32676 ac_cpp
='$CPP $CPPFLAGS'
32677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32685 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32687 if test $ac_cv_func_which_getservbyname_r = six
; then
32688 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32690 elif test $ac_cv_func_which_getservbyname_r = five
; then
32691 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32693 elif test $ac_cv_func_which_getservbyname_r = four
; then
32694 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32699 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32700 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32701 for ac_func
in getservbyname
32703 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32704 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32705 cat >>confdefs.h
<<_ACEOF
32706 #define HAVE_GETSERVBYNAME 1
32708 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32715 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32718 if test "$wxUSE_THREADS" = "yes"; then
32719 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32724 if test "$wx_cv_func_strtok_r" = "yes"; then
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32726 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32727 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32728 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32730 $as_echo "yes" >&6; }
32732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32733 $as_echo "no" >&6; }
32738 if test "$WXGTK3" = 1 ; then
32739 cat >>confdefs.h
<<_ACEOF
32740 #define __WXGTK3__ 1
32745 if test "$WXGTK2" = 1 ; then
32746 cat >>confdefs.h
<<_ACEOF
32747 #define __WXGTK20__ $WXGTK2
32752 if test "$WXGTK127" = 1 ; then
32753 cat >>confdefs.h
<<_ACEOF
32754 #define __WXGTK127__ $WXGTK127
32759 if test "$WXGPE" = 1 ; then
32760 cat >>confdefs.h
<<_ACEOF
32761 #define __WXGPE__ $WXGPE
32767 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32769 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32770 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32774 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32775 wxUSE_DEBUG_INFO
=yes
32776 if test "$GCC" = yes; then
32777 DEBUG_CFLAGS
="-ggdb"
32781 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32782 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32784 if test "$wxUSE_GTK" = 1 ; then
32785 if test "$WXGTK2" = 1 ; then
32786 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32788 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32793 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32794 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32796 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32798 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32803 if test "$wxUSE_DMALLOC" = "yes" ; then
32804 DMALLOC_LIBS
="-ldmallocthcxx"
32808 if test "$wxUSE_PROFILE" = "yes" ; then
32809 PROFILE_FLAGS
=" -pg"
32812 if test "$GCC" = "yes" ; then
32813 if test "$wxUSE_NO_RTTI" = "yes" ; then
32814 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32816 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32817 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32819 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32820 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32825 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32828 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32834 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32836 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32838 if test "$wxUSE_OPTIMISE" = "no" ; then
32839 if test "$GCC" = yes ; then
32840 OPTIMISE_CFLAGS
="-O0"
32843 if test "$GCC" = yes ; then
32845 *-pc-os2_emx | *-pc-os2-emx )
32846 OPTIMISE_CFLAGS
="-O2"
32849 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32853 OPTIMISE_CFLAGS
="-O"
32859 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32860 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32863 WXWIN_COMPATIBILITY_2_8
="yes"
32866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32867 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32872 if test "$wxUSE_GUI" = "yes"; then
32873 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32879 if test "$wxUSE_UNIX" = "yes"; then
32880 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32885 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32889 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32890 if test "$USE_DOS" = 1; then
32893 for ac_func
in dlopen
32895 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32896 if test "x$ac_cv_func_dlopen" = xyes
; then :
32897 cat >>confdefs.h
<<_ACEOF
32898 #define HAVE_DLOPEN 1
32901 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32908 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32909 if ${ac_cv_lib_dl_dlopen+:} false
; then :
32910 $as_echo_n "(cached) " >&6
32912 ac_check_lib_save_LIBS
=$LIBS
32914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32915 /* end confdefs.h. */
32917 /* Override any GCC internal prototype to avoid an error.
32918 Use char because int might match the return type of a GCC
32919 builtin and then its argument prototype would still apply. */
32932 if ac_fn_c_try_link
"$LINENO"; then :
32933 ac_cv_lib_dl_dlopen
=yes
32935 ac_cv_lib_dl_dlopen
=no
32937 rm -f core conftest.err conftest.
$ac_objext \
32938 conftest
$ac_exeext conftest.
$ac_ext
32939 LIBS
=$ac_check_lib_save_LIBS
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32943 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
32945 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32948 DL_LINK
=" -ldl$DL_LINK"
32952 for ac_func
in shl_load
32954 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
32955 if test "x$ac_cv_func_shl_load" = xyes
; then :
32956 cat >>confdefs.h
<<_ACEOF
32957 #define HAVE_SHL_LOAD 1
32960 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32967 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32968 if ${ac_cv_lib_shl_load_dld+:} false
; then :
32969 $as_echo_n "(cached) " >&6
32971 ac_check_lib_save_LIBS
=$LIBS
32972 LIBS
="-lshl_load $LIBS"
32973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32974 /* end confdefs.h. */
32976 /* Override any GCC internal prototype to avoid an error.
32977 Use char because int might match the return type of a GCC
32978 builtin and then its argument prototype would still apply. */
32991 if ac_fn_c_try_link
"$LINENO"; then :
32992 ac_cv_lib_shl_load_dld
=yes
32994 ac_cv_lib_shl_load_dld
=no
32996 rm -f core conftest.err conftest.
$ac_objext \
32997 conftest
$ac_exeext conftest.
$ac_ext
32998 LIBS
=$ac_check_lib_save_LIBS
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33001 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33002 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33005 DL_LINK
=" -ldld$DL_LINK"
33021 if test "$HAVE_DL_FUNCS" = 1; then
33022 for ac_func
in dlerror
33024 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33025 if test "x$ac_cv_func_dlerror" = xyes
; then :
33026 cat >>confdefs.h
<<_ACEOF
33027 #define HAVE_DLERROR 1
33029 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33034 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33035 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33036 $as_echo_n "(cached) " >&6
33038 ac_check_lib_save_LIBS
=$LIBS
33040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33043 /* Override any GCC internal prototype to avoid an error.
33044 Use char because int might match the return type of a GCC
33045 builtin and then its argument prototype would still apply. */
33058 if ac_fn_c_try_link
"$LINENO"; then :
33059 ac_cv_lib_dl_dlerror
=yes
33061 ac_cv_lib_dl_dlerror
=no
33063 rm -f core conftest.err conftest.
$ac_objext \
33064 conftest
$ac_exeext conftest.
$ac_ext
33065 LIBS
=$ac_check_lib_save_LIBS
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33068 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33069 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33070 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33082 if test "$USE_DARWIN" = 1; then
33086 if test "$HAVE_DL_FUNCS" = 0; then
33087 if test "$HAVE_SHL_FUNCS" = 0; then
33088 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33090 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33091 wxUSE_DYNAMIC_LOADER
=no
33092 wxUSE_DYNLIB_CLASS
=no
33094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33095 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33102 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33103 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33106 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33107 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33113 if test "$wxUSE_PLUGINS" = "yes" ; then
33114 if test "$wxUSE_SHARED" = "no" ; then
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33116 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33119 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33121 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33124 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33126 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33129 if test "$wxUSE_PLUGINS" = "yes" ; then
33130 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33136 if test "$wxUSE_FSWATCHER" = "yes"; then
33137 if test "$wxUSE_MSW" != "1"; then
33138 if test "$wxUSE_UNIX" = "yes"; then
33139 for ac_header
in sys
/inotify.h
33141 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33143 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33144 cat >>confdefs.h
<<_ACEOF
33145 #define HAVE_SYS_INOTIFY_H 1
33152 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33153 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33156 for ac_header
in sys
/event.h
33158 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33160 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33161 cat >>confdefs.h
<<_ACEOF
33162 #define HAVE_SYS_EVENT_H 1
33169 if test "$ac_cv_header_sys_event_h" = "yes"; then
33170 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33180 if test "$wxUSE_THREADS" != "yes"; then
33181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33182 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33187 if test "$wxUSE_FSWATCHER" = "yes"; then
33188 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33193 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33198 if test "$wxUSE_STL" = "yes"; then
33199 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33203 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33204 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33208 if test "$wxUSE_ANY" = "yes"; then
33209 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33213 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33214 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33218 if test "$wxUSE_TIMER" = "yes"; then
33219 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33223 if test "$USE_UNIX" = 1 ; then
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33225 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33226 if ${ac_cv_header_sys_soundcard+:} false
; then :
33227 $as_echo_n "(cached) " >&6
33230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h. */
33233 #include <sys/ioctl.h>
33234 #include <sys/soundcard.h>
33240 ioctl(0, SNDCTL_DSP_SPEED, 0);
33246 if ac_fn_c_try_link
"$LINENO"; then :
33247 ac_cv_header_sys_soundcard
=yes
33251 LIBS
="$saveLibs -lossaudio"
33252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33255 #include <sys/ioctl.h>
33256 #include <sys/soundcard.h>
33262 ioctl(0, SNDCTL_DSP_SPEED, 0);
33268 if ac_fn_c_try_link
"$LINENO"; then :
33269 ac_cv_header_sys_soundcard
=yes
33273 ac_cv_header_sys_soundcard
=no
33277 rm -f core conftest.err conftest.
$ac_objext \
33278 conftest
$ac_exeext conftest.
$ac_ext
33282 rm -f core conftest.err conftest.
$ac_objext \
33283 conftest
$ac_exeext conftest.
$ac_ext
33286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33287 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33289 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33290 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33296 if test "$wxUSE_SOUND" = "yes"; then
33297 if test "$USE_UNIX" = 1 ; then
33298 if test "$wxUSE_LIBSDL" != "no"; then
33300 # Check whether --with-sdl-prefix was given.
33301 if test "${with_sdl_prefix+set}" = set; then :
33302 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33308 # Check whether --with-sdl-exec-prefix was given.
33309 if test "${with_sdl_exec_prefix+set}" = set; then :
33310 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33315 # Check whether --enable-sdltest was given.
33316 if test "${enable_sdltest+set}" = set; then :
33317 enableval
=$enable_sdltest;
33323 if test x
$sdl_exec_prefix != x
; then
33324 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33325 if test x
${SDL_CONFIG+set} != xset
; then
33326 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33329 if test x
$sdl_prefix != x
; then
33330 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33331 if test x
${SDL_CONFIG+set} != xset
; then
33332 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33336 if test "x$prefix" != xNONE
; then
33337 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33339 # Extract the first word of "sdl-config", so it can be a program name with args.
33340 set dummy sdl
-config; ac_word
=$2
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33342 $as_echo_n "checking for $ac_word... " >&6; }
33343 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33344 $as_echo_n "(cached) " >&6
33346 case $SDL_CONFIG in
33348 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33352 for as_dir
in $PATH
33355 test -z "$as_dir" && as_dir
=.
33356 for ac_exec_ext
in '' $ac_executable_extensions; do
33357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33358 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33366 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33370 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33371 if test -n "$SDL_CONFIG"; then
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33373 $as_echo "$SDL_CONFIG" >&6; }
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33376 $as_echo "no" >&6; }
33380 min_sdl_version
=1.2.0
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33382 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33384 if test "$SDL_CONFIG" = "no" ; then
33387 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33388 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33390 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33392 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33394 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33396 if test "x$enable_sdltest" = "xyes" ; then
33397 ac_save_CFLAGS
="$CFLAGS"
33398 ac_save_CXXFLAGS
="$CXXFLAGS"
33399 ac_save_LIBS
="$LIBS"
33400 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33401 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33402 LIBS
="$LIBS $SDL_LIBS"
33404 if test "$cross_compiling" = yes; then :
33405 echo $ac_n "cross compiling; assumed OK... $ac_c"
33407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h. */
33411 #include <stdlib.h>
33412 #include <string.h>
33416 my_strdup (char *str)
33422 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33423 strcpy (new_str, str);
33431 int main (int argc, char *argv[])
33433 int major, minor, micro;
33436 /* This hangs on some systems (?)
33437 system ("touch conf.sdltest");
33439 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33441 /* HP/UX 9 (%@#!) writes to sscanf strings */
33442 tmp_version = my_strdup("$min_sdl_version");
33443 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33444 printf("%s, bad version string\n", "$min_sdl_version");
33448 if (($sdl_major_version > major) ||
33449 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33450 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33456 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33457 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33458 printf("*** best to upgrade to the required version.\n");
33459 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33460 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33461 printf("*** config.cache before re-running configure\n");
33468 if ac_fn_c_try_run
"$LINENO"; then :
33473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33477 CFLAGS
="$ac_save_CFLAGS"
33478 CXXFLAGS
="$ac_save_CXXFLAGS"
33479 LIBS
="$ac_save_LIBS"
33482 if test "x$no_sdl" = x
; then
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33484 $as_echo "yes" >&6; }
33486 EXTRALIBS_SDL
="$SDL_LIBS"
33487 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33488 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33489 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33494 $as_echo "no" >&6; }
33495 if test "$SDL_CONFIG" = "no" ; then
33496 echo "*** The sdl-config script installed by SDL could not be found"
33497 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33498 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33499 echo "*** full path to sdl-config."
33501 if test -f conf.sdltest
; then
33504 echo "*** Could not run SDL test program, checking why..."
33505 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33506 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33507 LIBS
="$LIBS $SDL_LIBS"
33508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33514 int main(int argc, char *argv[])
33517 #define main K_and_R_C_main
33527 if ac_fn_c_try_link
"$LINENO"; then :
33528 echo "*** The test program compiled, but did not run. This usually means"
33529 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33530 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33531 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33532 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33533 echo "*** is required on your system"
33535 echo "*** If you have an old version installed, it is best to remove it, although"
33536 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33538 echo "*** The test program failed to compile or link. See the file config.log for the"
33539 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33540 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33541 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33543 rm -f core conftest.err conftest.
$ac_objext \
33544 conftest
$ac_exeext conftest.
$ac_ext
33545 CFLAGS
="$ac_save_CFLAGS"
33546 CXXFLAGS
="$ac_save_CXXFLAGS"
33547 LIBS
="$ac_save_LIBS"
33558 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33565 if test "$wxUSE_SOUND" = "yes"; then
33566 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33571 if test "$WXGTK2" = 1; then
33574 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33575 if test -n "$ac_tool_prefix"; then
33576 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33577 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33579 $as_echo_n "checking for $ac_word... " >&6; }
33580 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33581 $as_echo_n "(cached) " >&6
33583 case $PKG_CONFIG in
33585 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33589 for as_dir
in $PATH
33592 test -z "$as_dir" && as_dir
=.
33593 for ac_exec_ext
in '' $ac_executable_extensions; do
33594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33595 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33606 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33607 if test -n "$PKG_CONFIG"; then
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33609 $as_echo "$PKG_CONFIG" >&6; }
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33612 $as_echo "no" >&6; }
33617 if test -z "$ac_cv_path_PKG_CONFIG"; then
33618 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33619 # Extract the first word of "pkg-config", so it can be a program name with args.
33620 set dummy pkg
-config; ac_word
=$2
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33622 $as_echo_n "checking for $ac_word... " >&6; }
33623 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33624 $as_echo_n "(cached) " >&6
33626 case $ac_pt_PKG_CONFIG in
33628 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33632 for as_dir
in $PATH
33635 test -z "$as_dir" && as_dir
=.
33636 for ac_exec_ext
in '' $ac_executable_extensions; do
33637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33638 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33649 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33650 if test -n "$ac_pt_PKG_CONFIG"; then
33651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33652 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33655 $as_echo "no" >&6; }
33658 if test "x$ac_pt_PKG_CONFIG" = x
; then
33661 case $cross_compiling:$ac_tool_warned in
33663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33665 ac_tool_warned
=yes ;;
33667 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33670 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33674 if test -n "$PKG_CONFIG"; then
33675 _pkg_min_version
=0.9.0
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33677 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33678 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33680 $as_echo "yes" >&6; }
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33683 $as_echo "no" >&6; }
33689 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33691 if test "$wxUSE_GTKPRINT" = "yes" ; then
33692 if test "$WXGTK3" = 1; then
33693 gtk_unix_print
="gtk+-unix-print-3.0"
33695 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33700 $as_echo_n "checking for GTKPRINT... " >&6; }
33702 if test -n "$PKG_CONFIG"; then
33703 if test -n "$GTKPRINT_CFLAGS"; then
33704 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33706 if test -n "$PKG_CONFIG" && \
33707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33708 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33711 test $ac_status = 0; }; then
33712 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33720 if test -n "$PKG_CONFIG"; then
33721 if test -n "$GTKPRINT_LIBS"; then
33722 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33724 if test -n "$PKG_CONFIG" && \
33725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33726 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33729 test $ac_status = 0; }; then
33730 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33741 if test $pkg_failed = yes; then
33743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33744 _pkg_short_errors_supported
=yes
33746 _pkg_short_errors_supported
=no
33748 if test $_pkg_short_errors_supported = yes; then
33749 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33751 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33753 # Put the nasty error message in config.log where it belongs
33754 echo "$GTKPRINT_PKG_ERRORS" >&5
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33758 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33759 wxUSE_GTKPRINT
="no"
33762 elif test $pkg_failed = untried
; then
33764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33765 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33766 wxUSE_GTKPRINT
="no"
33770 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33771 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33773 $as_echo "yes" >&6; }
33775 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33776 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33777 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33778 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33784 if test "$WXGTK3" = 1; then
33785 wxUSE_LIBGNOMEPRINT
=no
33788 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33793 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33795 if test -n "$PKG_CONFIG"; then
33796 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33797 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33799 if test -n "$PKG_CONFIG" && \
33800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33801 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33804 test $ac_status = 0; }; then
33805 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33813 if test -n "$PKG_CONFIG"; then
33814 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33815 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33817 if test -n "$PKG_CONFIG" && \
33818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33819 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33822 test $ac_status = 0; }; then
33823 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33834 if test $pkg_failed = yes; then
33836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33837 _pkg_short_errors_supported
=yes
33839 _pkg_short_errors_supported
=no
33841 if test $_pkg_short_errors_supported = yes; then
33842 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33844 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33846 # Put the nasty error message in config.log where it belongs
33847 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33850 if test "$wxUSE_GTKPRINT" = yes; then
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33852 $as_echo "no" >&6; }
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33855 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33857 wxUSE_LIBGNOMEPRINT
="no"
33860 elif test $pkg_failed = untried
; then
33862 if test "$wxUSE_GTKPRINT" = yes; then
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33864 $as_echo "no" >&6; }
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33867 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33869 wxUSE_LIBGNOMEPRINT
="no"
33873 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33874 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33876 $as_echo "yes" >&6; }
33878 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33879 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33880 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33881 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33888 if test "$wxUSE_MIMETYPE" = "yes" ; then
33889 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33894 $as_echo_n "checking for GNOMEVFS... " >&6; }
33896 if test -n "$PKG_CONFIG"; then
33897 if test -n "$GNOMEVFS_CFLAGS"; then
33898 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33900 if test -n "$PKG_CONFIG" && \
33901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33902 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33905 test $ac_status = 0; }; then
33906 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33914 if test -n "$PKG_CONFIG"; then
33915 if test -n "$GNOMEVFS_LIBS"; then
33916 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33918 if test -n "$PKG_CONFIG" && \
33919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33920 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33923 test $ac_status = 0; }; then
33924 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33935 if test $pkg_failed = yes; then
33937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33938 _pkg_short_errors_supported
=yes
33940 _pkg_short_errors_supported
=no
33942 if test $_pkg_short_errors_supported = yes; then
33943 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33945 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33947 # Put the nasty error message in config.log where it belongs
33948 echo "$GNOMEVFS_PKG_ERRORS" >&5
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33952 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33953 wxUSE_LIBGNOMEVFS
="no"
33956 elif test $pkg_failed = untried
; then
33958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33959 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33960 wxUSE_LIBGNOMEVFS
="no"
33964 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
33965 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
33966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33967 $as_echo "yes" >&6; }
33969 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
33970 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
33971 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
33972 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33979 if test "$wxUSE_LIBHILDON" = "yes" ; then
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33983 $as_echo_n "checking for HILDON... " >&6; }
33985 if test -n "$PKG_CONFIG"; then
33986 if test -n "$HILDON_CFLAGS"; then
33987 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
33989 if test -n "$PKG_CONFIG" && \
33990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33991 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33994 test $ac_status = 0; }; then
33995 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34003 if test -n "$PKG_CONFIG"; then
34004 if test -n "$HILDON_LIBS"; then
34005 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34007 if test -n "$PKG_CONFIG" && \
34008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34009 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34012 test $ac_status = 0; }; then
34013 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34024 if test $pkg_failed = yes; then
34026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34027 _pkg_short_errors_supported
=yes
34029 _pkg_short_errors_supported
=no
34031 if test $_pkg_short_errors_supported = yes; then
34032 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34034 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34036 # Put the nasty error message in config.log where it belongs
34037 echo "$HILDON_PKG_ERRORS" >&5
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34041 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34042 wxUSE_LIBHILDON
="no"
34046 elif test $pkg_failed = untried
; then
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34049 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34050 wxUSE_LIBHILDON
="no"
34055 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34056 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34058 $as_echo "yes" >&6; }
34060 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34061 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34062 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34063 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34069 if test "$ac_hildon_lgpl" = 0 ; then
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34073 $as_echo_n "checking for HILDON2... " >&6; }
34075 if test -n "$PKG_CONFIG"; then
34076 if test -n "$HILDON2_CFLAGS"; then
34077 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34079 if test -n "$PKG_CONFIG" && \
34080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34081 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34084 test $ac_status = 0; }; then
34085 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34093 if test -n "$PKG_CONFIG"; then
34094 if test -n "$HILDON2_LIBS"; then
34095 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34097 if test -n "$PKG_CONFIG" && \
34098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34099 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34102 test $ac_status = 0; }; then
34103 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34114 if test $pkg_failed = yes; then
34116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34117 _pkg_short_errors_supported
=yes
34119 _pkg_short_errors_supported
=no
34121 if test $_pkg_short_errors_supported = yes; then
34122 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34124 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34126 # Put the nasty error message in config.log where it belongs
34127 echo "$HILDON2_PKG_ERRORS" >&5
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34131 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34132 wxUSE_LIBHILDON2
="no"
34135 elif test $pkg_failed = untried
; then
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34138 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34139 wxUSE_LIBHILDON2
="no"
34143 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34144 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34146 $as_echo "yes" >&6; }
34148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34149 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34150 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34151 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34159 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34160 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34164 if test "$wxUSE_STOPWATCH" = "yes"; then
34165 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34169 if test "$wxUSE_DATETIME" = "yes"; then
34170 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34174 if test "$wxUSE_FILE" = "yes"; then
34175 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34179 if test "$wxUSE_FFILE" = "yes"; then
34180 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34184 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34185 if test "$wxUSE_STREAMS" != yes; then
34186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34187 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34188 wxUSE_ARCHIVE_STREAMS
=no
34190 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34195 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34196 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34198 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34199 elif test "$wxUSE_ZLIB" = "no"; then
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34201 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34203 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34208 if test "$wxUSE_TARSTREAM" = "yes"; then
34209 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34211 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34213 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34218 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34219 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34223 if test "$wxUSE_FILESYSTEM" = "yes"; then
34224 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34226 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34227 wxUSE_FILESYSTEM
=no
34229 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34234 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34235 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34237 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34239 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34244 if test "$wxUSE_FS_ZIP" = "yes"; then
34245 if test "$wxUSE_FS_ARCHIVE" != yes; then
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34247 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34249 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34254 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34255 if test "$USE_UNIX" != 1; then
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34257 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34258 wxUSE_ON_FATAL_EXCEPTION
=no
34260 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34265 if test "$wxUSE_STACKWALKER" = "yes"; then
34266 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34270 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34271 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34273 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34274 wxUSE_DEBUGREPORT
=no
34276 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34278 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34285 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34289 if test "$wxUSE_BUSYINFO" = "yes"; then
34290 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34294 if test "$wxUSE_HOTKEY" = "yes"; then
34295 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34297 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34300 elif test "$wxUSE_HOTKEY" = "auto"; then
34301 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34305 if test "$wxUSE_HOTKEY" = "yes"; then
34306 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34310 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34311 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34315 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34316 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34320 if test "$wxUSE_STD_STRING" = "yes"; then
34321 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34325 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34326 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34330 if test "$wxUSE_STDPATHS" = "yes"; then
34331 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34335 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34336 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34340 if test "$wxUSE_TEXTFILE" = "yes"; then
34341 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34343 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34345 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34350 if test "$wxUSE_CONFIG" = "yes" ; then
34351 if test "$wxUSE_TEXTFILE" != "yes"; then
34352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34353 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34355 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34357 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34363 if test "$wxUSE_INTL" = "yes" ; then
34364 if test "$wxUSE_FILE" != "yes"; then
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34366 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34368 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34371 GUIDIST
="$GUIDIST INTL_DIST"
34375 if test "$wxUSE_XLOCALE" = "yes" ; then
34376 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34378 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34379 #include <locale.h>
34381 if test "x$ac_cv_type_locale_t" = xyes
; then :
34383 cat >>confdefs.h
<<_ACEOF
34384 #define HAVE_LOCALE_T 1
34392 if test "$wxUSE_LOG" = "yes"; then
34393 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34396 if test "$wxUSE_LOGGUI" = "yes"; then
34397 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34401 if test "$wxUSE_LOGWINDOW" = "yes"; then
34402 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34406 if test "$wxUSE_LOGDIALOG" = "yes"; then
34407 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34414 if test "$wxUSE_LONGLONG" = "yes"; then
34415 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34419 if test "$wxUSE_GEOMETRY" = "yes"; then
34420 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34424 if test "$wxUSE_BASE64" = "yes"; then
34425 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34429 if test "$wxUSE_STREAMS" = "yes" ; then
34430 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34434 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34435 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34439 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34440 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34445 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34446 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34449 if test "$wxUSE_UNIX" = "yes"; then
34450 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34451 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34455 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34456 for ac_header
in sys
/epoll.h
34458 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34460 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34461 cat >>confdefs.h
<<_ACEOF
34462 #define HAVE_SYS_EPOLL_H 1
34469 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34470 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34474 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34481 for ac_func
in gettimeofday ftime
34483 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34485 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34486 cat >>confdefs.h
<<_ACEOF
34487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34494 if test "$ac_cv_func_gettimeofday" = "yes"; then
34495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34496 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34497 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34498 $as_echo_n "(cached) " >&6
34501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34502 /* end confdefs.h. */
34504 #include <sys/time.h>
34505 #include <unistd.h>
34512 gettimeofday(&tv, NULL);
34518 if ac_fn_c_try_compile
"$LINENO"; then :
34519 wx_cv_func_gettimeofday_has_2_args
=yes
34521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34522 /* end confdefs.h. */
34524 #include <sys/time.h>
34525 #include <unistd.h>
34538 if ac_fn_c_try_compile
"$LINENO"; then :
34539 wx_cv_func_gettimeofday_has_2_args
=no
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34543 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34544 wx_cv_func_gettimeofday_has_2_args
=unknown
34548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34555 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34557 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34558 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34563 if test "$wxUSE_DATETIME" = "yes"; then
34564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34565 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34566 if ${wx_cv_var_timezone+:} false
; then :
34567 $as_echo_n "(cached) " >&6
34571 ac_cpp
='$CXXCPP $CPPFLAGS'
34572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34577 /* end confdefs.h. */
34592 if ac_fn_cxx_try_compile
"$LINENO"; then :
34594 wx_cv_var_timezone
=timezone
34598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34614 if ac_fn_cxx_try_compile
"$LINENO"; then :
34616 wx_cv_var_timezone
=_timezone
34620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34621 /* end confdefs.h. */
34636 if ac_fn_cxx_try_compile
"$LINENO"; then :
34638 wx_cv_var_timezone
=__timezone
34642 if test "$USE_DOS" = 0 ; then
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34644 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34659 ac_cpp
='$CPP $CPPFLAGS'
34660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34668 $as_echo "$wx_cv_var_timezone" >&6; }
34670 if test "x$wx_cv_var_timezone" != x
; then
34671 cat >>confdefs.h
<<_ACEOF
34672 #define WX_TIMEZONE $wx_cv_var_timezone
34677 for ac_func
in localtime
34679 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34680 if test "x$ac_cv_func_localtime" = xyes
; then :
34681 cat >>confdefs.h
<<_ACEOF
34682 #define HAVE_LOCALTIME 1
34689 if test "$ac_cv_func_localtime" = "yes"; then
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34691 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34692 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
34693 $as_echo_n "(cached) " >&6
34696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34712 if ac_fn_c_try_compile
"$LINENO"; then :
34714 wx_cv_struct_tm_has_gmtoff
=yes
34717 wx_cv_struct_tm_has_gmtoff
=no
34720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34724 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34727 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34728 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
34736 if test "$wxUSE_SOCKETS" = "yes"; then
34737 if test "$TOOLKIT" != "MSW"; then
34738 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
34739 if test "x$ac_cv_func_socket" = xyes
; then :
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34744 $as_echo_n "checking for socket in -lsocket... " >&6; }
34745 if ${ac_cv_lib_socket_socket+:} false
; then :
34746 $as_echo_n "(cached) " >&6
34748 ac_check_lib_save_LIBS
=$LIBS
34749 LIBS
="-lsocket $LIBS"
34750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34751 /* end confdefs.h. */
34753 /* Override any GCC internal prototype to avoid an error.
34754 Use char because int might match the return type of a GCC
34755 builtin and then its argument prototype would still apply. */
34768 if ac_fn_c_try_link
"$LINENO"; then :
34769 ac_cv_lib_socket_socket
=yes
34771 ac_cv_lib_socket_socket
=no
34773 rm -f core conftest.err conftest.
$ac_objext \
34774 conftest
$ac_exeext conftest.
$ac_ext
34775 LIBS
=$ac_check_lib_save_LIBS
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34778 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34779 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
34780 if test "$INET_LINK" != " -lsocket"; then
34781 INET_LINK
="$INET_LINK -lsocket"
34785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34786 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34799 if test "$wxUSE_SOCKETS" = "yes" ; then
34800 if test "$TOOLKIT" != "MSW"; then
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34802 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34803 if ${wx_cv_type_getsockname3+:} false
; then :
34804 $as_echo_n "(cached) " >&6
34808 ac_cpp
='$CXXCPP $CPPFLAGS'
34809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h. */
34816 #include <sys/types.h>
34817 #include <sys/socket.h>
34824 getsockname(0, 0, &len);
34830 if ac_fn_cxx_try_compile
"$LINENO"; then :
34831 wx_cv_type_getsockname3
=socklen_t
34834 CFLAGS_OLD
="$CFLAGS"
34835 if test "$GCC" = yes ; then
34836 CFLAGS
="-Werror $CFLAGS"
34839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34840 /* end confdefs.h. */
34842 #include <sys/types.h>
34843 #include <sys/socket.h>
34850 getsockname(0, 0, &len);
34856 if ac_fn_cxx_try_compile
"$LINENO"; then :
34857 wx_cv_type_getsockname3
=size_t
34859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34860 /* end confdefs.h. */
34862 #include <sys/types.h>
34863 #include <sys/socket.h>
34870 getsockname(0, 0, &len);
34876 if ac_fn_cxx_try_compile
"$LINENO"; then :
34877 wx_cv_type_getsockname3
=int
34879 wx_cv_type_getsockname3
=unknown
34882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34887 CFLAGS
="$CFLAGS_OLD"
34891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34893 ac_cpp
='$CPP $CPPFLAGS'
34894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34901 $as_echo "$wx_cv_type_getsockname3" >&6; }
34903 if test "$wx_cv_type_getsockname3" = "unknown"; then
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34906 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34908 cat >>confdefs.h
<<_ACEOF
34909 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34914 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34915 if ${wx_cv_type_getsockopt5+:} false
; then :
34916 $as_echo_n "(cached) " >&6
34920 ac_cpp
='$CXXCPP $CPPFLAGS'
34921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34926 /* end confdefs.h. */
34928 #include <sys/types.h>
34929 #include <sys/socket.h>
34936 getsockopt(0, 0, 0, 0, &len);
34942 if ac_fn_cxx_try_compile
"$LINENO"; then :
34943 wx_cv_type_getsockopt5
=socklen_t
34946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34949 #include <sys/types.h>
34950 #include <sys/socket.h>
34957 getsockopt(0, 0, 0, 0, &len);
34963 if ac_fn_cxx_try_compile
"$LINENO"; then :
34964 wx_cv_type_getsockopt5
=size_t
34966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h. */
34969 #include <sys/types.h>
34970 #include <sys/socket.h>
34977 getsockopt(0, 0, 0, 0, &len);
34983 if ac_fn_cxx_try_compile
"$LINENO"; then :
34984 wx_cv_type_getsockopt5
=int
34986 wx_cv_type_getsockopt5
=unknown
34989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34998 ac_cpp
='$CPP $CPPFLAGS'
34999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35006 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35008 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35011 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35013 cat >>confdefs.h
<<_ACEOF
35014 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35021 if test "$wxUSE_SOCKETS" = "yes" ; then
35022 if test "$wxUSE_IPV6" = "yes"; then
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35024 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35025 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35026 $as_echo_n "(cached) " >&6
35029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h. */
35032 #include <sys/types.h>
35033 #include <sys/socket.h>
35034 #include <netinet/in.h>
35040 struct sockaddr_in6 sa6;
35046 if ac_fn_c_try_compile
"$LINENO"; then :
35047 wx_cv_type_sockaddr_in6
=yes
35049 wx_cv_type_sockaddr_in6
=no
35052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35057 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35059 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35060 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35064 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35068 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35073 if test "$wxUSE_PROTOCOL" = "yes"; then
35074 if test "$wxUSE_SOCKETS" != "yes"; then
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35076 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35081 if test "$wxUSE_PROTOCOL" = "yes"; then
35082 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35085 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35086 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35089 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35090 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35093 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35094 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35098 if test "$wxUSE_FS_INET" = "yes"; then
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35100 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35105 if test "$wxUSE_URL" = "yes"; then
35106 if test "$wxUSE_PROTOCOL" != "yes"; then
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35108 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35111 if test "$wxUSE_URL" = "yes"; then
35112 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35117 if test "$wxUSE_VARIANT" = "yes"; then
35118 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35122 if test "$wxUSE_FS_INET" = "yes"; then
35123 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35128 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35131 if test "$TOOLKIT" = "MSW"; then
35134 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35135 if test "$USE_DARWIN" = 1; then
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35137 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35139 ac_cpp
='$CXXCPP $CPPFLAGS'
35140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35145 /* end confdefs.h. */
35146 #include <IOKit/hid/IOHIDLib.h>
35150 IOHIDQueueInterface *qi = NULL;
35151 IOHIDCallbackFunction cb = NULL;
35152 qi->setEventCallout(NULL, cb, NULL, NULL);
35157 if ac_fn_cxx_try_compile
"$LINENO"; then :
35161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35163 ac_cpp
='$CPP $CPPFLAGS'
35164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35169 $as_echo "$wxUSE_JOYSTICK" >&6; }
35173 for ac_header
in linux
/joystick.h
35175 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35177 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35178 cat >>confdefs.h
<<_ACEOF
35179 #define HAVE_LINUX_JOYSTICK_H 1
35188 if test "$wxUSE_JOYSTICK" = "yes"; then
35189 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35194 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35200 if test "$wxUSE_FONTENUM" = "yes" ; then
35201 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35205 if test "$wxUSE_FONTMAP" = "yes" ; then
35206 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35210 if test "$wxUSE_UNICODE" = "yes" ; then
35211 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35214 if test "$USE_WIN32" != 1; then
35215 wxUSE_UNICODE_MSLU
=no
35218 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35220 $as_echo_n "checking for main in -lunicows... " >&6; }
35221 if ${ac_cv_lib_unicows_main+:} false
; then :
35222 $as_echo_n "(cached) " >&6
35224 ac_check_lib_save_LIBS
=$LIBS
35225 LIBS
="-lunicows $LIBS"
35226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h. */
35238 if ac_fn_c_try_link
"$LINENO"; then :
35239 ac_cv_lib_unicows_main
=yes
35241 ac_cv_lib_unicows_main
=no
35243 rm -f core conftest.err conftest.
$ac_objext \
35244 conftest
$ac_exeext conftest.
$ac_ext
35245 LIBS
=$ac_check_lib_save_LIBS
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35248 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35249 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35251 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35257 Applications will only run on Windows NT/2000/XP!" >&5
35258 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35259 Applications will only run on Windows NT/2000/XP!" >&2;}
35260 wxUSE_UNICODE_MSLU
=no
35267 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35268 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35271 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35272 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35278 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35279 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35284 if test "$wxUSE_MDI" = "yes"; then
35285 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35288 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35289 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35295 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35296 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35301 if test "$wxUSE_HELP" = "yes"; then
35302 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35306 if test "$wxUSE_MSW" = 1; then
35307 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35308 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35313 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35314 if test "$wxUSE_HTML" = "yes"; then
35315 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35319 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35320 wxUSE_WXHTML_HELP
=no
35325 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35326 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35331 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35332 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35336 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35339 if test "$wxUSE_SVG" = "yes"; then
35340 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35345 if test "$wxUSE_METAFILE" = "yes"; then
35346 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35348 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35351 elif test "$wxUSE_METAFILE" = "auto"; then
35352 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35357 if test "$wxUSE_METAFILE" = "yes"; then
35358 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35360 if test "$wxUSE_MSW" = 1; then
35361 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35367 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35368 -o "$wxUSE_CLIPBOARD" = "yes" \
35369 -o "$wxUSE_OLE" = "yes" \
35370 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35371 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35373 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35379 if test "$ac_cv_header_ole2_h" = "yes" ; then
35380 if test "$GCC" = yes ; then
35381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35382 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h. */
35385 #include <windows.h>
35395 if ac_fn_c_try_compile
"$LINENO"; then :
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35397 $as_echo "no" >&6; }
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35400 $as_echo "yes" >&6; }
35401 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35404 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35405 if test "$wxUSE_OLE" = "yes" ; then
35406 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35408 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35410 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35416 if test "$wxUSE_DATAOBJ" = "yes" ; then
35417 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35422 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35425 wxUSE_DRAG_AND_DROP
=no
35431 if test "$wxUSE_IPC" = "yes"; then
35432 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35434 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35438 if test "$wxUSE_IPC" = "yes"; then
35439 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35445 if test "$wxUSE_DATAOBJ" = "yes"; then
35446 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35450 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35452 wxUSE_DRAG_AND_DROP
=no
35455 if test "$wxUSE_CLIPBOARD" = "yes"; then
35456 if test "$wxUSE_DFB" = 1; then
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35458 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35462 if test "$wxUSE_CLIPBOARD" = "yes"; then
35463 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35468 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35469 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35471 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35472 wxUSE_DRAG_AND_DROP
=no
35475 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35476 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35482 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35486 if test "$wxUSE_CLIPBOARD" = "yes"; then
35487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35490 if test "$wxUSE_SPLINES" = "yes" ; then
35491 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35495 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35496 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35500 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35501 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35506 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35507 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35513 if test "$wxUSE_CONTROLS" = "yes"; then
35517 if test "$wxUSE_MARKUP" = "yes"; then
35518 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35522 if test "$wxUSE_ACCEL" = "yes"; then
35523 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35528 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35529 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35535 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35536 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35540 if test "$wxUSE_BUTTON" = "yes"; then
35541 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35546 if test "$wxUSE_BMPBUTTON" = "yes"; then
35547 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35552 if test "$wxUSE_CALCTRL" = "yes"; then
35553 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35559 if test "$wxUSE_CARET" = "yes"; then
35560 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35566 if test "$wxUSE_COLLPANE" = "yes"; then
35567 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35573 if test "$wxUSE_COMBOBOX" = "yes"; then
35574 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35579 if test "$wxUSE_COMBOCTRL" = "yes"; then
35580 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35585 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35586 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35591 if test "$wxUSE_CHOICE" = "yes"; then
35592 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35597 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35598 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35603 if test "$wxUSE_CHECKBOX" = "yes"; then
35604 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35609 if test "$wxUSE_CHECKLST" = "yes"; then
35610 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35615 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35616 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35621 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35622 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35627 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35628 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35633 if test "$wxUSE_FILECTRL" = "yes"; then
35634 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35639 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35640 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35645 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35646 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35651 if test "$wxUSE_DISPLAY" = "yes"; then
35652 if test "$wxUSE_DFB" = 1; then
35653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35654 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35657 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35663 if test "$wxUSE_DETECT_SM" = "yes"; then
35664 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35668 if test "$wxUSE_GAUGE" = "yes"; then
35669 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35674 if test "$wxUSE_GRID" = "yes"; then
35675 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35681 if test "$wxUSE_HEADERCTRL" = "yes"; then
35682 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35687 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35688 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35693 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35694 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35699 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35700 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35706 if test "$wxUSE_IMAGLIST" = "yes"; then
35707 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35711 if test "$wxUSE_INFOBAR" = "yes"; then
35712 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35716 if test "$wxUSE_LISTBOOK" = "yes"; then
35717 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35722 if test "$wxUSE_LISTBOX" = "yes"; then
35723 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35728 if test "$wxUSE_LISTCTRL" = "yes"; then
35729 if test "$wxUSE_IMAGLIST" = "yes"; then
35730 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35736 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35740 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35741 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35746 if test "$wxUSE_NOTEBOOK" = "yes"; then
35747 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35753 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35754 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35758 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35759 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
35765 if test "$wxUSE_RADIOBOX" = "yes"; then
35766 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35771 if test "$wxUSE_RADIOBTN" = "yes"; then
35772 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35777 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35778 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35782 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35783 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35787 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35788 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35792 if test "$wxUSE_SASH" = "yes"; then
35793 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35798 if test "$wxUSE_SCROLLBAR" = "yes"; then
35799 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
35805 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35806 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35811 if test "$wxUSE_SLIDER" = "yes"; then
35812 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35817 if test "$wxUSE_SPINBTN" = "yes"; then
35818 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35823 if test "$wxUSE_SPINCTRL" = "yes"; then
35824 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35829 if test "$wxUSE_SPLITTER" = "yes"; then
35830 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35835 if test "$wxUSE_STATBMP" = "yes"; then
35836 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35841 if test "$wxUSE_STATBOX" = "yes"; then
35842 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35847 if test "$wxUSE_STATTEXT" = "yes"; then
35848 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35853 if test "$wxUSE_STATLINE" = "yes"; then
35854 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35859 if test "$wxUSE_STATUSBAR" = "yes"; then
35860 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35862 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35869 if test "$wxUSE_TEXTCTRL" = "yes"; then
35870 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35875 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35877 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35881 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35882 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35887 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35888 if test "$wxUSE_OLD_COCOA" = 1 ; then
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35890 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35894 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35895 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35901 if test "$wxUSE_TOOLBAR" = "yes"; then
35902 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35906 if test "$wxUSE_UNIVERSAL" = "yes"; then
35907 wxUSE_TOOLBAR_NATIVE
="no"
35909 wxUSE_TOOLBAR_NATIVE
="yes"
35910 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35917 if test "$wxUSE_TOOLTIPS" = "yes"; then
35918 if test "$wxUSE_MOTIF" = 1; then
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35920 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35922 if test "$wxUSE_UNIVERSAL" = "yes"; then
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35924 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35926 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35932 if test "$wxUSE_TREEBOOK" = "yes"; then
35933 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35938 if test "$wxUSE_TOOLBOOK" = "yes"; then
35939 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35944 if test "$wxUSE_TREECTRL" = "yes"; then
35945 if test "$wxUSE_IMAGLIST" = "yes"; then
35946 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35952 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35956 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35957 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
35963 if test "$wxUSE_POPUPWIN" = "yes"; then
35964 if test "$wxUSE_OLD_COCOA" = 1 ; then
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35966 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35968 if test "$wxUSE_PM" = 1; then
35969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35970 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35972 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
35981 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35982 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35984 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35986 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35992 if test "$wxUSE_TIPWINDOW" = "yes"; then
35993 if test "$wxUSE_PM" = 1; then
35994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35995 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35997 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36002 if test "$USES_CONTROLS" = 1; then
36003 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36008 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36009 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36014 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36015 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36019 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36020 if test "$wxUSE_GTK" != 1; then
36021 if test "$wxUSE_LIBPNG" != no
-a \
36022 "$wxUSE_IMAGE" = yes -a \
36023 "$wxUSE_STREAMS" = yes; then
36024 wxUSE_ARTPROVIDER_TANGO
="yes"
36029 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36030 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36034 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36035 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36040 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36041 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36043 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36045 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36052 if test "$wxUSE_HTML" = "yes"; then
36053 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36058 if test "$wxUSE_WEBKIT" = "yes"; then
36059 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36060 old_CPPFLAGS
="$CPPFLAGS"
36061 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36062 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36063 #include <Carbon/Carbon.h>
36064 #include <WebKit/WebKit.h>
36067 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36069 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36071 WEBKIT_LINK
="-framework WebKit"
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36076 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36082 CPPFLAGS
="$old_CPPFLAGS"
36083 elif test "$wxUSE_OLD_COCOA" = 1; then
36084 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36089 if test "$wxUSE_WEBKIT" = "yes"; then
36090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36095 if test "$wxUSE_XRC" = "yes"; then
36096 if test "$wxUSE_XML" != "yes"; then
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36098 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36101 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36109 if test "$wxUSE_AUI" = "yes"; then
36110 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36117 if test "$wxUSE_PROPGRID" = "yes"; then
36118 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36125 if test "$wxUSE_RIBBON" = "yes"; then
36126 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36133 if test "$wxUSE_STC" = "yes"; then
36134 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36139 # Extract the first word of "python", so it can be a program name with args.
36140 set dummy python
; ac_word
=$2
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36142 $as_echo_n "checking for $ac_word... " >&6; }
36143 if ${ac_cv_path_PYTHON+:} false
; then :
36144 $as_echo_n "(cached) " >&6
36148 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36152 for as_dir
in $PATH
36155 test -z "$as_dir" && as_dir
=.
36156 for ac_exec_ext
in '' $ac_executable_extensions; do
36157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36158 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36169 PYTHON
=$ac_cv_path_PYTHON
36170 if test -n "$PYTHON"; then
36171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36172 $as_echo "$PYTHON" >&6; }
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36175 $as_echo "no" >&6; }
36179 if test "x$PYTHON" = "x"; then
36185 if test "$wxUSE_MENUS" = "yes"; then
36186 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36191 if test "$wxUSE_MIMETYPE" = "yes"; then
36192 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36196 if test "$wxUSE_MINIFRAME" = "yes"; then
36197 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36201 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36202 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36206 if test "$wxUSE_TASKBARICON" = "yes"; then
36207 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36209 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36215 if test "$wxUSE_VALIDATORS" = "yes"; then
36216 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36221 if test "$wxUSE_PALETTE" = "yes" ; then
36222 if test "$wxUSE_DFB" = 1; then
36223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36224 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36227 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36233 LIBS
=" -lunicows $LIBS"
36237 if test "$wxUSE_RICHTEXT" = "yes"; then
36238 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36244 if test "$wxUSE_WEBVIEW" = "yes"; then
36245 USE_WEBVIEW_WEBKIT
=0
36246 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36247 if test "$wxUSE_GTK" = 1; then
36248 webkitgtk
=webkit
-1.0
36249 if test "$WXGTK3" = 1; then
36250 webkitgtk
=webkitgtk
-3.0
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36255 $as_echo_n "checking for WEBKIT... " >&6; }
36257 if test -n "$PKG_CONFIG"; then
36258 if test -n "$WEBKIT_CFLAGS"; then
36259 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36261 if test -n "$PKG_CONFIG" && \
36262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36263 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36266 test $ac_status = 0; }; then
36267 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36275 if test -n "$PKG_CONFIG"; then
36276 if test -n "$WEBKIT_LIBS"; then
36277 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36279 if test -n "$PKG_CONFIG" && \
36280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36281 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36284 test $ac_status = 0; }; then
36285 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36296 if test $pkg_failed = yes; then
36298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36299 _pkg_short_errors_supported
=yes
36301 _pkg_short_errors_supported
=no
36303 if test $_pkg_short_errors_supported = yes; then
36304 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36306 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36308 # Put the nasty error message in config.log where it belongs
36309 echo "$WEBKIT_PKG_ERRORS" >&5
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36313 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36315 elif test $pkg_failed = untried
; then
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36318 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36321 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36322 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36324 $as_echo "yes" >&6; }
36326 USE_WEBVIEW_WEBKIT
=1
36327 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36328 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36331 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36332 old_CPPFLAGS
="$CPPFLAGS"
36333 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36334 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36335 #include <Carbon/Carbon.h>
36336 #include <WebKit/WebKit.h>
36339 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36341 USE_WEBVIEW_WEBKIT
=1
36342 WEBKIT_LINK
="-framework WebKit"
36346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36347 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36352 CPPFLAGS
="$old_CPPFLAGS"
36357 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36358 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36359 wxUSE_WEBVIEW
="yes"
36360 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36364 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36366 elif test "$wxUSE_MSW" = 1; then
36367 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36368 wxUSE_WEBVIEW
="yes"
36369 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36375 if test "$wxUSE_WEBVIEW" = "yes"; then
36377 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36385 if test "$wxUSE_IMAGE" = "yes" ; then
36386 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36389 if test "$wxUSE_GIF" = "yes" ; then
36390 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36394 if test "$wxUSE_PCX" = "yes" ; then
36395 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36399 if test "$wxUSE_TGA" = "yes" ; then
36400 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36404 if test "$wxUSE_IFF" = "yes" ; then
36405 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36409 if test "$wxUSE_PNM" = "yes" ; then
36410 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36414 if test "$wxUSE_XPM" = "yes" ; then
36415 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36419 if test "$wxUSE_ICO_CUR" = "yes" ; then
36420 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36426 if test "$wxUSE_ABOUTDLG" = "yes"; then
36427 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36431 if test "$wxUSE_CHOICEDLG" = "yes"; then
36432 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36436 if test "$wxUSE_COLOURDLG" = "yes"; then
36437 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36441 if test "$wxUSE_FILEDLG" = "yes"; then
36442 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36446 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36447 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36451 if test "$wxUSE_FONTDLG" = "yes"; then
36452 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36456 if test "$wxUSE_DIRDLG" = "yes"; then
36457 if test "$wxUSE_TREECTRL" != "yes"; then
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36459 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36461 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36466 if test "$wxUSE_MSGDLG" = "yes"; then
36467 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36471 if test "$wxUSE_NUMBERDLG" = "yes"; then
36472 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36476 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36477 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36481 if test "$wxUSE_SPLASH" = "yes"; then
36482 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36487 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36488 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36492 if test "$wxUSE_TEXTDLG" = "yes"; then
36493 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36497 if test "$wxUSE_WIZARDDLG" = "yes"; then
36498 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36504 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36505 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36506 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36512 if test "$wxUSE_MSW" = 1 ; then
36514 if test "$wxUSE_DC_CACHEING" = "yes"; then
36515 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36519 if test "$wxUSE_DIB" = "yes"; then
36520 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36524 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36525 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36529 if test "$wxUSE_UXTHEME" = "yes"; then
36530 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36536 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36537 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36541 if test "$USE_WIN32" = 1 ; then
36542 if test "$wxUSE_INICONF" = "yes"; then
36543 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36547 if test "$wxUSE_REGKEY" = "yes"; then
36548 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36554 if test "$wxUSE_MAC" = 1; then
36555 wxUSE_GRAPHICS_CONTEXT
="yes"
36558 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36560 if test "$wxUSE_MSW" = 1; then
36561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36562 $as_echo_n "checking if GDI+ is available... " >&6; }
36563 if ${wx_cv_lib_gdiplus+:} false
; then :
36564 $as_echo_n "(cached) " >&6
36568 ac_cpp
='$CXXCPP $CPPFLAGS'
36569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36574 /* end confdefs.h. */
36575 #include <windows.h>
36576 #include <gdiplus.h>
36581 using namespace Gdiplus;
36587 if ac_fn_cxx_try_compile
"$LINENO"; then :
36588 wx_cv_lib_gdiplus
=yes
36590 wx_cv_lib_gdiplus
=no
36593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36595 ac_cpp
='$CPP $CPPFLAGS'
36596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36604 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36605 if test "$wx_cv_lib_gdiplus" = "yes"; then
36608 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36612 $as_echo_n "checking for CAIRO... " >&6; }
36614 if test -n "$PKG_CONFIG"; then
36615 if test -n "$CAIRO_CFLAGS"; then
36616 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36618 if test -n "$PKG_CONFIG" && \
36619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36620 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36623 test $ac_status = 0; }; then
36624 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36632 if test -n "$PKG_CONFIG"; then
36633 if test -n "$CAIRO_LIBS"; then
36634 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36636 if test -n "$PKG_CONFIG" && \
36637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36638 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36641 test $ac_status = 0; }; then
36642 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36653 if test $pkg_failed = yes; then
36655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36656 _pkg_short_errors_supported
=yes
36658 _pkg_short_errors_supported
=no
36660 if test $_pkg_short_errors_supported = yes; then
36661 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36663 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36665 # Put the nasty error message in config.log where it belongs
36666 echo "$CAIRO_PKG_ERRORS" >&5
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36669 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36671 elif test $pkg_failed = untried
; then
36672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36673 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36676 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36677 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36679 $as_echo "yes" >&6; }
36682 if test "$wx_has_graphics" = 1; then
36684 LIBS
="$LIBS $CAIRO_LIBS"
36685 for ac_func
in cairo_push_group
36687 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36688 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
36689 cat >>confdefs.h
<<_ACEOF
36690 #define HAVE_CAIRO_PUSH_GROUP 1
36697 if test "$ac_cv_func_cairo_push_group" = "no"; then
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36700 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36702 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36705 if test "$wxUSE_GTK" != 1; then
36706 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
36715 if test "$wx_has_graphics" = 1; then
36716 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36720 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36727 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36730 if test "$wxUSE_GTK" = 1; then
36731 wxUSE_GSTREAMER
="no"
36733 GST_VERSION_MAJOR
=0
36734 GST_VERSION_MINOR
=10
36735 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36737 if test "$wxUSE_GSTREAMER8" = "no"; then
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36741 $as_echo_n "checking for GST... " >&6; }
36743 if test -n "$PKG_CONFIG"; then
36744 if test -n "$GST_CFLAGS"; then
36745 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36747 if test -n "$PKG_CONFIG" && \
36748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36749 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36752 test $ac_status = 0; }; then
36753 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36761 if test -n "$PKG_CONFIG"; then
36762 if test -n "$GST_LIBS"; then
36763 pkg_cv_GST_LIBS
="$GST_LIBS"
36765 if test -n "$PKG_CONFIG" && \
36766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36767 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36770 test $ac_status = 0; }; then
36771 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36782 if test $pkg_failed = yes; then
36784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36785 _pkg_short_errors_supported
=yes
36787 _pkg_short_errors_supported
=no
36789 if test $_pkg_short_errors_supported = yes; then
36790 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36792 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36794 # Put the nasty error message in config.log where it belongs
36795 echo "$GST_PKG_ERRORS" >&5
36798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36799 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36800 GST_VERSION_MINOR
=8
36803 elif test $pkg_failed = untried
; then
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36806 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36807 GST_VERSION_MINOR
=8
36811 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36812 GST_LIBS
=$pkg_cv_GST_LIBS
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36814 $as_echo "yes" >&6; }
36816 wxUSE_GSTREAMER
="yes"
36817 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36821 GST_VERSION_MINOR
=8
36824 if test $GST_VERSION_MINOR = "8"; then
36825 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36829 $as_echo_n "checking for GST... " >&6; }
36831 if test -n "$PKG_CONFIG"; then
36832 if test -n "$GST_CFLAGS"; then
36833 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36835 if test -n "$PKG_CONFIG" && \
36836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36837 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36840 test $ac_status = 0; }; then
36841 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36849 if test -n "$PKG_CONFIG"; then
36850 if test -n "$GST_LIBS"; then
36851 pkg_cv_GST_LIBS
="$GST_LIBS"
36853 if test -n "$PKG_CONFIG" && \
36854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36855 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36858 test $ac_status = 0; }; then
36859 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36870 if test $pkg_failed = yes; then
36872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36873 _pkg_short_errors_supported
=yes
36875 _pkg_short_errors_supported
=no
36877 if test $_pkg_short_errors_supported = yes; then
36878 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36880 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36882 # Put the nasty error message in config.log where it belongs
36883 echo "$GST_PKG_ERRORS" >&5
36886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36887 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36889 elif test $pkg_failed = untried
; then
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36892 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36895 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36896 GST_LIBS
=$pkg_cv_GST_LIBS
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36898 $as_echo "yes" >&6; }
36899 wxUSE_GSTREAMER
="yes"
36904 if test "$wxUSE_GSTREAMER" = "yes"; then
36905 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
36906 EXTRALIBS_MEDIA
="$GST_LIBS"
36908 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36915 if test $USE_MEDIA = 1; then
36916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
36917 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36920 if test "$wxUSE_MEDIACTRL" = "yes"; then
36921 as_fn_error $?
"GStreamer not available" "$LINENO" 5
36923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36924 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36930 if test "$cross_compiling" != "no"; then
36933 OSINFO
=`uname -s -r -m`
36934 OSINFO
="\"$OSINFO\""
36937 cat >>confdefs.h
<<_ACEOF
36938 #define WXWIN_OS_DESCRIPTION $OSINFO
36943 if test "x$prefix" != "xNONE"; then
36946 wxPREFIX
=$ac_default_prefix
36949 cat >>confdefs.h
<<_ACEOF
36950 #define wxINSTALL_PREFIX "$wxPREFIX"
36956 STD_BASE_LIBS
="base"
36958 BUILT_WX_LIBS
="base"
36959 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
36961 if test "$wxUSE_SOCKETS" = "yes" ; then
36962 STD_BASE_LIBS
="net $STD_BASE_LIBS"
36963 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
36965 if test "$wxUSE_XML" = "yes" ; then
36966 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
36967 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
36970 if test "$wxUSE_GUI" = "yes"; then
36971 STD_GUI_LIBS
="adv core"
36972 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
36974 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36975 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
36976 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
36978 if test "$wxUSE_HTML" = "yes" ; then
36979 STD_GUI_LIBS
="html $STD_GUI_LIBS"
36980 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
36982 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36983 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
36985 if test "$wxUSE_OPENGL" = "yes" ; then
36986 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
36988 if test "$wxUSE_AUI" = "yes" ; then
36989 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
36991 if test "$wxUSE_PROPGRID" = "yes" ; then
36992 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
36994 if test "$wxUSE_RIBBON" = "yes" ; then
36995 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
36997 if test "$wxUSE_RICHTEXT" = "yes" ; then
36998 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37000 if test "$wxUSE_STC" = "yes" ; then
37001 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37003 if test "$wxUSE_WEBVIEW" = "yes" ; then
37004 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37005 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37007 if test "$wxUSE_XRC" = "yes" ; then
37008 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37009 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37020 if test "$wxUSE_MAC" = 1 ; then
37021 if test "$USE_DARWIN" = 1; then
37022 if test "$wxUSE_OSX_IPHONE" = 1; then
37023 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37025 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37028 if test "$cross_compiling" != "no"; then
37029 wx_cv_target_x86_64
=no
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37032 $as_echo_n "checking if we target only x86_64... " >&6; }
37033 if ${wx_cv_target_x86_64+:} false
; then :
37034 $as_echo_n "(cached) " >&6
37036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37037 /* end confdefs.h. */
37038 int main() { return 0; }
37040 if ac_fn_c_try_link
"$LINENO"; then :
37041 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37042 wx_cv_target_x86_64
=no
37044 wx_cv_target_x86_64
=yes
37048 rm -f core conftest.err conftest.
$ac_objext \
37049 conftest
$ac_exeext conftest.
$ac_ext
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37053 $as_echo "$wx_cv_target_x86_64" >&6; }
37056 if test "$wx_cv_target_x86_64" != "yes"; then
37057 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37062 if test "$wxUSE_OLD_COCOA" = 1 ; then
37063 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37064 if test "$wxUSE_MEDIACTRL" = "yes"; then
37065 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37068 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37069 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37072 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37073 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37075 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37077 if test "$wxUSE_GUI" = "yes"; then
37080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37081 erase event exec font image minimal render \
37082 shaped svg taborder vscroll widgets wrapsizer"
37084 if test "$wxUSE_MONOLITHIC" != "yes"; then
37085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37087 if test "$TOOLKIT" = "MSW"; then
37088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37089 if test "$wxUSE_UNIVERSAL" != "yes"; then
37090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37093 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37097 SAMPLES_SUBDIRS
="console"
37098 if test "$wxUSE_SOCKETS" = "yes" ; then
37099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37101 if test "$wxUSE_IPC" = "yes" ; then
37102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37107 if test "x$INTELCC" = "xyes" ; then
37108 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37109 elif test "$GCC" = yes ; then
37110 CWARNINGS
="-Wall -Wundef"
37113 if test "x$INTELCXX" = "xyes" ; then
37114 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37115 elif test "$GXX" = yes ; then
37116 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37118 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37119 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37120 $as_echo_n "(cached) " >&6
37122 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37125 ac_cpp
='$CXXCPP $CPPFLAGS'
37126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37130 ac_save_CXXFLAGS
="$CXXFLAGS"
37131 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37132 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37134 /* end confdefs.h. */
37144 if ac_fn_cxx_try_compile
"$LINENO"; then :
37145 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37149 CXXFLAGS
="$ac_save_CXXFLAGS"
37151 ac_cpp
='$CPP $CPPFLAGS'
37152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37159 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37160 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37164 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37165 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37166 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37169 test $ac_status = 0; }
37170 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37171 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37174 test $ac_status = 0; }
37175 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37181 if test "$wxUSE_MAC" = 1 ; then
37182 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37187 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37188 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37191 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37192 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37193 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37196 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37197 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37198 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37199 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37200 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37202 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37205 if test "x$MWCC" = "xyes"; then
37207 CC
="$CC -cwd source -I-"
37208 CXX
="$CXX -cwd source -I-"
37213 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37214 EXTRALIBS_XML
="$EXPAT_LINK"
37215 EXTRALIBS_HTML
="$MSPACK_LINK"
37216 EXTRALIBS_MEDIA
="$GST_LIBS"
37217 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37218 if test "$wxUSE_GUI" = "yes"; then
37219 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37221 if test "$wxUSE_OPENGL" = "yes"; then
37222 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37225 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37227 WXCONFIG_LIBS
="$LIBS"
37229 if test "$wxUSE_REGEX" = "builtin" ; then
37230 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37232 if test "$wxUSE_EXPAT" = "builtin" ; then
37233 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37235 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37236 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37238 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37239 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37241 if test "$wxUSE_LIBPNG" = "builtin" ; then
37242 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37244 if test "$wxUSE_ZLIB" = "builtin" ; then
37245 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37248 for i
in $wxconfig_3rdparty ; do
37249 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37253 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37256 case "$wxUNIV_THEMES" in
37258 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37263 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37264 cat >>confdefs.h
<<_ACEOF
37265 #define wxUSE_THEME_$t 1
37281 if test $wxUSE_MONOLITHIC = "yes" ; then
37287 if test $wxUSE_PLUGINS = "yes" ; then
37293 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37299 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37327 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37340 TOOLKIT_DESC
="GTK+"
37341 if test "$WXGTK2" = 1; then
37342 if test "$WXGTK3" = 1; then
37343 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37345 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37347 if test "$wxUSE_GTKPRINT" = "yes" ; then
37348 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37350 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37351 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37353 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37354 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37356 if test "$wxUSE_LIBHILDON" = "yes"; then
37357 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37359 if test "$wxUSE_LIBHILDON2" = "yes"; then
37360 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37363 if test "$TOOLKIT_EXTRA" != ""; then
37364 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37370 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37374 TOOLKIT_DESC
="base only"
37378 if test "$wxUSE_WINE" = "yes"; then
37379 BAKEFILE_FORCE_PLATFORM
=win32
37382 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37385 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37386 if ${wx_cv_gcc_pch_bug+:} false
; then :
37387 $as_echo_n "(cached) " >&6
37390 echo '#include <stdio.h>
37391 const wchar_t test_var[] = L"awidetest";' > conftest.h
37393 echo '#include "conftest.h"
37396 printf("%ls", test_var);
37400 wx_cv_gcc_pch_bug
="pch not supported"
37402 if $CXX conftest.h
>/dev
/null
2>&1
37406 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37408 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37409 grep awidetest
>/dev
/null
37411 wx_cv_gcc_pch_bug
=no
37413 wx_cv_gcc_pch_bug
=yes
37418 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37422 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37424 if test "$wx_cv_gcc_pch_bug" = yes; then
37429 # Find a good install program. We prefer a C program (faster),
37430 # so one script is as good as another. But avoid the broken or
37431 # incompatible versions:
37432 # SysV /etc/install, /usr/sbin/install
37433 # SunOS /usr/etc/install
37434 # IRIX /sbin/install
37436 # AmigaOS /C/install, which installs bootblocks on floppy discs
37437 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37440 # OS/2's system install, which has a completely different semantic
37441 # ./install, which can be erroneously created by make from ./install.sh.
37442 # Reject install programs that cannot install multiple files.
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37444 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37445 if test -z "$INSTALL"; then
37446 if ${ac_cv_path_install+:} false
; then :
37447 $as_echo_n "(cached) " >&6
37449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37450 for as_dir
in $PATH
37453 test -z "$as_dir" && as_dir
=.
37454 # Account for people who put trailing slashes in PATH elements.
37455 case $as_dir/ in #((
37456 .
/ | .
// | /[cC
]/* | \
37457 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37458 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37461 # OSF1 and SCO ODT 3.0 have their own names for install.
37462 # Don't use installbsd from OSF since it installs stuff as root
37464 for ac_prog
in ginstall scoinst
install; do
37465 for ac_exec_ext
in '' $ac_executable_extensions; do
37466 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37467 if test $ac_prog = install &&
37468 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37469 # AIX install. It has an incompatible calling convention.
37471 elif test $ac_prog = install &&
37472 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37473 # program-specific install script used by HP pwplus--don't use.
37476 rm -rf conftest.one conftest.two conftest.dir
37477 echo one
> conftest.one
37478 echo two
> conftest.two
37480 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37481 test -s conftest.one
&& test -s conftest.two
&&
37482 test -s conftest.dir
/conftest.one
&&
37483 test -s conftest.dir
/conftest.two
37485 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37498 rm -rf conftest.one conftest.two conftest.dir
37501 if test "${ac_cv_path_install+set}" = set; then
37502 INSTALL
=$ac_cv_path_install
37504 # As a last resort, use the slow shell script. Don't cache a
37505 # value for INSTALL within a source directory, because that will
37506 # break other packages using the cache if that directory is
37507 # removed, or if the value is a relative name.
37508 INSTALL
=$ac_install_sh
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37512 $as_echo "$INSTALL" >&6; }
37514 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37515 # It thinks the first close brace ends the variable substitution.
37516 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37518 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37520 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37528 if test "x$BAKEFILE_HOST" = "x"; then
37529 if test "x${host}" = "x" ; then
37530 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37533 BAKEFILE_HOST
="${host}"
37536 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37538 if test -n "$ac_tool_prefix"; then
37539 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37540 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37542 $as_echo_n "checking for $ac_word... " >&6; }
37543 if ${ac_cv_prog_RANLIB+:} false
; then :
37544 $as_echo_n "(cached) " >&6
37546 if test -n "$RANLIB"; then
37547 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37550 for as_dir
in $PATH
37553 test -z "$as_dir" && as_dir
=.
37554 for ac_exec_ext
in '' $ac_executable_extensions; do
37555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37556 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37566 RANLIB
=$ac_cv_prog_RANLIB
37567 if test -n "$RANLIB"; then
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37569 $as_echo "$RANLIB" >&6; }
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37572 $as_echo "no" >&6; }
37577 if test -z "$ac_cv_prog_RANLIB"; then
37578 ac_ct_RANLIB
=$RANLIB
37579 # Extract the first word of "ranlib", so it can be a program name with args.
37580 set dummy ranlib
; ac_word
=$2
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37582 $as_echo_n "checking for $ac_word... " >&6; }
37583 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
37584 $as_echo_n "(cached) " >&6
37586 if test -n "$ac_ct_RANLIB"; then
37587 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37590 for as_dir
in $PATH
37593 test -z "$as_dir" && as_dir
=.
37594 for ac_exec_ext
in '' $ac_executable_extensions; do
37595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37596 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37606 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37607 if test -n "$ac_ct_RANLIB"; then
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37609 $as_echo "$ac_ct_RANLIB" >&6; }
37611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37612 $as_echo "no" >&6; }
37615 if test "x$ac_ct_RANLIB" = x
; then
37618 case $cross_compiling:$ac_tool_warned in
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37622 ac_tool_warned
=yes ;;
37624 RANLIB
=$ac_ct_RANLIB
37627 RANLIB
="$ac_cv_prog_RANLIB"
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37632 $as_echo_n "checking whether ln -s works... " >&6; }
37634 if test "$LN_S" = "ln -s"; then
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37636 $as_echo "yes" >&6; }
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37639 $as_echo "no, using $LN_S" >&6; }
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37644 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37646 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37647 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
37648 $as_echo_n "(cached) " >&6
37650 cat >conftest.
make <<\_ACEOF
37653 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37655 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37656 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37657 *@@@
%%%=?
*=@@@
%%%*)
37658 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37660 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37662 rm -f conftest.
make
37664 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37666 $as_echo "yes" >&6; }
37669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37670 $as_echo "no" >&6; }
37671 SET_MAKE
="MAKE=${MAKE-make}"
37676 if test "x$SUNCXX" = "xyes"; then
37678 AROPTIONS
="-xar -o"
37680 elif test "x$SGICC" = "xyes"; then
37685 if test -n "$ac_tool_prefix"; then
37686 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37687 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37689 $as_echo_n "checking for $ac_word... " >&6; }
37690 if ${ac_cv_prog_AR+:} false
; then :
37691 $as_echo_n "(cached) " >&6
37693 if test -n "$AR"; then
37694 ac_cv_prog_AR
="$AR" # Let the user override the test.
37696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37697 for as_dir
in $PATH
37700 test -z "$as_dir" && as_dir
=.
37701 for ac_exec_ext
in '' $ac_executable_extensions; do
37702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37703 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37714 if test -n "$AR"; then
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37716 $as_echo "$AR" >&6; }
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37719 $as_echo "no" >&6; }
37724 if test -z "$ac_cv_prog_AR"; then
37726 # Extract the first word of "ar", so it can be a program name with args.
37727 set dummy
ar; ac_word
=$2
37728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37729 $as_echo_n "checking for $ac_word... " >&6; }
37730 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
37731 $as_echo_n "(cached) " >&6
37733 if test -n "$ac_ct_AR"; then
37734 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37737 for as_dir
in $PATH
37740 test -z "$as_dir" && as_dir
=.
37741 for ac_exec_ext
in '' $ac_executable_extensions; do
37742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37743 ac_cv_prog_ac_ct_AR
="ar"
37744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37753 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37754 if test -n "$ac_ct_AR"; then
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37756 $as_echo "$ac_ct_AR" >&6; }
37758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37759 $as_echo "no" >&6; }
37762 if test "x$ac_ct_AR" = x
; then
37765 case $cross_compiling:$ac_tool_warned in
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37769 ac_tool_warned
=yes ;;
37774 AR
="$ac_cv_prog_AR"
37781 if test -n "$ac_tool_prefix"; then
37782 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37783 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37785 $as_echo_n "checking for $ac_word... " >&6; }
37786 if ${ac_cv_prog_STRIP+:} false
; then :
37787 $as_echo_n "(cached) " >&6
37789 if test -n "$STRIP"; then
37790 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37793 for as_dir
in $PATH
37796 test -z "$as_dir" && as_dir
=.
37797 for ac_exec_ext
in '' $ac_executable_extensions; do
37798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37799 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37809 STRIP
=$ac_cv_prog_STRIP
37810 if test -n "$STRIP"; then
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37812 $as_echo "$STRIP" >&6; }
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37815 $as_echo "no" >&6; }
37820 if test -z "$ac_cv_prog_STRIP"; then
37822 # Extract the first word of "strip", so it can be a program name with args.
37823 set dummy strip
; ac_word
=$2
37824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37825 $as_echo_n "checking for $ac_word... " >&6; }
37826 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
37827 $as_echo_n "(cached) " >&6
37829 if test -n "$ac_ct_STRIP"; then
37830 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37833 for as_dir
in $PATH
37836 test -z "$as_dir" && as_dir
=.
37837 for ac_exec_ext
in '' $ac_executable_extensions; do
37838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37839 ac_cv_prog_ac_ct_STRIP
="strip"
37840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37849 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37850 if test -n "$ac_ct_STRIP"; then
37851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37852 $as_echo "$ac_ct_STRIP" >&6; }
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37855 $as_echo "no" >&6; }
37858 if test "x$ac_ct_STRIP" = x
; then
37861 case $cross_compiling:$ac_tool_warned in
37863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37865 ac_tool_warned
=yes ;;
37870 STRIP
="$ac_cv_prog_STRIP"
37873 if test -n "$ac_tool_prefix"; then
37874 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37875 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37877 $as_echo_n "checking for $ac_word... " >&6; }
37878 if ${ac_cv_prog_NM+:} false
; then :
37879 $as_echo_n "(cached) " >&6
37881 if test -n "$NM"; then
37882 ac_cv_prog_NM
="$NM" # Let the user override the test.
37884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37885 for as_dir
in $PATH
37888 test -z "$as_dir" && as_dir
=.
37889 for ac_exec_ext
in '' $ac_executable_extensions; do
37890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37891 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37902 if test -n "$NM"; then
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37904 $as_echo "$NM" >&6; }
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37907 $as_echo "no" >&6; }
37912 if test -z "$ac_cv_prog_NM"; then
37914 # Extract the first word of "nm", so it can be a program name with args.
37915 set dummy nm
; ac_word
=$2
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37917 $as_echo_n "checking for $ac_word... " >&6; }
37918 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
37919 $as_echo_n "(cached) " >&6
37921 if test -n "$ac_ct_NM"; then
37922 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37925 for as_dir
in $PATH
37928 test -z "$as_dir" && as_dir
=.
37929 for ac_exec_ext
in '' $ac_executable_extensions; do
37930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37931 ac_cv_prog_ac_ct_NM
="nm"
37932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37941 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37942 if test -n "$ac_ct_NM"; then
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37944 $as_echo "$ac_ct_NM" >&6; }
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37947 $as_echo "no" >&6; }
37950 if test "x$ac_ct_NM" = x
; then
37953 case $cross_compiling:$ac_tool_warned in
37955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37957 ac_tool_warned
=yes ;;
37962 NM
="$ac_cv_prog_NM"
37966 INSTALL_DIR
="mkdir -p"
37970 case ${BAKEFILE_HOST} in
37971 *-*-cygwin* | *-*-mingw32* )
37972 LDFLAGS_GUI
="-mwindows"
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37979 $as_echo_n "checking if make is GNU make... " >&6; }
37980 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
37981 $as_echo_n "(cached) " >&6
37984 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37985 egrep -s GNU
> /dev
/null
); then
37986 bakefile_cv_prog_makeisgnu
="yes"
37988 bakefile_cv_prog_makeisgnu
="no"
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37993 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37995 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38012 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38013 case "${BAKEFILE_HOST}" in
38020 *-pc-os2_emx | *-pc-os2-emx )
38030 powerpc
-apple-macos* )
38039 case "$BAKEFILE_FORCE_PLATFORM" in
38060 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38075 # Check whether --enable-omf was given.
38076 if test "${enable_omf+set}" = set; then :
38077 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38081 case "${BAKEFILE_HOST}" in
38083 if test "x$GCC" = "xyes"; then
38084 CFLAGS
="$CFLAGS -fno-common"
38085 CXXFLAGS
="$CXXFLAGS -fno-common"
38087 if test "x$XLCC" = "xyes"; then
38088 CFLAGS
="$CFLAGS -qnocommon"
38089 CXXFLAGS
="$CXXFLAGS -qnocommon"
38093 *-pc-os2_emx | *-pc-os2-emx )
38094 if test "x$bk_os2_use_omf" = "xyes" ; then
38097 LDFLAGS
="-Zomf $LDFLAGS"
38098 CFLAGS
="-Zomf $CFLAGS"
38099 CXXFLAGS
="-Zomf $CXXFLAGS"
38107 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38113 SO_SUFFIX_MODULE
="so"
38118 DLLPREFIX_MODULE
=""
38122 case "${BAKEFILE_HOST}" in
38127 SO_SUFFIX_MODULE
="sl"
38131 SO_SUFFIX_MODULE
="a"
38135 SO_SUFFIX_MODULE
="dll"
38136 DLLIMP_SUFFIX
="dll.a"
38143 SO_SUFFIX_MODULE
="dll"
38144 DLLIMP_SUFFIX
="dll.a"
38154 *-pc-os2_emx | *-pc-os2-emx )
38156 SO_SUFFIX_MODULE
="dll"
38157 DLLIMP_SUFFIX
=$OS2_LIBEXT
38161 LIBEXT
=".$OS2_LIBEXT"
38166 SO_SUFFIX_MODULE
="bundle"
38170 if test "x$DLLIMP_SUFFIX" = "x" ; then
38171 DLLIMP_SUFFIX
="$SO_SUFFIX"
38186 if test "x$GCC" = "xyes"; then
38190 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38191 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38194 case "${BAKEFILE_HOST}" in
38196 if test "x$GCC" != "xyes"; then
38197 LDFLAGS
="$LDFLAGS -L/usr/lib"
38199 SHARED_LD_CC
="${CC} -b -o"
38200 SHARED_LD_CXX
="${CXX} -b -o"
38206 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38208 elif test "x$SUNCXX" = "xyes"; then
38209 SHARED_LD_CC
="${CC} -G -o"
38210 SHARED_LD_CXX
="${CXX} -G -o"
38216 if test "x$SUNCXX" = xyes
; then
38217 SHARED_LD_CC
="${CC} -G -o"
38218 SHARED_LD_CXX
="${CXX} -G -o"
38226 cat <<EOF >shared-ld-sh
38228 #-----------------------------------------------------------------------------
38229 #-- Name: distrib/mac/shared-ld-sh
38230 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38231 #-- Author: Gilles Depeyrot
38232 #-- Copyright: (c) 2002 Gilles Depeyrot
38233 #-- Licence: any use permitted
38234 #-----------------------------------------------------------------------------
38239 linking_flag="-dynamiclib"
38240 ldargs="-r -keep_private_externs -nostdlib"
38242 if test "x${D}CXX" = "x"; then
38246 while test ${D}# -gt 0; do
38253 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38254 # collect these options and values
38255 args="${D}{args} ${D}1 ${D}2"
38260 # collect these options and values
38261 ldargs="${D}{ldargs} ${D}1 ${D}2"
38266 # collect these load args
38267 ldargs="${D}{ldargs} ${D}1"
38270 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38271 # collect these options
38272 args="${D}{args} ${D}1"
38275 -dynamiclib|-bundle)
38276 linking_flag="${D}1"
38280 echo "shared-ld: unhandled option '${D}1'"
38284 *.o | *.a | *.dylib)
38285 # collect object files
38286 objects="${D}{objects} ${D}1"
38290 echo "shared-ld: unhandled argument '${D}1'"
38301 # Link one module containing all the others
38303 if test ${D}{verbose} = 1; then
38304 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38306 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38310 # Link the shared library from the single module created, but only if the
38311 # previous command didn't fail:
38313 if test ${D}{status} = 0; then
38314 if test ${D}{verbose} = 1; then
38315 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38317 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38322 # Remove intermediate module
38324 rm -f master.${D}${D}.o
38329 chmod +x shared
-ld-sh
38331 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38332 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38336 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38337 if ${bakefile_cv_gcc31+:} false
; then :
38338 $as_echo_n "(cached) " >&6
38341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38342 /* end confdefs.h. */
38348 #if (__GNUC__ < 3) || \
38349 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38357 if ac_fn_c_try_compile
"$LINENO"; then :
38359 bakefile_cv_gcc31
=yes
38363 bakefile_cv_gcc31
=no
38367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38371 $as_echo "$bakefile_cv_gcc31" >&6; }
38372 if test "$bakefile_cv_gcc31" = "no"; then
38373 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38374 SHARED_LD_CXX
="$SHARED_LD_CC"
38376 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38377 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38380 if test "x$GCC" == "xyes"; then
38381 PIC_FLAG
="-dynamic -fPIC"
38383 if test "x$XLCC" = "xyes"; then
38384 PIC_FLAG
="-dynamic -DPIC"
38389 if test "x$GCC" = "xyes"; then
38392 case "${BAKEFILE_HOST}" in
38394 LD_EXPFULL
="-Wl,-bexpfull"
38398 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38399 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38401 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38402 set dummy makeC
++SharedLib
; ac_word
=$2
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38404 $as_echo_n "checking for $ac_word... " >&6; }
38405 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38406 $as_echo_n "(cached) " >&6
38408 if test -n "$AIX_CXX_LD"; then
38409 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38412 for as_dir
in $PATH
38415 test -z "$as_dir" && as_dir
=.
38416 for ac_exec_ext
in '' $ac_executable_extensions; do
38417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38418 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38426 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38429 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38430 if test -n "$AIX_CXX_LD"; then
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38432 $as_echo "$AIX_CXX_LD" >&6; }
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38435 $as_echo "no" >&6; }
38439 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38440 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38445 SHARED_LD_CC
="${LD} -nostart -o"
38446 SHARED_LD_CXX
="${LD} -nostart -o"
38450 if test "x$GCC" != "xyes"; then
38455 *-*-cygwin* | *-*-mingw32* )
38457 SHARED_LD_CC
="\$(CC) -shared -o"
38458 SHARED_LD_CXX
="\$(CXX) -shared -o"
38462 *-pc-os2_emx | *-pc-os2-emx )
38463 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38464 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38468 cat <<EOF >dllar.sh
38471 # dllar - a tool to build both a .dll and an .a file
38472 # from a set of object (.o) files for EMX/OS2.
38474 # Written by Andrew Zabolotny, bit@freya.etu.ru
38475 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38477 # This script will accept a set of files on the command line.
38478 # All the public symbols from the .o files will be exported into
38479 # a .DEF file, then linker will be run (through gcc) against them to
38480 # build a shared library consisting of all given .o files. All libraries
38481 # (.a) will be first decompressed into component .o files then act as
38482 # described above. You can optionally give a description (-d "description")
38483 # which will be put into .DLL. To see the list of accepted options (as well
38484 # as command-line format) simply run this program without options. The .DLL
38485 # is built to be imported by name (there is no guarantee that new versions
38486 # of the library you build will have same ordinals for same symbols).
38488 # dllar is free software; you can redistribute it and/or modify
38489 # it under the terms of the GNU General Public License as published by
38490 # the Free Software Foundation; either version 2, or (at your option)
38491 # any later version.
38493 # dllar is distributed in the hope that it will be useful,
38494 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38496 # GNU General Public License for more details.
38498 # You should have received a copy of the GNU General Public License
38499 # along with dllar; see the file COPYING. If not, write to the Free
38500 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38503 # To successfuly run this program you will need:
38504 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38505 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38507 # (used to build the .dll)
38509 # (used to create .def file from .o files)
38511 # (used to create .a file from .def file)
38512 # - GNU text utilites (cat, sort, uniq)
38513 # used to process emxexp output
38514 # - GNU file utilities (mv, rm)
38516 # - lxlite (optional, see flag below)
38517 # (used for general .dll cleanup)
38524 # basnam, variant of basename, which does _not_ remove the path, _iff_
38525 # second argument (suffix to remove) is given
38529 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38532 echo ${D}1 | sed 's/'${D}2'${D}//'
38535 echo "error in basnam ${D}*"
38541 # Cleanup temporary files and output
38544 for i in ${D}inputFiles ; do
38547 rm -rf \`basnam ${D}i !\`
38554 # Kill result in case of failure as there is just to many stupid make/nmake
38555 # things out there which doesn't do this.
38556 if [ ${D}# -eq 0 ]; then
38557 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38561 # Print usage and exit script with rc=1.
38563 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38564 echo ' [-name-mangler-script script.sh]'
38565 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38566 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38567 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38568 echo ' [*.o] [*.a]'
38569 echo '*> "output_file" should have no extension.'
38570 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38571 echo ' The import library name is derived from this and is set to "name".a,'
38572 echo ' unless overridden by -import'
38573 echo '*> "importlib_name" should have no extension.'
38574 echo ' If it has the .o, or .a extension, it is automatically removed.'
38575 echo ' This name is used as the import library name and may be longer and'
38576 echo ' more descriptive than the DLL name which has to follow the old '
38577 echo ' 8.3 convention of FAT.'
38578 echo '*> "script.sh may be given to override the output_file name by a'
38579 echo ' different name. It is mainly useful if the regular make process'
38580 echo ' of some package does not take into account OS/2 restriction of'
38581 echo ' DLL name lengths. It takes the importlib name as input and is'
38582 echo ' supposed to procude a shorter name as output. The script should'
38583 echo ' expect to get importlib_name without extension and should produce'
38584 echo ' a (max.) 8 letter name without extension.'
38585 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38586 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38587 echo ' These flags will be put at the start of GCC command line.'
38588 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38589 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38590 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38591 echo ' If the last character of a symbol is "*", all symbols beginning'
38592 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38593 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38594 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38595 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38596 echo ' C runtime DLLs.'
38597 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38598 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38599 echo ' unchanged to GCC at the end of command line.'
38600 echo '*> If you create a DLL from a library and you do not specify -o,'
38601 echo ' the basename for DLL and import library will be set to library name,'
38602 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38603 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38604 echo ' library will be renamed into gcc_s.a.'
38607 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38608 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38613 # Execute a command.
38614 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38615 # @Uses Whatever CleanUp() uses.
38621 if [ ${D}rcCmd -ne 0 ]; then
38622 echo "command failed, exit code="${D}rcCmd
38637 CFLAGS="-s -Zcrtdll"
38639 EXPORT_BY_ORDINALS=0
38644 case ${D}curDirS in
38648 curDirS=${D}{curDirS}"/"
38651 # Parse commandline
38654 while [ ${D}1 ]; do
38657 EXPORT_BY_ORDINALS=1;
38667 -name-mangler-script)
38688 exclude_symbols=${D}{exclude_symbols}${D}1" "
38692 library_flags=${D}{library_flags}${D}1" "
38711 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38714 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38715 if [ ${D}omfLinking -eq 1 ]; then
38716 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38718 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38723 if [ ${D}libsToLink -ne 0 ]; then
38724 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38726 for file in ${D}1 ; do
38727 if [ -f ${D}file ]; then
38728 inputFiles="${D}{inputFiles} ${D}file"
38732 if [ ${D}found -eq 0 ]; then
38733 echo "ERROR: No file(s) found: "${D}1
38740 done # iterate cmdline words
38743 if [ -z "${D}inputFiles" ]; then
38744 echo "dllar: no input files"
38748 # Now extract all .o files from .a files
38750 for file in ${D}inputFiles ; do
38761 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38766 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38768 if [ ${D}? -ne 0 ]; then
38769 echo "Failed to create subdirectory ./${D}dirname"
38773 # Append '!' to indicate archive
38774 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38775 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38778 for subfile in ${D}dirname/*.o* ; do
38779 if [ -f ${D}subfile ]; then
38781 if [ -s ${D}subfile ]; then
38782 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38783 newInputFiles="${D}newInputFiles ${D}subfile"
38787 if [ ${D}found -eq 0 ]; then
38788 echo "WARNING: there are no files in archive \\'${D}file\\'"
38792 newInputFiles="${D}{newInputFiles} ${D}file"
38796 inputFiles="${D}newInputFiles"
38798 # Output filename(s).
38800 if [ -z ${D}outFile ]; then
38802 set outFile ${D}inputFiles; outFile=${D}2
38805 # If it is an archive, remove the '!' and the '_%' suffixes
38806 case ${D}outFile in
38808 outFile=\`basnam ${D}outFile _%!\`
38813 case ${D}outFile in
38815 outFile=\`basnam ${D}outFile .dll\`
38818 outFile=\`basnam ${D}outFile .DLL\`
38821 outFile=\`basnam ${D}outFile .o\`
38824 outFile=\`basnam ${D}outFile .obj\`
38827 outFile=\`basnam ${D}outFile .a\`
38830 outFile=\`basnam ${D}outFile .lib\`
38835 case ${D}outimpFile in
38837 outimpFile=\`basnam ${D}outimpFile .a\`
38840 outimpFile=\`basnam ${D}outimpFile .lib\`
38845 if [ -z ${D}outimpFile ]; then
38846 outimpFile=${D}outFile
38848 defFile="${D}{outFile}.def"
38849 arcFile="${D}{outimpFile}.a"
38850 arcFile2="${D}{outimpFile}.lib"
38852 #create ${D}dllFile as something matching 8.3 restrictions,
38853 if [ -z ${D}renameScript ] ; then
38854 dllFile="${D}outFile"
38856 dllFile=\`${D}renameScript ${D}outimpFile\`
38859 if [ ${D}do_backup -ne 0 ] ; then
38860 if [ -f ${D}arcFile ] ; then
38861 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38863 if [ -f ${D}arcFile2 ] ; then
38864 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38868 # Extract public symbols from all the object files.
38869 tmpdefFile=${D}{defFile}_%
38870 rm -f ${D}tmpdefFile
38871 for file in ${D}inputFiles ; do
38876 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38881 # Create the def file.
38883 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38884 dllFile="${D}{dllFile}.dll"
38885 if [ ! -z ${D}description ]; then
38886 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38888 echo "EXPORTS" >> ${D}defFile
38890 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38891 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38893 # Checks if the export is ok or not.
38894 for word in ${D}exclude_symbols; do
38895 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38896 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38900 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38901 sed "=" < ${D}tmpdefFile | \\
38905 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38907 ' > ${D}{tmpdefFile}%
38908 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38910 rm -f ${D}{tmpdefFile}%
38912 cat ${D}tmpdefFile >> ${D}defFile
38913 rm -f ${D}tmpdefFile
38915 # Do linking, create implib, and apply lxlite.
38917 for file in ${D}inputFiles ; do
38922 gccCmdl="${D}gccCmdl ${D}file"
38926 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38927 touch "${D}{outFile}.dll"
38929 doCommand "emximp -o ${D}arcFile ${D}defFile"
38930 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38932 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38935 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38937 doCommand "emxomf -s -l ${D}arcFile"
38947 powerpc
-apple-macos* | \
38948 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
38958 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
38961 if test "x$PIC_FLAG" != "x" ; then
38962 PIC_FLAG
="$PIC_FLAG -DPIC"
38965 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38966 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38968 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38969 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38984 USE_SOTWOSYMLINKS
=0
38988 case "${BAKEFILE_HOST}" in
38989 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38990 *-*-k*bsd
*-gnu | *-*-mirbsd* )
38991 if test "x$SUNCXX" = "xyes"; then
38994 SONAME_FLAG
="-Wl,-soname,"
38998 USE_SOTWOSYMLINKS
=1
39010 USE_SOTWOSYMLINKS
=1
39028 # Check whether --enable-dependency-tracking was given.
39029 if test "${enable_dependency_tracking+set}" = set; then :
39030 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39035 $as_echo_n "checking for dependency tracking method... " >&6; }
39038 if test "x$bk_use_trackdeps" = "xno" ; then
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39041 $as_echo "disabled" >&6; }
39045 if test "x$GCC" = "xyes"; then
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39049 $as_echo "gcc" >&6; }
39050 elif test "x$MWCC" = "xyes"; then
39053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39054 $as_echo "mwcc" >&6; }
39055 elif test "x$SUNCC" = "xyes"; then
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39059 $as_echo "Sun cc" >&6; }
39060 elif test "x$SGICC" = "xyes"; then
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39064 $as_echo "SGI cc" >&6; }
39065 elif test "x$HPCC" = "xyes"; then
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39069 $as_echo "HP cc" >&6; }
39070 elif test "x$COMPAQCC" = "xyes"; then
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39074 $as_echo "Compaq cc" >&6; }
39077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39078 $as_echo "none" >&6; }
39081 if test $DEPS_TRACKING = 1 ; then
39087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39088 # script. It is used to track C/C++ files dependencies in portable way.
39090 # Permission is given to use this file in any way.
39092 DEPSMODE=${DEPSMODE}
39093 DEPSFLAG="${DEPSFLAG}"
39096 if test ${D}DEPSMODE = gcc ; then
39097 ${D}* ${D}{DEPSFLAG}
39100 # determine location of created files:
39101 while test ${D}# -gt 0; do
39115 objfilebase=\`basename ${D}objfile\`
39116 builddir=\`dirname ${D}objfile\`
39117 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39118 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39119 depsdir=${D}builddir/${D}DEPSDIRBASE
39120 mkdir -p ${D}depsdir
39122 # if the compiler failed, we're done:
39123 if test ${D}{status} != 0 ; then
39128 # move created file to the location we want it in:
39129 if test -f ${D}depfile ; then
39130 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39133 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39134 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39135 if test ! -f ${D}depfile ; then
39136 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39137 depfile="${D}objfile.d"
39139 if test -f ${D}depfile ; then
39140 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39146 elif test ${D}DEPSMODE = mwcc ; then
39147 ${D}* || exit ${D}?
39148 # Run mwcc again with -MM and redirect into the dep file we want
39149 # NOTE: We can't use shift here because we need ${D}* to be valid
39151 for arg in ${D}* ; do
39152 if test "${D}prevarg" = "-o"; then
39166 objfilebase=\`basename ${D}objfile\`
39167 builddir=\`dirname ${D}objfile\`
39168 depsdir=${D}builddir/${D}DEPSDIRBASE
39169 mkdir -p ${D}depsdir
39171 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39174 elif test ${D}DEPSMODE = unixcc; then
39175 ${D}* || exit ${D}?
39176 # Run compiler again with deps flag and redirect into the dep file.
39177 # It doesn't work if the '-o FILE' option is used, but without it the
39178 # dependency file will contain the wrong name for the object. So it is
39179 # removed from the command line, and the dep file is fixed with sed.
39181 while test ${D}# -gt 0; do
39188 eval arg${D}#=\\${D}1
39189 cmd="${D}cmd \\${D}arg${D}#"
39195 objfilebase=\`basename ${D}objfile\`
39196 builddir=\`dirname ${D}objfile\`
39197 depsdir=${D}builddir/${D}DEPSDIRBASE
39198 mkdir -p ${D}depsdir
39200 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39210 BK_DEPS
="`pwd`/bk-deps"
39218 case ${BAKEFILE_HOST} in
39219 *-*-cygwin* | *-*-mingw32* )
39220 if test -n "$ac_tool_prefix"; then
39221 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39222 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39224 $as_echo_n "checking for $ac_word... " >&6; }
39225 if ${ac_cv_prog_WINDRES+:} false
; then :
39226 $as_echo_n "(cached) " >&6
39228 if test -n "$WINDRES"; then
39229 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39232 for as_dir
in $PATH
39235 test -z "$as_dir" && as_dir
=.
39236 for ac_exec_ext
in '' $ac_executable_extensions; do
39237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39238 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39248 WINDRES
=$ac_cv_prog_WINDRES
39249 if test -n "$WINDRES"; then
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39251 $as_echo "$WINDRES" >&6; }
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39254 $as_echo "no" >&6; }
39259 if test -z "$ac_cv_prog_WINDRES"; then
39260 ac_ct_WINDRES
=$WINDRES
39261 # Extract the first word of "windres", so it can be a program name with args.
39262 set dummy windres
; ac_word
=$2
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39264 $as_echo_n "checking for $ac_word... " >&6; }
39265 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39266 $as_echo_n "(cached) " >&6
39268 if test -n "$ac_ct_WINDRES"; then
39269 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39272 for as_dir
in $PATH
39275 test -z "$as_dir" && as_dir
=.
39276 for ac_exec_ext
in '' $ac_executable_extensions; do
39277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39278 ac_cv_prog_ac_ct_WINDRES
="windres"
39279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39288 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39289 if test -n "$ac_ct_WINDRES"; then
39290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39291 $as_echo "$ac_ct_WINDRES" >&6; }
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39294 $as_echo "no" >&6; }
39297 if test "x$ac_ct_WINDRES" = x
; then
39300 case $cross_compiling:$ac_tool_warned in
39302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39304 ac_tool_warned
=yes ;;
39306 WINDRES
=$ac_ct_WINDRES
39309 WINDRES
="$ac_cv_prog_WINDRES"
39314 *-*-darwin* | powerpc
-apple-macos* )
39315 # Extract the first word of "Rez", so it can be a program name with args.
39316 set dummy Rez
; ac_word
=$2
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39318 $as_echo_n "checking for $ac_word... " >&6; }
39319 if ${ac_cv_prog_REZ+:} false
; then :
39320 $as_echo_n "(cached) " >&6
39322 if test -n "$REZ"; then
39323 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39326 for as_dir
in $PATH
39329 test -z "$as_dir" && as_dir
=.
39330 for ac_exec_ext
in '' $ac_executable_extensions; do
39331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39332 ac_cv_prog_REZ
="Rez"
39333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39340 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39343 REZ
=$ac_cv_prog_REZ
39344 if test -n "$REZ"; then
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39346 $as_echo "$REZ" >&6; }
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39349 $as_echo "no" >&6; }
39353 # Extract the first word of "SetFile", so it can be a program name with args.
39354 set dummy SetFile
; ac_word
=$2
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39356 $as_echo_n "checking for $ac_word... " >&6; }
39357 if ${ac_cv_prog_SETFILE+:} false
; then :
39358 $as_echo_n "(cached) " >&6
39360 if test -n "$SETFILE"; then
39361 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39364 for as_dir
in $PATH
39367 test -z "$as_dir" && as_dir
=.
39368 for ac_exec_ext
in '' $ac_executable_extensions; do
39369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39370 ac_cv_prog_SETFILE
="SetFile"
39371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39378 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39381 SETFILE
=$ac_cv_prog_SETFILE
39382 if test -n "$SETFILE"; then
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39384 $as_echo "$SETFILE" >&6; }
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39387 $as_echo "no" >&6; }
39402 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39405 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39409 # Check whether --enable-precomp-headers was given.
39410 if test "${enable_precomp_headers+set}" = set; then :
39411 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39420 case ${BAKEFILE_HOST} in
39426 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39427 if test "x$GCC" = "xyes"; then
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39429 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39431 /* end confdefs.h. */
39437 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39438 There is no PCH support
39441 There is no PCH support
39443 #if (__GNUC__ == 3) && \
39444 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39445 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39446 ( defined(__INTEL_COMPILER) )
39447 There is no PCH support
39454 if ac_fn_c_try_compile
"$LINENO"; then :
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39457 $as_echo "yes" >&6; }
39462 if test "$INTELCXX8" = "yes"; then
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39464 $as_echo "yes" >&6; }
39466 if test "$INTELCXX10" = "yes"; then
39467 ICC_PCH_CREATE_SWITCH
="-pch-create"
39468 ICC_PCH_USE_SWITCH
="-pch-use"
39470 ICC_PCH_CREATE_SWITCH
="-create-pch"
39471 ICC_PCH_USE_SWITCH
="-use-pch"
39474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39475 $as_echo "no" >&6; }
39479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39480 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39484 cat <<EOF >bk-make-pch
39487 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39488 # script. It is used to generated precompiled headers.
39490 # Permission is given to use this file in any way.
39497 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39502 while test ${D}{#} -gt 0; do
39506 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39507 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39508 headerfile="${D}{incdir}/${D}{header}"
39511 -use-pch|-use_pch|-pch-use )
39516 if test ${D}add_to_cmdline = 1 ; then
39517 compiler="${D}{compiler} ${D}{1}"
39522 if test "x${D}{headerfile}" = "x" ; then
39523 echo "error: can't find header ${D}{header} in include paths" >&2
39525 if test -f ${D}{outfile} ; then
39526 rm -f ${D}{outfile}
39528 mkdir -p \`dirname ${D}{outfile}\`
39530 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39531 mkdir -p ${D}{builddir}/.deps
39532 if test "x${GCC_PCH}" = "x1" ; then
39533 # can do this because gcc is >= 3.4:
39534 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39535 elif test "x${ICC_PCH}" = "x1" ; then
39536 filename=pch_gen-${D}${D}
39537 file=${D}{filename}.c
39538 dfile=${D}{filename}.d
39539 cat > ${D}file <<EOT
39540 #include "${D}header"
39542 # using -MF icc complains about differing command lines in creation/use
39543 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39544 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39545 rm -f ${D}file ${D}dfile ${D}{filename}.o
39551 chmod +x bk
-make-pch
39552 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39563 COND_BUILD_DEBUG
="#"
39564 if test "x$BUILD" = "xdebug" ; then
39565 COND_BUILD_DEBUG
=""
39568 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39569 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39570 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39573 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39574 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39575 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39578 COND_BUILD_DEBUG_UNICODE_0
="#"
39579 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39580 COND_BUILD_DEBUG_UNICODE_0
=""
39583 COND_BUILD_DEBUG_UNICODE_1
="#"
39584 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39585 COND_BUILD_DEBUG_UNICODE_1
=""
39588 COND_BUILD_RELEASE
="#"
39589 if test "x$BUILD" = "xrelease" ; then
39590 COND_BUILD_RELEASE
=""
39593 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39594 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39595 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39598 COND_BUILD_RELEASE_UNICODE_0
="#"
39599 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39600 COND_BUILD_RELEASE_UNICODE_0
=""
39603 COND_BUILD_RELEASE_UNICODE_1
="#"
39604 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39605 COND_BUILD_RELEASE_UNICODE_1
=""
39608 COND_BUILD_debug
="#"
39609 if test "x$BUILD" = "xdebug" ; then
39610 COND_BUILD_debug
=""
39613 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39614 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39615 COND_BUILD_debug_DEBUG_FLAG_default
=""
39618 COND_BUILD_debug_DEBUG_INFO_default
="#"
39619 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39620 COND_BUILD_debug_DEBUG_INFO_default
=""
39623 COND_BUILD_debug_UNICODE_0
="#"
39624 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39625 COND_BUILD_debug_UNICODE_0
=""
39628 COND_BUILD_debug_UNICODE_1
="#"
39629 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39630 COND_BUILD_debug_UNICODE_1
=""
39633 COND_BUILD_release
="#"
39634 if test "x$BUILD" = "xrelease" ; then
39635 COND_BUILD_release
=""
39638 COND_BUILD_release_DEBUG_INFO_default
="#"
39639 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39640 COND_BUILD_release_DEBUG_INFO_default
=""
39643 COND_BUILD_release_UNICODE_0
="#"
39644 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39645 COND_BUILD_release_UNICODE_0
=""
39648 COND_BUILD_release_UNICODE_1
="#"
39649 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39650 COND_BUILD_release_UNICODE_1
=""
39653 COND_DEBUG_FLAG_0
="#"
39654 if test "x$DEBUG_FLAG" = "x0" ; then
39655 COND_DEBUG_FLAG_0
=""
39658 COND_DEBUG_FLAG_1
="#"
39659 if test "x$DEBUG_FLAG" = "x1" ; then
39660 COND_DEBUG_FLAG_1
=""
39663 COND_DEBUG_INFO_0
="#"
39664 if test "x$DEBUG_INFO" = "x0" ; then
39665 COND_DEBUG_INFO_0
=""
39668 COND_DEBUG_INFO_1
="#"
39669 if test "x$DEBUG_INFO" = "x1" ; then
39670 COND_DEBUG_INFO_1
=""
39673 COND_DEPS_TRACKING_0
="#"
39674 if test "x$DEPS_TRACKING" = "x0" ; then
39675 COND_DEPS_TRACKING_0
=""
39678 COND_DEPS_TRACKING_1
="#"
39679 if test "x$DEPS_TRACKING" = "x1" ; then
39680 COND_DEPS_TRACKING_1
=""
39684 if test "x$GCC_PCH" = "x1" ; then
39689 if test "x$ICC_PCH" = "x1" ; then
39693 COND_MONOLITHIC_0
="#"
39694 if test "x$MONOLITHIC" = "x0" ; then
39695 COND_MONOLITHIC_0
=""
39698 COND_MONOLITHIC_0_SHARED_0
="#"
39699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39700 COND_MONOLITHIC_0_SHARED_0
=""
39703 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
39704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39705 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
39708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
39714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
39718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
39719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
39723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
39724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
39728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
39729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
39733 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
39734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39735 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
39738 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
39739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39740 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
39743 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
39744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39745 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
39748 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
39749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39750 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
39753 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39755 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39758 COND_MONOLITHIC_0_SHARED_1
="#"
39759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39760 COND_MONOLITHIC_0_SHARED_1
=""
39763 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
39764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39765 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
39768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
39774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
39778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
39779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
39783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
39784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39785 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
39788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
39789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
39793 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
39794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39795 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
39798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
39799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39800 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
39803 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
39804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39805 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
39808 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
39809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39810 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
39813 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39815 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39818 COND_MONOLITHIC_0_USE_AUI_1
="#"
39819 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39820 COND_MONOLITHIC_0_USE_AUI_1
=""
39823 COND_MONOLITHIC_0_USE_GUI_1
="#"
39824 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39825 COND_MONOLITHIC_0_USE_GUI_1
=""
39828 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
39829 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39830 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
39833 COND_MONOLITHIC_0_USE_HTML_1
="#"
39834 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39835 COND_MONOLITHIC_0_USE_HTML_1
=""
39838 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
39839 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39840 COND_MONOLITHIC_0_USE_MEDIA_1
=""
39843 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
39844 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39845 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
39848 COND_MONOLITHIC_0_USE_QA_1
="#"
39849 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39850 COND_MONOLITHIC_0_USE_QA_1
=""
39853 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
39854 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39855 COND_MONOLITHIC_0_USE_RIBBON_1
=""
39858 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
39859 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39860 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
39863 COND_MONOLITHIC_0_USE_STC_1
="#"
39864 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39865 COND_MONOLITHIC_0_USE_STC_1
=""
39868 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
39869 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39870 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
39873 COND_MONOLITHIC_0_USE_XRC_1
="#"
39874 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39875 COND_MONOLITHIC_0_USE_XRC_1
=""
39878 COND_MONOLITHIC_1
="#"
39879 if test "x$MONOLITHIC" = "x1" ; then
39880 COND_MONOLITHIC_1
=""
39883 COND_MONOLITHIC_1_SHARED_0
="#"
39884 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39885 COND_MONOLITHIC_1_SHARED_0
=""
39888 COND_MONOLITHIC_1_SHARED_1
="#"
39889 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39890 COND_MONOLITHIC_1_SHARED_1
=""
39893 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39894 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39895 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39899 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39900 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39903 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
39904 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39905 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
39908 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39909 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39910 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39913 COND_PLATFORM_MACOSX_1
="#"
39914 if test "x$PLATFORM_MACOSX" = "x1" ; then
39915 COND_PLATFORM_MACOSX_1
=""
39918 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
39919 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39920 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
39923 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
39924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39925 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
39928 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39930 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39933 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39935 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
39938 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
39939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
39940 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
39943 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
39944 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
39945 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
39948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
39949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39950 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
39953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
39954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
39959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
39963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
39964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39965 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
39968 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
39969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39970 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
39973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
39974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
39978 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39980 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39983 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
39984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39985 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
39988 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39990 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39993 COND_PLATFORM_MACOS_1
="#"
39994 if test "x$PLATFORM_MACOS" = "x1" ; then
39995 COND_PLATFORM_MACOS_1
=""
39998 COND_PLATFORM_MAC_0
="#"
39999 if test "x$PLATFORM_MAC" = "x0" ; then
40000 COND_PLATFORM_MAC_0
=""
40003 COND_PLATFORM_MAC_1
="#"
40004 if test "x$PLATFORM_MAC" = "x1" ; then
40005 COND_PLATFORM_MAC_1
=""
40008 COND_PLATFORM_MSDOS_0
="#"
40009 if test "x$PLATFORM_MSDOS" = "x0" ; then
40010 COND_PLATFORM_MSDOS_0
=""
40013 COND_PLATFORM_MSDOS_1
="#"
40014 if test "x$PLATFORM_MSDOS" = "x1" ; then
40015 COND_PLATFORM_MSDOS_1
=""
40018 COND_PLATFORM_OS2_1
="#"
40019 if test "x$PLATFORM_OS2" = "x1" ; then
40020 COND_PLATFORM_OS2_1
=""
40023 COND_PLATFORM_UNIX_0
="#"
40024 if test "x$PLATFORM_UNIX" = "x0" ; then
40025 COND_PLATFORM_UNIX_0
=""
40028 COND_PLATFORM_UNIX_1
="#"
40029 if test "x$PLATFORM_UNIX" = "x1" ; then
40030 COND_PLATFORM_UNIX_1
=""
40033 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40034 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40035 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40038 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40039 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40040 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40043 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40044 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40045 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40048 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40050 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40053 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40054 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40055 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40058 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40060 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40063 COND_PLATFORM_WIN32_0
="#"
40064 if test "x$PLATFORM_WIN32" = "x0" ; then
40065 COND_PLATFORM_WIN32_0
=""
40068 COND_PLATFORM_WIN32_1
="#"
40069 if test "x$PLATFORM_WIN32" = "x1" ; then
40070 COND_PLATFORM_WIN32_1
=""
40073 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40074 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40075 COND_PLATFORM_WIN32_1_SHARED_0
=""
40079 if test "x$SHARED" = "x0" ; then
40083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40084 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40103 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40105 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40110 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40115 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40118 COND_SHARED_0_USE_STC_1
="#"
40119 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40120 COND_SHARED_0_USE_STC_1
=""
40123 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40124 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40125 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40128 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40129 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40130 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40133 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40134 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40135 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40139 if test "x$SHARED" = "x1" ; then
40143 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40144 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40145 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40149 if test "x$TOOLKIT" = "x" ; then
40153 COND_TOOLKIT_COCOA
="#"
40154 if test "x$TOOLKIT" = "xCOCOA" ; then
40155 COND_TOOLKIT_COCOA
=""
40158 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40159 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40160 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40163 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40164 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40165 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40168 COND_TOOLKIT_DFB
="#"
40169 if test "x$TOOLKIT" = "xDFB" ; then
40170 COND_TOOLKIT_DFB
=""
40173 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40174 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40175 COND_TOOLKIT_DFB_USE_GUI_1
=""
40178 COND_TOOLKIT_GTK
="#"
40179 if test "x$TOOLKIT" = "xGTK" ; then
40180 COND_TOOLKIT_GTK
=""
40183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40184 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40189 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40190 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40194 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40195 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40228 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40238 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40239 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40240 COND_TOOLKIT_GTK_USE_GUI_1
=""
40243 COND_TOOLKIT_MAC
="#"
40244 if test "x$TOOLKIT" = "xMAC" ; then
40245 COND_TOOLKIT_MAC
=""
40248 COND_TOOLKIT_MOTIF
="#"
40249 if test "x$TOOLKIT" = "xMOTIF" ; then
40250 COND_TOOLKIT_MOTIF
=""
40253 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40254 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40255 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40258 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40259 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40260 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40263 COND_TOOLKIT_MSW
="#"
40264 if test "x$TOOLKIT" = "xMSW" ; then
40265 COND_TOOLKIT_MSW
=""
40268 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40269 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40270 COND_TOOLKIT_MSW_USE_GUI_1
=""
40273 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40274 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40275 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40278 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40279 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40280 COND_TOOLKIT_MSW_WXUNIV_0
=""
40283 COND_TOOLKIT_OSX_CARBON
="#"
40284 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40285 COND_TOOLKIT_OSX_CARBON
=""
40288 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40289 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40290 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40293 COND_TOOLKIT_OSX_COCOA
="#"
40294 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40295 COND_TOOLKIT_OSX_COCOA
=""
40298 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40299 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40300 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40303 COND_TOOLKIT_OSX_IPHONE
="#"
40304 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40305 COND_TOOLKIT_OSX_IPHONE
=""
40308 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40309 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40310 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40313 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40314 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40315 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40318 COND_TOOLKIT_PM
="#"
40319 if test "x$TOOLKIT" = "xPM" ; then
40323 COND_TOOLKIT_PM_USE_GUI_1
="#"
40324 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40325 COND_TOOLKIT_PM_USE_GUI_1
=""
40328 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40329 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40330 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40333 COND_TOOLKIT_WINCE
="#"
40334 if test "x$TOOLKIT" = "xWINCE" ; then
40335 COND_TOOLKIT_WINCE
=""
40338 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40339 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40340 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40343 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40344 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40345 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40348 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40349 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40350 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40353 COND_TOOLKIT_X11
="#"
40354 if test "x$TOOLKIT" = "xX11" ; then
40355 COND_TOOLKIT_X11
=""
40358 COND_TOOLKIT_X11_USE_GUI_1
="#"
40359 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40360 COND_TOOLKIT_X11_USE_GUI_1
=""
40364 if test "x$UNICODE" = "x1" ; then
40368 COND_USE_CAIRO_1
="#"
40369 if test "x$USE_CAIRO" = "x1" ; then
40370 COND_USE_CAIRO_1
=""
40373 COND_USE_EXCEPTIONS_0
="#"
40374 if test "x$USE_EXCEPTIONS" = "x0" ; then
40375 COND_USE_EXCEPTIONS_0
=""
40378 COND_USE_EXCEPTIONS_1
="#"
40379 if test "x$USE_EXCEPTIONS" = "x1" ; then
40380 COND_USE_EXCEPTIONS_1
=""
40384 if test "x$USE_GUI" = "x0" ; then
40389 if test "x$USE_GUI" = "x1" ; then
40393 COND_USE_GUI_1_USE_OPENGL_1
="#"
40394 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40395 COND_USE_GUI_1_USE_OPENGL_1
=""
40398 COND_USE_GUI_1_WXUNIV_0
="#"
40399 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40400 COND_USE_GUI_1_WXUNIV_0
=""
40403 COND_USE_GUI_1_WXUNIV_1
="#"
40404 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40405 COND_USE_GUI_1_WXUNIV_1
=""
40408 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40409 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40410 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40413 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40418 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40423 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40424 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40425 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40428 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40429 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40430 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40433 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40434 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40435 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40438 COND_USE_OPENGL_1
="#"
40439 if test "x$USE_OPENGL" = "x1" ; then
40440 COND_USE_OPENGL_1
=""
40444 if test "x$USE_PCH" = "x1" ; then
40448 COND_USE_PLUGINS_0
="#"
40449 if test "x$USE_PLUGINS" = "x0" ; then
40450 COND_USE_PLUGINS_0
=""
40453 COND_USE_RTTI_0
="#"
40454 if test "x$USE_RTTI" = "x0" ; then
40458 COND_USE_RTTI_1
="#"
40459 if test "x$USE_RTTI" = "x1" ; then
40463 COND_USE_SOTWOSYMLINKS_1
="#"
40464 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40465 COND_USE_SOTWOSYMLINKS_1
=""
40468 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40469 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40470 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40473 COND_USE_SOVERLINUX_1
="#"
40474 if test "x$USE_SOVERLINUX" = "x1" ; then
40475 COND_USE_SOVERLINUX_1
=""
40478 COND_USE_SOVERSION_0
="#"
40479 if test "x$USE_SOVERSION" = "x0" ; then
40480 COND_USE_SOVERSION_0
=""
40483 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40484 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40485 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40488 COND_USE_SOVERSOLARIS_1
="#"
40489 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40490 COND_USE_SOVERSOLARIS_1
=""
40494 if test "x$USE_STC" = "x1" ; then
40498 COND_USE_THREADS_0
="#"
40499 if test "x$USE_THREADS" = "x0" ; then
40500 COND_USE_THREADS_0
=""
40503 COND_USE_THREADS_1
="#"
40504 if test "x$USE_THREADS" = "x1" ; then
40505 COND_USE_THREADS_1
=""
40509 if test "x$USE_XRC" = "x1" ; then
40513 COND_WINDOWS_IMPLIB_1
="#"
40514 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40515 COND_WINDOWS_IMPLIB_1
=""
40518 COND_WITH_PLUGIN_SDL_1
="#"
40519 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40520 COND_WITH_PLUGIN_SDL_1
=""
40524 if test "x$WXUNIV" = "x0" ; then
40529 if test "x$WXUNIV" = "x1" ; then
40533 COND_WXUSE_EXPAT_BUILTIN
="#"
40534 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40535 COND_WXUSE_EXPAT_BUILTIN
=""
40538 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40539 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40540 COND_WXUSE_LIBJPEG_BUILTIN
=""
40543 COND_WXUSE_LIBPNG_BUILTIN
="#"
40544 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40545 COND_WXUSE_LIBPNG_BUILTIN
=""
40548 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40549 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40550 COND_WXUSE_LIBTIFF_BUILTIN
=""
40553 COND_WXUSE_REGEX_BUILTIN
="#"
40554 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40555 COND_WXUSE_REGEX_BUILTIN
=""
40558 COND_WXUSE_ZLIB_BUILTIN
="#"
40559 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40560 COND_WXUSE_ZLIB_BUILTIN
=""
40563 COND_wxUSE_EXPAT_builtin
="#"
40564 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40565 COND_wxUSE_EXPAT_builtin
=""
40568 COND_wxUSE_LIBJPEG_builtin
="#"
40569 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40570 COND_wxUSE_LIBJPEG_builtin
=""
40573 COND_wxUSE_LIBPNG_builtin
="#"
40574 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40575 COND_wxUSE_LIBPNG_builtin
=""
40578 COND_wxUSE_LIBTIFF_builtin
="#"
40579 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40580 COND_wxUSE_LIBTIFF_builtin
=""
40583 COND_wxUSE_REGEX_builtin
="#"
40584 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40585 COND_wxUSE_REGEX_builtin
=""
40588 COND_wxUSE_ZLIB_builtin
="#"
40589 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40590 COND_wxUSE_ZLIB_builtin
=""
40595 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40596 as_fn_error $?
"No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" "$LINENO" 5
40599 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40600 as_fn_error $?
"Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5
40607 ?
:* ) # Drive letter, considered as absolute.
40610 INSTALL
=`pwd`/${INSTALL} ;;
40613 if test "$wxUSE_GUI" = "yes"; then
40615 if test "$wxUSE_MSW" = 1 ; then
40616 if test "x$WINDRES" = "x"; then
40617 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40623 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40624 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40625 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40627 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40629 # Extract the first word of "DeRez", so it can be a program name with args.
40630 set dummy DeRez
; ac_word
=$2
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40632 $as_echo_n "checking for $ac_word... " >&6; }
40633 if ${ac_cv_prog_DEREZ+:} false
; then :
40634 $as_echo_n "(cached) " >&6
40636 if test -n "$DEREZ"; then
40637 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40640 for as_dir
in $PATH
40643 test -z "$as_dir" && as_dir
=.
40644 for ac_exec_ext
in '' $ac_executable_extensions; do
40645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40646 ac_cv_prog_DEREZ
="DeRez"
40647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40654 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40657 DEREZ
=$ac_cv_prog_DEREZ
40658 if test -n "$DEREZ"; then
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40660 $as_echo "$DEREZ" >&6; }
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40663 $as_echo "no" >&6; }
40668 MACSETFILE
="\$(SETFILE)"
40670 if test "$wxUSE_OSX_CARBON" = 1; then
40671 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40673 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40675 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40676 RESCOMP
="cat /dev/null \| $REZ"
40677 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40683 if test "$wxUSE_PM" = 1; then
40685 WXCONFIG_RESFLAGS
="-ep"
40687 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40689 POSTLINK_COMMAND
="@true"
40696 if test $GCC_PCH = 1
40698 if test "$wx_cv_gcc_pch_bug" = yes; then
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40700 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40702 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40704 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40707 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40708 # the headers that benefit from precompilation are mostly C++ headers.
40709 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
40710 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40711 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40715 if test "$wxUSE_MAC" = 1 ; then
40716 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40717 if test "x$disable_macosx_deps" = "xyes"; then
40718 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
40725 if test "$wxUSE_SHARED" = "yes"; then
40727 *-pc-os2_emx | *-pc-os2-emx )
40728 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40729 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40730 cp -p ${srcdir}/src
/os
2/dllnames.sh .
40731 cp -p ${srcdir}/src
/os
2/dllar.sh .
40735 if test "$wxUSE_OMF" = "yes"; then
40737 *-pc-os2_emx | *-pc-os2-emx )
40738 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
40739 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40740 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40745 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40750 if test "$GCC" = yes; then
40751 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
40752 LIBS
=`echo $LIBS | sed 's/-mt//g'`
40753 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40758 if test "x$SUNCXX" = xyes
; then
40759 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
40760 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
40761 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40766 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
40767 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40768 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
40769 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40771 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40835 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40836 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
40837 $as_echo_n "(cached) " >&6
40839 cat >conftest.
make <<\_ACEOF
40842 @
echo '@@@%%%=$(MAKE)=@@@%%%'
40844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40846 *@@@
%%%=?
*=@@@
%%%*)
40847 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
40849 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
40851 rm -f conftest.
make
40853 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40855 $as_echo "yes" >&6; }
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40859 $as_echo "no" >&6; }
40860 SET_MAKE
="MAKE=${MAKE-make}"
40865 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40868 if test "$USE_WIN32" = 1; then
40869 ac_config_commands
="$ac_config_commands rcdefs.h"
40873 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40876 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40879 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
40882 if test "$wx_cv_version_script" = "yes"; then
40883 ac_config_files
="$ac_config_files version-script"
40886 ac_config_files
="$ac_config_files Makefile"
40889 ac_config_commands
="$ac_config_commands wx-config"
40893 if test "$wxWITH_SUBDIRS" != "no"; then
40894 if test "$wxUSE_GUI" = "yes"; then
40895 SUBDIRS
="samples demos utils"
40897 SUBDIRS
="samples utils"
40902 # Check whether --with-cppunit-prefix was given.
40903 if test "${with_cppunit_prefix+set}" = set; then :
40904 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
40906 cppunit_config_prefix
=""
40910 # Check whether --with-cppunit-exec-prefix was given.
40911 if test "${with_cppunit_exec_prefix+set}" = set; then :
40912 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
40914 cppunit_config_exec_prefix
=""
40918 if test x
$cppunit_config_exec_prefix != x
; then
40919 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40920 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40921 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40924 if test x
$cppunit_config_prefix != x
; then
40925 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40926 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40927 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40931 # Extract the first word of "cppunit-config", so it can be a program name with args.
40932 set dummy cppunit
-config; ac_word
=$2
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40934 $as_echo_n "checking for $ac_word... " >&6; }
40935 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
40936 $as_echo_n "(cached) " >&6
40938 case $CPPUNIT_CONFIG in
40940 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40944 for as_dir
in $PATH
40947 test -z "$as_dir" && as_dir
=.
40948 for ac_exec_ext
in '' $ac_executable_extensions; do
40949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40950 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40958 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40962 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40963 if test -n "$CPPUNIT_CONFIG"; then
40964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40965 $as_echo "$CPPUNIT_CONFIG" >&6; }
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40968 $as_echo "no" >&6; }
40972 cppunit_version_min
=1.8.0
40974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40975 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40977 if test "$CPPUNIT_CONFIG" = "no" ; then
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40979 $as_echo "no" >&6; }
40982 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40983 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40984 cppunit_version
=`$CPPUNIT_CONFIG --version`
40986 cppunit_major_version
=`echo $cppunit_version | \
40987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40988 cppunit_minor_version
=`echo $cppunit_version | \
40989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40990 cppunit_micro_version
=`echo $cppunit_version | \
40991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40993 cppunit_major_min
=`echo $cppunit_version_min | \
40994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40995 cppunit_minor_min
=`echo $cppunit_version_min | \
40996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40997 cppunit_micro_min
=`echo $cppunit_version_min | \
40998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41000 cppunit_version_proper
=`expr \
41001 $cppunit_major_version \> $cppunit_major_min \| \
41002 $cppunit_major_version \= $cppunit_major_min \& \
41003 $cppunit_minor_version \> $cppunit_minor_min \| \
41004 $cppunit_major_version \= $cppunit_major_min \& \
41005 $cppunit_minor_version \= $cppunit_minor_min \& \
41006 $cppunit_micro_version \>= $cppunit_micro_min `
41008 if test "$cppunit_version_proper" = "1" ; then
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41010 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41013 $as_echo "no" >&6; }
41018 if test "x$no_cppunit" = x
; then
41019 SUBDIRS
="$SUBDIRS tests"
41030 for subdir
in $SUBDIRS; do
41031 if test -d ${srcdir}/${subdir} ; then
41032 if test "$wxUSE_GUI" = "yes"; then
41033 if test ${subdir} = "samples"; then
41034 makefiles
="samples/Makefile.in $makefiles"
41035 for sample
in $SAMPLES_SUBDIRS; do
41036 if test -d $srcdir/samples
/$sample; then
41037 makefiles
="samples/$sample/Makefile.in $makefiles"
41041 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41042 eval "disabled=\$$disabled_var"
41043 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41044 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41047 if test ${subdir} = "samples"; then
41048 makefiles
="samples/Makefile.in $makefiles"
41049 for sample
in `echo $SAMPLES_SUBDIRS`; do
41050 if test -d $srcdir/samples
/$sample; then
41051 makefiles
="samples/$sample/Makefile.in $makefiles"
41054 elif test ${subdir} = "utils"; then
41056 for util
in ifacecheck
; do
41057 if test -d $srcdir/utils
/$util ; then
41058 makefiles
="utils/$util/src/Makefile.in \
41063 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41067 for mkin
in $makefiles ; do
41068 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41069 ac_config_files
="$ac_config_files $mk"
41075 cat >confcache
<<\_ACEOF
41076 # This file is a shell script that caches the results of configure
41077 # tests run on this system so they can be shared between configure
41078 # scripts and configure runs, see configure's option --config-cache.
41079 # It is not useful on other systems. If it contains results you don't
41080 # want to keep, you may remove or edit it.
41082 # config.status only pays attention to the cache file if you give it
41083 # the --recheck option to rerun configure.
41085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41087 # following values.
41091 # The following way of writing the cache mishandles newlines in values,
41092 # but we know of no workaround that is simple, portable, and efficient.
41093 # So, we kill variables containing newlines.
41094 # Ultrix sh set writes to stderr and can't be redirected directly,
41095 # and sets the high bit in the cache file unless we assign to the vars.
41097 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41098 eval ac_val
=\$
$ac_var
41102 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41103 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41106 _
| IFS
| as_nl
) ;; #(
41107 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41108 *) { eval $ac_var=; unset $ac_var;} ;;
41114 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41115 *${as_nl}ac_space
=\
*)
41116 # `set' does not quote correctly, so add quotes: double-quote
41117 # substitution turns \\\\ into \\, and sed turns \\ into \.
41120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41123 # `set' quotes correctly as required by POSIX, so do not add quotes.
41124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41135 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41137 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41138 if test -w "$cache_file"; then
41139 if test "x$cache_file" != "x/dev/null"; then
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41141 $as_echo "$as_me: updating cache $cache_file" >&6;}
41142 if test ! -f "$cache_file" || test -h "$cache_file"; then
41143 cat confcache
>"$cache_file"
41145 case $cache_file in #(
41147 mv -f confcache
"$cache_file"$$
&&
41148 mv -f "$cache_file"$$
"$cache_file" ;; #(
41150 mv -f confcache
"$cache_file" ;;
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41161 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41162 # Let make expand exec_prefix.
41163 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41165 DEFS
=-DHAVE_CONFIG_H
41170 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41171 # 1. Remove the extension, and $U if already installed.
41172 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41173 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41174 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41175 # will be set to the directory where LIBOBJS objects are built.
41176 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41177 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41179 LIBOBJS
=$ac_libobjs
41181 LTLIBOBJS
=$ac_ltlibobjs
41185 : "${CONFIG_STATUS=./config.status}"
41187 ac_clean_files_save
=$ac_clean_files
41188 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41190 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41192 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41194 # Generated by $as_me.
41195 # Run this file to recreate the current configuration.
41196 # Compiler output produced by configure, useful for debugging
41197 # configure, is in config.log if it exists.
41200 ac_cs_recheck=false
41203 SHELL=\${CONFIG_SHELL-$SHELL}
41206 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41207 ## -------------------- ##
41208 ## M4sh Initialization. ##
41209 ## -------------------- ##
41211 # Be more Bourne compatible
41212 DUALCASE
=1; export DUALCASE
# for MKS sh
41213 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41216 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41217 # is contrary to our usage. Disable this feature.
41218 alias -g '${1+"$@"}'='"$@"'
41219 setopt NO_GLOB_SUBST
41221 case `(set -o) 2>/dev/null` in #(
41233 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41234 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41237 # Prefer a ksh shell builtin over an external printf program on Solaris,
41238 # but without wasting forks for bash or zsh.
41239 if test -z "$BASH_VERSION$ZSH_VERSION" \
41240 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41241 as_echo='print
-r --'
41242 as_echo_n='print
-rn --'
41243 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41244 as_echo='printf %s
\n'
41245 as_echo_n='printf %s
'
41247 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41248 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41249 as_echo_n='/usr
/ucb
/echo -n'
41251 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41252 as_echo_n_body='eval
41256 expr "X$arg" : "X\\(.*\\)$as_nl";
41257 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41259 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41261 export as_echo_n_body
41262 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41264 export as_echo_body
41265 as_echo='sh
-c $as_echo_body as_echo
'
41268 # The user is always right.
41269 if test "${PATH_SEPARATOR+set}" != set; then
41271 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41272 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41279 # We need space, tab and new line, in precisely that order. Quoting is
41280 # there to prevent editors from complaining about space-tab.
41281 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41282 # splitting by setting IFS to empty value.)
41285 # Find who we are. Look in the path if we contain no directory separator.
41288 *[\\/]* ) as_myself=$0 ;;
41289 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41290 for as_dir in $PATH
41293 test -z "$as_dir" && as_dir=.
41294 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41300 # We did not find ourselves, most probably we were run as `sh COMMAND'
41301 # in which case we are not to be found in the path.
41302 if test "x$as_myself" = x
; then
41305 if test ! -f "$as_myself"; then
41306 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41310 # Unset variables that we do not need and which cause bugs (e.g. in
41311 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41312 # suppresses any "Segmentation fault" message there. '((' could
41313 # trigger a bug in pdksh 5.2.14.
41314 for as_var
in BASH_ENV ENV MAIL MAILPATH
41315 do eval test x\
${$as_var+set} = xset \
41316 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41329 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41332 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41333 # ----------------------------------------
41334 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41335 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41336 # script with STATUS, using 1 if that was 0.
41339 as_status
=$1; test $as_status -eq 0 && as_status
=1
41341 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41342 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41344 $as_echo "$as_me: error: $2" >&2
41345 as_fn_exit
$as_status
41349 # as_fn_set_status STATUS
41350 # -----------------------
41351 # Set $? to STATUS, without forking.
41352 as_fn_set_status
()
41355 } # as_fn_set_status
41357 # as_fn_exit STATUS
41358 # -----------------
41359 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41363 as_fn_set_status
$1
41369 # Portably unset VAR.
41372 { eval $1=; unset $1;}
41374 as_unset
=as_fn_unset
41375 # as_fn_append VAR VALUE
41376 # ----------------------
41377 # Append the text in VALUE to the end of the definition contained in VAR. Take
41378 # advantage of any shell optimizations that allow amortized linear growth over
41379 # repeated appends, instead of the typical quadratic growth present in naive
41381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41382 eval 'as_fn_append ()
41393 # as_fn_arith ARG...
41394 # ------------------
41395 # Perform arithmetic evaluation on the ARGs, and store the result in the
41396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41397 # must be portable across $(()) and expr.
41398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41399 eval 'as_fn_arith ()
41406 as_val
=`expr "$@" || test $? -eq 1`
41411 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41412 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41418 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41419 as_basename
=basename
41424 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41430 as_me
=`$as_basename -- "$0" ||
41431 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41432 X"$0" : 'X\(//\)$' \| \
41433 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41435 sed '/^.*\/\([^/][^/]*\)\/*$/{
41449 # Avoid depending upon Character Ranges.
41450 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41451 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41452 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41453 as_cr_digits
='0123456789'
41454 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41456 ECHO_C
= ECHO_N
= ECHO_T
=
41457 case `echo -n x` in #(((((
41459 case `echo 'xy\c'` in
41460 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41462 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41469 rm -f conf$$ conf$$.exe conf$$.
file
41470 if test -d conf$$.dir
; then
41471 rm -f conf$$.dir
/conf$$.
file
41474 mkdir conf$$.dir
2>/dev
/null
41476 if (echo >conf$$.
file) 2>/dev
/null
; then
41477 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41479 # ... but there are two gotchas:
41480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41482 # In both cases, we have to default to `cp -pR'.
41483 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41485 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41493 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41494 rmdir conf$$.dir
2>/dev
/null
41499 # Create "$as_dir" as a directory, including parents if necessary.
41504 -*) as_dir
=.
/$as_dir;;
41506 test -d "$as_dir" || eval $as_mkdir_p || {
41510 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41511 *) as_qdir
=$as_dir;;
41513 as_dirs
="'$as_qdir' $as_dirs"
41514 as_dir
=`$as_dirname -- "$as_dir" ||
41515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41516 X"$as_dir" : 'X\(//\)[^/]' \| \
41517 X"$as_dir" : 'X\(//\)$' \| \
41518 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41519 $as_echo X"$as_dir" |
41520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41524 /^X\(\/\/\)[^/].*/{
41537 test -d "$as_dir" && break
41539 test -z "$as_dirs" || eval "mkdir $as_dirs"
41540 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41544 if mkdir -p .
2>/dev
/null
; then
41545 as_mkdir_p
='mkdir -p "$as_dir"'
41547 test -d .
/-p && rmdir .
/-p
41552 # as_fn_executable_p FILE
41553 # -----------------------
41554 # Test if FILE is an executable regular file.
41555 as_fn_executable_p
()
41557 test -f "$1" && test -x "$1"
41558 } # as_fn_executable_p
41559 as_test_x
='test -x'
41560 as_executable_p
=as_fn_executable_p
41562 # Sed expression to map a string onto a valid CPP name.
41563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41565 # Sed expression to map a string onto a valid variable name.
41566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41570 ## ----------------------------------- ##
41571 ## Main body of $CONFIG_STATUS script. ##
41572 ## ----------------------------------- ##
41574 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41576 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41577 # Save the log message, to keep $0 and so on meaningful, and to
41578 # report actual input values of CONFIG_FILES etc. instead of their
41579 # values after options handling.
41581 This file was extended by wxWidgets $as_me 2.9.5, which was
41582 generated by GNU Autoconf 2.69. Invocation command line was
41584 CONFIG_FILES = $CONFIG_FILES
41585 CONFIG_HEADERS = $CONFIG_HEADERS
41586 CONFIG_LINKS = $CONFIG_LINKS
41587 CONFIG_COMMANDS = $CONFIG_COMMANDS
41590 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41595 case $ac_config_files in *"
41596 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41599 case $ac_config_headers in *"
41600 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41605 # Files that config.status was made for.
41606 config_files="$ac_config_files"
41607 config_headers="$ac_config_headers"
41608 config_commands="$ac_config_commands"
41612 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41614 \`$as_me' instantiates files and other configuration actions
41615 from templates according to the current configuration. Unless the files
41616 and actions are specified as TAGs, all are instantiated by default.
41618 Usage: $0 [OPTION]... [TAG]...
41620 -h, --help print this help, then exit
41621 -V, --version print version number and configuration settings, then exit
41622 --config print configuration, then exit
41623 -q, --quiet, --silent
41624 do not print progress messages
41625 -d, --debug don't remove temporary files
41626 --recheck update $as_me by reconfiguring in the same conditions
41627 --file=FILE[:TEMPLATE]
41628 instantiate the configuration file FILE
41629 --header=FILE[:TEMPLATE]
41630 instantiate the configuration header FILE
41632 Configuration files:
41635 Configuration headers:
41638 Configuration commands:
41641 Report bugs to <wx-dev@lists.wxwidgets.org>."
41644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41645 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41647 wxWidgets config.status 2.9.5
41648 configured by $0, generated by GNU Autoconf 2.69,
41649 with options \\"\$ac_cs_config\\"
41651 Copyright (C) 2012 Free Software Foundation, Inc.
41652 This config.status script is free software; the Free Software Foundation
41653 gives unlimited permission to copy, distribute and modify it."
41658 test -n "\$AWK" || AWK=awk
41661 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41662 # The default lists apply if the user does not specify any file.
41668 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41669 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41673 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41685 # Handling of the options.
41686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41688 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41689 $as_echo "$ac_cs_version"; exit ;;
41690 --config | --confi | --conf | --con | --co | --c )
41691 $as_echo "$ac_cs_config"; exit ;;
41692 --debug | --debu | --deb | --de | --d | -d )
41694 --file | --fil | --fi | --f )
41697 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41698 '') as_fn_error $?
"missing file argument" ;;
41700 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41701 ac_need_defaults
=false
;;
41702 --header | --heade | --head | --hea )
41705 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41707 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
41708 ac_need_defaults
=false
;;
41710 # Conflict between --help and --header
41711 as_fn_error $?
"ambiguous option: \`$1'
41712 Try \`$0 --help' for more information.";;
41713 --help | --hel | -h )
41714 $as_echo "$ac_cs_usage"; exit ;;
41715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41716 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41719 # This is an error.
41720 -*) as_fn_error $?
"unrecognized option: \`$1'
41721 Try \`$0 --help' for more information." ;;
41723 *) as_fn_append ac_config_targets
" $1"
41724 ac_need_defaults
=false
;;
41730 ac_configure_extra_args
=
41732 if $ac_cs_silent; then
41734 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41739 if \$ac_cs_recheck; then
41740 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41742 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41743 CONFIG_SHELL='$SHELL'
41744 export CONFIG_SHELL
41749 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41753 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41754 ## Running $as_me. ##
41760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41766 infile="$srcdir/include/wx/msw/genrcdefs.h"
41767 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41770 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41771 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41772 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41778 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41780 # Handling of arguments.
41781 for ac_config_target
in $ac_config_targets
41783 case $ac_config_target in
41784 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41785 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
41786 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41787 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41788 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41789 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41790 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41791 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41792 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41794 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41799 # If the user did not use the arguments to specify the items to instantiate,
41800 # then the envvar interface is used. Set only those that are not.
41801 # We use the long form for the default assignment because of an extremely
41802 # bizarre bug on SunOS 4.1.3.
41803 if $ac_need_defaults; then
41804 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41805 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41806 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41809 # Have a temporary directory for convenience. Make it in the build tree
41810 # simply because there is no reason against having it here, and in addition,
41811 # creating and moving files from /tmp can sometimes cause problems.
41812 # Hook for its removal unless debugging.
41813 # Note that there is a small window in which the directory will not be cleaned:
41814 # after its creation but before its name has been assigned to `$tmp'.
41818 trap 'exit_status=$?
41819 : "${ac_tmp:=$tmp}"
41820 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41822 trap 'as_fn_exit 1' 1 2 13 15
41824 # Create a (secure) tmp directory for tmp files.
41827 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41831 tmp
=.
/conf$$
-$RANDOM
41832 (umask 077 && mkdir "$tmp")
41833 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
41836 # Set up the scripts for CONFIG_FILES section.
41837 # No need to generate them if there are no CONFIG_FILES.
41838 # This happens for instance with `./config.status config.h'.
41839 if test -n "$CONFIG_FILES"; then
41842 ac_cr
=`echo X | tr X '\015'`
41843 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41844 # But we know of no other shell where ac_cr would be empty at this
41845 # point, so we can use a bashism as a fallback.
41846 if test "x$ac_cr" = x
; then
41847 eval ac_cr
=\$
\'\\r
\'
41849 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41850 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41853 ac_cs_awk_cr
=$ac_cr
41856 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41861 echo "cat >conf$$subs.awk <<_ACEOF" &&
41862 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41864 } >conf$$subs.sh ||
41865 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41866 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41868 for ac_last_try in false false false false false :; do
41869 . ./conf$$subs.sh ||
41870 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41872 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
41873 if test $ac_delim_n = $ac_delim_num; then
41875 elif $ac_last_try; then
41876 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41878 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41881 rm -f conf$$subs.sh
41883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41884 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
41888 s/^/S["/; s
/!.
*/"]=/
41898 s/\(.\{148\}\)..*/\1/
41900 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
41905 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41912 s/\(.\{148\}\)..*/\1/
41914 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
41918 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41923 ' <conf$$subs.awk | sed '
41928 ' >>$CONFIG_STATUS || ac_write_fail=1
41929 rm -f conf$$subs.awk
41930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41932 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
41933 for (key in S) S_is_set[key] = 1
41939 nfields = split(line, field, "@
")
41941 len = length(field[1])
41942 for (i = 2; i < nfields; i++) {
41944 keylen = length(key)
41945 if (S_is_set[key]) {
41947 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41948 len += length(value) + length(field[++i])
41959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41960 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41961 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
41964 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
41965 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
41968 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41969 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
41970 # trailing colons and then remove the whole line if VPATH becomes empty
41971 # (actually we leave an empty line to preserve line numbers).
41972 if test "x
$srcdir" = x.; then
41973 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41992 fi # test -n "$CONFIG_FILES"
41994 # Set up the scripts for CONFIG_HEADERS section.
41995 # No need to generate them if there are no CONFIG_HEADERS.
41996 # This happens for instance with `./config.status Makefile'.
41997 if test -n "$CONFIG_HEADERS"; then
41998 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42002 # Transform confdefs.h into an awk script `defines.awk', embedded as
42003 # here-document in config.status, that substitutes the proper values into
42004 # config.h.in to produce config.h.
42006 # Create a delimiter string that does not exist in confdefs.h, to ease
42007 # handling of long lines.
42009 for ac_last_try in false false :; do
42010 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42011 if test -z "$ac_tt"; then
42013 elif $ac_last_try; then
42014 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42016 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42020 # For the awk script, D is an array of macro values keyed by name,
42021 # likewise P contains macro parameters if any. Preserve backslash
42022 # newline sequences.
42024 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42026 s/.\{148\}/&'"$ac_delim"'/g
42029 s/^[ ]*#[ ]*define[ ][ ]*/ /
42036 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42038 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42042 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42043 D["\
1"]=" \
3\\\\\\n
"\\/p
42045 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42050 s/.\{148\}/&'"$ac_delim"'/g
42055 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42058 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42060 ' <confdefs.h | sed '
42061 s/'"$ac_delim"'/"\\\
42062 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42065 for (key in D) D_is_set[key] = 1
42068 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42070 split(line, arg, " ")
42071 if (arg[1] == "#") {
42075 defundef
= substr
(arg
[1], 2)
42078 split(mac1
, mac2
, "(") #)
42080 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42081 if (D_is_set
[macro
]) {
42082 # Preserve the white space surrounding the "#".
42083 print prefix
"define", macro P
[macro
] D
[macro
]
42086 # Replace #undef with comments. This is necessary, for example,
42087 # in the case of _POSIX_SOURCE, which is predefined and required
42088 # on some systems where configure will not decide to define it.
42089 if (defundef
== "undef") {
42090 print
"/*", prefix defundef
, macro
, "*/"
42098 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42099 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42100 fi # test -n "$CONFIG_HEADERS"
42103 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42108 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42110 case $ac_mode$ac_tag in
42112 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42113 :[FH
]-) ac_tag
=-:-;;
42114 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42131 -) ac_f
="$ac_tmp/stdin";;
42132 *) # Look for the file first in the build tree, then in the source tree
42133 # (if the path is not absolute). The absolute path cannot be DOS-style,
42134 # because $ac_f cannot contain `:'.
42138 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42140 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42142 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42143 as_fn_append ac_file_inputs
" '$ac_f'"
42146 # Let's still pretend it is `configure' which instantiates (i.e., don't
42147 # use $as_me), people would be surprised to read:
42148 # /* config.h. Generated by config.status. */
42149 configure_input
='Generated from '`
42150 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42152 if test x
"$ac_file" != x
-; then
42153 configure_input
="$ac_file. $configure_input"
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42155 $as_echo "$as_me: creating $ac_file" >&6;}
42157 # Neutralize special characters interpreted by sed in replacement strings.
42158 case $configure_input in #(
42159 *\
&* | *\
|* | *\\* )
42160 ac_sed_conf_input
=`$as_echo "$configure_input" |
42161 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42162 *) ac_sed_conf_input
=$configure_input;;
42166 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42167 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42172 ac_dir
=`$as_dirname -- "$ac_file" ||
42173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42174 X"$ac_file" : 'X\(//\)[^/]' \| \
42175 X"$ac_file" : 'X\(//\)$' \| \
42176 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42177 $as_echo X"$ac_file" |
42178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42182 /^X\(\/\/\)[^/].*/{
42195 as_dir
="$ac_dir"; as_fn_mkdir_p
42199 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42201 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42202 # A ".." for each directory in $ac_dir_suffix.
42203 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42204 case $ac_top_builddir_sub in
42205 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42206 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42209 ac_abs_top_builddir
=$ac_pwd
42210 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42211 # for backward compatibility:
42212 ac_top_builddir
=$ac_top_build_prefix
42215 .
) # We are building in place.
42217 ac_top_srcdir
=$ac_top_builddir_sub
42218 ac_abs_top_srcdir
=$ac_pwd ;;
42219 [\\/]* | ?
:[\\/]* ) # Absolute name.
42220 ac_srcdir
=$srcdir$ac_dir_suffix;
42221 ac_top_srcdir
=$srcdir
42222 ac_abs_top_srcdir
=$srcdir ;;
42223 *) # Relative name.
42224 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42225 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42226 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42228 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42238 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42239 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42243 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42244 # If the template does not know about datarootdir, expand it.
42245 # FIXME: This hack should be removed a few years after 2.60.
42246 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42258 *datarootdir
*) ac_datarootdir_seen
=yes;;
42259 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42264 ac_datarootdir_hack='
42265 s&@datadir@&$datadir&g
42266 s&@docdir@&$docdir&g
42267 s&@infodir@&$infodir&g
42268 s&@localedir@&$localedir&g
42269 s&@mandir@&$mandir&g
42270 s&\\\${datarootdir}&$datarootdir&g' ;;
42274 # Neutralize VPATH when `$srcdir' = `.'.
42275 # Shell code in configure.ac might set extrasub.
42276 # FIXME: do we really want to maintain this feature?
42277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42278 ac_sed_extra="$ac_vpsub
42281 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42283 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42284 s
|@configure_input@
|$ac_sed_conf_input|;t t
42285 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42286 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42287 s
&@srcdir@
&$ac_srcdir&;t t
42288 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42289 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42290 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42291 s
&@builddir@
&$ac_builddir&;t t
42292 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42293 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42294 s
&@INSTALL@
&$ac_INSTALL&;t t
42295 $ac_datarootdir_hack
42297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42298 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42301 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42303 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42305 which seems to be undefined. Please make sure it is defined" >&5
42306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42307 which seems to be undefined. Please make sure it is defined" >&2;}
42309 rm -f "$ac_tmp/stdin"
42311 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42312 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42314 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42320 if test x"$ac_file" != x-; then
42322 $as_echo "/* $configure_input */" \
42323 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42324 } >"$ac_tmp/config.h" \
42325 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42326 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42327 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42331 mv "$ac_tmp/config.h" "$ac_file" \
42332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42335 $as_echo "/* $configure_input */" \
42336 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42337 || as_fn_error $? "could not create -" "$LINENO" 5
42341 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42342 $as_echo "$as_me: executing $ac_file commands" >&6;}
42347 case $ac_file$ac_mode in
42349 mkdir -p $outdir &&
42350 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42352 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42353 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42354 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42355 "wx-config":C
) rm -f wx
-config
42356 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42365 ac_clean_files
=$ac_clean_files_save
42367 test $ac_write_fail = 0 ||
42368 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42371 # configure is writing to config.log, and then calls config.status.
42372 # config.status does its own redirection, appending to config.log.
42373 # Unfortunately, on DOS this fails, as config.log is still kept open
42374 # by configure, so config.status won't be able to write to it; its
42375 # output is simply discarded. So we exec the FD to /dev/null,
42376 # effectively closing config.log, so it can be properly (re)opened and
42377 # appended to by config.status. When coming back to configure, we
42378 # need to make the FD available again.
42379 if test "$no_create" != yes; then
42381 ac_config_status_args
=
42382 test "$silent" = yes &&
42383 ac_config_status_args
="$ac_config_status_args --quiet"
42385 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42387 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42388 # would make configure fail if this is the last instruction.
42389 $ac_cs_success || as_fn_exit
1
42393 # CONFIG_SUBDIRS section.
42395 if test "$no_recursion" != yes; then
42397 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42398 # so they do not pile up.
42399 ac_sub_configure_args
=
42401 eval "set x $ac_configure_args"
42405 if test -n "$ac_prev"; then
42410 -cache-file | --cache-file | --cache-fil | --cache-fi \
42411 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42412 ac_prev
=cache_file
;;
42413 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42414 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42417 --config-cache | -C)
42419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42423 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42425 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42427 --disable-option-checking)
42431 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42433 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42437 # Always prepend --prefix to ensure using the same prefix
42438 # in subdir configurations.
42439 ac_arg
="--prefix=$prefix"
42441 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42443 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42446 if test "$silent" = yes; then
42447 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42450 # Always prepend --disable-option-checking to silence warnings, since
42451 # different subdirs can have different --enable and --with options.
42452 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42455 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42457 # Do not complain, so a configure script can configure whichever
42458 # parts of a large source tree are present.
42459 test -d "$srcdir/$ac_dir" || continue
42461 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42462 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42463 $as_echo "$ac_msg" >&6
42464 as_dir
="$ac_dir"; as_fn_mkdir_p
42468 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42470 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42471 # A ".." for each directory in $ac_dir_suffix.
42472 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42473 case $ac_top_builddir_sub in
42474 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42475 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42478 ac_abs_top_builddir
=$ac_pwd
42479 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42480 # for backward compatibility:
42481 ac_top_builddir
=$ac_top_build_prefix
42484 .
) # We are building in place.
42486 ac_top_srcdir
=$ac_top_builddir_sub
42487 ac_abs_top_srcdir
=$ac_pwd ;;
42488 [\\/]* | ?
:[\\/]* ) # Absolute name.
42489 ac_srcdir
=$srcdir$ac_dir_suffix;
42490 ac_top_srcdir
=$srcdir
42491 ac_abs_top_srcdir
=$srcdir ;;
42492 *) # Relative name.
42493 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42494 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42495 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42497 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42502 # Check for guested configure; otherwise get Cygnus style configure.
42503 if test -f "$ac_srcdir/configure.gnu"; then
42504 ac_sub_configure
=$ac_srcdir/configure.gnu
42505 elif test -f "$ac_srcdir/configure"; then
42506 ac_sub_configure
=$ac_srcdir/configure
42507 elif test -f "$ac_srcdir/configure.in"; then
42508 # This should be Cygnus configure.
42509 ac_sub_configure
=$ac_aux_dir/configure
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42512 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42516 # The recursion is here.
42517 if test -n "$ac_sub_configure"; then
42518 # Make the cache file name correct relative to the subdirectory.
42519 case $cache_file in
42520 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42521 *) # Relative name.
42522 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42525 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42526 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42527 # The eval makes quoting arguments work.
42528 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42529 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42530 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42536 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42538 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42543 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42545 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42546 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42547 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42548 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42549 if test "$wxUSE_UNICODE" = "yes"; then
42550 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42551 echo " (using UTF-8)"
42553 echo " (using wchar_t)"
42559 echo " What level of wxWidgets compatibility should be enabled?"
42560 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42561 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42563 echo " Which libraries should wxWidgets use?"
42564 echo " STL ${wxUSE_STL}"
42565 echo " jpeg ${wxUSE_LIBJPEG-none}"
42566 echo " png ${wxUSE_LIBPNG-none}"
42567 echo " regex ${wxUSE_REGEX}"
42568 echo " tiff ${wxUSE_LIBTIFF-none}"
42569 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42570 echo " xpm ${wxUSE_LIBXPM-none}"
42572 echo " zlib ${wxUSE_ZLIB}"
42573 echo " expat ${wxUSE_EXPAT}"
42574 echo " libmspack ${wxUSE_LIBMSPACK}"
42575 echo " sdl ${wxUSE_LIBSDL}"