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
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
705 COND_TOOLKIT_X11_USE_GUI_1
707 COND_TOOLKIT_WINCE_WXUNIV_0
708 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
709 COND_TOOLKIT_WINCE_USE_GUI_1
711 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
712 COND_TOOLKIT_PM_USE_GUI_1
714 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
715 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
716 COND_TOOLKIT_OSX_IPHONE
717 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
718 COND_TOOLKIT_OSX_COCOA
719 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
720 COND_TOOLKIT_OSX_CARBON
721 COND_TOOLKIT_MSW_WXUNIV_0
722 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
723 COND_TOOLKIT_MSW_USE_GUI_1
725 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
726 COND_TOOLKIT_MOTIF_USE_GUI_1
729 COND_TOOLKIT_GTK_USE_GUI_1
730 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
742 COND_TOOLKIT_DFB_USE_GUI_1
744 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
745 COND_TOOLKIT_COCOA_USE_GUI_1
748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
750 COND_SHARED_0_wxUSE_ZLIB_builtin
751 COND_SHARED_0_wxUSE_REGEX_builtin
752 COND_SHARED_0_wxUSE_EXPAT_builtin
753 COND_SHARED_0_USE_STC_1
754 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
755 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
756 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
757 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
758 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
759 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
760 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
762 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
763 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
764 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
765 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
766 COND_PLATFORM_WIN32_1_SHARED_0
767 COND_PLATFORM_WIN32_1
768 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
769 COND_PLATFORM_WIN32_0
770 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
771 COND_PLATFORM_UNIX_1_USE_GUI_1
772 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
773 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
774 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
775 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
779 COND_PLATFORM_MSDOS_1
780 COND_PLATFORM_MSDOS_0
783 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
784 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
785 COND_PLATFORM_MACOSX_1_USE_GUI_1
786 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
787 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
788 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
789 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
793 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
794 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
796 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
797 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
798 COND_PLATFORM_MACOSX_1
799 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
801 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
802 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
803 COND_MONOLITHIC_1_USE_STC_1
804 COND_MONOLITHIC_1_SHARED_1
805 COND_MONOLITHIC_1_SHARED_0
807 COND_MONOLITHIC_0_USE_XRC_1
808 COND_MONOLITHIC_0_USE_WEBVIEW_1
809 COND_MONOLITHIC_0_USE_STC_1
810 COND_MONOLITHIC_0_USE_RICHTEXT_1
811 COND_MONOLITHIC_0_USE_RIBBON_1
812 COND_MONOLITHIC_0_USE_QA_1
813 COND_MONOLITHIC_0_USE_PROPGRID_1
814 COND_MONOLITHIC_0_USE_MEDIA_1
815 COND_MONOLITHIC_0_USE_HTML_1
816 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
817 COND_MONOLITHIC_0_USE_GUI_1
818 COND_MONOLITHIC_0_USE_AUI_1
819 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
821 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
822 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
823 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_1
831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
835 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_0
851 COND_BUILD_release_DEBUG_INFO_default
853 COND_BUILD_debug_DEBUG_INFO_default
857 ICC_PCH_CREATE_SWITCH
965 LIBGNOMEPRINTUI_CFLAGS
1056 program_transform_name
1069 enable_option_checking
1075 enable_official_build
1119 with_macosx_version_min
1128 enable_std_containers
1129 enable_std_iostreams
1131 enable_std_string_conv_in_wxstring
1136 enable_extended_rtti
1141 enable_no_exceptions
1144 enable_vararg_macros
1145 enable_universal_binary
1150 enable_objc_uniquifying
1179 enable_dynamicloader
1196 enable_printfposparam
1211 enable_protocol_http
1213 enable_protocol_file
1264 enable_commandlinkbutton
1291 enable_rearrangectrl
1340 enable_accessibility
1343 enable_webviewwebkit
1363 with_gtk_exec_prefix
1365 with_libiconv_prefix
1367 with_sdl_exec_prefix
1369 enable_dependency_tracking
1370 enable_precomp_headers
1372 with_cppunit_exec_prefix
1374 ac_precious_vars
='build_alias
1411 LIBGNOMEPRINTUI_CFLAGS
1412 LIBGNOMEPRINTUI_LIBS
1427 ac_subdirs_all
='src/tiff
1430 # Initialize some variables set by options.
1432 ac_init_version
=false
1433 ac_unrecognized_opts
=
1434 ac_unrecognized_sep
=
1435 # The variables have the same names as the options, with
1436 # dashes changed to underlines.
1437 cache_file
=/dev
/null
1444 program_transform_name
=s
,x
,x
,
1452 # Installation directory options.
1453 # These are left unexpanded so users can "make install exec_prefix=/foo"
1454 # and all the variables that are supposed to be based on exec_prefix
1455 # by default will actually change.
1456 # Use braces instead of parens because sh, perl, etc. also accept them.
1457 # (The list follows the same order as the GNU Coding Standards.)
1458 bindir
='${exec_prefix}/bin'
1459 sbindir
='${exec_prefix}/sbin'
1460 libexecdir
='${exec_prefix}/libexec'
1461 datarootdir
='${prefix}/share'
1462 datadir
='${datarootdir}'
1463 sysconfdir
='${prefix}/etc'
1464 sharedstatedir
='${prefix}/com'
1465 localstatedir
='${prefix}/var'
1466 includedir
='${prefix}/include'
1467 oldincludedir
='/usr/include'
1468 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1469 infodir
='${datarootdir}/info'
1474 libdir
='${exec_prefix}/lib'
1475 localedir
='${datarootdir}/locale'
1476 mandir
='${datarootdir}/man'
1482 # If the previous option needs an argument, assign it.
1483 if test -n "$ac_prev"; then
1484 eval $ac_prev=\
$ac_option
1490 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1495 # Accept the important Cygnus configure options, so we can diagnose typos.
1497 case $ac_dashdash$ac_option in
1501 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1503 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1504 bindir
=$ac_optarg ;;
1506 -build | --build | --buil | --bui | --bu)
1507 ac_prev
=build_alias
;;
1508 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1509 build_alias
=$ac_optarg ;;
1511 -cache-file | --cache-file | --cache-fil | --cache-fi \
1512 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1513 ac_prev
=cache_file
;;
1514 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1515 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1516 cache_file
=$ac_optarg ;;
1518 --config-cache | -C)
1519 cache_file
=config.cache
;;
1521 -datadir | --datadir | --datadi | --datad)
1523 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1524 datadir
=$ac_optarg ;;
1526 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1527 | --dataroo | --dataro | --datar)
1528 ac_prev
=datarootdir
;;
1529 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1530 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1531 datarootdir
=$ac_optarg ;;
1533 -disable-* | --disable-*)
1534 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1535 # Reject names that are not valid shell variable names.
1536 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1537 as_fn_error $?
"invalid feature name: $ac_useropt"
1538 ac_useropt_orig
=$ac_useropt
1539 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1540 case $ac_user_opts in
1542 "enable_
$ac_useropt"
1544 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1545 ac_unrecognized_sep
=', ';;
1547 eval enable_
$ac_useropt=no
;;
1549 -docdir | --docdir | --docdi | --doc | --do)
1551 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1552 docdir
=$ac_optarg ;;
1554 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1556 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1557 dvidir
=$ac_optarg ;;
1559 -enable-* | --enable-*)
1560 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1561 # Reject names that are not valid shell variable names.
1562 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1563 as_fn_error $?
"invalid feature name: $ac_useropt"
1564 ac_useropt_orig
=$ac_useropt
1565 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1566 case $ac_user_opts in
1568 "enable_
$ac_useropt"
1570 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1571 ac_unrecognized_sep
=', ';;
1573 eval enable_
$ac_useropt=\
$ac_optarg ;;
1575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1577 | --exec | --exe | --ex)
1578 ac_prev
=exec_prefix
;;
1579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1581 | --exec=* | --exe=* | --ex=*)
1582 exec_prefix
=$ac_optarg ;;
1584 -gas | --gas | --ga | --g)
1585 # Obsolete; use --with-gas.
1588 -help | --help | --hel | --he | -h)
1589 ac_init_help
=long
;;
1590 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1591 ac_init_help
=recursive
;;
1592 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1593 ac_init_help
=short
;;
1595 -host | --host | --hos | --ho)
1596 ac_prev
=host_alias
;;
1597 -host=* | --host=* | --hos=* | --ho=*)
1598 host_alias
=$ac_optarg ;;
1600 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1602 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1604 htmldir
=$ac_optarg ;;
1606 -includedir | --includedir | --includedi | --included | --include \
1607 | --includ | --inclu | --incl | --inc)
1608 ac_prev
=includedir
;;
1609 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1610 | --includ=* | --inclu=* | --incl=* | --inc=*)
1611 includedir
=$ac_optarg ;;
1613 -infodir | --infodir | --infodi | --infod | --info | --inf)
1615 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1616 infodir
=$ac_optarg ;;
1618 -libdir | --libdir | --libdi | --libd)
1620 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1621 libdir
=$ac_optarg ;;
1623 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1624 | --libexe | --libex | --libe)
1625 ac_prev
=libexecdir
;;
1626 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1627 | --libexe=* | --libex=* | --libe=*)
1628 libexecdir
=$ac_optarg ;;
1630 -localedir | --localedir | --localedi | --localed | --locale)
1631 ac_prev
=localedir
;;
1632 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1633 localedir
=$ac_optarg ;;
1635 -localstatedir | --localstatedir | --localstatedi | --localstated \
1636 | --localstate | --localstat | --localsta | --localst | --locals)
1637 ac_prev
=localstatedir
;;
1638 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1639 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1640 localstatedir
=$ac_optarg ;;
1642 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1644 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1645 mandir
=$ac_optarg ;;
1647 -nfp | --nfp | --nf)
1648 # Obsolete; use --without-fp.
1651 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1652 | --no-cr | --no-c | -n)
1655 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1656 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1659 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1660 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1661 | --oldin | --oldi | --old | --ol | --o)
1662 ac_prev
=oldincludedir
;;
1663 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1664 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1665 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1666 oldincludedir
=$ac_optarg ;;
1668 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1670 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1671 prefix
=$ac_optarg ;;
1673 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1674 | --program-pre | --program-pr | --program-p)
1675 ac_prev
=program_prefix
;;
1676 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1677 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1678 program_prefix
=$ac_optarg ;;
1680 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1681 | --program-suf | --program-su | --program-s)
1682 ac_prev
=program_suffix
;;
1683 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1684 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1685 program_suffix
=$ac_optarg ;;
1687 -program-transform-name | --program-transform-name \
1688 | --program-transform-nam | --program-transform-na \
1689 | --program-transform-n | --program-transform- \
1690 | --program-transform | --program-transfor \
1691 | --program-transfo | --program-transf \
1692 | --program-trans | --program-tran \
1693 | --progr-tra | --program-tr | --program-t)
1694 ac_prev
=program_transform_name
;;
1695 -program-transform-name=* | --program-transform-name=* \
1696 | --program-transform-nam=* | --program-transform-na=* \
1697 | --program-transform-n=* | --program-transform-=* \
1698 | --program-transform=* | --program-transfor=* \
1699 | --program-transfo=* | --program-transf=* \
1700 | --program-trans=* | --program-tran=* \
1701 | --progr-tra=* | --program-tr=* | --program-t=*)
1702 program_transform_name
=$ac_optarg ;;
1704 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1706 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1707 pdfdir
=$ac_optarg ;;
1709 -psdir | --psdir | --psdi | --psd | --ps)
1711 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1714 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715 | -silent | --silent | --silen | --sile | --sil)
1718 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1720 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1722 sbindir
=$ac_optarg ;;
1724 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1725 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1726 | --sharedst | --shareds | --shared | --share | --shar \
1728 ac_prev
=sharedstatedir
;;
1729 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1730 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1731 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1733 sharedstatedir
=$ac_optarg ;;
1735 -site | --site | --sit)
1737 -site=* | --site=* | --sit=*)
1740 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1742 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1743 srcdir
=$ac_optarg ;;
1745 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1746 | --syscon | --sysco | --sysc | --sys | --sy)
1747 ac_prev
=sysconfdir
;;
1748 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1749 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1750 sysconfdir
=$ac_optarg ;;
1752 -target | --target | --targe | --targ | --tar | --ta | --t)
1753 ac_prev
=target_alias
;;
1754 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1755 target_alias
=$ac_optarg ;;
1757 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1760 -version | --version | --versio | --versi | --vers | -V)
1761 ac_init_version
=: ;;
1764 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1765 # Reject names that are not valid shell variable names.
1766 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1767 as_fn_error $?
"invalid package name: $ac_useropt"
1768 ac_useropt_orig
=$ac_useropt
1769 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1770 case $ac_user_opts in
1774 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1775 ac_unrecognized_sep
=', ';;
1777 eval with_
$ac_useropt=\
$ac_optarg ;;
1779 -without-* | --without-*)
1780 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1781 # Reject names that are not valid shell variable names.
1782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1783 as_fn_error $?
"invalid package name: $ac_useropt"
1784 ac_useropt_orig
=$ac_useropt
1785 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1786 case $ac_user_opts in
1790 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1791 ac_unrecognized_sep
=', ';;
1793 eval with_
$ac_useropt=no
;;
1796 # Obsolete; use --with-x.
1799 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1800 | --x-incl | --x-inc | --x-in | --x-i)
1801 ac_prev
=x_includes
;;
1802 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1803 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1804 x_includes
=$ac_optarg ;;
1806 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1807 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1808 ac_prev
=x_libraries
;;
1809 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1810 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1811 x_libraries
=$ac_optarg ;;
1813 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1814 Try \`$0 --help' for more information"
1818 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1819 # Reject names that are not valid shell variable names.
1820 case $ac_envvar in #(
1821 '' | [0-9]* | *[!_$as_cr_alnum]* )
1822 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1824 eval $ac_envvar=\
$ac_optarg
1825 export $ac_envvar ;;
1828 # FIXME: should be removed in autoconf 3.0.
1829 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1830 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1831 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1832 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838 if test -n "$ac_prev"; then
1839 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1840 as_fn_error $?
"missing argument to $ac_option"
1843 if test -n "$ac_unrecognized_opts"; then
1844 case $enable_option_checking in
1846 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1847 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1851 # Check all directory arguments for consistency.
1852 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1853 datadir sysconfdir sharedstatedir localstatedir includedir \
1854 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1855 libdir localedir mandir
1857 eval ac_val
=\$
$ac_var
1858 # Remove trailing slashes.
1861 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1862 eval $ac_var=\
$ac_val;;
1864 # Be sure to have absolute directory names.
1866 [\\/$
]* | ?
:[\\/]* ) continue;;
1867 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1869 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1872 # There might be people who depend on the old broken behavior: `$host'
1873 # used to hold the argument of --host etc.
1874 # FIXME: To remove some day.
1877 target
=$target_alias
1879 # FIXME: To remove some day.
1880 if test "x$host_alias" != x
; then
1881 if test "x$build_alias" = x
; then
1882 cross_compiling
=maybe
1883 elif test "x$build_alias" != "x$host_alias"; then
1889 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1891 test "$silent" = yes && exec 6>/dev
/null
1894 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1895 ac_ls_di
=`ls -di .` &&
1896 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1897 as_fn_error $?
"working directory cannot be determined"
1898 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1899 as_fn_error $?
"pwd does not report name of working directory"
1902 # Find the source files, if location was not specified.
1903 if test -z "$srcdir"; then
1904 ac_srcdir_defaulted
=yes
1905 # Try the directory containing this script, then the parent directory.
1906 ac_confdir
=`$as_dirname -- "$as_myself" ||
1907 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1908 X"$as_myself" : 'X\(//\)[^/]' \| \
1909 X"$as_myself" : 'X\(//\)$' \| \
1910 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1911 $as_echo X"$as_myself" |
1912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1930 if test ! -r "$srcdir/$ac_unique_file"; then
1934 ac_srcdir_defaulted
=no
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1937 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1938 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1940 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1942 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1944 # When building in place, set srcdir=.
1945 if test "$ac_abs_confdir" = "$ac_pwd"; then
1948 # Remove unnecessary trailing slashes from srcdir.
1949 # Double slashes in file names in object file debugging info
1950 # mess up M-x gdb in Emacs.
1952 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1954 for ac_var
in $ac_precious_vars; do
1955 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1956 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1957 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1958 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1962 # Report the --help message.
1964 if test "$ac_init_help" = "long"; then
1965 # Omit some internal or obsolete options to make the list less imposing.
1966 # This message is too long to be a string in the A/UX 3.1 sh.
1968 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1970 Usage: $0 [OPTION]... [VAR=VALUE]...
1972 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1973 VAR=VALUE. See below for descriptions of some of the useful variables.
1975 Defaults for the options are specified in brackets.
1978 -h, --help display this help and exit
1979 --help=short display options specific to this package
1980 --help=recursive display the short help of all the included packages
1981 -V, --version display version information and exit
1982 -q, --quiet, --silent do not print \`checking ...' messages
1983 --cache-file=FILE cache test results in FILE [disabled]
1984 -C, --config-cache alias for \`--cache-file=config.cache'
1985 -n, --no-create do not create output files
1986 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1988 Installation directories:
1989 --prefix=PREFIX install architecture-independent files in PREFIX
1990 [$ac_default_prefix]
1991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1994 By default, \`make install' will install all the files in
1995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1997 for instance \`--prefix=\$HOME'.
1999 For better control, use the options below.
2001 Fine tuning of the installation directories:
2002 --bindir=DIR user executables [EPREFIX/bin]
2003 --sbindir=DIR system admin executables [EPREFIX/sbin]
2004 --libexecdir=DIR program executables [EPREFIX/libexec]
2005 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2006 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2007 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2008 --libdir=DIR object code libraries [EPREFIX/lib]
2009 --includedir=DIR C header files [PREFIX/include]
2010 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2011 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2012 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2013 --infodir=DIR info documentation [DATAROOTDIR/info]
2014 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2015 --mandir=DIR man documentation [DATAROOTDIR/man]
2016 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2017 --htmldir=DIR html documentation [DOCDIR]
2018 --dvidir=DIR dvi documentation [DOCDIR]
2019 --pdfdir=DIR pdf documentation [DOCDIR]
2020 --psdir=DIR ps documentation [DOCDIR]
2026 --x-includes=DIR X include files are
in DIR
2027 --x-libraries=DIR X library files are
in DIR
2030 --build=BUILD configure
for building on BUILD
[guessed
]
2031 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2035 if test -n "$ac_init_help"; then
2036 case $ac_init_help in
2037 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2042 --disable-option-checking ignore unrecognized
--enable/--with options
2043 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2044 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2045 --disable-gui don
't build GUI parts of the library
2046 --enable-monolithic build wxWidgets as single library
2047 --enable-plugins build parts of wxWidgets as loadable components
2048 --enable-official_build official build of wxWidgets (win32 DLL only)
2049 --enable-vendor=VENDOR vendor name (win32 DLL only)
2050 --disable-all-features disable all optional features to build minimal library
2051 --enable-universal use wxWidgets GUI controls instead of native ones
2052 --enable-nanox use NanoX
2053 --enable-gpe use GNOME PDA Environment features if possible
2054 --enable-debug build library for debugging
2055 --disable-debug_flag disable all debugging support
2056 --enable-debug_info generate debug information
2057 --enable-debug_gdb create code with extra GDB debugging information
2058 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2059 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2060 --disable-shared create static library instead of shared
2061 --enable-stl use standard C++ classes for everything
2062 --enable-std_containers use standard C++ container classes
2063 --enable-std_iostreams use standard C++ stream classes
2064 --enable-std_string use standard C++ string classes
2065 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2066 --disable-unicode compile without Unicode support
2067 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2068 --enable-utf8 use UTF-8 representation for strings (Unix only)
2069 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2070 --enable-extended_rtti use extended RTTI (XTI)
2071 --enable-omf use OMF object format
2072 --disable-optimise compile without optimisations
2073 --enable-profile create code with profiling information
2074 --enable-no_rtti create code without RTTI information
2075 --enable-no_exceptions create code without C++ exceptions handling
2076 --enable-permissive compile code disregarding strict ANSI
2077 --enable-no_deps create code without dependency information
2078 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2079 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2080 --enable-macosx_arch=ARCH build
for just the specified architecture
2081 --enable-compat26 enable wxWidgets
2.6 compatibility
2082 --disable-compat28 disable wxWidgets
2.8 compatibility
2083 --disable-rpath disable use of rpath
for uninstalled builds
2084 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2085 --disable-visibility disable use of ELF symbols visibility even
if supported
2086 --disable-tls disable use of compiler TLS support
2087 --enable-intl use internationalization system
2088 --enable-xlocale use x
-locale support
(requires wxLocale
)
2089 --enable-config use wxConfig
(and derived
) classes
2090 --enable-protocols use wxProtocol and derived classes
2091 --enable-ftp use wxFTP
(requires wxProtocol
2092 --enable-http use wxHTTP
(requires wxProtocol
2093 --enable-fileproto use wxFileProto class
(requires wxProtocol
2094 --enable-sockets use socket
/network classes
2095 --enable-ipv6 enable IPv6 support
in wxSocket
2096 --enable-ole use OLE classes
(Win32 only
)
2097 --enable-dataobj use data object classes
2098 --enable-ipc use interprocess communication
(wxSocket etc.
)
2099 --enable-baseevtloop use event loop
in console programs too
2100 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2101 --enable-selectloop use wxSelectDispatcher class
2102 --enable-any use wxAny class
2103 --enable-apple_ieee use the Apple IEEE codec
2104 --enable-arcstream use wxArchive streams
2105 --enable-base64 use base64 encoding
/decoding functions
2106 --enable-backtrace use wxStackWalker class
for getting backtraces
2107 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2108 --enable-cmdline use wxCmdLineParser class
2109 --enable-datetime use wxDateTime class
2110 --enable-debugreport use wxDebugReport class
2111 --enable-dialupman use dialup network classes
2112 --enable-dynlib use wxLibrary class
for DLL loading
2113 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2114 --enable-exceptions build exception
-safe library
2115 --enable-ffile use wxFFile class
2116 --enable-file use wxFile class
2117 --enable-filehistory use wxFileHistory class
2118 --enable-filesystem use virtual
file systems classes
2119 --enable-fontenum use wxFontEnumerator class
2120 --enable-fontmap use font encodings conversion classes
2121 --enable-fs_archive use virtual archive filesystems
2122 --enable-fs_inet use virtual HTTP
/FTP filesystems
2123 --enable-fs_zip now replaced by fs_archive
2124 --enable-fsvolume use wxFSVolume class
2125 --enable-fswatcher use wxFileSystemWatcher class
2126 --enable-geometry use geometry class
2127 --enable-log use logging system
2128 --enable-longlong use wxLongLong class
2129 --enable-mimetype use wxMimeTypesManager
2130 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2131 --enable-snglinst use wxSingleInstanceChecker class
2132 --enable-sound use wxSound class
2133 --enable-stdpaths use wxStandardPaths class
2134 --enable-stopwatch use wxStopWatch class
2135 --enable-streams use wxStream etc classes
2136 --enable-sysoptions use wxSystemOptions
2137 --enable-tarstream use wxTar streams
2138 --enable-textbuf use wxTextBuffer class
2139 --enable-textfile use wxTextFile class
2140 --enable-timer use wxTimer class
2141 --enable-variant use wxVariant class
2142 --enable-zipstream use wxZip streams
2143 --enable-url use wxURL class
2144 --enable-protocol use wxProtocol class
2145 --enable-protocol-http HTTP support
in wxProtocol
2146 --enable-protocol-ftp FTP support
in wxProtocol
2147 --enable-protocol-file FILE support
in wxProtocol
2148 --enable-threads use threads
2149 --enable-iniconf use wxIniConfig
(Win32 only
)
2150 --enable-regkey use wxRegKey class
(Win32 only
)
2151 --enable-docview use document view architecture
2152 --enable-help use
help subsystem
2153 --enable-mshtmlhelp use MS HTML Help
(win32
)
2154 --enable-html use wxHTML sub
-library
2155 --enable-htmlhelp use wxHTML
-based help
2156 --enable-xrc use XRC resources sub
-library
2157 --enable-aui use AUI docking library
2158 --enable-propgrid use wxPropertyGrid library
2159 --enable-ribbon use wxRibbon library
2160 --enable-stc use wxStyledTextCtrl library
2161 --enable-constraints use layout
-constraints system
2162 --enable-loggui use standard GUI logger
2163 --enable-logwin use wxLogWindow
2164 --enable-logdialog use wxLogDialog
2165 --enable-mdi use multiple document interface architecture
2166 --enable-mdidoc use docview architecture with MDI
2167 --enable-mediactrl use wxMediaCtrl class
2168 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2169 --enable-richtext use wxRichTextCtrl
2170 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2171 --enable-printarch use printing architecture
2172 --enable-svg use wxSVGFileDC device context
2173 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2174 --enable-webview use wxWebView library
2175 --enable-graphics_ctx use graphics context
2D drawing API
2176 --enable-clipboard use wxClipboard class
2177 --enable-dnd use Drag
'n'Drop classes
2178 --disable-controls disable compilation of all standard controls
2179 --enable-markup support wxControl
::SetLabelMarkup
2180 --enable-accel use accelerators
2181 --enable-animatectrl use wxAnimationCtrl class
2182 --enable-bannerwindow use wxBannerWindow class
2183 --enable-artstd use standard XPM icons
in wxArtProvider
2184 --enable-arttango use Tango icons
in wxArtProvider
2185 --enable-bmpbutton use wxBitmapButton class
2186 --enable-bmpcombobox use wxBitmapComboBox class
2187 --enable-button use wxButton class
2188 --enable-calendar use wxCalendarCtrl class
2189 --enable-caret use wxCaret class
2190 --enable-checkbox use wxCheckBox class
2191 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2192 --enable-choice use wxChoice class
2193 --enable-choicebook use wxChoicebook class
2194 --enable-collpane use wxCollapsiblePane class
2195 --enable-colourpicker use wxColourPickerCtrl class
2196 --enable-combobox use wxComboBox class
2197 --enable-comboctrl use wxComboCtrl class
2198 --enable-commandlinkbutton use wxCommmandLinkButton class
2199 --enable-dataviewctrl use wxDataViewCtrl class
2200 --enable-datepick use wxDatePickerCtrl class
2201 --enable-detect_sm use code to detect X11 session manager
2202 --enable-dirpicker use wxDirPickerCtrl class
2203 --enable-display use wxDisplay class
2204 --enable-editablebox use wxEditableListBox class
2205 --enable-filectrl use wxFileCtrl class
2206 --enable-filepicker use wxFilePickerCtrl class
2207 --enable-fontpicker use wxFontPickerCtrl class
2208 --enable-gauge use wxGauge class
2209 --enable-grid use wxGrid class
2210 --enable-headerctrl use wxHeaderCtrl class
2211 --enable-hyperlink use wxHyperlinkCtrl class
2212 --enable-imaglist use wxImageList class
2213 --enable-infobar use wxInfoBar class
2214 --enable-listbook use wxListbook class
2215 --enable-listbox use wxListBox class
2216 --enable-listctrl use wxListCtrl class
2217 --enable-notebook use wxNotebook class
2218 --enable-notifmsg use wxNotificationMessage class
2219 --enable-odcombobox use wxOwnerDrawnComboBox class
2220 --enable-popupwin use wxPopUpWindow class
2221 --enable-radiobox use wxRadioBox class
2222 --enable-radiobtn use wxRadioButton class
2223 --enable-richmsgdlg use wxRichMessageDialog class
2224 --enable-richtooltip use wxRichToolTip class
2225 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2226 --enable-sash use wxSashWindow class
2227 --enable-scrollbar use wxScrollBar class and scrollable windows
2228 --enable-searchctrl use wxSearchCtrl class
2229 --enable-slider use wxSlider class
2230 --enable-spinbtn use wxSpinButton class
2231 --enable-spinctrl use wxSpinCtrl class
2232 --enable-splitter use wxSplitterWindow class
2233 --enable-statbmp use wxStaticBitmap class
2234 --enable-statbox use wxStaticBox class
2235 --enable-statline use wxStaticLine class
2236 --enable-stattext use wxStaticText class
2237 --enable-statusbar use wxStatusBar class
2238 --enable-taskbaricon use wxTaskBarIcon class
2239 --enable-tbarnative use native wxToolBar class
2240 --enable-textctrl use wxTextCtrl class
2241 --enable-timepick use wxTimePickerCtrl class
2242 --enable-tipwindow use wxTipWindow class
2243 --enable-togglebtn use wxToggleButton class
2244 --enable-toolbar use wxToolBar class
2245 --enable-toolbook use wxToolbook class
2246 --enable-treebook use wxTreebook class
2247 --enable-treectrl use wxTreeCtrl class
2248 --enable-treelist use wxTreeListCtrl class
2249 --enable-commondlg use all common dialogs
2250 --enable-aboutdlg use wxAboutBox
2251 --enable-choicedlg use wxChoiceDialog
2252 --enable-coldlg use wxColourDialog
2253 --enable-filedlg use wxFileDialog
2254 --enable-finddlg use wxFindReplaceDialog
2255 --enable-fontdlg use wxFontDialog
2256 --enable-dirdlg use wxDirDialog
2257 --enable-msgdlg use wxMessageDialog
2258 --enable-numberdlg use wxNumberEntryDialog
2259 --enable-splash use wxSplashScreen
2260 --enable-textdlg use wxTextDialog
2261 --enable-tipdlg use startup tips
2262 --enable-progressdlg use wxProgressDialog
2263 --enable-wizarddlg use wxWizard
2264 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2265 --enable-miniframe use wxMiniFrame class
2266 --enable-tooltips use wxToolTip class
2267 --enable-splines use spline drawing code
2268 --enable-mousewheel use mousewheel
2269 --enable-validators use wxValidator and derived classes
2270 --enable-busyinfo use wxBusyInfo
2271 --enable-hotkey use wxWindow
::RegisterHotKey
()
2272 --enable-joystick use wxJoystick
2273 --enable-metafiles use wxMetaFile
2274 --enable-dragimage use wxDragImage
2275 --enable-accessibility enable accessibility support
2276 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2277 --enable-dctransform use wxDC
::SetTransformMatrix and related
2278 --enable-webviewwebkit use wxWebView WebKit backend
2279 --enable-palette use wxPalette class
2280 --enable-image use wxImage class
2281 --enable-gif use gif images
(GIF
file format
)
2282 --enable-pcx use pcx images
(PCX
file format
)
2283 --enable-tga use tga images
(TGA
file format
)
2284 --enable-iff use iff images
(IFF
file format
)
2285 --enable-pnm use pnm images
(PNM
file format
)
2286 --enable-xpm use xpm images
(XPM
file format
)
2287 --enable-ico_cur use Windows ICO and CUR formats
2288 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2289 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2290 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2291 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2292 --enable-wxdib use wxDIB class
(Win32 only
)
2293 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2294 --enable-autoidman use automatic ids management
2295 --disable-largefile omit support
for large files
2296 --disable-gtktest do not try to compile and run a
test GTK
+ program
2297 --disable-gtktest Do not try to compile and run a
test GTK program
2298 --disable-sdltest Do not try to compile and run a
test SDL program
2299 --enable-omf use OMF object format
(OS
/2)
2300 --disable-dependency-tracking
2301 don
't use dependency tracking even if the compiler
2303 --disable-precomp-headers
2304 don't use precompiled headers even
if compiler can
2307 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2308 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2309 --without-subdirs don
't generate makefiles for samples/demos/...
2310 --with-flavour=NAME specify a name to identify this build
2311 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2312 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2313 --with-motif use Motif/Lesstif
2314 --with-osx_carbon use Mac OS X (Carbon)
2315 --with-osx_cocoa use Mac OS X (Cocoa)
2316 --with-osx_iphone use iPhone OS X port
2317 --with-osx use Mac OS X (default port, currently Carbon)
2318 --with-carbon same as --with-osx_carbon
2319 --with-cocoa same as --with-osx_cocoa
2320 --with-iphone same as --with-osx_iphone
2321 --with-mac same as --with-osx
2322 --with-old_cocoa use old, deprecated, Cocoa port
2323 --with-wine use Wine
2324 --with-msw use MS-Windows
2325 --with-pm use OS/2 Presentation Manager
2326 --with-directfb use DirectFB
2327 --with-microwin use MicroWindows
2329 --with-libpng use libpng (PNG image format)
2330 --with-libjpeg use libjpeg (JPEG file format)
2331 --with-libtiff use libtiff (TIFF file format)
2332 --without-libjbig don't use libjbig
in libtiff even
if available
)
2333 --without-liblzma don
't use liblzma in libtiff even if available)
2334 --with-libxpm use libxpm (XPM file format)
2335 --with-libiconv use libiconv (character conversion)
2336 --with-libmspack use libmspack (CHM help files loading)
2337 --without-gtkprint don't use GTK printing support
2338 --without-gnomeprint don
't use GNOME printing libraries
2339 --with-gnomevfs use GNOME VFS for associating MIME types
2340 --with-libnotify use libnotify for notifications
2341 --with-hildon use Hildon framework for Nokia 770/800/810
2342 --with-opengl use OpenGL (or Mesa)
2343 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2344 --with-sdl use SDL for audio on Unix
2345 --with-regex enable support for wxRegEx class
2346 --with-zlib use zlib for LZW compression
2347 --with-expat enable XML support using expat parser
2348 --with-macosx-sdk=PATH use an OS X SDK at PATH
2349 --with-macosx-version-min=VER build binaries which require at least this OS X version
2350 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2351 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2352 --with-x use the X Window System
2353 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2354 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2355 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2356 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2357 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2359 Some influential environment variables:
2360 CC C compiler command
2361 CFLAGS C compiler flags
2362 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2363 nonstandard directory <lib dir>
2364 LIBS libraries to pass to the linker, e.g. -l<library>
2365 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2366 you have headers in a nonstandard directory <include dir>
2368 CXX C++ compiler command
2369 CXXFLAGS C++ compiler flags
2370 CXXCPP C++ preprocessor
2371 PKG_CONFIG path to pkg-config utility
2373 C compiler flags for DIRECTFB, overriding pkg-config
2375 linker flags for DIRECTFB, overriding pkg-config
2376 XMKMF Path to xmkmf, Makefile generator for X Window System
2378 C compiler flags for PANGOX, overriding pkg-config
2379 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2381 C compiler flags for PANGOFT2, overriding pkg-config
2383 linker flags for PANGOFT2, overriding pkg-config
2385 C compiler flags for PANGOXFT, overriding pkg-config
2387 linker flags for PANGOXFT, overriding pkg-config
2389 C compiler flags for Xinerama, overriding pkg-config
2391 linker flags for Xinerama, overriding pkg-config
2393 C compiler flags for Xxf86vm, overriding pkg-config
2395 linker flags for Xxf86vm, overriding pkg-config
2396 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2397 SM_LIBS linker flags for SM, overriding pkg-config
2398 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2399 GL_LIBS linker flags for GL, overriding pkg-config
2400 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2401 GLU_LIBS linker flags for GLU, overriding pkg-config
2403 C compiler flags for MesaGL, overriding pkg-config
2404 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2406 C compiler flags for GTKPRINT, overriding pkg-config
2408 linker flags for GTKPRINT, overriding pkg-config
2409 LIBGNOMEPRINTUI_CFLAGS
2410 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2411 LIBGNOMEPRINTUI_LIBS
2412 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2414 C compiler flags for GNOMEVFS, overriding pkg-config
2416 linker flags for GNOMEVFS, overriding pkg-config
2418 C compiler flags for LIBNOTIFY, overriding pkg-config
2420 linker flags for LIBNOTIFY, overriding pkg-config
2422 C compiler flags for HILDON, overriding pkg-config
2423 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2425 C compiler flags for HILDON2, overriding pkg-config
2427 linker flags for HILDON2, overriding pkg-config
2429 C compiler flags for WEBKIT, overriding pkg-config
2430 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2432 C compiler flags for CAIRO, overriding pkg-config
2433 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2434 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2435 GST_LIBS linker flags for GST, overriding pkg-config
2437 Use these variables to override the choices made by `configure' or to
help
2438 it to
find libraries and programs with nonstandard names
/locations.
2440 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2445 if test "$ac_init_help" = "recursive"; then
2446 # If there are subdirs, report their specific --help.
2447 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2448 test -d "$ac_dir" ||
2449 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2454 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2456 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2457 # A ".." for each directory in $ac_dir_suffix.
2458 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2459 case $ac_top_builddir_sub in
2460 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2461 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2464 ac_abs_top_builddir
=$ac_pwd
2465 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2466 # for backward compatibility:
2467 ac_top_builddir
=$ac_top_build_prefix
2470 .
) # We are building in place.
2472 ac_top_srcdir
=$ac_top_builddir_sub
2473 ac_abs_top_srcdir
=$ac_pwd ;;
2474 [\\/]* | ?
:[\\/]* ) # Absolute name.
2475 ac_srcdir
=$srcdir$ac_dir_suffix;
2476 ac_top_srcdir
=$srcdir
2477 ac_abs_top_srcdir
=$srcdir ;;
2479 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2480 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2481 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2483 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2485 cd "$ac_dir" || { ac_status
=$?
; continue; }
2486 # Check for guested configure.
2487 if test -f "$ac_srcdir/configure.gnu"; then
2489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2490 elif test -f "$ac_srcdir/configure"; then
2492 $SHELL "$ac_srcdir/configure" --help=recursive
2494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2496 cd "$ac_pwd" || { ac_status
=$?
; break; }
2500 test -n "$ac_init_help" && exit $ac_status
2501 if $ac_init_version; then
2503 wxWidgets configure
2.9.5
2504 generated by GNU Autoconf
2.69
2506 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2507 This configure
script is free software
; the Free Software Foundation
2508 gives unlimited permission to copy
, distribute and modify it.
2513 ## ------------------------ ##
2514 ## Autoconf initialization. ##
2515 ## ------------------------ ##
2517 # ac_fn_c_try_compile LINENO
2518 # --------------------------
2519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_c_try_compile
()
2522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2523 rm -f conftest.
$ac_objext
2524 if { { ac_try
="$ac_compile"
2526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_compile") 2>conftest.err
2533 if test -s conftest.err; then
2534 grep -v '^ *+' conftest.err >conftest.er1
2535 cat conftest.er1 >&5
2536 mv -f conftest.er1 conftest.err
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; } && {
2540 test -z "$ac_c_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest.$ac_objext; then :
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } # ac_fn_c_try_compile
2555 # ac_fn_c_try_cpp LINENO
2556 # ----------------------
2557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 if { { ac_try="$ac_cpp conftest.$ac_ext"
2563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2564 *) ac_try_echo
=$ac_try;;
2566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2570 if test -s conftest.err
; then
2571 grep -v '^ *+' conftest.err
>conftest.er1
2572 cat conftest.er1
>&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } > conftest.i
&& {
2577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2578 test ! -s conftest.err
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status
$ac_retval
2592 # ac_fn_cxx_try_compile LINENO
2593 # ----------------------------
2594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2595 ac_fn_cxx_try_compile
()
2597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2598 rm -f conftest.
$ac_objext
2599 if { { ac_try
="$ac_compile"
2601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_compile") 2>conftest.err
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } && {
2615 test -z "$ac_cxx_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest.$ac_objext; then :
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 as_fn_set_status $ac_retval
2628 } # ac_fn_cxx_try_compile
2630 # ac_fn_c_try_link LINENO
2631 # -----------------------
2632 # Try to link conftest.$ac_ext, and return whether this succeeded.
2635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2636 rm -f conftest.$ac_objext conftest$ac_exeext
2637 if { { ac_try="$ac_link"
2639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2640 *) ac_try_echo
=$ac_try;;
2642 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_link") 2>conftest.err
2646 if test -s conftest.err
; then
2647 grep -v '^ *+' conftest.err
>conftest.er1
2648 cat conftest.er1
>&5
2649 mv -f conftest.er1 conftest.err
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; } && {
2653 test -z "$ac_c_werror_flag" ||
2654 test ! -s conftest.err
2655 } && test -s conftest
$ac_exeext && {
2656 test "$cross_compiling" = yes ||
2657 test -x conftest
$ac_exeext
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2666 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2667 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2668 # interfere with the next link command; also delete a directory that is
2669 # left behind by Apple's compiler. We do this before executing the actions.
2670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 as_fn_set_status
$ac_retval
2674 } # ac_fn_c_try_link
2676 # ac_fn_cxx_try_link LINENO
2677 # -------------------------
2678 # Try to link conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_cxx_try_link
()
2681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2682 rm -f conftest.
$ac_objext conftest
$ac_exeext
2683 if { { ac_try
="$ac_link"
2685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_link") 2>conftest.err
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_cxx_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest$ac_exeext && {
2702 test "$cross_compiling" = yes ||
2703 test -x conftest$ac_exeext
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2714 # interfere with the next link command; also delete a directory that is
2715 # left behind by Apple's compiler. We do this before executing the actions.
2716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_cxx_try_link
2722 # ac_fn_c_try_run LINENO
2723 # ----------------------
2724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2725 # that executables *can* be run.
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 if { { ac_try="$ac_link"
2731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2732 *) ac_try_echo
=$ac_try;;
2734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 $as_echo "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>&5
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then :
2752 $as_echo "$as_me: program exited with status $ac_status" >&5
2753 $as_echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 ac_retval=$ac_status
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2765 # -------------------------------------------------------
2766 # Tests whether HEADER exists and can be compiled using the include files in
2767 # INCLUDES, setting the cache variable VAR accordingly.
2768 ac_fn_c_check_header_compile ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 $as_echo_n "checking for $2... " >&6; }
2773 if eval \${$3+:} false; then :
2774 $as_echo_n "(cached) " >&6
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2781 if ac_fn_c_try_compile "$LINENO"; then :
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2790 $as_echo "$ac_res" >&6; }
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 } # ac_fn_c_check_header_compile
2795 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2796 # ---------------------------------------------------------
2797 # Tests whether HEADER exists and can be compiled using the include files in
2798 # INCLUDES, setting the cache variable VAR accordingly.
2799 ac_fn_cxx_check_header_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2803 $as_echo_n "checking for $2... " >&6; }
2804 if eval \${$3+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2812 if ac_fn_cxx_try_compile "$LINENO"; then :
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2821 $as_echo "$ac_res" >&6; }
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 } # ac_fn_cxx_check_header_compile
2826 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2827 # --------------------------------------------
2828 # Tries to find the compile-time value of EXPR in a program that includes
2829 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2831 ac_fn_c_compute_int ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 if test "$cross_compiling" = yes; then
2835 # Depending upon the size, compute the lo and hi bounds.
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2842 static int test_array [1 - 2 * !(($2) >= 0)];
2844 return test_array [0];
2850 if ac_fn_c_try_compile "$LINENO"; then :
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2859 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2861 return test_array [0];
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 ac_hi=$ac_mid; break
2870 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2871 if test $ac_lo -le $ac_mid; then
2875 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2886 static int test_array [1 - 2 * !(($2) < 0)];
2888 return test_array [0];
2894 if ac_fn_c_try_compile "$LINENO"; then :
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2903 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2905 return test_array [0];
2911 if ac_fn_c_try_compile "$LINENO"; then :
2912 ac_lo=$ac_mid; break
2914 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2915 if test $ac_mid -le $ac_hi; then
2919 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 # Binary search between lo and hi bounds.
2930 while test "x$ac_lo" != "x$ac_hi"; do
2931 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2938 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2940 return test_array [0];
2946 if ac_fn_c_try_compile "$LINENO"; then :
2949 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2961 static long int longval () { return $2; }
2962 static unsigned long int ulongval () { return $2; }
2969 FILE *f = fopen ("conftest.val", "w");
2974 long int i = longval ();
2977 fprintf (f, "%ld", i);
2981 unsigned long int i = ulongval ();
2984 fprintf (f, "%lu", i);
2986 /* Do not output a trailing newline, as this causes \r\n confusion
2987 on some platforms. */
2988 return ferror (f) || fclose (f) != 0;
2994 if ac_fn_c_try_run "$LINENO"; then :
2995 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3000 conftest.$ac_objext conftest.beam conftest.$ac_ext
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 as_fn_set_status $ac_retval
3007 } # ac_fn_c_compute_int
3009 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3010 # ---------------------------------------------
3011 # Tests whether TYPE exists after having included INCLUDES, setting cache
3012 # variable VAR accordingly.
3013 ac_fn_cxx_check_type ()
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3034 if ac_fn_cxx_try_compile "$LINENO"; then :
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3047 if ac_fn_cxx_try_compile "$LINENO"; then :
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_cxx_check_type
3063 # ac_fn_cxx_try_cpp LINENO
3064 # ------------------------
3065 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3066 ac_fn_cxx_try_cpp ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 if { { ac_try="$ac_cpp conftest.$ac_ext"
3071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3072 *) ac_try_echo
=$ac_try;;
3074 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3078 if test -s conftest.err
; then
3079 grep -v '^ *+' conftest.err
>conftest.er1
3080 cat conftest.er1
>&5
3081 mv -f conftest.er1 conftest.err
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; } > conftest.i
&& {
3085 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3086 test ! -s conftest.err
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 as_fn_set_status
$ac_retval
3098 } # ac_fn_cxx_try_cpp
3100 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3101 # ---------------------------------------------------------
3102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3103 # the include files in INCLUDES and setting the cache variable VAR
3105 ac_fn_cxx_check_header_mongrel
()
3107 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3108 if eval \
${$3+:} false
; then :
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3110 $as_echo_n "checking for $2... " >&6; }
3111 if eval \
${$3+:} false
; then :
3112 $as_echo_n "(cached) " >&6
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3118 # Is the header compilable?
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3120 $as_echo_n "checking $2 usability... " >&6; }
3121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3126 if ac_fn_cxx_try_compile
"$LINENO"; then :
3127 ac_header_compiler
=yes
3129 ac_header_compiler
=no
3131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3133 $as_echo "$ac_header_compiler" >&6; }
3135 # Is the header present?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3137 $as_echo_n "checking $2 presence... " >&6; }
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3142 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3143 ac_header_preproc
=yes
3145 ac_header_preproc
=no
3147 rm -f conftest.err conftest.i conftest.
$ac_ext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3149 $as_echo "$ac_header_preproc" >&6; }
3151 # So? What about this header?
3152 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3170 ( $as_echo "## ----------------------------------------- ##
3171 ## Report this to wx-dev@lists.wxwidgets.org ##
3172 ## ----------------------------------------- ##"
3173 ) | sed "s/^/$as_me: WARNING: /" >&2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3177 $as_echo_n "checking for $2... " >&6; }
3178 if eval \
${$3+:} false
; then :
3179 $as_echo_n "(cached) " >&6
3181 eval "$3=\$ac_header_compiler"
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3185 $as_echo "$ac_res" >&6; }
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 } # ac_fn_cxx_check_header_mongrel
3191 # ac_fn_c_check_func LINENO FUNC VAR
3192 # ----------------------------------
3193 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3194 ac_fn_c_check_func
()
3196 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3198 $as_echo_n "checking for $2... " >&6; }
3199 if eval \
${$3+:} false
; then :
3200 $as_echo_n "(cached) " >&6
3202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3206 #define $2 innocuous_$2
3208 /* System header to define __stub macros and hopefully few prototypes,
3209 which can conflict with char $2 (); below.
3210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 <limits.h> exists even on freestanding compilers. */
3214 # include <limits.h>
3216 # include <assert.h>
3221 /* Override any GCC internal prototype to avoid an error.
3222 Use char because int might match the return type of a GCC
3223 builtin and then its argument prototype would still apply. */
3228 /* The GNU C library defines this for functions which it implements
3229 to always fail with ENOSYS. Some functions are actually named
3230 something starting with __ and the normal name is an alias. */
3231 #if defined __stub_$2 || defined __stub___$2
3243 if ac_fn_c_try_link
"$LINENO"; then :
3248 rm -f core conftest.err conftest.
$ac_objext \
3249 conftest
$ac_exeext conftest.
$ac_ext
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3253 $as_echo "$ac_res" >&6; }
3254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 } # ac_fn_c_check_func
3258 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3259 # -------------------------------------------
3260 # Tests whether TYPE exists after having included INCLUDES, setting cache
3261 # variable VAR accordingly.
3262 ac_fn_c_check_type
()
3264 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3266 $as_echo_n "checking for $2... " >&6; }
3267 if eval \
${$3+:} false
; then :
3268 $as_echo_n "(cached) " >&6
3271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3283 if ac_fn_c_try_compile
"$LINENO"; then :
3284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3296 if ac_fn_c_try_compile
"$LINENO"; then :
3301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3307 $as_echo "$ac_res" >&6; }
3308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3310 } # ac_fn_c_check_type
3312 # ac_fn_cxx_try_run LINENO
3313 # ------------------------
3314 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3315 # that executables *can* be run.
3316 ac_fn_cxx_try_run
()
3318 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3319 if { { ac_try
="$ac_link"
3321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3330 { { case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3332 *) ac_try_echo
=$ac_try;;
3334 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_try") 2>&5
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; }; then :
3342 $as_echo "$as_me: program exited with status $ac_status" >&5
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.
$ac_ext >&5
3346 ac_retval
=$ac_status
3348 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3350 as_fn_set_status
$ac_retval
3352 } # ac_fn_cxx_try_run
3353 cat >config.log
<<_ACEOF
3354 This file contains any messages produced by compilers while
3355 running configure, to aid debugging if configure makes a mistake.
3357 It was created by wxWidgets $as_me 2.9.5, which was
3358 generated by GNU Autoconf 2.69. Invocation command line was
3370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3382 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 $as_echo "PATH: $as_dir"
3410 # Keep a trace of the command line.
3411 # Strip out --no-create and --no-recursion so they do not pile up.
3412 # Strip out --silent because we don't want to record it for future runs.
3413 # Also quote any args containing shell meta-characters.
3414 # Make two passes to allow for proper duplicate-argument suppression.
3418 ac_must_keep_next
=false
3424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3426 | -silent | --silent | --silen | --sile | --sil)
3429 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3432 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3434 as_fn_append ac_configure_args1
" '$ac_arg'"
3435 if test $ac_must_keep_next = true
; then
3436 ac_must_keep_next
=false
# Got value, back to normal.
3439 *=* | --config-cache | -C | -disable-* | --disable-* \
3440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3442 | -with-* | --with-* | -without-* | --without-* | --x)
3443 case "$ac_configure_args0 " in
3444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3447 -* ) ac_must_keep_next
=true
;;
3450 as_fn_append ac_configure_args
" '$ac_arg'"
3455 { ac_configure_args0
=; unset ac_configure_args0
;}
3456 { ac_configure_args1
=; unset ac_configure_args1
;}
3458 # When interrupted or exit'd, cleanup temporary files, and complete
3459 # config.log. We remove comments because anyway the quotes in there
3460 # would cause problems or look ugly.
3461 # WARNING: Use '\'' to represent an apostrophe within the trap.
3462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3463 trap 'exit_status=$?
3464 # Save into config.log some information that might help in debugging.
3468 $as_echo "## ---------------- ##
3469 ## Cache variables. ##
3470 ## ---------------- ##"
3472 # The following way of writing the cache mishandles newlines in values,
3474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3475 eval ac_val=\$$ac_var
3479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3483 _ | IFS | as_nl) ;; #(
3484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3485 *) { eval $ac_var=; unset $ac_var;} ;;
3490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3491 *${as_nl}ac_space=\ *)
3493 "s/'\''/'\''\\\\'\'''\''/g;
3494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3504 $as_echo "## ----------------- ##
3505 ## Output variables. ##
3506 ## ----------------- ##"
3508 for ac_var in $ac_subst_vars
3510 eval ac_val=\$$ac_var
3512 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3514 $as_echo "$ac_var='\''$ac_val'\''"
3518 if test -n "$ac_subst_files"; then
3519 $as_echo "## ------------------- ##
3520 ## File substitutions. ##
3521 ## ------------------- ##"
3523 for ac_var
in $ac_subst_files
3525 eval ac_val
=\$
$ac_var
3527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3529 $as_echo "$ac_var='\''$ac_val'\''"
3534 if test -s confdefs.h; then
3535 $as_echo "## ----------- ##
3542 test "$ac_signal" != 0 &&
3543 $as_echo "$as_me: caught signal $ac_signal"
3544 $as_echo "$as_me: exit $exit_status"
3546 rm -f core *.core core.conftest.* &&
3547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3550 for ac_signal
in 1 2 13 15; do
3551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3556 rm -f -r conftest
* confdefs.h
3558 $as_echo "/* confdefs.h */" > confdefs.h
3560 # Predefined preprocessor variables.
3562 cat >>confdefs.h
<<_ACEOF
3563 #define PACKAGE_NAME "$PACKAGE_NAME"
3566 cat >>confdefs.h
<<_ACEOF
3567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3570 cat >>confdefs.h
<<_ACEOF
3571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3574 cat >>confdefs.h
<<_ACEOF
3575 #define PACKAGE_STRING "$PACKAGE_STRING"
3578 cat >>confdefs.h
<<_ACEOF
3579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3582 cat >>confdefs.h
<<_ACEOF
3583 #define PACKAGE_URL "$PACKAGE_URL"
3587 # Let the site file select an alternate cache file if it wants to.
3588 # Prefer an explicitly selected file to automatically selected ones.
3591 if test -n "$CONFIG_SITE"; then
3592 # We do not want a PATH search for config.site.
3593 case $CONFIG_SITE in #((
3594 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3595 */*) ac_site_file1
=$CONFIG_SITE;;
3596 *) ac_site_file1
=.
/$CONFIG_SITE;;
3598 elif test "x$prefix" != xNONE
; then
3599 ac_site_file1
=$prefix/share
/config.site
3600 ac_site_file2
=$prefix/etc
/config.site
3602 ac_site_file1
=$ac_default_prefix/share
/config.site
3603 ac_site_file2
=$ac_default_prefix/etc
/config.site
3605 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3607 test "x$ac_site_file" = xNONE
&& continue
3608 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3611 sed 's/^/| /' "$ac_site_file" >&5
3613 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $?
"failed to load site script $ac_site_file
3616 See \`config.log' for more details" "$LINENO" 5; }
3620 if test -r "$cache_file"; then
3621 # Some versions of bash will fail to source /dev/null (special files
3622 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3623 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3625 $as_echo "$as_me: loading cache $cache_file" >&6;}
3627 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3628 *) .
"./$cache_file";;
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3633 $as_echo "$as_me: creating cache $cache_file" >&6;}
3637 # Check that the precious variables saved in the cache have kept the same
3639 ac_cache_corrupted
=false
3640 for ac_var
in $ac_precious_vars; do
3641 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3642 eval ac_new_set
=\
$ac_env_${ac_var}_set
3643 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3644 eval ac_new_val
=\
$ac_env_${ac_var}_value
3645 case $ac_old_set,$ac_new_set in
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3649 ac_cache_corrupted
=: ;;
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3653 ac_cache_corrupted
=: ;;
3656 if test "x$ac_old_val" != "x$ac_new_val"; then
3657 # differences in whitespace do not lead to failure.
3658 ac_old_val_w
=`echo x $ac_old_val`
3659 ac_new_val_w
=`echo x $ac_new_val`
3660 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3663 ac_cache_corrupted
=:
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3667 eval $ac_var=\
$ac_old_val
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3670 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3672 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3675 # Pass precious variables to config.status.
3676 if test "$ac_new_set" = set; then
3678 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3679 *) ac_arg
=$ac_var=$ac_new_val ;;
3681 case " $ac_configure_args " in
3682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3683 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3687 if $ac_cache_corrupted; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3692 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3694 ## -------------------- ##
3695 ## Main body of script. ##
3696 ## -------------------- ##
3699 ac_cpp
='$CPP $CPPFLAGS'
3700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3709 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3710 if test -f "$ac_dir/install-sh"; then
3712 ac_install_sh
="$ac_aux_dir/install-sh -c"
3714 elif test -f "$ac_dir/install.sh"; then
3716 ac_install_sh
="$ac_aux_dir/install.sh -c"
3718 elif test -f "$ac_dir/shtool"; then
3720 ac_install_sh
="$ac_aux_dir/shtool install -c"
3724 if test -z "$ac_aux_dir"; then
3725 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3728 # These three variables are undocumented and unsupported,
3729 # and are intended to be withdrawn in a future Autoconf release.
3730 # They can cause serious problems if a builder's source tree is in a directory
3731 # whose full name contains unusual characters.
3732 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3733 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3734 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3737 # Make sure we can run config.sub.
3738 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3739 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3742 $as_echo_n "checking build system type... " >&6; }
3743 if ${ac_cv_build+:} false
; then :
3744 $as_echo_n "(cached) " >&6
3746 ac_build_alias
=$build_alias
3747 test "x$ac_build_alias" = x
&&
3748 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3749 test "x$ac_build_alias" = x
&&
3750 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3751 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3752 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3756 $as_echo "$ac_cv_build" >&6; }
3757 case $ac_cv_build in
3759 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3762 ac_save_IFS
=$IFS; IFS
='-'
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3772 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3776 $as_echo_n "checking host system type... " >&6; }
3777 if ${ac_cv_host+:} false
; then :
3778 $as_echo_n "(cached) " >&6
3780 if test "x$host_alias" = x
; then
3781 ac_cv_host
=$ac_cv_build
3783 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3784 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3789 $as_echo "$ac_cv_host" >&6; }
3792 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3795 ac_save_IFS
=$IFS; IFS
='-'
3801 # Remember, the first character of IFS is used to create $*,
3802 # except with old shells:
3805 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3809 if test "$cross_compiling" != "no"; then
3810 HOST_PREFIX
="${host_alias}-"
3811 HOST_SUFFIX
="-$host_alias"
3818 wx_major_version_number
=2
3819 wx_minor_version_number
=9
3821 wx_subrelease_number
=0
3823 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3824 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3825 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3827 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3830 wx_top_builddir
="`pwd`"
3843 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3849 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3855 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3857 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3859 DEFAULT_wxUSE_OLD_COCOA
=0
3861 DEFAULT_wxUSE_OSX_CARBON
=0
3862 DEFAULT_wxUSE_OSX_COCOA
=0
3863 DEFAULT_wxUSE_OSX_IPHONE
=0
3864 DEFAULT_wxUSE_MICROWIN
=0
3865 DEFAULT_wxUSE_MOTIF
=0
3871 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3872 DEFAULT_DEFAULT_wxUSE_GTK
=0
3873 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3874 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3875 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3876 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3877 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3878 DEFAULT_DEFAULT_wxUSE_MSW
=0
3879 DEFAULT_DEFAULT_wxUSE_PM
=0
3880 DEFAULT_DEFAULT_wxUSE_X11
=0
3881 DEFAULT_DEFAULT_wxUSE_DFB
=0
3885 DYLIB_RPATH_INSTALL
=
3886 DYLIB_RPATH_POSTLINK
=
3888 DEFAULT_STD_FLAG
=yes
3893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3894 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3895 $as_echo "#define __HPUX__ 1" >>confdefs.h
3898 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3902 $as_echo "#define __LINUX__ 1" >>confdefs.h
3905 if test "x$TMP" = "xalpha"; then
3907 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3910 DEFAULT_DEFAULT_wxUSE_GTK
=1
3912 *-*-gnu* | *-*-k*bsd
*-gnu )
3915 if test "x$TMP" = "xalpha"; then
3917 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3920 DEFAULT_DEFAULT_wxUSE_GTK
=1
3922 *-*-irix5* | *-*-irix6* )
3925 $as_echo "#define __SGI__ 1" >>confdefs.h
3927 $as_echo "#define __SVR4__ 1" >>confdefs.h
3929 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3933 $as_echo "#define __QNX__ 1" >>confdefs.h
3935 DEFAULT_DEFAULT_wxUSE_X11
=1
3941 $as_echo "#define __SUN__ 1" >>confdefs.h
3943 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3945 $as_echo "#define __SVR4__ 1" >>confdefs.h
3947 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3948 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3954 $as_echo "#define __SUN__ 1" >>confdefs.h
3956 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3958 $as_echo "#define __BSD__ 1" >>confdefs.h
3960 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3965 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3967 $as_echo "#define __BSD__ 1" >>confdefs.h
3969 DEFAULT_DEFAULT_wxUSE_GTK
=1
3971 *-*-openbsd*|*-*-mirbsd*)
3974 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3976 $as_echo "#define __BSD__ 1" >>confdefs.h
3978 DEFAULT_DEFAULT_wxUSE_GTK
=1
3983 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3985 $as_echo "#define __BSD__ 1" >>confdefs.h
3987 DEFAULT_DEFAULT_wxUSE_GTK
=1
3988 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3990 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3995 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3997 $as_echo "#define __OSF__ 1" >>confdefs.h
3999 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4000 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4005 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4007 $as_echo "#define __SVR4__ 1" >>confdefs.h
4009 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4014 $as_echo "#define __SYSV__ 1" >>confdefs.h
4016 $as_echo "#define __SVR4__ 1" >>confdefs.h
4018 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4024 $as_echo "#define __AIX__ 1" >>confdefs.h
4026 $as_echo "#define __SYSV__ 1" >>confdefs.h
4028 $as_echo "#define __SVR4__ 1" >>confdefs.h
4030 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4037 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4041 *-*-cygwin* | *-*-mingw32* )
4043 DEFAULT_DEFAULT_wxUSE_MSW
=1
4049 $as_echo "#define __DOS__ 1" >>confdefs.h
4054 *-pc-os2_emx | *-pc-os2-emx )
4055 $as_echo "#define __EMX__ 1" >>confdefs.h
4058 $as_echo "#define __OS2__ 1" >>confdefs.h
4061 DEFAULT_DEFAULT_wxUSE_PM
=1
4063 LDFLAGS
="$LDFLAGS -Zcrtdll"
4064 ac_executable_extensions
=".exe"
4065 export ac_executable_extensions
4069 for ac_dir
in $PATH; do
4071 if test -z "$ac_TEMP_PATH"; then
4072 ac_TEMP_PATH
="$ac_dir"
4074 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4077 export PATH
="$ac_TEMP_PATH"
4085 $as_echo "#define __BSD__ 1" >>confdefs.h
4087 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4089 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4095 $as_echo "#define __BSD__ 1" >>confdefs.h
4097 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4099 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4101 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=1
4106 $as_echo "#define __BEOS__ 1" >>confdefs.h
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4112 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4114 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4116 DEFAULT_DEFAULT_wxUSE_X11
=1
4117 DEFAULT_wxUSE_SHARED
=no
4122 DEFAULT_wxUSE_ALL_FEATURES
=yes
4124 DEFAULT_wxUSE_STD_CONTAINERS
=no
4125 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4126 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4128 DEFAULT_wxUSE_DMALLOC
=no
4129 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4130 DEFAULT_wxUSE_LIBHILDON
=no
4131 DEFAULT_wxUSE_LIBHILDON2
=no
4132 DEFAULT_wxUSE_LIBMSPACK
=no
4133 DEFAULT_wxUSE_LIBSDL
=no
4135 DEFAULT_wxUSE_ACCESSIBILITY
=no
4136 DEFAULT_wxUSE_IPV6
=no
4137 DEFAULT_wxUSE_GSTREAMER8
=no
4138 DEFAULT_wxUSE_UNICODE_UTF8
=no
4139 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4141 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4142 DEFAULT_wxUSE_OPENGL
=auto
4143 DEFAULT_wxUSE_MEDIACTRL
=auto
4144 DEFAULT_wxUSE_COMPILER_TLS
=auto
4145 DEFAULT_wxUSE_HOTKEY
=auto
4146 DEFAULT_wxUSE_METAFILE
=auto
4148 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4149 DEFAULT_wxUSE_MAC_ARCH
=no
4151 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4153 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4159 enablestring
=disable
4161 if test -z "$defaultval"; then
4162 if test x
"$enablestring" = xdisable
; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4170 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4171 # Check whether --enable-gui was given.
4172 if test "${enable_gui+set}" = set; then :
4173 enableval
=$enable_gui;
4174 if test "$enableval" = yes; then
4175 wx_cv_use_gui
='wxUSE_GUI=yes'
4177 wx_cv_use_gui
='wxUSE_GUI=no'
4182 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4187 eval "$wx_cv_use_gui"
4189 if test x"$enablestring" = xdisable; then
4190 if test $wxUSE_GUI = no; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4200 $as_echo "$result" >&6; }
4205 if test -z "$defaultval"; then
4206 if test x"$enablestring" = xdisable; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4214 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4215 # Check whether --enable-monolithic was given.
4216 if test "${enable_monolithic+set}" = set; then :
4217 enableval=$enable_monolithic;
4218 if test "$enableval" = yes; then
4219 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4221 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4226 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4231 eval "$wx_cv_use_monolithic"
4233 if test x"$enablestring" = xdisable; then
4234 if test $wxUSE_MONOLITHIC = no; then
4240 result=$wxUSE_MONOLITHIC
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4244 $as_echo "$result" >&6; }
4249 if test -z "$defaultval"; then
4250 if test x"$enablestring" = xdisable; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4258 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4259 # Check whether --enable-plugins was given.
4260 if test "${enable_plugins+set}" = set; then :
4261 enableval=$enable_plugins;
4262 if test "$enableval" = yes; then
4263 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4265 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4270 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4275 eval "$wx_cv_use_plugins"
4277 if test x
"$enablestring" = xdisable
; then
4278 if test $wxUSE_PLUGINS = no
; then
4284 result
=$wxUSE_PLUGINS
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4288 $as_echo "$result" >&6; }
4292 defaultval
=$wxUSE_ALL_FEATURES
4293 if test -z "$defaultval"; then
4294 if test x
"$withstring" = xwithout
; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4301 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4303 # Check whether --with-subdirs was given.
4304 if test "${with_subdirs+set}" = set; then :
4305 withval
=$with_subdirs;
4306 if test "$withval" = yes; then
4307 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4309 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4314 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4319 eval "$wx_cv_use_subdirs"
4321 if test x"$withstring" = xwithout; then
4322 if test $wxWITH_SUBDIRS = yes; then
4328 result=$wxWITH_SUBDIRS
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4332 $as_echo "$result" >&6; }
4335 # Check whether --with-flavour was given.
4336 if test "${with_flavour+set}" = set; then :
4337 withval=$with_flavour; WX_FLAVOUR="$withval"
4343 if test -z "$defaultval"; then
4344 if test x"$enablestring" = xdisable; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4352 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4353 # Check whether --enable-official_build was given.
4354 if test "${enable_official_build+set}" = set; then :
4355 enableval=$enable_official_build;
4356 if test "$enableval" = yes; then
4357 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4359 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4364 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4369 eval "$wx_cv_use_official_build"
4371 if test x"$enablestring" = xdisable; then
4372 if test $wxUSE_OFFICIAL_BUILD = no; then
4378 result=$wxUSE_OFFICIAL_BUILD
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4382 $as_echo "$result" >&6; }
4384 # Check whether --enable-vendor was given.
4385 if test "${enable_vendor+set}" = set; then :
4386 enableval=$enable_vendor; VENDOR="$enableval"
4389 if test "x
$VENDOR" = "x
"; then
4394 enablestring=disable
4396 if test -z "$defaultval"; then
4397 if test x"$enablestring" = xdisable; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4405 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4406 # Check whether --enable-all-features was given.
4407 if test "${enable_all_features+set}" = set; then :
4408 enableval=$enable_all_features;
4409 if test "$enableval" = yes; then
4410 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4412 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4417 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4422 eval "$wx_cv_use_all_features"
4424 if test x
"$enablestring" = xdisable
; then
4425 if test $wxUSE_ALL_FEATURES = no
; then
4431 result
=$wxUSE_ALL_FEATURES
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4435 $as_echo "$result" >&6; }
4438 if test "$wxUSE_ALL_FEATURES" = "no"; then
4439 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4440 DEFAULT_wxUSE_MEDIACTRL
=no
4444 if test "$wxUSE_GUI" = "yes"; then
4449 if test -z "$defaultval"; then
4450 if test x
"$enablestring" = xdisable
; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4458 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4459 # Check whether --enable-universal was given.
4460 if test "${enable_universal+set}" = set; then :
4461 enableval
=$enable_universal;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4465 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4470 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4475 eval "$wx_cv_use_universal"
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_UNIVERSAL = no; then
4484 result=$wxUSE_UNIVERSAL
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4488 $as_echo "$result" >&6; }
4490 if test "$wxUSE_UNIVERSAL" = "yes"; then
4492 # Check whether --with-themes was given.
4493 if test "${with_themes+set}" = set; then :
4494 withval=$with_themes; wxUNIV_THEMES="$withval"
4500 # Check whether --with-gtk was given.
4501 if test "${with_gtk+set}" = set; then :
4502 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4506 # Check whether --with-motif was given.
4507 if test "${with_motif+set}" = set; then :
4508 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4512 # Check whether --with-osx_carbon was given.
4513 if test "${with_osx_carbon+set}" = set; then :
4514 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4518 # Check whether --with-osx_cocoa was given.
4519 if test "${with_osx_cocoa+set}" = set; then :
4520 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4524 # Check whether --with-osx_iphone was given.
4525 if test "${with_osx_iphone+set}" = set; then :
4526 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4530 # Check whether --with-osx was given.
4531 if test "${with_osx+set}" = set; then :
4532 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4536 # Check whether --with-carbon was given.
4537 if test "${with_carbon+set}" = set; then :
4538 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4542 # Check whether --with-cocoa was given.
4543 if test "${with_cocoa+set}" = set; then :
4544 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4548 # Check whether --with-iphone was given.
4549 if test "${with_iphone+set}" = set; then :
4550 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4554 # Check whether --with-mac was given.
4555 if test "${with_mac+set}" = set; then :
4556 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4560 # Check whether --with-old_cocoa was given.
4561 if test "${with_old_cocoa+set}" = set; then :
4562 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4566 # Check whether --with-wine was given.
4567 if test "${with_wine+set}" = set; then :
4568 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4572 # Check whether --with-msw was given.
4573 if test "${with_msw+set}" = set; then :
4574 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4578 # Check whether --with-pm was given.
4579 if test "${with_pm+set}" = set; then :
4580 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4584 # Check whether --with-directfb was given.
4585 if test "${with_directfb+set}" = set; then :
4586 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4590 # Check whether --with-microwin was given.
4591 if test "${with_microwin+set}" = set; then :
4592 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4596 # Check whether --with-x11 was given.
4597 if test "${with_x11+set}" = set; then :
4598 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4604 if test -z "$defaultval"; then
4605 if test x"$enablestring" = xdisable; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4613 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4614 # Check whether --enable-nanox was given.
4615 if test "${enable_nanox+set}" = set; then :
4616 enableval=$enable_nanox;
4617 if test "$enableval" = yes; then
4618 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4620 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4625 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4630 eval "$wx_cv_use_nanox"
4632 if test x"$enablestring" = xdisable; then
4633 if test $wxUSE_NANOX = no; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4643 $as_echo "$result" >&6; }
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4657 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4658 # Check whether --enable-gpe was given.
4659 if test "${enable_gpe+set}" = set; then :
4660 enableval=$enable_gpe;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_gpe='wxUSE_GPE=yes'
4664 wx_cv_use_gpe='wxUSE_GPE=no'
4669 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4674 eval "$wx_cv_use_gpe"
4676 if test x
"$enablestring" = xdisable
; then
4677 if test $wxUSE_GPE = no
; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4687 $as_echo "$result" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4692 $as_echo_n "checking for toolkit... " >&6; }
4696 # In Wine, we need to default to MSW, not GTK or MOTIF
4697 if test "$wxUSE_WINE" = "yes"; then
4698 DEFAULT_DEFAULT_wxUSE_GTK
=0
4699 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4700 DEFAULT_DEFAULT_wxUSE_MSW
=1
4707 if test "$wxUSE_GUI" = "yes"; then
4709 if test "$USE_BEOS" = 1; then
4710 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4713 if test "$TOOLKIT_GIVEN" = 1; then
4714 for toolkit
in $ALL_TOOLKITS; do
4716 eval "value=\$${var}"
4717 if test "x$value" = "xno"; then
4719 elif test "x$value" != "x"; then
4723 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4724 eval "wx${toolkit}_VERSION=$value"
4728 for toolkit
in $ALL_TOOLKITS; do
4729 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4730 eval "wxUSE_$toolkit=\$${var}"
4734 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4735 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4736 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4739 *-pc-os2_emx | *-pc-os2-emx )
4740 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4743 case "$NUM_TOOLKITS" in
4747 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4750 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4753 for toolkit
in $ALL_TOOLKITS; do
4755 eval "value=\$${var}"
4756 if test "$value" = 1; then
4757 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4759 $as_echo "$toolkit_echo" >&6; }
4763 if test "x$host_alias" != "x"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4765 $as_echo "base ($host_alias hosted) only" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4768 $as_echo "base only" >&6; }
4773 if test "$wxUSE_OSX_CARBON" = 1 \
4774 -o "$wxUSE_OSX_COCOA" = 1 \
4775 -o "$wxUSE_OSX_IPHONE" = 1; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4782 $as_echo_n "checking for --with-libpng... " >&6; }
4784 # Check whether --with-libpng was given.
4785 if test "${with_libpng+set}" = set; then :
4786 withval
=$with_libpng;
4787 if test "$withval" = yes; then
4788 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4789 elif test "$withval" = no
; then
4790 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4791 elif test "$withval" = sys
; then
4792 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4793 elif test "$withval" = builtin; then
4794 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4796 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4801 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4806 eval "$wx_cv_use_libpng"
4808 if test "$wxUSE_LIBPNG" = yes; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4810 $as_echo "yes" >&6; }
4811 elif test "$wxUSE_LIBPNG" = no; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 elif test "$wxUSE_LIBPNG" = sys; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4816 $as_echo "system version" >&6; }
4817 elif test "$wxUSE_LIBPNG" = builtin; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4819 $as_echo "builtin version" >&6; }
4821 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4826 $as_echo_n "checking for --with-libjpeg... " >&6; }
4828 # Check whether --with-libjpeg was given.
4829 if test "${with_libjpeg+set}" = set; then :
4830 withval=$with_libjpeg;
4831 if test "$withval" = yes; then
4832 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4833 elif test "$withval" = no; then
4834 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4835 elif test "$withval" = sys; then
4836 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4837 elif test "$withval" = builtin; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4840 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4845 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4850 eval "$wx_cv_use_libjpeg"
4852 if test "$wxUSE_LIBJPEG" = yes; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4854 $as_echo "yes" >&6; }
4855 elif test "$wxUSE_LIBJPEG" = no; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4857 $as_echo "no
" >&6; }
4858 elif test "$wxUSE_LIBJPEG" = sys; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4860 $as_echo "system version
" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = builtin; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4863 $as_echo "builtin version
" >&6; }
4865 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4870 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4872 # Check whether --with-libtiff was given.
4873 if test "${with_libtiff+set}" = set; then :
4874 withval=$with_libtiff;
4875 if test "$withval" = yes; then
4876 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4877 elif test "$withval" = no; then
4878 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4879 elif test "$withval" = sys; then
4880 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4881 elif test "$withval" = builtin; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4884 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4889 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4894 eval "$wx_cv_use_libtiff"
4896 if test "$wxUSE_LIBTIFF" = yes; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898 $as_echo "yes" >&6; }
4899 elif test "$wxUSE_LIBTIFF" = no
; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4902 elif test "$wxUSE_LIBTIFF" = sys
; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4904 $as_echo "system version" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = builtin; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4907 $as_echo "builtin version" >&6; }
4909 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4914 defaultval
=$wxUSE_ALL_FEATURES
4915 if test -z "$defaultval"; then
4916 if test x
"$withstring" = xwithout
; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4923 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4925 # Check whether --with-libjbig was given.
4926 if test "${with_libjbig+set}" = set; then :
4927 withval
=$with_libjbig;
4928 if test "$withval" = yes; then
4929 wx_cv_use_libjbig
='wxUSE_LIBJBIG=yes'
4931 wx_cv_use_libjbig
='wxUSE_LIBJBIG=no'
4936 wx_cv_use_libjbig
='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4941 eval "$wx_cv_use_libjbig"
4943 if test x"$withstring" = xwithout; then
4944 if test $wxUSE_LIBJBIG = yes; then
4950 result=$wxUSE_LIBJBIG
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4954 $as_echo "$result" >&6; }
4958 defaultval=$wxUSE_ALL_FEATURES
4959 if test -z "$defaultval"; then
4960 if test x"$withstring" = xwithout; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4967 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4969 # Check whether --with-liblzma was given.
4970 if test "${with_liblzma+set}" = set; then :
4971 withval=$with_liblzma;
4972 if test "$withval" = yes; then
4973 wx_cv_use_liblzma='wxUSE_LIBLZMA
=yes'
4975 wx_cv_use_liblzma='wxUSE_LIBLZMA
=no
'
4980 wx_cv_use_liblzma='wxUSE_LIBLZMA
=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4985 eval "$wx_cv_use_liblzma"
4987 if test x"$withstring" = xwithout; then
4988 if test $wxUSE_LIBLZMA = yes; then
4994 result=$wxUSE_LIBLZMA
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4998 $as_echo "$result" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libxpm" >&5
5002 $as_echo_n "checking
for --with-libxpm...
" >&6; }
5004 # Check whether --with-libxpm was given.
5005 if test "${with_libxpm+set}" = set; then :
5006 withval=$with_libxpm;
5007 if test "$withval" = yes; then
5008 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5009 elif test "$withval" = no; then
5010 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5011 elif test "$withval" = sys; then
5012 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5013 elif test "$withval" = builtin; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5016 as_fn_error $? "Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5021 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5026 eval "$wx_cv_use_libxpm"
5028 if test "$wxUSE_LIBXPM" = yes; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5031 elif test "$wxUSE_LIBXPM" = no
; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5034 elif test "$wxUSE_LIBXPM" = sys
; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5036 $as_echo "system version" >&6; }
5037 elif test "$wxUSE_LIBXPM" = builtin; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5039 $as_echo "builtin version" >&6; }
5041 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5046 defaultval
=$wxUSE_ALL_FEATURES
5047 if test -z "$defaultval"; then
5048 if test x
"$withstring" = xwithout
; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5055 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5057 # Check whether --with-libiconv was given.
5058 if test "${with_libiconv+set}" = set; then :
5059 withval
=$with_libiconv;
5060 if test "$withval" = yes; then
5061 wx_cv_use_libiconv
='wxUSE_LIBICONV=yes'
5063 wx_cv_use_libiconv
='wxUSE_LIBICONV=no'
5068 wx_cv_use_libiconv
='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5073 eval "$wx_cv_use_libiconv"
5075 if test x"$withstring" = xwithout; then
5076 if test $wxUSE_LIBICONV = yes; then
5082 result=$wxUSE_LIBICONV
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5086 $as_echo "$result" >&6; }
5090 defaultval=$wxUSE_ALL_FEATURES
5091 if test -z "$defaultval"; then
5092 if test x"$withstring" = xwithout; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5099 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5101 # Check whether --with-libmspack was given.
5102 if test "${with_libmspack+set}" = set; then :
5103 withval=$with_libmspack;
5104 if test "$withval" = yes; then
5105 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
5107 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
5112 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5117 eval "$wx_cv_use_libmspack"
5119 if test x"$withstring" = xwithout; then
5120 if test $wxUSE_LIBMSPACK = yes; then
5126 result=$wxUSE_LIBMSPACK
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5130 $as_echo "$result" >&6; }
5134 defaultval=$wxUSE_ALL_FEATURES
5135 if test -z "$defaultval"; then
5136 if test x"$withstring" = xwithout; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gtkprint" >&5
5143 $as_echo_n "checking
for --${withstring:-with}-gtkprint...
" >&6; }
5145 # Check whether --with-gtkprint was given.
5146 if test "${with_gtkprint+set}" = set; then :
5147 withval=$with_gtkprint;
5148 if test "$withval" = yes; then
5149 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5151 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5156 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5161 eval "$wx_cv_use_gtkprint"
5163 if test x
"$withstring" = xwithout
; then
5164 if test $wxUSE_GTKPRINT = yes; then
5170 result
=$wxUSE_GTKPRINT
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5174 $as_echo "$result" >&6; }
5178 defaultval
=$wxUSE_ALL_FEATURES
5179 if test -z "$defaultval"; then
5180 if test x
"$withstring" = xwithout
; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5187 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5189 # Check whether --with-gnomeprint was given.
5190 if test "${with_gnomeprint+set}" = set; then :
5191 withval
=$with_gnomeprint;
5192 if test "$withval" = yes; then
5193 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
5195 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
5200 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5205 eval "$wx_cv_use_gnomeprint"
5207 if test x"$withstring" = xwithout; then
5208 if test $wxUSE_LIBGNOMEPRINT = yes; then
5214 result=$wxUSE_LIBGNOMEPRINT
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5218 $as_echo "$result" >&6; }
5222 defaultval=$wxUSE_ALL_FEATURES
5223 if test -z "$defaultval"; then
5224 if test x"$withstring" = xwithout; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5231 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5233 # Check whether --with-gnomevfs was given.
5234 if test "${with_gnomevfs+set}" = set; then :
5235 withval=$with_gnomevfs;
5236 if test "$withval" = yes; then
5237 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
5239 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
5244 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5249 eval "$wx_cv_use_gnomevfs"
5251 if test x"$withstring" = xwithout; then
5252 if test $wxUSE_LIBGNOMEVFS = yes; then
5258 result=$wxUSE_LIBGNOMEVFS
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5262 $as_echo "$result" >&6; }
5266 defaultval=$wxUSE_ALL_FEATURES
5267 if test -z "$defaultval"; then
5268 if test x"$withstring" = xwithout; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libnotify" >&5
5275 $as_echo_n "checking
for --${withstring:-with}-libnotify...
" >&6; }
5277 # Check whether --with-libnotify was given.
5278 if test "${with_libnotify+set}" = set; then :
5279 withval=$with_libnotify;
5280 if test "$withval" = yes; then
5281 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5283 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5288 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5293 eval "$wx_cv_use_libnotify"
5295 if test x
"$withstring" = xwithout
; then
5296 if test $wxUSE_LIBNOTIFY = yes; then
5302 result
=$wxUSE_LIBNOTIFY
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5306 $as_echo "$result" >&6; }
5310 defaultval
=$wxUSE_ALL_FEATURES
5311 if test -z "$defaultval"; then
5312 if test x
"$withstring" = xwithout
; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5319 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5321 # Check whether --with-hildon was given.
5322 if test "${with_hildon+set}" = set; then :
5323 withval
=$with_hildon;
5324 if test "$withval" = yes; then
5325 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5327 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5332 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5337 eval "$wx_cv_use_hildon"
5339 if test x"$withstring" = xwithout; then
5340 if test $wxUSE_LIBHILDON = yes; then
5346 result=$wxUSE_LIBHILDON
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5350 $as_echo "$result" >&6; }
5354 defaultval=$wxUSE_ALL_FEATURES
5355 if test -z "$defaultval"; then
5356 if test x"$withstring" = xwithout; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5363 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5365 # Check whether --with-opengl was given.
5366 if test "${with_opengl+set}" = set; then :
5367 withval=$with_opengl;
5368 if test "$withval" = yes; then
5369 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5371 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5376 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5381 eval "$wx_cv_use_opengl"
5383 if test x"$withstring" = xwithout; then
5384 if test $wxUSE_OPENGL = yes; then
5390 result=$wxUSE_OPENGL
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5394 $as_echo "$result" >&6; }
5401 defaultval=$wxUSE_ALL_FEATURES
5402 if test -z "$defaultval"; then
5403 if test x"$withstring" = xwithout; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5410 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5412 # Check whether --with-dmalloc was given.
5413 if test "${with_dmalloc+set}" = set; then :
5414 withval=$with_dmalloc;
5415 if test "$withval" = yes; then
5416 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5418 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5423 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5428 eval "$wx_cv_use_dmalloc"
5430 if test x
"$withstring" = xwithout
; then
5431 if test $wxUSE_DMALLOC = yes; then
5437 result
=$wxUSE_DMALLOC
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5441 $as_echo "$result" >&6; }
5445 defaultval
=$wxUSE_ALL_FEATURES
5446 if test -z "$defaultval"; then
5447 if test x
"$withstring" = xwithout
; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5454 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5456 # Check whether --with-sdl was given.
5457 if test "${with_sdl+set}" = set; then :
5459 if test "$withval" = yes; then
5460 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5462 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5467 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5472 eval "$wx_cv_use_sdl"
5474 if test x"$withstring" = xwithout; then
5475 if test $wxUSE_LIBSDL = yes; then
5481 result=$wxUSE_LIBSDL
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5485 $as_echo "$result" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5489 $as_echo_n "checking for --with-regex... " >&6; }
5491 # Check whether --with-regex was given.
5492 if test "${with_regex+set}" = set; then :
5493 withval=$with_regex;
5494 if test "$withval" = yes; then
5495 wx_cv_use_regex='wxUSE_REGEX
=yes'
5496 elif test "$withval" = no; then
5497 wx_cv_use_regex='wxUSE_REGEX
=no
'
5498 elif test "$withval" = sys; then
5499 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5500 elif test "$withval" = builtin; then
5501 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5503 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5508 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5513 eval "$wx_cv_use_regex"
5515 if test "$wxUSE_REGEX" = yes; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5517 $as_echo "yes" >&6; }
5518 elif test "$wxUSE_REGEX" = no; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5520 $as_echo "no
" >&6; }
5521 elif test "$wxUSE_REGEX" = sys; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5523 $as_echo "system version
" >&6; }
5524 elif test "$wxUSE_REGEX" = builtin; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5526 $as_echo "builtin version
" >&6; }
5528 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5533 $as_echo_n "checking
for --with-zlib...
" >&6; }
5535 # Check whether --with-zlib was given.
5536 if test "${with_zlib+set}" = set; then :
5538 if test "$withval" = yes; then
5539 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5540 elif test "$withval" = no; then
5541 wx_cv_use_zlib='wxUSE_ZLIB=no'
5542 elif test "$withval" = sys; then
5543 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5544 elif test "$withval" = builtin; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5547 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5552 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5557 eval "$wx_cv_use_zlib"
5559 if test "$wxUSE_ZLIB" = yes; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5561 $as_echo "yes" >&6; }
5562 elif test "$wxUSE_ZLIB" = no
; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5565 elif test "$wxUSE_ZLIB" = sys
; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5567 $as_echo "system version" >&6; }
5568 elif test "$wxUSE_ZLIB" = builtin; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5570 $as_echo "builtin version" >&6; }
5572 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5577 $as_echo_n "checking for --with-expat... " >&6; }
5579 # Check whether --with-expat was given.
5580 if test "${with_expat+set}" = set; then :
5581 withval
=$with_expat;
5582 if test "$withval" = yes; then
5583 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5584 elif test "$withval" = no
; then
5585 wx_cv_use_expat
='wxUSE_EXPAT=no'
5586 elif test "$withval" = sys
; then
5587 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5588 elif test "$withval" = builtin; then
5589 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5591 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5596 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5601 eval "$wx_cv_use_expat"
5603 if test "$wxUSE_EXPAT" = yes; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5605 $as_echo "yes" >&6; }
5606 elif test "$wxUSE_EXPAT" = no; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5609 elif test "$wxUSE_EXPAT" = sys; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5611 $as_echo "system version" >&6; }
5612 elif test "$wxUSE_EXPAT" = builtin; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5614 $as_echo "builtin version" >&6; }
5616 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5621 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5623 # Check whether --with-macosx-sdk was given.
5624 if test "${with_macosx_sdk+set}" = set; then :
5625 withval=$with_macosx_sdk;
5626 wxUSE_MACOSX_SDK=$withval
5627 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5632 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5635 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5637 # Check whether --with-macosx-version-min was given.
5638 if test "${with_macosx_version_min+set}" = set; then :
5639 withval=$with_macosx_version_min;
5640 wxUSE_MACOSX_VERSION_MIN=$withval
5641 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5646 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5650 $as_echo_n "checking for --enable-debug... " >&6; }
5651 # Check whether --enable-debug was given.
5652 if test "${enable_debug+set}" = set; then :
5653 enableval=$enable_debug;
5654 if test "$enableval" = yes; then
5656 elif test "$enableval" = no; then
5658 elif test "$enableval" = max; then
5660 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5662 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5671 $as_echo "${enable_debug-default}" >&6; }
5673 case "$wxUSE_DEBUG" in
5675 DEFAULT_wxUSE_DEBUG_FLAG=yes
5676 DEFAULT_wxUSE_DEBUG_INFO=yes
5678 DEFAULT_wxUSE_OPTIMISE=no
5682 DEFAULT_wxUSE_DEBUG_FLAG=no
5683 DEFAULT_wxUSE_DEBUG_INFO=no
5687 DEFAULT_wxUSE_DEBUG_FLAG=yes
5688 DEFAULT_wxUSE_DEBUG_INFO=no
5693 enablestring=disable
5695 if test -z "$defaultval"; then
5696 if test x"$enablestring" = xdisable; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5704 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5705 # Check whether --enable-debug_flag was given.
5706 if test "${enable_debug_flag+set}" = set; then :
5707 enableval=$enable_debug_flag;
5708 if test "$enableval" = yes; then
5709 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5711 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5716 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5721 eval "$wx_cv_use_debug_flag"
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_DEBUG_FLAG = no; then
5730 result=$wxUSE_DEBUG_FLAG
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5734 $as_echo "$result" >&6; }
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5748 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5749 # Check whether --enable-debug_info was given.
5750 if test "${enable_debug_info+set}" = set; then :
5751 enableval=$enable_debug_info;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5755 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5760 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5765 eval "$wx_cv_use_debug_info"
5767 if test x
"$enablestring" = xdisable
; then
5768 if test $wxUSE_DEBUG_INFO = no
; then
5774 result
=$wxUSE_DEBUG_INFO
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5778 $as_echo "$result" >&6; }
5785 if test -z "$defaultval"; then
5786 if test x
"$enablestring" = xdisable
; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5794 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5795 # Check whether --enable-debug_gdb was given.
5796 if test "${enable_debug_gdb+set}" = set; then :
5797 enableval
=$enable_debug_gdb;
5798 if test "$enableval" = yes; then
5799 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5801 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5806 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5811 eval "$wx_cv_use_debug_gdb"
5813 if test x"$enablestring" = xdisable; then
5814 if test $wxUSE_DEBUG_GDB = no; then
5820 result=$wxUSE_DEBUG_GDB
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5824 $as_echo "$result" >&6; }
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5838 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5839 # Check whether --enable-debug_cntxt was given.
5840 if test "${enable_debug_cntxt+set}" = set; then :
5841 enableval=$enable_debug_cntxt;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5850 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5855 eval "$wx_cv_use_debug_cntxt"
5857 if test x"$enablestring" = xdisable; then
5858 if test $wxUSE_DEBUG_CONTEXT = no; then
5864 result=$wxUSE_DEBUG_CONTEXT
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5868 $as_echo "$result" >&6; }
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5882 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5883 # Check whether --enable-mem_tracing was given.
5884 if test "${enable_mem_tracing+set}" = set; then :
5885 enableval=$enable_mem_tracing;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5894 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5899 eval "$wx_cv_use_mem_tracing"
5901 if test x
"$enablestring" = xdisable
; then
5902 if test $wxUSE_MEM_TRACING = no
; then
5908 result
=$wxUSE_MEM_TRACING
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5912 $as_echo "$result" >&6; }
5917 enablestring
=disable
5919 if test -z "$defaultval"; then
5920 if test x
"$enablestring" = xdisable
; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5928 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5929 # Check whether --enable-shared was given.
5930 if test "${enable_shared+set}" = set; then :
5931 enableval
=$enable_shared;
5932 if test "$enableval" = yes; then
5933 wx_cv_use_shared
='wxUSE_SHARED=yes'
5935 wx_cv_use_shared
='wxUSE_SHARED=no'
5940 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5945 eval "$wx_cv_use_shared"
5947 if test x"$enablestring" = xdisable; then
5948 if test $wxUSE_SHARED = no; then
5954 result=$wxUSE_SHARED
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5958 $as_echo "$result" >&6; }
5963 if test -z "$defaultval"; then
5964 if test x"$enablestring" = xdisable; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5972 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5973 # Check whether --enable-stl was given.
5974 if test "${enable_stl+set}" = set; then :
5975 enableval=$enable_stl;
5976 if test "$enableval" = yes; then
5977 wx_cv_use_stl='wxUSE_STL
=yes'
5979 wx_cv_use_stl='wxUSE_STL
=no
'
5984 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5989 eval "$wx_cv_use_stl"
5991 if test x"$enablestring" = xdisable; then
5992 if test $wxUSE_STL = no; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6002 $as_echo "$result" >&6; }
6004 if test "$wxUSE_STL" = "yes"; then
6005 DEFAULT_wxUSE_STD_CONTAINERS=yes
6006 DEFAULT_wxUSE_STD_IOSTREAM=yes
6007 DEFAULT_wxUSE_STD_STRING=yes
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
6021 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
6022 # Check whether --enable-std_containers was given.
6023 if test "${enable_std_containers+set}" = set; then :
6024 enableval=$enable_std_containers;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6028 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6033 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6038 eval "$wx_cv_use_std_containers"
6040 if test x
"$enablestring" = xdisable
; then
6041 if test $wxUSE_STD_CONTAINERS = no
; then
6047 result
=$wxUSE_STD_CONTAINERS
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6051 $as_echo "$result" >&6; }
6056 if test -z "$defaultval"; then
6057 if test x
"$enablestring" = xdisable
; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6065 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6066 # Check whether --enable-std_iostreams was given.
6067 if test "${enable_std_iostreams+set}" = set; then :
6068 enableval
=$enable_std_iostreams;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6072 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6077 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6082 eval "$wx_cv_use_std_iostreams"
6084 if test x"$enablestring" = xdisable; then
6085 if test $wxUSE_STD_IOSTREAM = no; then
6091 result=$wxUSE_STD_IOSTREAM
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6095 $as_echo "$result" >&6; }
6100 if test -z "$defaultval"; then
6101 if test x"$enablestring" = xdisable; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6109 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6110 # Check whether --enable-std_string was given.
6111 if test "${enable_std_string+set}" = set; then :
6112 enableval=$enable_std_string;
6113 if test "$enableval" = yes; then
6114 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
6116 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6121 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6126 eval "$wx_cv_use_std_string"
6128 if test x"$enablestring" = xdisable; then
6129 if test $wxUSE_STD_STRING = no; then
6135 result=$wxUSE_STD_STRING
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6139 $as_echo "$result" >&6; }
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6153 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6154 # Check whether --enable-std_string_conv_in_wxstring was given.
6155 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6156 enableval=$enable_std_string_conv_in_wxstring;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6160 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6165 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6170 eval "$wx_cv_use_std_string_conv_in_wxstring"
6172 if test x
"$enablestring" = xdisable
; then
6173 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6179 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6183 $as_echo "$result" >&6; }
6186 enablestring
=disable
6188 if test -z "$defaultval"; then
6189 if test x
"$enablestring" = xdisable
; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6197 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6198 # Check whether --enable-unicode was given.
6199 if test "${enable_unicode+set}" = set; then :
6200 enableval
=$enable_unicode;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6204 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6209 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6214 eval "$wx_cv_use_unicode"
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_UNICODE = no; then
6223 result=$wxUSE_UNICODE
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6227 $as_echo "$result" >&6; }
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6241 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6242 # Check whether --enable-mslu was given.
6243 if test "${enable_mslu+set}" = set; then :
6244 enableval=$enable_mslu;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6248 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6253 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6258 eval "$wx_cv_use_mslu"
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_UNICODE_MSLU = no; then
6267 result=$wxUSE_UNICODE_MSLU
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6271 $as_echo "$result" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6276 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6277 # Check whether --enable-utf8 was given.
6278 if test "${enable_utf8+set}" = set; then :
6279 enableval=$enable_utf8;
6280 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6284 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6289 eval "$wx_cv_use_utf8"
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6292 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6297 if test -z "$defaultval"; then
6298 if test x"$enablestring" = xdisable; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6306 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6307 # Check whether --enable-utf8only was given.
6308 if test "${enable_utf8only+set}" = set; then :
6309 enableval=$enable_utf8only;
6310 if test "$enableval" = yes; then
6311 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6313 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6318 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6323 eval "$wx_cv_use_utf8only"
6325 if test x
"$enablestring" = xdisable
; then
6326 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6332 result
=$wxUSE_UNICODE_UTF8_LOCALE
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6336 $as_echo "$result" >&6; }
6341 if test -z "$defaultval"; then
6342 if test x
"$enablestring" = xdisable
; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6350 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6351 # Check whether --enable-extended_rtti was given.
6352 if test "${enable_extended_rtti+set}" = set; then :
6353 enableval
=$enable_extended_rtti;
6354 if test "$enableval" = yes; then
6355 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6357 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6362 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6367 eval "$wx_cv_use_extended_rtti"
6369 if test x"$enablestring" = xdisable; then
6370 if test $wxUSE_EXTENDED_RTTI = no; then
6376 result=$wxUSE_EXTENDED_RTTI
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6380 $as_echo "$result" >&6; }
6382 if test "$USE_OS2" = 1; then
6383 DEFAULT_wxUSE_OMF=no
6387 if test -z "$defaultval"; then
6388 if test x"$enablestring" = xdisable; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6396 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6397 # Check whether --enable-omf was given.
6398 if test "${enable_omf+set}" = set; then :
6399 enableval=$enable_omf;
6400 if test "$enableval" = yes; then
6401 wx_cv_use_omf='wxUSE_OMF
=yes'
6403 wx_cv_use_omf='wxUSE_OMF
=no
'
6408 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6413 eval "$wx_cv_use_omf"
6415 if test x"$enablestring" = xdisable; then
6416 if test $wxUSE_OMF = no; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6426 $as_echo "$result" >&6; }
6431 enablestring=disable
6433 if test -z "$defaultval"; then
6434 if test x"$enablestring" = xdisable; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6442 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6443 # Check whether --enable-optimise was given.
6444 if test "${enable_optimise+set}" = set; then :
6445 enableval=$enable_optimise;
6446 if test "$enableval" = yes; then
6447 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6449 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6454 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6459 eval "$wx_cv_use_optimise"
6461 if test x
"$enablestring" = xdisable
; then
6462 if test $wxUSE_OPTIMISE = no
; then
6468 result
=$wxUSE_OPTIMISE
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6472 $as_echo "$result" >&6; }
6478 if test -z "$defaultval"; then
6479 if test x
"$enablestring" = xdisable
; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6487 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6488 # Check whether --enable-profile was given.
6489 if test "${enable_profile+set}" = set; then :
6490 enableval
=$enable_profile;
6491 if test "$enableval" = yes; then
6492 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6494 wx_cv_use_profile
='wxUSE_PROFILE=no'
6499 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6504 eval "$wx_cv_use_profile"
6506 if test x"$enablestring" = xdisable; then
6507 if test $wxUSE_PROFILE = no; then
6513 result=$wxUSE_PROFILE
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6517 $as_echo "$result" >&6; }
6522 if test -z "$defaultval"; then
6523 if test x"$enablestring" = xdisable; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6531 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6532 # Check whether --enable-no_rtti was given.
6533 if test "${enable_no_rtti+set}" = set; then :
6534 enableval=$enable_no_rtti;
6535 if test "$enableval" = yes; then
6536 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6538 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6543 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6548 eval "$wx_cv_use_no_rtti"
6550 if test x"$enablestring" = xdisable; then
6551 if test $wxUSE_NO_RTTI = no; then
6557 result=$wxUSE_NO_RTTI
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6561 $as_echo "$result" >&6; }
6566 if test -z "$defaultval"; then
6567 if test x"$enablestring" = xdisable; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6575 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6576 # Check whether --enable-no_exceptions was given.
6577 if test "${enable_no_exceptions+set}" = set; then :
6578 enableval=$enable_no_exceptions;
6579 if test "$enableval" = yes; then
6580 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6587 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6592 eval "$wx_cv_use_no_exceptions"
6594 if test x
"$enablestring" = xdisable
; then
6595 if test $wxUSE_NO_EXCEPTIONS = no
; then
6601 result
=$wxUSE_NO_EXCEPTIONS
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6605 $as_echo "$result" >&6; }
6610 if test -z "$defaultval"; then
6611 if test x
"$enablestring" = xdisable
; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6619 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6620 # Check whether --enable-permissive was given.
6621 if test "${enable_permissive+set}" = set; then :
6622 enableval
=$enable_permissive;
6623 if test "$enableval" = yes; then
6624 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6626 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6631 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6636 eval "$wx_cv_use_permissive"
6638 if test x"$enablestring" = xdisable; then
6639 if test $wxUSE_PERMISSIVE = no; then
6645 result=$wxUSE_PERMISSIVE
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6649 $as_echo "$result" >&6; }
6654 if test -z "$defaultval"; then
6655 if test x"$enablestring" = xdisable; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6663 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6664 # Check whether --enable-no_deps was given.
6665 if test "${enable_no_deps+set}" = set; then :
6666 enableval=$enable_no_deps;
6667 if test "$enableval" = yes; then
6668 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6670 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6675 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6680 eval "$wx_cv_use_no_deps"
6682 if test x"$enablestring" = xdisable; then
6683 if test $wxUSE_NO_DEPS = no; then
6689 result=$wxUSE_NO_DEPS
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6693 $as_echo "$result" >&6; }
6696 enablestring=disable
6698 if test -z "$defaultval"; then
6699 if test x"$enablestring" = xdisable; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6707 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6708 # Check whether --enable-vararg_macros was given.
6709 if test "${enable_vararg_macros+set}" = set; then :
6710 enableval=$enable_vararg_macros;
6711 if test "$enableval" = yes; then
6712 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6714 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6719 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6724 eval "$wx_cv_use_vararg_macros"
6726 if test x
"$enablestring" = xdisable
; then
6727 if test $wxUSE_VARARG_MACROS = no
; then
6733 result
=$wxUSE_VARARG_MACROS
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6737 $as_echo "$result" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6743 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6744 # Check whether --enable-universal_binary was given.
6745 if test "${enable_universal_binary+set}" = set; then :
6746 enableval
=$enable_universal_binary;
6747 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6751 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6756 eval "$wx_cv_use_universal_binary"
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6759 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6764 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6765 # Check whether --enable-macosx_arch was given.
6766 if test "${enable_macosx_arch+set}" = set; then :
6767 enableval
=$enable_macosx_arch;
6768 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6772 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6777 eval "$wx_cv_use_macosx_arch"
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6780 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6786 if test -z "$defaultval"; then
6787 if test x
"$enablestring" = xdisable
; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6795 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6796 # Check whether --enable-compat26 was given.
6797 if test "${enable_compat26+set}" = set; then :
6798 enableval
=$enable_compat26;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6802 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6807 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6812 eval "$wx_cv_use_compat26"
6814 if test x"$enablestring" = xdisable; then
6815 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6821 result=$WXWIN_COMPATIBILITY_2_6
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6825 $as_echo "$result" >&6; }
6828 enablestring=disable
6830 if test -z "$defaultval"; then
6831 if test x"$enablestring" = xdisable; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6839 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6840 # Check whether --enable-compat28 was given.
6841 if test "${enable_compat28+set}" = set; then :
6842 enableval=$enable_compat28;
6843 if test "$enableval" = yes; then
6844 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6846 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6851 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6856 eval "$wx_cv_use_compat28"
6858 if test x"$enablestring" = xdisable; then
6859 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6865 result=$WXWIN_COMPATIBILITY_2_8
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6869 $as_echo "$result" >&6; }
6873 enablestring=disable
6875 if test -z "$defaultval"; then
6876 if test x"$enablestring" = xdisable; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6884 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6885 # Check whether --enable-rpath was given.
6886 if test "${enable_rpath+set}" = set; then :
6887 enableval=$enable_rpath;
6888 if test "$enableval" = yes; then
6889 wx_cv_use_rpath='wxUSE_RPATH=yes'
6891 wx_cv_use_rpath='wxUSE_RPATH=no'
6896 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6901 eval "$wx_cv_use_rpath"
6903 if test x
"$enablestring" = xdisable
; then
6904 if test $wxUSE_RPATH = no
; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6914 $as_echo "$result" >&6; }
6920 if test -z "$defaultval"; then
6921 if test x
"$enablestring" = xdisable
; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6929 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6930 # Check whether --enable-objc_uniquifying was given.
6931 if test "${enable_objc_uniquifying+set}" = set; then :
6932 enableval
=$enable_objc_uniquifying;
6933 if test "$enableval" = yes; then
6934 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6936 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6941 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6946 eval "$wx_cv_use_objc_uniquifying"
6948 if test x"$enablestring" = xdisable; then
6949 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6955 result=$wxUSE_OBJC_UNIQUIFYING
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6959 $as_echo "$result" >&6; }
6963 enablestring=disable
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6974 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6975 # Check whether --enable-visibility was given.
6976 if test "${enable_visibility+set}" = set; then :
6977 enableval=$enable_visibility;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6981 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6986 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6991 eval "$wx_cv_use_visibility"
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_VISIBILITY = no; then
7000 result=$wxUSE_VISIBILITY
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7004 $as_echo "$result" >&6; }
7007 enablestring=disable
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
7018 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
7019 # Check whether --enable-tls was given.
7020 if test "${enable_tls+set}" = set; then :
7021 enableval=$enable_tls;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7025 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7030 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7035 eval "$wx_cv_use_tls"
7037 if test x
"$enablestring" = xdisable
; then
7038 if test $wxUSE_COMPILER_TLS = no
; then
7044 result
=$wxUSE_COMPILER_TLS
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7048 $as_echo "$result" >&6; }
7054 defaultval
=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x
"$enablestring" = xdisable
; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7064 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7065 # Check whether --enable-intl was given.
7066 if test "${enable_intl+set}" = set; then :
7067 enableval
=$enable_intl;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_intl
='wxUSE_INTL=yes'
7071 wx_cv_use_intl
='wxUSE_INTL=no'
7076 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7081 eval "$wx_cv_use_intl"
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_INTL = no; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7094 $as_echo "$result" >&6; }
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7108 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7109 # Check whether --enable-xlocale was given.
7110 if test "${enable_xlocale+set}" = set; then :
7111 enableval=$enable_xlocale;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
7115 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
7120 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7125 eval "$wx_cv_use_xlocale"
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_XLOCALE = no; then
7134 result=$wxUSE_XLOCALE
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7138 $as_echo "$result" >&6; }
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7152 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7153 # Check whether --enable-config was given.
7154 if test "${enable_config+set}" = set; then :
7155 enableval=$enable_config;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_config='wxUSE_CONFIG=yes'
7159 wx_cv_use_config='wxUSE_CONFIG=no'
7164 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7169 eval "$wx_cv_use_config"
7171 if test x
"$enablestring" = xdisable
; then
7172 if test $wxUSE_CONFIG = no
; then
7178 result
=$wxUSE_CONFIG
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7182 $as_echo "$result" >&6; }
7187 defaultval
=$wxUSE_ALL_FEATURES
7188 if test -z "$defaultval"; then
7189 if test x
"$enablestring" = xdisable
; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7197 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7198 # Check whether --enable-protocols was given.
7199 if test "${enable_protocols+set}" = set; then :
7200 enableval
=$enable_protocols;
7201 if test "$enableval" = yes; then
7202 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7204 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7209 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7214 eval "$wx_cv_use_protocols"
7216 if test x"$enablestring" = xdisable; then
7217 if test $wxUSE_PROTOCOL = no; then
7223 result=$wxUSE_PROTOCOL
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7227 $as_echo "$result" >&6; }
7231 defaultval=$wxUSE_ALL_FEATURES
7232 if test -z "$defaultval"; then
7233 if test x"$enablestring" = xdisable; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7241 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7242 # Check whether --enable-ftp was given.
7243 if test "${enable_ftp+set}" = set; then :
7244 enableval=$enable_ftp;
7245 if test "$enableval" = yes; then
7246 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7248 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7253 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7258 eval "$wx_cv_use_ftp"
7260 if test x"$enablestring" = xdisable; then
7261 if test $wxUSE_PROTOCOL_FTP = no; then
7267 result=$wxUSE_PROTOCOL_FTP
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7271 $as_echo "$result" >&6; }
7275 defaultval=$wxUSE_ALL_FEATURES
7276 if test -z "$defaultval"; then
7277 if test x"$enablestring" = xdisable; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7285 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7286 # Check whether --enable-http was given.
7287 if test "${enable_http+set}" = set; then :
7288 enableval=$enable_http;
7289 if test "$enableval" = yes; then
7290 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7292 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7297 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7302 eval "$wx_cv_use_http"
7304 if test x
"$enablestring" = xdisable
; then
7305 if test $wxUSE_PROTOCOL_HTTP = no
; then
7311 result
=$wxUSE_PROTOCOL_HTTP
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7315 $as_echo "$result" >&6; }
7319 defaultval
=$wxUSE_ALL_FEATURES
7320 if test -z "$defaultval"; then
7321 if test x
"$enablestring" = xdisable
; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7329 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7330 # Check whether --enable-fileproto was given.
7331 if test "${enable_fileproto+set}" = set; then :
7332 enableval
=$enable_fileproto;
7333 if test "$enableval" = yes; then
7334 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7336 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7341 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7346 eval "$wx_cv_use_fileproto"
7348 if test x"$enablestring" = xdisable; then
7349 if test $wxUSE_PROTOCOL_FILE = no; then
7355 result=$wxUSE_PROTOCOL_FILE
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7359 $as_echo "$result" >&6; }
7363 defaultval=$wxUSE_ALL_FEATURES
7364 if test -z "$defaultval"; then
7365 if test x"$enablestring" = xdisable; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7373 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7374 # Check whether --enable-sockets was given.
7375 if test "${enable_sockets+set}" = set; then :
7376 enableval=$enable_sockets;
7377 if test "$enableval" = yes; then
7378 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7380 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7385 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7390 eval "$wx_cv_use_sockets"
7392 if test x"$enablestring" = xdisable; then
7393 if test $wxUSE_SOCKETS = no; then
7399 result=$wxUSE_SOCKETS
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7403 $as_echo "$result" >&6; }
7407 defaultval=$wxUSE_ALL_FEATURES
7408 if test -z "$defaultval"; then
7409 if test x"$enablestring" = xdisable; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7417 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7418 # Check whether --enable-ipv6 was given.
7419 if test "${enable_ipv6+set}" = set; then :
7420 enableval=$enable_ipv6;
7421 if test "$enableval" = yes; then
7422 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7424 wx_cv_use_ipv6='wxUSE_IPV6=no'
7429 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7434 eval "$wx_cv_use_ipv6"
7436 if test x
"$enablestring" = xdisable
; then
7437 if test $wxUSE_IPV6 = no
; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7447 $as_echo "$result" >&6; }
7451 defaultval
=$wxUSE_ALL_FEATURES
7452 if test -z "$defaultval"; then
7453 if test x
"$enablestring" = xdisable
; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7461 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7462 # Check whether --enable-ole was given.
7463 if test "${enable_ole+set}" = set; then :
7464 enableval
=$enable_ole;
7465 if test "$enableval" = yes; then
7466 wx_cv_use_ole
='wxUSE_OLE=yes'
7468 wx_cv_use_ole
='wxUSE_OLE=no'
7473 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7478 eval "$wx_cv_use_ole"
7480 if test x"$enablestring" = xdisable; then
7481 if test $wxUSE_OLE = no; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7491 $as_echo "$result" >&6; }
7495 defaultval=$wxUSE_ALL_FEATURES
7496 if test -z "$defaultval"; then
7497 if test x"$enablestring" = xdisable; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7505 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7506 # Check whether --enable-dataobj was given.
7507 if test "${enable_dataobj+set}" = set; then :
7508 enableval=$enable_dataobj;
7509 if test "$enableval" = yes; then
7510 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7512 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7517 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7522 eval "$wx_cv_use_dataobj"
7524 if test x"$enablestring" = xdisable; then
7525 if test $wxUSE_DATAOBJ = no; then
7531 result=$wxUSE_DATAOBJ
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7535 $as_echo "$result" >&6; }
7540 defaultval=$wxUSE_ALL_FEATURES
7541 if test -z "$defaultval"; then
7542 if test x"$enablestring" = xdisable; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7550 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7551 # Check whether --enable-ipc was given.
7552 if test "${enable_ipc+set}" = set; then :
7553 enableval=$enable_ipc;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_ipc='wxUSE_IPC=yes'
7557 wx_cv_use_ipc='wxUSE_IPC=no'
7562 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7567 eval "$wx_cv_use_ipc"
7569 if test x
"$enablestring" = xdisable
; then
7570 if test $wxUSE_IPC = no
; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7580 $as_echo "$result" >&6; }
7585 defaultval
=$wxUSE_ALL_FEATURES
7586 if test -z "$defaultval"; then
7587 if test x
"$enablestring" = xdisable
; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7595 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7596 # Check whether --enable-baseevtloop was given.
7597 if test "${enable_baseevtloop+set}" = set; then :
7598 enableval
=$enable_baseevtloop;
7599 if test "$enableval" = yes; then
7600 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7602 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7607 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7612 eval "$wx_cv_use_baseevtloop"
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7621 result=$wxUSE_CONSOLE_EVENTLOOP
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7625 $as_echo "$result" >&6; }
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7639 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7640 # Check whether --enable-epollloop was given.
7641 if test "${enable_epollloop+set}" = set; then :
7642 enableval=$enable_epollloop;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7646 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7651 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7656 eval "$wx_cv_use_epollloop"
7658 if test x"$enablestring" = xdisable; then
7659 if test $wxUSE_EPOLL_DISPATCHER = no; then
7665 result=$wxUSE_EPOLL_DISPATCHER
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7669 $as_echo "$result" >&6; }
7673 defaultval=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x"$enablestring" = xdisable; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7683 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7684 # Check whether --enable-selectloop was given.
7685 if test "${enable_selectloop+set}" = set; then :
7686 enableval=$enable_selectloop;
7687 if test "$enableval" = yes; then
7688 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7690 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7695 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7700 eval "$wx_cv_use_selectloop"
7702 if test x
"$enablestring" = xdisable
; then
7703 if test $wxUSE_SELECT_DISPATCHER = no
; then
7709 result
=$wxUSE_SELECT_DISPATCHER
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7713 $as_echo "$result" >&6; }
7718 defaultval
=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x
"$enablestring" = xdisable
; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7728 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7729 # Check whether --enable-any was given.
7730 if test "${enable_any+set}" = set; then :
7731 enableval
=$enable_any;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_any
='wxUSE_ANY=yes'
7735 wx_cv_use_any
='wxUSE_ANY=no'
7740 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7745 eval "$wx_cv_use_any"
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_ANY = no; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7758 $as_echo "$result" >&6; }
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7772 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7773 # Check whether --enable-apple_ieee was given.
7774 if test "${enable_apple_ieee+set}" = set; then :
7775 enableval=$enable_apple_ieee;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7779 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7784 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7789 eval "$wx_cv_use_apple_ieee"
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_APPLE_IEEE = no; then
7798 result=$wxUSE_APPLE_IEEE
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7802 $as_echo "$result" >&6; }
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7816 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7817 # Check whether --enable-arcstream was given.
7818 if test "${enable_arcstream+set}" = set; then :
7819 enableval=$enable_arcstream;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7823 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7828 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7833 eval "$wx_cv_use_arcstream"
7835 if test x
"$enablestring" = xdisable
; then
7836 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7842 result
=$wxUSE_ARCHIVE_STREAMS
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7846 $as_echo "$result" >&6; }
7850 defaultval
=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x
"$enablestring" = xdisable
; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7860 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7861 # Check whether --enable-base64 was given.
7862 if test "${enable_base64+set}" = set; then :
7863 enableval
=$enable_base64;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_base64
='wxUSE_BASE64=yes'
7867 wx_cv_use_base64
='wxUSE_BASE64=no'
7872 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7877 eval "$wx_cv_use_base64"
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_BASE64 = no; then
7886 result=$wxUSE_BASE64
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7890 $as_echo "$result" >&6; }
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7904 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7905 # Check whether --enable-backtrace was given.
7906 if test "${enable_backtrace+set}" = set; then :
7907 enableval=$enable_backtrace;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7911 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7916 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7921 eval "$wx_cv_use_backtrace"
7923 if test x"$enablestring" = xdisable; then
7924 if test $wxUSE_STACKWALKER = no; then
7930 result=$wxUSE_STACKWALKER
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7934 $as_echo "$result" >&6; }
7938 defaultval=$wxUSE_ALL_FEATURES
7939 if test -z "$defaultval"; then
7940 if test x"$enablestring" = xdisable; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7948 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7949 # Check whether --enable-catch_segvs was given.
7950 if test "${enable_catch_segvs+set}" = set; then :
7951 enableval=$enable_catch_segvs;
7952 if test "$enableval" = yes; then
7953 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7955 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7960 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7965 eval "$wx_cv_use_catch_segvs"
7967 if test x
"$enablestring" = xdisable
; then
7968 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7974 result
=$wxUSE_ON_FATAL_EXCEPTION
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7978 $as_echo "$result" >&6; }
7982 defaultval
=$wxUSE_ALL_FEATURES
7983 if test -z "$defaultval"; then
7984 if test x
"$enablestring" = xdisable
; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7992 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7993 # Check whether --enable-cmdline was given.
7994 if test "${enable_cmdline+set}" = set; then :
7995 enableval
=$enable_cmdline;
7996 if test "$enableval" = yes; then
7997 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7999 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
8004 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8009 eval "$wx_cv_use_cmdline"
8011 if test x"$enablestring" = xdisable; then
8012 if test $wxUSE_CMDLINE_PARSER = no; then
8018 result=$wxUSE_CMDLINE_PARSER
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8022 $as_echo "$result" >&6; }
8026 defaultval=$wxUSE_ALL_FEATURES
8027 if test -z "$defaultval"; then
8028 if test x"$enablestring" = xdisable; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8036 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8037 # Check whether --enable-datetime was given.
8038 if test "${enable_datetime+set}" = set; then :
8039 enableval=$enable_datetime;
8040 if test "$enableval" = yes; then
8041 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
8043 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
8048 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8053 eval "$wx_cv_use_datetime"
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_DATETIME = no; then
8062 result=$wxUSE_DATETIME
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8066 $as_echo "$result" >&6; }
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
8080 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
8081 # Check whether --enable-debugreport was given.
8082 if test "${enable_debugreport+set}" = set; then :
8083 enableval=$enable_debugreport;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8087 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8092 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8097 eval "$wx_cv_use_debugreport"
8099 if test x
"$enablestring" = xdisable
; then
8100 if test $wxUSE_DEBUGREPORT = no
; then
8106 result
=$wxUSE_DEBUGREPORT
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8110 $as_echo "$result" >&6; }
8114 defaultval
=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x
"$enablestring" = xdisable
; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8124 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8125 # Check whether --enable-dialupman was given.
8126 if test "${enable_dialupman+set}" = set; then :
8127 enableval
=$enable_dialupman;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8131 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8136 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8141 eval "$wx_cv_use_dialupman"
8143 if test x"$enablestring" = xdisable; then
8144 if test $wxUSE_DIALUP_MANAGER = no; then
8150 result=$wxUSE_DIALUP_MANAGER
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8154 $as_echo "$result" >&6; }
8158 defaultval=$wxUSE_ALL_FEATURES
8159 if test -z "$defaultval"; then
8160 if test x"$enablestring" = xdisable; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8168 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8169 # Check whether --enable-dynlib was given.
8170 if test "${enable_dynlib+set}" = set; then :
8171 enableval=$enable_dynlib;
8172 if test "$enableval" = yes; then
8173 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8175 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8180 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8185 eval "$wx_cv_use_dynlib"
8187 if test x"$enablestring" = xdisable; then
8188 if test $wxUSE_DYNLIB_CLASS = no; then
8194 result=$wxUSE_DYNLIB_CLASS
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8198 $as_echo "$result" >&6; }
8202 defaultval=$wxUSE_ALL_FEATURES
8203 if test -z "$defaultval"; then
8204 if test x"$enablestring" = xdisable; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8212 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8213 # Check whether --enable-dynamicloader was given.
8214 if test "${enable_dynamicloader+set}" = set; then :
8215 enableval=$enable_dynamicloader;
8216 if test "$enableval" = yes; then
8217 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8219 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8224 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8229 eval "$wx_cv_use_dynamicloader"
8231 if test x
"$enablestring" = xdisable
; then
8232 if test $wxUSE_DYNAMIC_LOADER = no
; then
8238 result
=$wxUSE_DYNAMIC_LOADER
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8242 $as_echo "$result" >&6; }
8246 defaultval
=$wxUSE_ALL_FEATURES
8247 if test -z "$defaultval"; then
8248 if test x
"$enablestring" = xdisable
; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8256 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8257 # Check whether --enable-exceptions was given.
8258 if test "${enable_exceptions+set}" = set; then :
8259 enableval
=$enable_exceptions;
8260 if test "$enableval" = yes; then
8261 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8263 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8268 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8273 eval "$wx_cv_use_exceptions"
8275 if test x"$enablestring" = xdisable; then
8276 if test $wxUSE_EXCEPTIONS = no; then
8282 result=$wxUSE_EXCEPTIONS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8286 $as_echo "$result" >&6; }
8290 defaultval=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x"$enablestring" = xdisable; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8300 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8301 # Check whether --enable-ffile was given.
8302 if test "${enable_ffile+set}" = set; then :
8303 enableval=$enable_ffile;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8307 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8312 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8317 eval "$wx_cv_use_ffile"
8319 if test x"$enablestring" = xdisable; then
8320 if test $wxUSE_FFILE = no; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8330 $as_echo "$result" >&6; }
8334 defaultval=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x"$enablestring" = xdisable; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8344 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8345 # Check whether --enable-file was given.
8346 if test "${enable_file+set}" = set; then :
8347 enableval=$enable_file;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_file='wxUSE_FILE=yes'
8351 wx_cv_use_file='wxUSE_FILE=no'
8356 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8361 eval "$wx_cv_use_file"
8363 if test x
"$enablestring" = xdisable
; then
8364 if test $wxUSE_FILE = no
; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8374 $as_echo "$result" >&6; }
8378 defaultval
=$wxUSE_ALL_FEATURES
8379 if test -z "$defaultval"; then
8380 if test x
"$enablestring" = xdisable
; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8388 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8389 # Check whether --enable-filehistory was given.
8390 if test "${enable_filehistory+set}" = set; then :
8391 enableval
=$enable_filehistory;
8392 if test "$enableval" = yes; then
8393 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8395 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8400 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8405 eval "$wx_cv_use_filehistory"
8407 if test x"$enablestring" = xdisable; then
8408 if test $wxUSE_FILE_HISTORY = no; then
8414 result=$wxUSE_FILE_HISTORY
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8418 $as_echo "$result" >&6; }
8422 defaultval=$wxUSE_ALL_FEATURES
8423 if test -z "$defaultval"; then
8424 if test x"$enablestring" = xdisable; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8432 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8433 # Check whether --enable-filesystem was given.
8434 if test "${enable_filesystem+set}" = set; then :
8435 enableval=$enable_filesystem;
8436 if test "$enableval" = yes; then
8437 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8439 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8444 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8449 eval "$wx_cv_use_filesystem"
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_FILESYSTEM = no; then
8458 result=$wxUSE_FILESYSTEM
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8462 $as_echo "$result" >&6; }
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8476 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8477 # Check whether --enable-fontenum was given.
8478 if test "${enable_fontenum+set}" = set; then :
8479 enableval=$enable_fontenum;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8483 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8488 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8493 eval "$wx_cv_use_fontenum"
8495 if test x
"$enablestring" = xdisable
; then
8496 if test $wxUSE_FONTENUM = no
; then
8502 result
=$wxUSE_FONTENUM
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8506 $as_echo "$result" >&6; }
8510 defaultval
=$wxUSE_ALL_FEATURES
8511 if test -z "$defaultval"; then
8512 if test x
"$enablestring" = xdisable
; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8520 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8521 # Check whether --enable-fontmap was given.
8522 if test "${enable_fontmap+set}" = set; then :
8523 enableval
=$enable_fontmap;
8524 if test "$enableval" = yes; then
8525 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8527 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8532 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8537 eval "$wx_cv_use_fontmap"
8539 if test x"$enablestring" = xdisable; then
8540 if test $wxUSE_FONTMAP = no; then
8546 result=$wxUSE_FONTMAP
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8550 $as_echo "$result" >&6; }
8554 defaultval=$wxUSE_ALL_FEATURES
8555 if test -z "$defaultval"; then
8556 if test x"$enablestring" = xdisable; then
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8564 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8565 # Check whether --enable-fs_archive was given.
8566 if test "${enable_fs_archive+set}" = set; then :
8567 enableval=$enable_fs_archive;
8568 if test "$enableval" = yes; then
8569 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8571 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8576 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8581 eval "$wx_cv_use_fs_archive"
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_FS_ARCHIVE = no; then
8590 result=$wxUSE_FS_ARCHIVE
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8594 $as_echo "$result" >&6; }
8598 defaultval=$wxUSE_ALL_FEATURES
8599 if test -z "$defaultval"; then
8600 if test x"$enablestring" = xdisable; then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8608 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8609 # Check whether --enable-fs_inet was given.
8610 if test "${enable_fs_inet+set}" = set; then :
8611 enableval=$enable_fs_inet;
8612 if test "$enableval" = yes; then
8613 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8615 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8620 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8625 eval "$wx_cv_use_fs_inet"
8627 if test x
"$enablestring" = xdisable
; then
8628 if test $wxUSE_FS_INET = no
; then
8634 result
=$wxUSE_FS_INET
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8638 $as_echo "$result" >&6; }
8642 defaultval
=$wxUSE_ALL_FEATURES
8643 if test -z "$defaultval"; then
8644 if test x
"$enablestring" = xdisable
; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8652 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8653 # Check whether --enable-fs_zip was given.
8654 if test "${enable_fs_zip+set}" = set; then :
8655 enableval
=$enable_fs_zip;
8656 if test "$enableval" = yes; then
8657 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8659 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8664 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8669 eval "$wx_cv_use_fs_zip"
8671 if test x"$enablestring" = xdisable; then
8672 if test $wxUSE_FS_ZIP = no; then
8678 result=$wxUSE_FS_ZIP
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8682 $as_echo "$result" >&6; }
8686 defaultval=$wxUSE_ALL_FEATURES
8687 if test -z "$defaultval"; then
8688 if test x"$enablestring" = xdisable; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8696 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8697 # Check whether --enable-fsvolume was given.
8698 if test "${enable_fsvolume+set}" = set; then :
8699 enableval=$enable_fsvolume;
8700 if test "$enableval" = yes; then
8701 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=yes'
8703 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=no
'
8708 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8713 eval "$wx_cv_use_fsvolume"
8715 if test x"$enablestring" = xdisable; then
8716 if test $wxUSE_FSVOLUME = no; then
8722 result=$wxUSE_FSVOLUME
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8726 $as_echo "$result" >&6; }
8730 defaultval=$wxUSE_ALL_FEATURES
8731 if test -z "$defaultval"; then
8732 if test x"$enablestring" = xdisable; then
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8740 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8741 # Check whether --enable-fswatcher was given.
8742 if test "${enable_fswatcher+set}" = set; then :
8743 enableval=$enable_fswatcher;
8744 if test "$enableval" = yes; then
8745 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8747 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8752 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8757 eval "$wx_cv_use_fswatcher"
8759 if test x
"$enablestring" = xdisable
; then
8760 if test $wxUSE_FSWATCHER = no
; then
8766 result
=$wxUSE_FSWATCHER
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8770 $as_echo "$result" >&6; }
8774 defaultval
=$wxUSE_ALL_FEATURES
8775 if test -z "$defaultval"; then
8776 if test x
"$enablestring" = xdisable
; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8784 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8785 # Check whether --enable-geometry was given.
8786 if test "${enable_geometry+set}" = set; then :
8787 enableval
=$enable_geometry;
8788 if test "$enableval" = yes; then
8789 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8791 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8796 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8801 eval "$wx_cv_use_geometry"
8803 if test x"$enablestring" = xdisable; then
8804 if test $wxUSE_GEOMETRY = no; then
8810 result=$wxUSE_GEOMETRY
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8814 $as_echo "$result" >&6; }
8818 defaultval=$wxUSE_ALL_FEATURES
8819 if test -z "$defaultval"; then
8820 if test x"$enablestring" = xdisable; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8828 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8829 # Check whether --enable-log was given.
8830 if test "${enable_log+set}" = set; then :
8831 enableval=$enable_log;
8832 if test "$enableval" = yes; then
8833 wx_cv_use_log='wxUSE_LOG
=yes'
8835 wx_cv_use_log='wxUSE_LOG
=no
'
8840 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8845 eval "$wx_cv_use_log"
8847 if test x"$enablestring" = xdisable; then
8848 if test $wxUSE_LOG = no; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8858 $as_echo "$result" >&6; }
8862 defaultval=$wxUSE_ALL_FEATURES
8863 if test -z "$defaultval"; then
8864 if test x"$enablestring" = xdisable; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8872 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8873 # Check whether --enable-longlong was given.
8874 if test "${enable_longlong+set}" = set; then :
8875 enableval=$enable_longlong;
8876 if test "$enableval" = yes; then
8877 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8879 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8884 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8889 eval "$wx_cv_use_longlong"
8891 if test x
"$enablestring" = xdisable
; then
8892 if test $wxUSE_LONGLONG = no
; then
8898 result
=$wxUSE_LONGLONG
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8902 $as_echo "$result" >&6; }
8906 defaultval
=$wxUSE_ALL_FEATURES
8907 if test -z "$defaultval"; then
8908 if test x
"$enablestring" = xdisable
; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8916 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8917 # Check whether --enable-mimetype was given.
8918 if test "${enable_mimetype+set}" = set; then :
8919 enableval
=$enable_mimetype;
8920 if test "$enableval" = yes; then
8921 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8923 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8928 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8933 eval "$wx_cv_use_mimetype"
8935 if test x"$enablestring" = xdisable; then
8936 if test $wxUSE_MIMETYPE = no; then
8942 result=$wxUSE_MIMETYPE
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8946 $as_echo "$result" >&6; }
8950 defaultval=$wxUSE_ALL_FEATURES
8951 if test -z "$defaultval"; then
8952 if test x"$enablestring" = xdisable; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8960 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8961 # Check whether --enable-printfposparam was given.
8962 if test "${enable_printfposparam+set}" = set; then :
8963 enableval=$enable_printfposparam;
8964 if test "$enableval" = yes; then
8965 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8967 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8972 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8977 eval "$wx_cv_use_printfposparam"
8979 if test x"$enablestring" = xdisable; then
8980 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8986 result=$wxUSE_PRINTF_POS_PARAMS
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8990 $as_echo "$result" >&6; }
8994 defaultval=$wxUSE_ALL_FEATURES
8995 if test -z "$defaultval"; then
8996 if test x"$enablestring" = xdisable; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
9004 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
9005 # Check whether --enable-snglinst was given.
9006 if test "${enable_snglinst+set}" = set; then :
9007 enableval=$enable_snglinst;
9008 if test "$enableval" = yes; then
9009 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9011 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9016 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9021 eval "$wx_cv_use_snglinst"
9023 if test x
"$enablestring" = xdisable
; then
9024 if test $wxUSE_SNGLINST_CHECKER = no
; then
9030 result
=$wxUSE_SNGLINST_CHECKER
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9034 $as_echo "$result" >&6; }
9038 defaultval
=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x
"$enablestring" = xdisable
; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9048 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9049 # Check whether --enable-sound was given.
9050 if test "${enable_sound+set}" = set; then :
9051 enableval
=$enable_sound;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_sound
='wxUSE_SOUND=yes'
9055 wx_cv_use_sound
='wxUSE_SOUND=no'
9060 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9065 eval "$wx_cv_use_sound"
9067 if test x"$enablestring" = xdisable; then
9068 if test $wxUSE_SOUND = no; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9078 $as_echo "$result" >&6; }
9082 defaultval=$wxUSE_ALL_FEATURES
9083 if test -z "$defaultval"; then
9084 if test x"$enablestring" = xdisable; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9092 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9093 # Check whether --enable-stdpaths was given.
9094 if test "${enable_stdpaths+set}" = set; then :
9095 enableval=$enable_stdpaths;
9096 if test "$enableval" = yes; then
9097 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
9099 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
9104 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9109 eval "$wx_cv_use_stdpaths"
9111 if test x"$enablestring" = xdisable; then
9112 if test $wxUSE_STDPATHS = no; then
9118 result=$wxUSE_STDPATHS
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9122 $as_echo "$result" >&6; }
9126 defaultval=$wxUSE_ALL_FEATURES
9127 if test -z "$defaultval"; then
9128 if test x"$enablestring" = xdisable; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9136 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9137 # Check whether --enable-stopwatch was given.
9138 if test "${enable_stopwatch+set}" = set; then :
9139 enableval=$enable_stopwatch;
9140 if test "$enableval" = yes; then
9141 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9143 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9148 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9153 eval "$wx_cv_use_stopwatch"
9155 if test x
"$enablestring" = xdisable
; then
9156 if test $wxUSE_STOPWATCH = no
; then
9162 result
=$wxUSE_STOPWATCH
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9166 $as_echo "$result" >&6; }
9170 defaultval
=$wxUSE_ALL_FEATURES
9171 if test -z "$defaultval"; then
9172 if test x
"$enablestring" = xdisable
; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9180 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9181 # Check whether --enable-streams was given.
9182 if test "${enable_streams+set}" = set; then :
9183 enableval
=$enable_streams;
9184 if test "$enableval" = yes; then
9185 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9187 wx_cv_use_streams
='wxUSE_STREAMS=no'
9192 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9197 eval "$wx_cv_use_streams"
9199 if test x"$enablestring" = xdisable; then
9200 if test $wxUSE_STREAMS = no; then
9206 result=$wxUSE_STREAMS
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9210 $as_echo "$result" >&6; }
9214 defaultval=$wxUSE_ALL_FEATURES
9215 if test -z "$defaultval"; then
9216 if test x"$enablestring" = xdisable; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9224 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9225 # Check whether --enable-sysoptions was given.
9226 if test "${enable_sysoptions+set}" = set; then :
9227 enableval=$enable_sysoptions;
9228 if test "$enableval" = yes; then
9229 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9231 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9236 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9241 eval "$wx_cv_use_sysoptions"
9243 if test x"$enablestring" = xdisable; then
9244 if test $wxUSE_SYSTEM_OPTIONS = no; then
9250 result=$wxUSE_SYSTEM_OPTIONS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9254 $as_echo "$result" >&6; }
9258 defaultval=$wxUSE_ALL_FEATURES
9259 if test -z "$defaultval"; then
9260 if test x"$enablestring" = xdisable; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9268 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9269 # Check whether --enable-tarstream was given.
9270 if test "${enable_tarstream+set}" = set; then :
9271 enableval=$enable_tarstream;
9272 if test "$enableval" = yes; then
9273 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9275 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9280 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9285 eval "$wx_cv_use_tarstream"
9287 if test x
"$enablestring" = xdisable
; then
9288 if test $wxUSE_TARSTREAM = no
; then
9294 result
=$wxUSE_TARSTREAM
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9298 $as_echo "$result" >&6; }
9302 defaultval
=$wxUSE_ALL_FEATURES
9303 if test -z "$defaultval"; then
9304 if test x
"$enablestring" = xdisable
; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9312 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9313 # Check whether --enable-textbuf was given.
9314 if test "${enable_textbuf+set}" = set; then :
9315 enableval
=$enable_textbuf;
9316 if test "$enableval" = yes; then
9317 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9319 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9324 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9329 eval "$wx_cv_use_textbuf"
9331 if test x"$enablestring" = xdisable; then
9332 if test $wxUSE_TEXTBUFFER = no; then
9338 result=$wxUSE_TEXTBUFFER
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9342 $as_echo "$result" >&6; }
9346 defaultval=$wxUSE_ALL_FEATURES
9347 if test -z "$defaultval"; then
9348 if test x"$enablestring" = xdisable; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9356 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9357 # Check whether --enable-textfile was given.
9358 if test "${enable_textfile+set}" = set; then :
9359 enableval=$enable_textfile;
9360 if test "$enableval" = yes; then
9361 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9363 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9368 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9373 eval "$wx_cv_use_textfile"
9375 if test x"$enablestring" = xdisable; then
9376 if test $wxUSE_TEXTFILE = no; then
9382 result=$wxUSE_TEXTFILE
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9386 $as_echo "$result" >&6; }
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9400 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9401 # Check whether --enable-timer was given.
9402 if test "${enable_timer+set}" = set; then :
9403 enableval=$enable_timer;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_timer='wxUSE_TIMER=yes'
9407 wx_cv_use_timer='wxUSE_TIMER=no'
9412 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9417 eval "$wx_cv_use_timer"
9419 if test x
"$enablestring" = xdisable
; then
9420 if test $wxUSE_TIMER = no
; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9430 $as_echo "$result" >&6; }
9434 defaultval
=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x
"$enablestring" = xdisable
; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9444 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9445 # Check whether --enable-variant was given.
9446 if test "${enable_variant+set}" = set; then :
9447 enableval
=$enable_variant;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9451 wx_cv_use_variant
='wxUSE_VARIANT=no'
9456 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9461 eval "$wx_cv_use_variant"
9463 if test x"$enablestring" = xdisable; then
9464 if test $wxUSE_VARIANT = no; then
9470 result=$wxUSE_VARIANT
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9474 $as_echo "$result" >&6; }
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9488 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9489 # Check whether --enable-zipstream was given.
9490 if test "${enable_zipstream+set}" = set; then :
9491 enableval=$enable_zipstream;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9495 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9500 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9505 eval "$wx_cv_use_zipstream"
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_ZIPSTREAM = no; then
9514 result=$wxUSE_ZIPSTREAM
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9518 $as_echo "$result" >&6; }
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9533 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9534 # Check whether --enable-url was given.
9535 if test "${enable_url+set}" = set; then :
9536 enableval=$enable_url;
9537 if test "$enableval" = yes; then
9538 wx_cv_use_url='wxUSE_URL=yes'
9540 wx_cv_use_url='wxUSE_URL=no'
9545 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9550 eval "$wx_cv_use_url"
9552 if test x
"$enablestring" = xdisable
; then
9553 if test $wxUSE_URL = no
; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9563 $as_echo "$result" >&6; }
9567 defaultval
=$wxUSE_ALL_FEATURES
9568 if test -z "$defaultval"; then
9569 if test x
"$enablestring" = xdisable
; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9577 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9578 # Check whether --enable-protocol was given.
9579 if test "${enable_protocol+set}" = set; then :
9580 enableval
=$enable_protocol;
9581 if test "$enableval" = yes; then
9582 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9584 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9589 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9594 eval "$wx_cv_use_protocol"
9596 if test x"$enablestring" = xdisable; then
9597 if test $wxUSE_PROTOCOL = no; then
9603 result=$wxUSE_PROTOCOL
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9607 $as_echo "$result" >&6; }
9611 defaultval=$wxUSE_ALL_FEATURES
9612 if test -z "$defaultval"; then
9613 if test x"$enablestring" = xdisable; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9621 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9622 # Check whether --enable-protocol_http was given.
9623 if test "${enable_protocol_http+set}" = set; then :
9624 enableval=$enable_protocol_http;
9625 if test "$enableval" = yes; then
9626 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9628 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9633 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9638 eval "$wx_cv_use_protocol_http"
9640 if test x"$enablestring" = xdisable; then
9641 if test $wxUSE_PROTOCOL_HTTP = no; then
9647 result=$wxUSE_PROTOCOL_HTTP
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9651 $as_echo "$result" >&6; }
9655 defaultval=$wxUSE_ALL_FEATURES
9656 if test -z "$defaultval"; then
9657 if test x"$enablestring" = xdisable; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9665 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9666 # Check whether --enable-protocol_ftp was given.
9667 if test "${enable_protocol_ftp+set}" = set; then :
9668 enableval=$enable_protocol_ftp;
9669 if test "$enableval" = yes; then
9670 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9672 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9677 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9682 eval "$wx_cv_use_protocol_ftp"
9684 if test x
"$enablestring" = xdisable
; then
9685 if test $wxUSE_PROTOCOL_FTP = no
; then
9691 result
=$wxUSE_PROTOCOL_FTP
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9695 $as_echo "$result" >&6; }
9699 defaultval
=$wxUSE_ALL_FEATURES
9700 if test -z "$defaultval"; then
9701 if test x
"$enablestring" = xdisable
; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9709 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9710 # Check whether --enable-protocol_file was given.
9711 if test "${enable_protocol_file+set}" = set; then :
9712 enableval
=$enable_protocol_file;
9713 if test "$enableval" = yes; then
9714 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9716 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9721 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9726 eval "$wx_cv_use_protocol_file"
9728 if test x"$enablestring" = xdisable; then
9729 if test $wxUSE_PROTOCOL_FILE = no; then
9735 result=$wxUSE_PROTOCOL_FILE
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9739 $as_echo "$result" >&6; }
9744 defaultval=$wxUSE_ALL_FEATURES
9745 if test -z "$defaultval"; then
9746 if test x"$enablestring" = xdisable; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9754 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9755 # Check whether --enable-threads was given.
9756 if test "${enable_threads+set}" = set; then :
9757 enableval=$enable_threads;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_threads='wxUSE_THREADS
=yes'
9761 wx_cv_use_threads='wxUSE_THREADS
=no
'
9766 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9771 eval "$wx_cv_use_threads"
9773 if test x"$enablestring" = xdisable; then
9774 if test $wxUSE_THREADS = no; then
9780 result=$wxUSE_THREADS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9784 $as_echo "$result" >&6; }
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9799 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9800 # Check whether --enable-iniconf was given.
9801 if test "${enable_iniconf+set}" = set; then :
9802 enableval=$enable_iniconf;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9806 wx_cv_use_iniconf='wxUSE_INICONF=no'
9811 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9816 eval "$wx_cv_use_iniconf"
9818 if test x
"$enablestring" = xdisable
; then
9819 if test $wxUSE_INICONF = no
; then
9825 result
=$wxUSE_INICONF
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9829 $as_echo "$result" >&6; }
9833 defaultval
=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x
"$enablestring" = xdisable
; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9843 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9844 # Check whether --enable-regkey was given.
9845 if test "${enable_regkey+set}" = set; then :
9846 enableval
=$enable_regkey;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9850 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9855 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9860 eval "$wx_cv_use_regkey"
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_REGKEY = no; then
9869 result=$wxUSE_REGKEY
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9873 $as_echo "$result" >&6; }
9876 if test "$wxUSE_GUI" = "yes"; then
9881 defaultval=$wxUSE_ALL_FEATURES
9882 if test -z "$defaultval"; then
9883 if test x"$enablestring" = xdisable; then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9891 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9892 # Check whether --enable-docview was given.
9893 if test "${enable_docview+set}" = set; then :
9894 enableval=$enable_docview;
9895 if test "$enableval" = yes; then
9896 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9898 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9903 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9908 eval "$wx_cv_use_docview"
9910 if test x"$enablestring" = xdisable; then
9911 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9917 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9921 $as_echo "$result" >&6; }
9925 defaultval=$wxUSE_ALL_FEATURES
9926 if test -z "$defaultval"; then
9927 if test x"$enablestring" = xdisable; then
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9935 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9936 # Check whether --enable-help was given.
9937 if test "${enable_help+set}" = set; then :
9938 enableval=$enable_help;
9939 if test "$enableval" = yes; then
9940 wx_cv_use_help='wxUSE_HELP=yes'
9942 wx_cv_use_help='wxUSE_HELP=no'
9947 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9952 eval "$wx_cv_use_help"
9954 if test x
"$enablestring" = xdisable
; then
9955 if test $wxUSE_HELP = no
; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9965 $as_echo "$result" >&6; }
9969 defaultval
=$wxUSE_ALL_FEATURES
9970 if test -z "$defaultval"; then
9971 if test x
"$enablestring" = xdisable
; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9979 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9980 # Check whether --enable-mshtmlhelp was given.
9981 if test "${enable_mshtmlhelp+set}" = set; then :
9982 enableval
=$enable_mshtmlhelp;
9983 if test "$enableval" = yes; then
9984 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9986 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9991 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9996 eval "$wx_cv_use_mshtmlhelp"
9998 if test x"$enablestring" = xdisable; then
9999 if test $wxUSE_MS_HTML_HELP = no; then
10005 result=$wxUSE_MS_HTML_HELP
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10009 $as_echo "$result" >&6; }
10013 defaultval=$wxUSE_ALL_FEATURES
10014 if test -z "$defaultval"; then
10015 if test x"$enablestring" = xdisable; then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10023 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10024 # Check whether --enable-html was given.
10025 if test "${enable_html+set}" = set; then :
10026 enableval=$enable_html;
10027 if test "$enableval" = yes; then
10028 wx_cv_use_html='wxUSE_HTML
=yes'
10030 wx_cv_use_html='wxUSE_HTML
=no
'
10035 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10040 eval "$wx_cv_use_html"
10042 if test x"$enablestring" = xdisable; then
10043 if test $wxUSE_HTML = no; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10053 $as_echo "$result" >&6; }
10057 defaultval=$wxUSE_ALL_FEATURES
10058 if test -z "$defaultval"; then
10059 if test x"$enablestring" = xdisable; then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
10067 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
10068 # Check whether --enable-htmlhelp was given.
10069 if test "${enable_htmlhelp+set}" = set; then :
10070 enableval=$enable_htmlhelp;
10071 if test "$enableval" = yes; then
10072 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10074 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10079 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10084 eval "$wx_cv_use_htmlhelp"
10086 if test x
"$enablestring" = xdisable
; then
10087 if test $wxUSE_WXHTML_HELP = no
; then
10093 result
=$wxUSE_WXHTML_HELP
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10097 $as_echo "$result" >&6; }
10101 defaultval
=$wxUSE_ALL_FEATURES
10102 if test -z "$defaultval"; then
10103 if test x
"$enablestring" = xdisable
; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10111 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10112 # Check whether --enable-xrc was given.
10113 if test "${enable_xrc+set}" = set; then :
10114 enableval
=$enable_xrc;
10115 if test "$enableval" = yes; then
10116 wx_cv_use_xrc
='wxUSE_XRC=yes'
10118 wx_cv_use_xrc
='wxUSE_XRC=no'
10123 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10128 eval "$wx_cv_use_xrc"
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_XRC = no; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10141 $as_echo "$result" >&6; }
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10155 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10156 # Check whether --enable-aui was given.
10157 if test "${enable_aui+set}" = set; then :
10158 enableval=$enable_aui;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_aui='wxUSE_AUI
=yes'
10162 wx_cv_use_aui='wxUSE_AUI
=no
'
10167 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10172 eval "$wx_cv_use_aui"
10174 if test x"$enablestring" = xdisable; then
10175 if test $wxUSE_AUI = no; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10185 $as_echo "$result" >&6; }
10189 defaultval=$wxUSE_ALL_FEATURES
10190 if test -z "$defaultval"; then
10191 if test x"$enablestring" = xdisable; then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10199 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10200 # Check whether --enable-propgrid was given.
10201 if test "${enable_propgrid+set}" = set; then :
10202 enableval=$enable_propgrid;
10203 if test "$enableval" = yes; then
10204 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10206 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10211 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10216 eval "$wx_cv_use_propgrid"
10218 if test x
"$enablestring" = xdisable
; then
10219 if test $wxUSE_PROPGRID = no
; then
10225 result
=$wxUSE_PROPGRID
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10229 $as_echo "$result" >&6; }
10233 defaultval
=$wxUSE_ALL_FEATURES
10234 if test -z "$defaultval"; then
10235 if test x
"$enablestring" = xdisable
; then
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10243 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10244 # Check whether --enable-ribbon was given.
10245 if test "${enable_ribbon+set}" = set; then :
10246 enableval
=$enable_ribbon;
10247 if test "$enableval" = yes; then
10248 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10250 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10255 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10260 eval "$wx_cv_use_ribbon"
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_RIBBON = no; then
10269 result=$wxUSE_RIBBON
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10273 $as_echo "$result" >&6; }
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10287 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10288 # Check whether --enable-stc was given.
10289 if test "${enable_stc+set}" = set; then :
10290 enableval=$enable_stc;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_stc='wxUSE_STC
=yes'
10294 wx_cv_use_stc='wxUSE_STC
=no
'
10299 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10304 eval "$wx_cv_use_stc"
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_STC = no; then
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10317 $as_echo "$result" >&6; }
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10331 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10332 # Check whether --enable-constraints was given.
10333 if test "${enable_constraints+set}" = set; then :
10334 enableval=$enable_constraints;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10338 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10343 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10348 eval "$wx_cv_use_constraints"
10350 if test x
"$enablestring" = xdisable
; then
10351 if test $wxUSE_CONSTRAINTS = no
; then
10357 result
=$wxUSE_CONSTRAINTS
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10361 $as_echo "$result" >&6; }
10365 defaultval
=$wxUSE_ALL_FEATURES
10366 if test -z "$defaultval"; then
10367 if test x
"$enablestring" = xdisable
; then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10375 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10376 # Check whether --enable-loggui was given.
10377 if test "${enable_loggui+set}" = set; then :
10378 enableval
=$enable_loggui;
10379 if test "$enableval" = yes; then
10380 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10382 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10387 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10392 eval "$wx_cv_use_loggui"
10394 if test x"$enablestring" = xdisable; then
10395 if test $wxUSE_LOGGUI = no; then
10401 result=$wxUSE_LOGGUI
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10405 $as_echo "$result" >&6; }
10409 defaultval=$wxUSE_ALL_FEATURES
10410 if test -z "$defaultval"; then
10411 if test x"$enablestring" = xdisable; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10419 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10420 # Check whether --enable-logwin was given.
10421 if test "${enable_logwin+set}" = set; then :
10422 enableval=$enable_logwin;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10426 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10431 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10436 eval "$wx_cv_use_logwin"
10438 if test x"$enablestring" = xdisable; then
10439 if test $wxUSE_LOGWINDOW = no; then
10445 result=$wxUSE_LOGWINDOW
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10449 $as_echo "$result" >&6; }
10453 defaultval=$wxUSE_ALL_FEATURES
10454 if test -z "$defaultval"; then
10455 if test x"$enablestring" = xdisable; then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10463 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10464 # Check whether --enable-logdialog was given.
10465 if test "${enable_logdialog+set}" = set; then :
10466 enableval=$enable_logdialog;
10467 if test "$enableval" = yes; then
10468 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10470 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10475 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10480 eval "$wx_cv_use_logdialog"
10482 if test x
"$enablestring" = xdisable
; then
10483 if test $wxUSE_LOGDIALOG = no
; then
10489 result
=$wxUSE_LOGDIALOG
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10493 $as_echo "$result" >&6; }
10497 defaultval
=$wxUSE_ALL_FEATURES
10498 if test -z "$defaultval"; then
10499 if test x
"$enablestring" = xdisable
; then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10507 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10508 # Check whether --enable-mdi was given.
10509 if test "${enable_mdi+set}" = set; then :
10510 enableval
=$enable_mdi;
10511 if test "$enableval" = yes; then
10512 wx_cv_use_mdi
='wxUSE_MDI=yes'
10514 wx_cv_use_mdi
='wxUSE_MDI=no'
10519 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10524 eval "$wx_cv_use_mdi"
10526 if test x"$enablestring" = xdisable; then
10527 if test $wxUSE_MDI = no; then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10537 $as_echo "$result" >&6; }
10541 defaultval=$wxUSE_ALL_FEATURES
10542 if test -z "$defaultval"; then
10543 if test x"$enablestring" = xdisable; then
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10551 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10552 # Check whether --enable-mdidoc was given.
10553 if test "${enable_mdidoc+set}" = set; then :
10554 enableval=$enable_mdidoc;
10555 if test "$enableval" = yes; then
10556 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10558 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10563 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10568 eval "$wx_cv_use_mdidoc"
10570 if test x"$enablestring" = xdisable; then
10571 if test $wxUSE_MDI_ARCHITECTURE = no; then
10577 result=$wxUSE_MDI_ARCHITECTURE
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10581 $as_echo "$result" >&6; }
10585 defaultval=$wxUSE_ALL_FEATURES
10586 if test -z "$defaultval"; then
10587 if test x"$enablestring" = xdisable; then
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10595 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10596 # Check whether --enable-mediactrl was given.
10597 if test "${enable_mediactrl+set}" = set; then :
10598 enableval=$enable_mediactrl;
10599 if test "$enableval" = yes; then
10600 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10602 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10607 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10612 eval "$wx_cv_use_mediactrl"
10614 if test x
"$enablestring" = xdisable
; then
10615 if test $wxUSE_MEDIACTRL = no
; then
10621 result
=$wxUSE_MEDIACTRL
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10625 $as_echo "$result" >&6; }
10629 defaultval
=$wxUSE_ALL_FEATURES
10630 if test -z "$defaultval"; then
10631 if test x
"$enablestring" = xdisable
; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10639 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10640 # Check whether --enable-gstreamer8 was given.
10641 if test "${enable_gstreamer8+set}" = set; then :
10642 enableval
=$enable_gstreamer8;
10643 if test "$enableval" = yes; then
10644 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10646 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10651 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10656 eval "$wx_cv_use_gstreamer8"
10658 if test x"$enablestring" = xdisable; then
10659 if test $wxUSE_GSTREAMER8 = no; then
10665 result=$wxUSE_GSTREAMER8
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10669 $as_echo "$result" >&6; }
10673 defaultval=$wxUSE_ALL_FEATURES
10674 if test -z "$defaultval"; then
10675 if test x"$enablestring" = xdisable; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10683 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10684 # Check whether --enable-richtext was given.
10685 if test "${enable_richtext+set}" = set; then :
10686 enableval=$enable_richtext;
10687 if test "$enableval" = yes; then
10688 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10690 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10695 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10700 eval "$wx_cv_use_richtext"
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_RICHTEXT = no; then
10709 result=$wxUSE_RICHTEXT
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10713 $as_echo "$result" >&6; }
10717 defaultval=$wxUSE_ALL_FEATURES
10718 if test -z "$defaultval"; then
10719 if test x"$enablestring" = xdisable; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10727 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10728 # Check whether --enable-postscript was given.
10729 if test "${enable_postscript+set}" = set; then :
10730 enableval=$enable_postscript;
10731 if test "$enableval" = yes; then
10732 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10734 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10739 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10744 eval "$wx_cv_use_postscript"
10746 if test x
"$enablestring" = xdisable
; then
10747 if test $wxUSE_POSTSCRIPT = no
; then
10753 result
=$wxUSE_POSTSCRIPT
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10757 $as_echo "$result" >&6; }
10761 defaultval
=$wxUSE_ALL_FEATURES
10762 if test -z "$defaultval"; then
10763 if test x
"$enablestring" = xdisable
; then
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10771 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10772 # Check whether --enable-printarch was given.
10773 if test "${enable_printarch+set}" = set; then :
10774 enableval
=$enable_printarch;
10775 if test "$enableval" = yes; then
10776 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10778 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10783 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10788 eval "$wx_cv_use_printarch"
10790 if test x"$enablestring" = xdisable; then
10791 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10797 result=$wxUSE_PRINTING_ARCHITECTURE
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10801 $as_echo "$result" >&6; }
10805 defaultval=$wxUSE_ALL_FEATURES
10806 if test -z "$defaultval"; then
10807 if test x"$enablestring" = xdisable; then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10815 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10816 # Check whether --enable-svg was given.
10817 if test "${enable_svg+set}" = set; then :
10818 enableval=$enable_svg;
10819 if test "$enableval" = yes; then
10820 wx_cv_use_svg='wxUSE_SVG
=yes'
10822 wx_cv_use_svg='wxUSE_SVG
=no
'
10827 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10832 eval "$wx_cv_use_svg"
10834 if test x"$enablestring" = xdisable; then
10835 if test $wxUSE_SVG = no; then
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10845 $as_echo "$result" >&6; }
10849 defaultval=$wxUSE_ALL_FEATURES
10850 if test -z "$defaultval"; then
10851 if test x"$enablestring" = xdisable; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10859 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10860 # Check whether --enable-webkit was given.
10861 if test "${enable_webkit+set}" = set; then :
10862 enableval=$enable_webkit;
10863 if test "$enableval" = yes; then
10864 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10866 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10871 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10876 eval "$wx_cv_use_webkit"
10878 if test x
"$enablestring" = xdisable
; then
10879 if test $wxUSE_WEBKIT = no
; then
10885 result
=$wxUSE_WEBKIT
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10889 $as_echo "$result" >&6; }
10893 defaultval
=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x
"$enablestring" = xdisable
; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10903 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10904 # Check whether --enable-webview was given.
10905 if test "${enable_webview+set}" = set; then :
10906 enableval
=$enable_webview;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10910 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10915 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10920 eval "$wx_cv_use_webview"
10922 if test x"$enablestring" = xdisable; then
10923 if test $wxUSE_WEBVIEW = no; then
10929 result=$wxUSE_WEBVIEW
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10933 $as_echo "$result" >&6; }
10936 if test "$wxUSE_MAC" != 1; then
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10949 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10950 # Check whether --enable-graphics_ctx was given.
10951 if test "${enable_graphics_ctx+set}" = set; then :
10952 enableval=$enable_graphics_ctx;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10956 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10961 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10966 eval "$wx_cv_use_graphics_ctx"
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10975 result=$wxUSE_GRAPHICS_CONTEXT
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10979 $as_echo "$result" >&6; }
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
10996 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
10997 # Check whether --enable-clipboard was given.
10998 if test "${enable_clipboard+set}" = set; then :
10999 enableval=$enable_clipboard;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11003 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11008 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11013 eval "$wx_cv_use_clipboard"
11015 if test x
"$enablestring" = xdisable
; then
11016 if test $wxUSE_CLIPBOARD = no
; then
11022 result
=$wxUSE_CLIPBOARD
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11026 $as_echo "$result" >&6; }
11030 defaultval
=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x
"$enablestring" = xdisable
; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11040 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11041 # Check whether --enable-dnd was given.
11042 if test "${enable_dnd+set}" = set; then :
11043 enableval
=$enable_dnd;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
11047 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
11052 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11057 eval "$wx_cv_use_dnd"
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_DRAG_AND_DROP = no; then
11066 result=$wxUSE_DRAG_AND_DROP
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11070 $as_echo "$result" >&6; }
11074 DEFAULT_wxUSE_CONTROLS=none
11076 enablestring=disable
11078 if test -z "$defaultval"; then
11079 if test x"$enablestring" = xdisable; then
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11087 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11088 # Check whether --enable-controls was given.
11089 if test "${enable_controls+set}" = set; then :
11090 enableval=$enable_controls;
11091 if test "$enableval" = yes; then
11092 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
11094 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
11099 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11104 eval "$wx_cv_use_controls"
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_CONTROLS = no; then
11113 result=$wxUSE_CONTROLS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11117 $as_echo "$result" >&6; }
11120 if test "$wxUSE_CONTROLS" = "no
"; then
11121 DEFAULT_wxUSE_ACCEL=no
11122 DEFAULT_wxUSE_ANIMATIONCTRL=no
11123 DEFAULT_wxUSE_BANNERWINDOW=no
11124 DEFAULT_wxUSE_BMPBUTTON=no
11125 DEFAULT_wxUSE_BUTTON=no
11126 DEFAULT_wxUSE_CALCTRL=no
11127 DEFAULT_wxUSE_CARET=no
11128 DEFAULT_wxUSE_CHECKBOX=no
11129 DEFAULT_wxUSE_CHECKLISTBOX=no
11130 DEFAULT_wxUSE_CHOICE=no
11131 DEFAULT_wxUSE_CHOICEBOOK=no
11132 DEFAULT_wxUSE_COLLPANE=no
11133 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11134 DEFAULT_wxUSE_COMBOBOX=no
11135 DEFAULT_wxUSE_COMBOBOX=no
11136 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11137 DEFAULT_wxUSE_DATAVIEWCTRL=no
11138 DEFAULT_wxUSE_DATEPICKCTRL=no
11139 DEFAULT_wxUSE_DETECT_SM=no
11140 DEFAULT_wxUSE_DIRPICKERCTRL=no
11141 DEFAULT_wxUSE_DISPLAY=no
11142 DEFAULT_wxUSE_FILECTRL=no
11143 DEFAULT_wxUSE_FILEPICKERCTRL=no
11144 DEFAULT_wxUSE_FONTPICKERCTRL=no
11145 DEFAULT_wxUSE_GAUGE=no
11146 DEFAULT_wxUSE_GRID=no
11147 DEFAULT_wxUSE_HEADERCTRL=no
11148 DEFAULT_wxUSE_HYPERLINKCTRL=no
11149 DEFAULT_wxUSE_IMAGLIST=no
11150 DEFAULT_wxUSE_LISTBOOK=no
11151 DEFAULT_wxUSE_LISTBOX=no
11152 DEFAULT_wxUSE_LISTCTRL=no
11153 DEFAULT_wxUSE_MARKUP=no
11154 DEFAULT_wxUSE_NOTEBOOK=no
11155 DEFAULT_wxUSE_POPUPWIN=no
11156 DEFAULT_wxUSE_RADIOBOX=no
11157 DEFAULT_wxUSE_RADIOBTN=no
11158 DEFAULT_wxUSE_RICHMSGDLG=no
11159 DEFAULT_wxUSE_RICHTOOLTIP=no
11160 DEFAULT_wxUSE_REARRANGECTRL=no
11161 DEFAULT_wxUSE_SASH=no
11162 DEFAULT_wxUSE_SCROLLBAR=no
11163 DEFAULT_wxUSE_SEARCHCTRL=no
11164 DEFAULT_wxUSE_SLIDER=no
11165 DEFAULT_wxUSE_SPINBTN=no
11166 DEFAULT_wxUSE_SPINCTRL=no
11167 DEFAULT_wxUSE_SPLITTER=no
11168 DEFAULT_wxUSE_STATBMP=no
11169 DEFAULT_wxUSE_STATBOX=no
11170 DEFAULT_wxUSE_STATLINE=no
11171 DEFAULT_wxUSE_STATUSBAR=no
11172 DEFAULT_wxUSE_TIMEPICKCTRL=no
11173 DEFAULT_wxUSE_TIPWINDOW=no
11174 DEFAULT_wxUSE_TOGGLEBTN=no
11175 DEFAULT_wxUSE_TOOLBAR=no
11176 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11177 DEFAULT_wxUSE_TOOLBOOK=no
11178 DEFAULT_wxUSE_TOOLTIPS=no
11179 DEFAULT_wxUSE_TREEBOOK=no
11180 DEFAULT_wxUSE_TREECTRL=no
11181 DEFAULT_wxUSE_TREELISTCTRL=no
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11196 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11197 # Check whether --enable-markup was given.
11198 if test "${enable_markup+set}" = set; then :
11199 enableval=$enable_markup;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_markup='wxUSE_MARKUP=yes'
11203 wx_cv_use_markup='wxUSE_MARKUP=no'
11208 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11213 eval "$wx_cv_use_markup"
11215 if test x
"$enablestring" = xdisable
; then
11216 if test $wxUSE_MARKUP = no
; then
11222 result
=$wxUSE_MARKUP
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11226 $as_echo "$result" >&6; }
11231 defaultval
=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x
"$enablestring" = xdisable
; then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11241 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11242 # Check whether --enable-accel was given.
11243 if test "${enable_accel+set}" = set; then :
11244 enableval
=$enable_accel;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11248 wx_cv_use_accel
='wxUSE_ACCEL=no'
11253 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11258 eval "$wx_cv_use_accel"
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_ACCEL = no; then
11267 result=$wxUSE_ACCEL
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11271 $as_echo "$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11285 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11286 # Check whether --enable-animatectrl was given.
11287 if test "${enable_animatectrl+set}" = set; then :
11288 enableval=$enable_animatectrl;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11292 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11297 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11302 eval "$wx_cv_use_animatectrl"
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_ANIMATIONCTRL = no; then
11311 result=$wxUSE_ANIMATIONCTRL
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11315 $as_echo "$result" >&6; }
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11329 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11330 # Check whether --enable-bannerwindow was given.
11331 if test "${enable_bannerwindow+set}" = set; then :
11332 enableval=$enable_bannerwindow;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11336 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11341 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11346 eval "$wx_cv_use_bannerwindow"
11348 if test x
"$enablestring" = xdisable
; then
11349 if test $wxUSE_BANNERWINDOW = no
; then
11355 result
=$wxUSE_BANNERWINDOW
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11359 $as_echo "$result" >&6; }
11363 defaultval
=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x
"$enablestring" = xdisable
; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11373 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11374 # Check whether --enable-artstd was given.
11375 if test "${enable_artstd+set}" = set; then :
11376 enableval
=$enable_artstd;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11380 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11385 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11390 eval "$wx_cv_use_artstd"
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_ARTPROVIDER_STD = no; then
11399 result=$wxUSE_ARTPROVIDER_STD
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11403 $as_echo "$result" >&6; }
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11417 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11418 # Check whether --enable-arttango was given.
11419 if test "${enable_arttango+set}" = set; then :
11420 enableval=$enable_arttango;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11424 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11429 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11434 eval "$wx_cv_use_arttango"
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11443 result=$wxUSE_ARTPROVIDER_TANGO
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11447 $as_echo "$result" >&6; }
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11461 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11462 # Check whether --enable-bmpbutton was given.
11463 if test "${enable_bmpbutton+set}" = set; then :
11464 enableval=$enable_bmpbutton;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11468 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11473 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11478 eval "$wx_cv_use_bmpbutton"
11480 if test x
"$enablestring" = xdisable
; then
11481 if test $wxUSE_BMPBUTTON = no
; then
11487 result
=$wxUSE_BMPBUTTON
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11491 $as_echo "$result" >&6; }
11495 defaultval
=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x
"$enablestring" = xdisable
; then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11505 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11506 # Check whether --enable-bmpcombobox was given.
11507 if test "${enable_bmpcombobox+set}" = set; then :
11508 enableval
=$enable_bmpcombobox;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11512 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11517 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11522 eval "$wx_cv_use_bmpcombobox"
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_BITMAPCOMBOBOX = no; then
11531 result=$wxUSE_BITMAPCOMBOBOX
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11535 $as_echo "$result" >&6; }
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11549 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11550 # Check whether --enable-button was given.
11551 if test "${enable_button+set}" = set; then :
11552 enableval=$enable_button;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_button='wxUSE_BUTTON
=yes'
11556 wx_cv_use_button='wxUSE_BUTTON
=no
'
11561 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11566 eval "$wx_cv_use_button"
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_BUTTON = no; then
11575 result=$wxUSE_BUTTON
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11579 $as_echo "$result" >&6; }
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11593 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11594 # Check whether --enable-calendar was given.
11595 if test "${enable_calendar+set}" = set; then :
11596 enableval=$enable_calendar;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11600 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11605 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11610 eval "$wx_cv_use_calendar"
11612 if test x
"$enablestring" = xdisable
; then
11613 if test $wxUSE_CALCTRL = no
; then
11619 result
=$wxUSE_CALCTRL
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11623 $as_echo "$result" >&6; }
11627 defaultval
=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x
"$enablestring" = xdisable
; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11637 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11638 # Check whether --enable-caret was given.
11639 if test "${enable_caret+set}" = set; then :
11640 enableval
=$enable_caret;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_caret
='wxUSE_CARET=yes'
11644 wx_cv_use_caret
='wxUSE_CARET=no'
11649 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11654 eval "$wx_cv_use_caret"
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_CARET = no; then
11663 result=$wxUSE_CARET
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11667 $as_echo "$result" >&6; }
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11681 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11682 # Check whether --enable-checkbox was given.
11683 if test "${enable_checkbox+set}" = set; then :
11684 enableval=$enable_checkbox;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11688 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11693 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11698 eval "$wx_cv_use_checkbox"
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_CHECKBOX = no; then
11707 result=$wxUSE_CHECKBOX
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11711 $as_echo "$result" >&6; }
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11725 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11726 # Check whether --enable-checklst was given.
11727 if test "${enable_checklst+set}" = set; then :
11728 enableval=$enable_checklst;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11732 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11737 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11742 eval "$wx_cv_use_checklst"
11744 if test x
"$enablestring" = xdisable
; then
11745 if test $wxUSE_CHECKLST = no
; then
11751 result
=$wxUSE_CHECKLST
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11755 $as_echo "$result" >&6; }
11759 defaultval
=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x
"$enablestring" = xdisable
; then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11769 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11770 # Check whether --enable-choice was given.
11771 if test "${enable_choice+set}" = set; then :
11772 enableval
=$enable_choice;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11776 wx_cv_use_choice
='wxUSE_CHOICE=no'
11781 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11786 eval "$wx_cv_use_choice"
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_CHOICE = no; then
11795 result=$wxUSE_CHOICE
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11799 $as_echo "$result" >&6; }
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11813 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11814 # Check whether --enable-choicebook was given.
11815 if test "${enable_choicebook+set}" = set; then :
11816 enableval=$enable_choicebook;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11820 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11825 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11830 eval "$wx_cv_use_choicebook"
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_CHOICEBOOK = no; then
11839 result=$wxUSE_CHOICEBOOK
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11843 $as_echo "$result" >&6; }
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11857 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11858 # Check whether --enable-collpane was given.
11859 if test "${enable_collpane+set}" = set; then :
11860 enableval=$enable_collpane;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11864 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11869 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11874 eval "$wx_cv_use_collpane"
11876 if test x
"$enablestring" = xdisable
; then
11877 if test $wxUSE_COLLPANE = no
; then
11883 result
=$wxUSE_COLLPANE
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11887 $as_echo "$result" >&6; }
11891 defaultval
=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x
"$enablestring" = xdisable
; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11901 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11902 # Check whether --enable-colourpicker was given.
11903 if test "${enable_colourpicker+set}" = set; then :
11904 enableval
=$enable_colourpicker;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11908 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11913 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11918 eval "$wx_cv_use_colourpicker"
11920 if test x"$enablestring" = xdisable; then
11921 if test $wxUSE_COLOURPICKERCTRL = no; then
11927 result=$wxUSE_COLOURPICKERCTRL
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11931 $as_echo "$result" >&6; }
11935 defaultval=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x"$enablestring" = xdisable; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11945 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11946 # Check whether --enable-combobox was given.
11947 if test "${enable_combobox+set}" = set; then :
11948 enableval=$enable_combobox;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11952 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11957 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11962 eval "$wx_cv_use_combobox"
11964 if test x"$enablestring" = xdisable; then
11965 if test $wxUSE_COMBOBOX = no; then
11971 result=$wxUSE_COMBOBOX
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11975 $as_echo "$result" >&6; }
11979 defaultval=$wxUSE_ALL_FEATURES
11980 if test -z "$defaultval"; then
11981 if test x"$enablestring" = xdisable; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11989 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11990 # Check whether --enable-comboctrl was given.
11991 if test "${enable_comboctrl+set}" = set; then :
11992 enableval=$enable_comboctrl;
11993 if test "$enableval" = yes; then
11994 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11996 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12001 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12006 eval "$wx_cv_use_comboctrl"
12008 if test x
"$enablestring" = xdisable
; then
12009 if test $wxUSE_COMBOCTRL = no
; then
12015 result
=$wxUSE_COMBOCTRL
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12019 $as_echo "$result" >&6; }
12023 defaultval
=$wxUSE_ALL_FEATURES
12024 if test -z "$defaultval"; then
12025 if test x
"$enablestring" = xdisable
; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12033 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12034 # Check whether --enable-commandlinkbutton was given.
12035 if test "${enable_commandlinkbutton+set}" = set; then :
12036 enableval
=$enable_commandlinkbutton;
12037 if test "$enableval" = yes; then
12038 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
12040 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
12045 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12050 eval "$wx_cv_use_commandlinkbutton"
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_COMMANDLINKBUTTON = no; then
12059 result=$wxUSE_COMMANDLINKBUTTON
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12063 $as_echo "$result" >&6; }
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12077 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12078 # Check whether --enable-dataviewctrl was given.
12079 if test "${enable_dataviewctrl+set}" = set; then :
12080 enableval=$enable_dataviewctrl;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12084 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12089 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12094 eval "$wx_cv_use_dataviewctrl"
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_DATAVIEWCTRL = no; then
12103 result=$wxUSE_DATAVIEWCTRL
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12107 $as_echo "$result" >&6; }
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12121 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12122 # Check whether --enable-datepick was given.
12123 if test "${enable_datepick+set}" = set; then :
12124 enableval=$enable_datepick;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12128 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12133 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12138 eval "$wx_cv_use_datepick"
12140 if test x
"$enablestring" = xdisable
; then
12141 if test $wxUSE_DATEPICKCTRL = no
; then
12147 result
=$wxUSE_DATEPICKCTRL
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12151 $as_echo "$result" >&6; }
12155 defaultval
=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x
"$enablestring" = xdisable
; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12165 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12166 # Check whether --enable-detect_sm was given.
12167 if test "${enable_detect_sm+set}" = set; then :
12168 enableval
=$enable_detect_sm;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12172 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12177 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12182 eval "$wx_cv_use_detect_sm"
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_DETECT_SM = no; then
12191 result=$wxUSE_DETECT_SM
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12195 $as_echo "$result" >&6; }
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12209 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12210 # Check whether --enable-dirpicker was given.
12211 if test "${enable_dirpicker+set}" = set; then :
12212 enableval=$enable_dirpicker;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12216 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12221 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12226 eval "$wx_cv_use_dirpicker"
12228 if test x"$enablestring" = xdisable; then
12229 if test $wxUSE_DIRPICKERCTRL = no; then
12235 result=$wxUSE_DIRPICKERCTRL
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12239 $as_echo "$result" >&6; }
12243 defaultval=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x"$enablestring" = xdisable; then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12253 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12254 # Check whether --enable-display was given.
12255 if test "${enable_display+set}" = set; then :
12256 enableval=$enable_display;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_display='wxUSE_DISPLAY=yes'
12260 wx_cv_use_display='wxUSE_DISPLAY=no'
12265 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12270 eval "$wx_cv_use_display"
12272 if test x
"$enablestring" = xdisable
; then
12273 if test $wxUSE_DISPLAY = no
; then
12279 result
=$wxUSE_DISPLAY
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12283 $as_echo "$result" >&6; }
12287 defaultval
=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x
"$enablestring" = xdisable
; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12297 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12298 # Check whether --enable-editablebox was given.
12299 if test "${enable_editablebox+set}" = set; then :
12300 enableval
=$enable_editablebox;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12304 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12309 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12314 eval "$wx_cv_use_editablebox"
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_EDITABLELISTBOX = no; then
12323 result=$wxUSE_EDITABLELISTBOX
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12327 $as_echo "$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12341 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12342 # Check whether --enable-filectrl was given.
12343 if test "${enable_filectrl+set}" = set; then :
12344 enableval=$enable_filectrl;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12348 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12353 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12358 eval "$wx_cv_use_filectrl"
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_FILECTRL = no; then
12367 result=$wxUSE_FILECTRL
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12371 $as_echo "$result" >&6; }
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12385 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12386 # Check whether --enable-filepicker was given.
12387 if test "${enable_filepicker+set}" = set; then :
12388 enableval=$enable_filepicker;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12392 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12397 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12402 eval "$wx_cv_use_filepicker"
12404 if test x
"$enablestring" = xdisable
; then
12405 if test $wxUSE_FILEPICKERCTRL = no
; then
12411 result
=$wxUSE_FILEPICKERCTRL
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12415 $as_echo "$result" >&6; }
12419 defaultval
=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x
"$enablestring" = xdisable
; then
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12429 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12430 # Check whether --enable-fontpicker was given.
12431 if test "${enable_fontpicker+set}" = set; then :
12432 enableval
=$enable_fontpicker;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12436 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12441 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12446 eval "$wx_cv_use_fontpicker"
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_FONTPICKERCTRL = no; then
12455 result=$wxUSE_FONTPICKERCTRL
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12459 $as_echo "$result" >&6; }
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12473 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12474 # Check whether --enable-gauge was given.
12475 if test "${enable_gauge+set}" = set; then :
12476 enableval=$enable_gauge;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12480 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12485 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12490 eval "$wx_cv_use_gauge"
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_GAUGE = no; then
12499 result=$wxUSE_GAUGE
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12503 $as_echo "$result" >&6; }
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12517 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12518 # Check whether --enable-grid was given.
12519 if test "${enable_grid+set}" = set; then :
12520 enableval=$enable_grid;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_grid='wxUSE_GRID=yes'
12524 wx_cv_use_grid='wxUSE_GRID=no'
12529 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12534 eval "$wx_cv_use_grid"
12536 if test x
"$enablestring" = xdisable
; then
12537 if test $wxUSE_GRID = no
; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12547 $as_echo "$result" >&6; }
12551 defaultval
=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x
"$enablestring" = xdisable
; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12561 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12562 # Check whether --enable-headerctrl was given.
12563 if test "${enable_headerctrl+set}" = set; then :
12564 enableval
=$enable_headerctrl;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12568 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12573 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12578 eval "$wx_cv_use_headerctrl"
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_HEADERCTRL = no; then
12587 result=$wxUSE_HEADERCTRL
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12591 $as_echo "$result" >&6; }
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12605 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12606 # Check whether --enable-hyperlink was given.
12607 if test "${enable_hyperlink+set}" = set; then :
12608 enableval=$enable_hyperlink;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12612 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12617 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12622 eval "$wx_cv_use_hyperlink"
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_HYPERLINKCTRL = no; then
12631 result=$wxUSE_HYPERLINKCTRL
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12635 $as_echo "$result" >&6; }
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12649 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12650 # Check whether --enable-imaglist was given.
12651 if test "${enable_imaglist+set}" = set; then :
12652 enableval=$enable_imaglist;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12656 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12661 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12666 eval "$wx_cv_use_imaglist"
12668 if test x
"$enablestring" = xdisable
; then
12669 if test $wxUSE_IMAGLIST = no
; then
12675 result
=$wxUSE_IMAGLIST
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12679 $as_echo "$result" >&6; }
12683 defaultval
=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x
"$enablestring" = xdisable
; then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12693 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12694 # Check whether --enable-infobar was given.
12695 if test "${enable_infobar+set}" = set; then :
12696 enableval
=$enable_infobar;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12700 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12705 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12710 eval "$wx_cv_use_infobar"
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_INFOBAR = no; then
12719 result=$wxUSE_INFOBAR
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12723 $as_echo "$result" >&6; }
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12737 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12738 # Check whether --enable-listbook was given.
12739 if test "${enable_listbook+set}" = set; then :
12740 enableval=$enable_listbook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12744 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12749 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12754 eval "$wx_cv_use_listbook"
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_LISTBOOK = no; then
12763 result=$wxUSE_LISTBOOK
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12767 $as_echo "$result" >&6; }
12771 defaultval=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x"$enablestring" = xdisable; then
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12781 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12782 # Check whether --enable-listbox was given.
12783 if test "${enable_listbox+set}" = set; then :
12784 enableval=$enable_listbox;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12788 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12793 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12798 eval "$wx_cv_use_listbox"
12800 if test x
"$enablestring" = xdisable
; then
12801 if test $wxUSE_LISTBOX = no
; then
12807 result
=$wxUSE_LISTBOX
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12811 $as_echo "$result" >&6; }
12815 defaultval
=$wxUSE_ALL_FEATURES
12816 if test -z "$defaultval"; then
12817 if test x
"$enablestring" = xdisable
; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12825 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12826 # Check whether --enable-listctrl was given.
12827 if test "${enable_listctrl+set}" = set; then :
12828 enableval
=$enable_listctrl;
12829 if test "$enableval" = yes; then
12830 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12832 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12837 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12842 eval "$wx_cv_use_listctrl"
12844 if test x"$enablestring" = xdisable; then
12845 if test $wxUSE_LISTCTRL = no; then
12851 result=$wxUSE_LISTCTRL
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12855 $as_echo "$result" >&6; }
12859 defaultval=$wxUSE_ALL_FEATURES
12860 if test -z "$defaultval"; then
12861 if test x"$enablestring" = xdisable; then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12869 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12870 # Check whether --enable-notebook was given.
12871 if test "${enable_notebook+set}" = set; then :
12872 enableval=$enable_notebook;
12873 if test "$enableval" = yes; then
12874 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12876 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12881 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12886 eval "$wx_cv_use_notebook"
12888 if test x"$enablestring" = xdisable; then
12889 if test $wxUSE_NOTEBOOK = no; then
12895 result=$wxUSE_NOTEBOOK
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12899 $as_echo "$result" >&6; }
12903 defaultval=$wxUSE_ALL_FEATURES
12904 if test -z "$defaultval"; then
12905 if test x"$enablestring" = xdisable; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12913 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12914 # Check whether --enable-notifmsg was given.
12915 if test "${enable_notifmsg+set}" = set; then :
12916 enableval=$enable_notifmsg;
12917 if test "$enableval" = yes; then
12918 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12920 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12925 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12930 eval "$wx_cv_use_notifmsg"
12932 if test x
"$enablestring" = xdisable
; then
12933 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12939 result
=$wxUSE_NOTIFICATION_MESSAGE
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12943 $as_echo "$result" >&6; }
12947 defaultval
=$wxUSE_ALL_FEATURES
12948 if test -z "$defaultval"; then
12949 if test x
"$enablestring" = xdisable
; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12957 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12958 # Check whether --enable-odcombobox was given.
12959 if test "${enable_odcombobox+set}" = set; then :
12960 enableval
=$enable_odcombobox;
12961 if test "$enableval" = yes; then
12962 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12964 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12969 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12974 eval "$wx_cv_use_odcombobox"
12976 if test x"$enablestring" = xdisable; then
12977 if test $wxUSE_ODCOMBOBOX = no; then
12983 result=$wxUSE_ODCOMBOBOX
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12987 $as_echo "$result" >&6; }
12991 defaultval=$wxUSE_ALL_FEATURES
12992 if test -z "$defaultval"; then
12993 if test x"$enablestring" = xdisable; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13001 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13002 # Check whether --enable-popupwin was given.
13003 if test "${enable_popupwin+set}" = set; then :
13004 enableval=$enable_popupwin;
13005 if test "$enableval" = yes; then
13006 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
13008 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
13013 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13018 eval "$wx_cv_use_popupwin"
13020 if test x"$enablestring" = xdisable; then
13021 if test $wxUSE_POPUPWIN = no; then
13027 result=$wxUSE_POPUPWIN
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13031 $as_echo "$result" >&6; }
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobox" >&5
13045 $as_echo_n "checking
for --${enablestring:-enable}-radiobox...
" >&6; }
13046 # Check whether --enable-radiobox was given.
13047 if test "${enable_radiobox+set}" = set; then :
13048 enableval=$enable_radiobox;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13052 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13057 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13062 eval "$wx_cv_use_radiobox"
13064 if test x
"$enablestring" = xdisable
; then
13065 if test $wxUSE_RADIOBOX = no
; then
13071 result
=$wxUSE_RADIOBOX
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13075 $as_echo "$result" >&6; }
13079 defaultval
=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x
"$enablestring" = xdisable
; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13089 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13090 # Check whether --enable-radiobtn was given.
13091 if test "${enable_radiobtn+set}" = set; then :
13092 enableval
=$enable_radiobtn;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
13096 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
13101 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13106 eval "$wx_cv_use_radiobtn"
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_RADIOBTN = no; then
13115 result=$wxUSE_RADIOBTN
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13119 $as_echo "$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13133 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13134 # Check whether --enable-richmsgdlg was given.
13135 if test "${enable_richmsgdlg+set}" = set; then :
13136 enableval=$enable_richmsgdlg;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=yes'
13140 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=no
'
13145 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13150 eval "$wx_cv_use_richmsgdlg"
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_RICHMSGDLG = no; then
13159 result=$wxUSE_RICHMSGDLG
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13163 $as_echo "$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtooltip" >&5
13177 $as_echo_n "checking
for --${enablestring:-enable}-richtooltip...
" >&6; }
13178 # Check whether --enable-richtooltip was given.
13179 if test "${enable_richtooltip+set}" = set; then :
13180 enableval=$enable_richtooltip;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13184 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13189 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13194 eval "$wx_cv_use_richtooltip"
13196 if test x
"$enablestring" = xdisable
; then
13197 if test $wxUSE_RICHTOOLTIP = no
; then
13203 result
=$wxUSE_RICHTOOLTIP
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13207 $as_echo "$result" >&6; }
13211 defaultval
=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x
"$enablestring" = xdisable
; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13221 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13222 # Check whether --enable-rearrangectrl was given.
13223 if test "${enable_rearrangectrl+set}" = set; then :
13224 enableval
=$enable_rearrangectrl;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
13228 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
13233 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13238 eval "$wx_cv_use_rearrangectrl"
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_REARRANGECTRL = no; then
13247 result=$wxUSE_REARRANGECTRL
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13251 $as_echo "$result" >&6; }
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13265 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13266 # Check whether --enable-sash was given.
13267 if test "${enable_sash+set}" = set; then :
13268 enableval=$enable_sash;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_sash='wxUSE_SASH
=yes'
13272 wx_cv_use_sash='wxUSE_SASH
=no
'
13277 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13282 eval "$wx_cv_use_sash"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_SASH = no; then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13295 $as_echo "$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-scrollbar" >&5
13309 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
13310 # Check whether --enable-scrollbar was given.
13311 if test "${enable_scrollbar+set}" = set; then :
13312 enableval=$enable_scrollbar;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13316 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13321 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13326 eval "$wx_cv_use_scrollbar"
13328 if test x
"$enablestring" = xdisable
; then
13329 if test $wxUSE_SCROLLBAR = no
; then
13335 result
=$wxUSE_SCROLLBAR
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13339 $as_echo "$result" >&6; }
13343 defaultval
=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x
"$enablestring" = xdisable
; then
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13353 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13354 # Check whether --enable-searchctrl was given.
13355 if test "${enable_searchctrl+set}" = set; then :
13356 enableval
=$enable_searchctrl;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13360 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13365 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13370 eval "$wx_cv_use_searchctrl"
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_SEARCHCTRL = no; then
13379 result=$wxUSE_SEARCHCTRL
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13383 $as_echo "$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13397 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13398 # Check whether --enable-slider was given.
13399 if test "${enable_slider+set}" = set; then :
13400 enableval=$enable_slider;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13404 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13409 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13414 eval "$wx_cv_use_slider"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_SLIDER = no; then
13423 result=$wxUSE_SLIDER
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13427 $as_echo "$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinbtn" >&5
13441 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
13442 # Check whether --enable-spinbtn was given.
13443 if test "${enable_spinbtn+set}" = set; then :
13444 enableval=$enable_spinbtn;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13448 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13453 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13458 eval "$wx_cv_use_spinbtn"
13460 if test x
"$enablestring" = xdisable
; then
13461 if test $wxUSE_SPINBTN = no
; then
13467 result
=$wxUSE_SPINBTN
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13471 $as_echo "$result" >&6; }
13475 defaultval
=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x
"$enablestring" = xdisable
; then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13485 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13486 # Check whether --enable-spinctrl was given.
13487 if test "${enable_spinctrl+set}" = set; then :
13488 enableval
=$enable_spinctrl;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13492 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13497 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13502 eval "$wx_cv_use_spinctrl"
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_SPINCTRL = no; then
13511 result=$wxUSE_SPINCTRL
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13515 $as_echo "$result" >&6; }
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13529 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13530 # Check whether --enable-splitter was given.
13531 if test "${enable_splitter+set}" = set; then :
13532 enableval=$enable_splitter;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13536 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13541 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13546 eval "$wx_cv_use_splitter"
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_SPLITTER = no; then
13555 result=$wxUSE_SPLITTER
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13559 $as_echo "$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbmp" >&5
13573 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
13574 # Check whether --enable-statbmp was given.
13575 if test "${enable_statbmp+set}" = set; then :
13576 enableval=$enable_statbmp;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13580 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13585 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13590 eval "$wx_cv_use_statbmp"
13592 if test x
"$enablestring" = xdisable
; then
13593 if test $wxUSE_STATBMP = no
; then
13599 result
=$wxUSE_STATBMP
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13603 $as_echo "$result" >&6; }
13607 defaultval
=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x
"$enablestring" = xdisable
; then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13617 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13618 # Check whether --enable-statbox was given.
13619 if test "${enable_statbox+set}" = set; then :
13620 enableval
=$enable_statbox;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13624 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13629 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13634 eval "$wx_cv_use_statbox"
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_STATBOX = no; then
13643 result=$wxUSE_STATBOX
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13647 $as_echo "$result" >&6; }
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13661 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13662 # Check whether --enable-statline was given.
13663 if test "${enable_statline+set}" = set; then :
13664 enableval=$enable_statline;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13668 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13673 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13678 eval "$wx_cv_use_statline"
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_STATLINE = no; then
13687 result=$wxUSE_STATLINE
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13691 $as_echo "$result" >&6; }
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stattext" >&5
13705 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
13706 # Check whether --enable-stattext was given.
13707 if test "${enable_stattext+set}" = set; then :
13708 enableval=$enable_stattext;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13712 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13717 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13722 eval "$wx_cv_use_stattext"
13724 if test x
"$enablestring" = xdisable
; then
13725 if test $wxUSE_STATTEXT = no
; then
13731 result
=$wxUSE_STATTEXT
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13735 $as_echo "$result" >&6; }
13739 defaultval
=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x
"$enablestring" = xdisable
; then
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13749 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13750 # Check whether --enable-statusbar was given.
13751 if test "${enable_statusbar+set}" = set; then :
13752 enableval
=$enable_statusbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13756 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13761 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13766 eval "$wx_cv_use_statusbar"
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_STATUSBAR = no; then
13775 result=$wxUSE_STATUSBAR
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13779 $as_echo "$result" >&6; }
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13793 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13794 # Check whether --enable-taskbaricon was given.
13795 if test "${enable_taskbaricon+set}" = set; then :
13796 enableval=$enable_taskbaricon;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13800 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13805 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13810 eval "$wx_cv_use_taskbaricon"
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_TASKBARICON = no; then
13819 result=$wxUSE_TASKBARICON
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13823 $as_echo "$result" >&6; }
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tbarnative" >&5
13837 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
13838 # Check whether --enable-tbarnative was given.
13839 if test "${enable_tbarnative+set}" = set; then :
13840 enableval=$enable_tbarnative;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13844 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13849 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13854 eval "$wx_cv_use_tbarnative"
13856 if test x
"$enablestring" = xdisable
; then
13857 if test $wxUSE_TOOLBAR_NATIVE = no
; then
13863 result
=$wxUSE_TOOLBAR_NATIVE
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13867 $as_echo "$result" >&6; }
13871 defaultval
=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x
"$enablestring" = xdisable
; then
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13881 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13882 # Check whether --enable-textctrl was given.
13883 if test "${enable_textctrl+set}" = set; then :
13884 enableval
=$enable_textctrl;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13888 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13893 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13898 eval "$wx_cv_use_textctrl"
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_TEXTCTRL = no; then
13907 result=$wxUSE_TEXTCTRL
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13911 $as_echo "$result" >&6; }
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13925 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13926 # Check whether --enable-datepick was given.
13927 if test "${enable_datepick+set}" = set; then :
13928 enableval=$enable_datepick;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=yes'
13932 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=no
'
13937 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13942 eval "$wx_cv_use_datepick"
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_TIMEPICKCTRL = no; then
13951 result=$wxUSE_TIMEPICKCTRL
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13955 $as_echo "$result" >&6; }
13959 defaultval=$wxUSE_ALL_FEATURES
13960 if test -z "$defaultval"; then
13961 if test x"$enablestring" = xdisable; then
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipwindow" >&5
13969 $as_echo_n "checking
for --${enablestring:-enable}-tipwindow...
" >&6; }
13970 # Check whether --enable-tipwindow was given.
13971 if test "${enable_tipwindow+set}" = set; then :
13972 enableval=$enable_tipwindow;
13973 if test "$enableval" = yes; then
13974 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13976 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13981 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13986 eval "$wx_cv_use_tipwindow"
13988 if test x
"$enablestring" = xdisable
; then
13989 if test $wxUSE_TIPWINDOW = no
; then
13995 result
=$wxUSE_TIPWINDOW
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13999 $as_echo "$result" >&6; }
14003 defaultval
=$wxUSE_ALL_FEATURES
14004 if test -z "$defaultval"; then
14005 if test x
"$enablestring" = xdisable
; then
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14013 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14014 # Check whether --enable-togglebtn was given.
14015 if test "${enable_togglebtn+set}" = set; then :
14016 enableval
=$enable_togglebtn;
14017 if test "$enableval" = yes; then
14018 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
14020 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
14025 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14030 eval "$wx_cv_use_togglebtn"
14032 if test x"$enablestring" = xdisable; then
14033 if test $wxUSE_TOGGLEBTN = no; then
14039 result=$wxUSE_TOGGLEBTN
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14043 $as_echo "$result" >&6; }
14047 defaultval=$wxUSE_ALL_FEATURES
14048 if test -z "$defaultval"; then
14049 if test x"$enablestring" = xdisable; then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14057 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14058 # Check whether --enable-toolbar was given.
14059 if test "${enable_toolbar+set}" = set; then :
14060 enableval=$enable_toolbar;
14061 if test "$enableval" = yes; then
14062 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
14064 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
14069 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14074 eval "$wx_cv_use_toolbar"
14076 if test x"$enablestring" = xdisable; then
14077 if test $wxUSE_TOOLBAR = no; then
14083 result=$wxUSE_TOOLBAR
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14087 $as_echo "$result" >&6; }
14091 defaultval=$wxUSE_ALL_FEATURES
14092 if test -z "$defaultval"; then
14093 if test x"$enablestring" = xdisable; then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbook" >&5
14101 $as_echo_n "checking
for --${enablestring:-enable}-toolbook...
" >&6; }
14102 # Check whether --enable-toolbook was given.
14103 if test "${enable_toolbook+set}" = set; then :
14104 enableval=$enable_toolbook;
14105 if test "$enableval" = yes; then
14106 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14108 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14113 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14118 eval "$wx_cv_use_toolbook"
14120 if test x
"$enablestring" = xdisable
; then
14121 if test $wxUSE_TOOLBOOK = no
; then
14127 result
=$wxUSE_TOOLBOOK
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14131 $as_echo "$result" >&6; }
14135 defaultval
=$wxUSE_ALL_FEATURES
14136 if test -z "$defaultval"; then
14137 if test x
"$enablestring" = xdisable
; then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14145 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14146 # Check whether --enable-treebook was given.
14147 if test "${enable_treebook+set}" = set; then :
14148 enableval
=$enable_treebook;
14149 if test "$enableval" = yes; then
14150 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
14152 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
14157 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14162 eval "$wx_cv_use_treebook"
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_TREEBOOK = no; then
14171 result=$wxUSE_TREEBOOK
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14175 $as_echo "$result" >&6; }
14179 defaultval=$wxUSE_ALL_FEATURES
14180 if test -z "$defaultval"; then
14181 if test x"$enablestring" = xdisable; then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14189 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14190 # Check whether --enable-treectrl was given.
14191 if test "${enable_treectrl+set}" = set; then :
14192 enableval=$enable_treectrl;
14193 if test "$enableval" = yes; then
14194 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14196 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14201 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14206 eval "$wx_cv_use_treectrl"
14208 if test x"$enablestring" = xdisable; then
14209 if test $wxUSE_TREECTRL = no; then
14215 result=$wxUSE_TREECTRL
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14219 $as_echo "$result" >&6; }
14223 defaultval=$wxUSE_ALL_FEATURES
14224 if test -z "$defaultval"; then
14225 if test x"$enablestring" = xdisable; then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treelist" >&5
14233 $as_echo_n "checking
for --${enablestring:-enable}-treelist...
" >&6; }
14234 # Check whether --enable-treelist was given.
14235 if test "${enable_treelist+set}" = set; then :
14236 enableval=$enable_treelist;
14237 if test "$enableval" = yes; then
14238 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14240 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14245 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14250 eval "$wx_cv_use_treelist"
14252 if test x
"$enablestring" = xdisable
; then
14253 if test $wxUSE_TREELISTCTRL = no
; then
14259 result
=$wxUSE_TREELISTCTRL
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14263 $as_echo "$result" >&6; }
14269 defaultval
=$wxUSE_ALL_FEATURES
14270 if test -z "$defaultval"; then
14271 if test x
"$enablestring" = xdisable
; then
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14279 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14280 # Check whether --enable-commondlg was given.
14281 if test "${enable_commondlg+set}" = set; then :
14282 enableval
=$enable_commondlg;
14283 if test "$enableval" = yes; then
14284 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14286 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14291 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14296 eval "$wx_cv_use_commondlg"
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_COMMONDLGS = no; then
14305 result=$wxUSE_COMMONDLGS
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14309 $as_echo "$result" >&6; }
14313 defaultval=$wxUSE_ALL_FEATURES
14314 if test -z "$defaultval"; then
14315 if test x"$enablestring" = xdisable; then
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14323 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14324 # Check whether --enable-aboutdlg was given.
14325 if test "${enable_aboutdlg+set}" = set; then :
14326 enableval=$enable_aboutdlg;
14327 if test "$enableval" = yes; then
14328 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14330 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14335 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14340 eval "$wx_cv_use_aboutdlg"
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_ABOUTDLG = no; then
14349 result=$wxUSE_ABOUTDLG
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14353 $as_echo "$result" >&6; }
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicedlg" >&5
14367 $as_echo_n "checking
for --${enablestring:-enable}-choicedlg...
" >&6; }
14368 # Check whether --enable-choicedlg was given.
14369 if test "${enable_choicedlg+set}" = set; then :
14370 enableval=$enable_choicedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14374 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14379 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14384 eval "$wx_cv_use_choicedlg"
14386 if test x
"$enablestring" = xdisable
; then
14387 if test $wxUSE_CHOICEDLG = no
; then
14393 result
=$wxUSE_CHOICEDLG
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14397 $as_echo "$result" >&6; }
14401 defaultval
=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x
"$enablestring" = xdisable
; then
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14411 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14412 # Check whether --enable-coldlg was given.
14413 if test "${enable_coldlg+set}" = set; then :
14414 enableval
=$enable_coldlg;
14415 if test "$enableval" = yes; then
14416 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14418 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14423 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14428 eval "$wx_cv_use_coldlg"
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_COLOURDLG = no; then
14437 result=$wxUSE_COLOURDLG
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14441 $as_echo "$result" >&6; }
14445 defaultval=$wxUSE_ALL_FEATURES
14446 if test -z "$defaultval"; then
14447 if test x"$enablestring" = xdisable; then
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14455 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14456 # Check whether --enable-filedlg was given.
14457 if test "${enable_filedlg+set}" = set; then :
14458 enableval=$enable_filedlg;
14459 if test "$enableval" = yes; then
14460 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14462 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14467 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14472 eval "$wx_cv_use_filedlg"
14474 if test x"$enablestring" = xdisable; then
14475 if test $wxUSE_FILEDLG = no; then
14481 result=$wxUSE_FILEDLG
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14485 $as_echo "$result" >&6; }
14489 defaultval=$wxUSE_ALL_FEATURES
14490 if test -z "$defaultval"; then
14491 if test x"$enablestring" = xdisable; then
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-finddlg" >&5
14499 $as_echo_n "checking
for --${enablestring:-enable}-finddlg...
" >&6; }
14500 # Check whether --enable-finddlg was given.
14501 if test "${enable_finddlg+set}" = set; then :
14502 enableval=$enable_finddlg;
14503 if test "$enableval" = yes; then
14504 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14506 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14511 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14516 eval "$wx_cv_use_finddlg"
14518 if test x
"$enablestring" = xdisable
; then
14519 if test $wxUSE_FINDREPLDLG = no
; then
14525 result
=$wxUSE_FINDREPLDLG
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14529 $as_echo "$result" >&6; }
14533 defaultval
=$wxUSE_ALL_FEATURES
14534 if test -z "$defaultval"; then
14535 if test x
"$enablestring" = xdisable
; then
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14543 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14544 # Check whether --enable-fontdlg was given.
14545 if test "${enable_fontdlg+set}" = set; then :
14546 enableval
=$enable_fontdlg;
14547 if test "$enableval" = yes; then
14548 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14550 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14555 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14560 eval "$wx_cv_use_fontdlg"
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_FONTDLG = no; then
14569 result=$wxUSE_FONTDLG
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14573 $as_echo "$result" >&6; }
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14587 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14588 # Check whether --enable-dirdlg was given.
14589 if test "${enable_dirdlg+set}" = set; then :
14590 enableval=$enable_dirdlg;
14591 if test "$enableval" = yes; then
14592 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14594 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14599 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14604 eval "$wx_cv_use_dirdlg"
14606 if test x"$enablestring" = xdisable; then
14607 if test $wxUSE_DIRDLG = no; then
14613 result=$wxUSE_DIRDLG
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14617 $as_echo "$result" >&6; }
14621 defaultval=$wxUSE_ALL_FEATURES
14622 if test -z "$defaultval"; then
14623 if test x"$enablestring" = xdisable; then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-msgdlg" >&5
14631 $as_echo_n "checking
for --${enablestring:-enable}-msgdlg...
" >&6; }
14632 # Check whether --enable-msgdlg was given.
14633 if test "${enable_msgdlg+set}" = set; then :
14634 enableval=$enable_msgdlg;
14635 if test "$enableval" = yes; then
14636 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14638 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14643 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14648 eval "$wx_cv_use_msgdlg"
14650 if test x
"$enablestring" = xdisable
; then
14651 if test $wxUSE_MSGDLG = no
; then
14657 result
=$wxUSE_MSGDLG
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14661 $as_echo "$result" >&6; }
14665 defaultval
=$wxUSE_ALL_FEATURES
14666 if test -z "$defaultval"; then
14667 if test x
"$enablestring" = xdisable
; then
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14675 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14676 # Check whether --enable-numberdlg was given.
14677 if test "${enable_numberdlg+set}" = set; then :
14678 enableval
=$enable_numberdlg;
14679 if test "$enableval" = yes; then
14680 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14682 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14687 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14692 eval "$wx_cv_use_numberdlg"
14694 if test x"$enablestring" = xdisable; then
14695 if test $wxUSE_NUMBERDLG = no; then
14701 result=$wxUSE_NUMBERDLG
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14705 $as_echo "$result" >&6; }
14709 defaultval=$wxUSE_ALL_FEATURES
14710 if test -z "$defaultval"; then
14711 if test x"$enablestring" = xdisable; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14719 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14720 # Check whether --enable-splash was given.
14721 if test "${enable_splash+set}" = set; then :
14722 enableval=$enable_splash;
14723 if test "$enableval" = yes; then
14724 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14726 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14731 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14736 eval "$wx_cv_use_splash"
14738 if test x"$enablestring" = xdisable; then
14739 if test $wxUSE_SPLASH = no; then
14745 result=$wxUSE_SPLASH
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14749 $as_echo "$result" >&6; }
14753 defaultval=$wxUSE_ALL_FEATURES
14754 if test -z "$defaultval"; then
14755 if test x"$enablestring" = xdisable; then
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textdlg" >&5
14763 $as_echo_n "checking
for --${enablestring:-enable}-textdlg...
" >&6; }
14764 # Check whether --enable-textdlg was given.
14765 if test "${enable_textdlg+set}" = set; then :
14766 enableval=$enable_textdlg;
14767 if test "$enableval" = yes; then
14768 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14770 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14775 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14780 eval "$wx_cv_use_textdlg"
14782 if test x
"$enablestring" = xdisable
; then
14783 if test $wxUSE_TEXTDLG = no
; then
14789 result
=$wxUSE_TEXTDLG
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14793 $as_echo "$result" >&6; }
14797 defaultval
=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x
"$enablestring" = xdisable
; then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14807 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14808 # Check whether --enable-tipdlg was given.
14809 if test "${enable_tipdlg+set}" = set; then :
14810 enableval
=$enable_tipdlg;
14811 if test "$enableval" = yes; then
14812 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14814 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14819 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14824 eval "$wx_cv_use_tipdlg"
14826 if test x"$enablestring" = xdisable; then
14827 if test $wxUSE_STARTUP_TIPS = no; then
14833 result=$wxUSE_STARTUP_TIPS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14837 $as_echo "$result" >&6; }
14841 defaultval=$wxUSE_ALL_FEATURES
14842 if test -z "$defaultval"; then
14843 if test x"$enablestring" = xdisable; then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14851 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14852 # Check whether --enable-progressdlg was given.
14853 if test "${enable_progressdlg+set}" = set; then :
14854 enableval=$enable_progressdlg;
14855 if test "$enableval" = yes; then
14856 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14858 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14863 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14868 eval "$wx_cv_use_progressdlg"
14870 if test x"$enablestring" = xdisable; then
14871 if test $wxUSE_PROGRESSDLG = no; then
14877 result=$wxUSE_PROGRESSDLG
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14881 $as_echo "$result" >&6; }
14885 defaultval=$wxUSE_ALL_FEATURES
14886 if test -z "$defaultval"; then
14887 if test x"$enablestring" = xdisable; then
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wizarddlg" >&5
14895 $as_echo_n "checking
for --${enablestring:-enable}-wizarddlg...
" >&6; }
14896 # Check whether --enable-wizarddlg was given.
14897 if test "${enable_wizarddlg+set}" = set; then :
14898 enableval=$enable_wizarddlg;
14899 if test "$enableval" = yes; then
14900 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14902 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14907 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14912 eval "$wx_cv_use_wizarddlg"
14914 if test x
"$enablestring" = xdisable
; then
14915 if test $wxUSE_WIZARDDLG = no
; then
14921 result
=$wxUSE_WIZARDDLG
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14925 $as_echo "$result" >&6; }
14931 defaultval
=$wxUSE_ALL_FEATURES
14932 if test -z "$defaultval"; then
14933 if test x
"$enablestring" = xdisable
; then
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14941 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14942 # Check whether --enable-menus was given.
14943 if test "${enable_menus+set}" = set; then :
14944 enableval
=$enable_menus;
14945 if test "$enableval" = yes; then
14946 wx_cv_use_menus
='wxUSE_MENUS=yes'
14948 wx_cv_use_menus
='wxUSE_MENUS=no'
14953 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14958 eval "$wx_cv_use_menus"
14960 if test x"$enablestring" = xdisable; then
14961 if test $wxUSE_MENUS = no; then
14967 result=$wxUSE_MENUS
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14971 $as_echo "$result" >&6; }
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14985 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14986 # Check whether --enable-miniframe was given.
14987 if test "${enable_miniframe+set}" = set; then :
14988 enableval=$enable_miniframe;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14992 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
14997 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15002 eval "$wx_cv_use_miniframe"
15004 if test x"$enablestring" = xdisable; then
15005 if test $wxUSE_MINIFRAME = no; then
15011 result=$wxUSE_MINIFRAME
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15015 $as_echo "$result" >&6; }
15019 defaultval=$wxUSE_ALL_FEATURES
15020 if test -z "$defaultval"; then
15021 if test x"$enablestring" = xdisable; then
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tooltips" >&5
15029 $as_echo_n "checking
for --${enablestring:-enable}-tooltips...
" >&6; }
15030 # Check whether --enable-tooltips was given.
15031 if test "${enable_tooltips+set}" = set; then :
15032 enableval=$enable_tooltips;
15033 if test "$enableval" = yes; then
15034 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15036 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15041 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15046 eval "$wx_cv_use_tooltips"
15048 if test x
"$enablestring" = xdisable
; then
15049 if test $wxUSE_TOOLTIPS = no
; then
15055 result
=$wxUSE_TOOLTIPS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15059 $as_echo "$result" >&6; }
15063 defaultval
=$wxUSE_ALL_FEATURES
15064 if test -z "$defaultval"; then
15065 if test x
"$enablestring" = xdisable
; then
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15073 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15074 # Check whether --enable-splines was given.
15075 if test "${enable_splines+set}" = set; then :
15076 enableval
=$enable_splines;
15077 if test "$enableval" = yes; then
15078 wx_cv_use_splines
='wxUSE_SPLINES=yes'
15080 wx_cv_use_splines
='wxUSE_SPLINES=no'
15085 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15090 eval "$wx_cv_use_splines"
15092 if test x"$enablestring" = xdisable; then
15093 if test $wxUSE_SPLINES = no; then
15099 result=$wxUSE_SPLINES
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15103 $as_echo "$result" >&6; }
15107 defaultval=$wxUSE_ALL_FEATURES
15108 if test -z "$defaultval"; then
15109 if test x"$enablestring" = xdisable; then
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15117 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15118 # Check whether --enable-mousewheel was given.
15119 if test "${enable_mousewheel+set}" = set; then :
15120 enableval=$enable_mousewheel;
15121 if test "$enableval" = yes; then
15122 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15124 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15129 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15134 eval "$wx_cv_use_mousewheel"
15136 if test x"$enablestring" = xdisable; then
15137 if test $wxUSE_MOUSEWHEEL = no; then
15143 result=$wxUSE_MOUSEWHEEL
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15147 $as_echo "$result" >&6; }
15151 defaultval=$wxUSE_ALL_FEATURES
15152 if test -z "$defaultval"; then
15153 if test x"$enablestring" = xdisable; then
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-validators" >&5
15161 $as_echo_n "checking
for --${enablestring:-enable}-validators...
" >&6; }
15162 # Check whether --enable-validators was given.
15163 if test "${enable_validators+set}" = set; then :
15164 enableval=$enable_validators;
15165 if test "$enableval" = yes; then
15166 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15168 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15173 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15178 eval "$wx_cv_use_validators"
15180 if test x
"$enablestring" = xdisable
; then
15181 if test $wxUSE_VALIDATORS = no
; then
15187 result
=$wxUSE_VALIDATORS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15191 $as_echo "$result" >&6; }
15195 defaultval
=$wxUSE_ALL_FEATURES
15196 if test -z "$defaultval"; then
15197 if test x
"$enablestring" = xdisable
; then
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15205 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15206 # Check whether --enable-busyinfo was given.
15207 if test "${enable_busyinfo+set}" = set; then :
15208 enableval
=$enable_busyinfo;
15209 if test "$enableval" = yes; then
15210 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15212 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15217 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15222 eval "$wx_cv_use_busyinfo"
15224 if test x"$enablestring" = xdisable; then
15225 if test $wxUSE_BUSYINFO = no; then
15231 result=$wxUSE_BUSYINFO
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15235 $as_echo "$result" >&6; }
15239 defaultval=$wxUSE_ALL_FEATURES
15240 if test -z "$defaultval"; then
15241 if test x"$enablestring" = xdisable; then
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15249 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15250 # Check whether --enable-hotkey was given.
15251 if test "${enable_hotkey+set}" = set; then :
15252 enableval=$enable_hotkey;
15253 if test "$enableval" = yes; then
15254 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
15256 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
15261 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15266 eval "$wx_cv_use_hotkey"
15268 if test x"$enablestring" = xdisable; then
15269 if test $wxUSE_HOTKEY = no; then
15275 result=$wxUSE_HOTKEY
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15279 $as_echo "$result" >&6; }
15283 defaultval=$wxUSE_ALL_FEATURES
15284 if test -z "$defaultval"; then
15285 if test x"$enablestring" = xdisable; then
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-joystick" >&5
15293 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
15294 # Check whether --enable-joystick was given.
15295 if test "${enable_joystick+set}" = set; then :
15296 enableval=$enable_joystick;
15297 if test "$enableval" = yes; then
15298 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15300 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15305 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15310 eval "$wx_cv_use_joystick"
15312 if test x
"$enablestring" = xdisable
; then
15313 if test $wxUSE_JOYSTICK = no
; then
15319 result
=$wxUSE_JOYSTICK
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15323 $as_echo "$result" >&6; }
15327 defaultval
=$wxUSE_ALL_FEATURES
15328 if test -z "$defaultval"; then
15329 if test x
"$enablestring" = xdisable
; then
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15337 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15338 # Check whether --enable-metafile was given.
15339 if test "${enable_metafile+set}" = set; then :
15340 enableval
=$enable_metafile;
15341 if test "$enableval" = yes; then
15342 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15344 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15349 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15354 eval "$wx_cv_use_metafile"
15356 if test x"$enablestring" = xdisable; then
15357 if test $wxUSE_METAFILE = no; then
15363 result=$wxUSE_METAFILE
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15367 $as_echo "$result" >&6; }
15371 defaultval=$wxUSE_ALL_FEATURES
15372 if test -z "$defaultval"; then
15373 if test x"$enablestring" = xdisable; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15381 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15382 # Check whether --enable-dragimage was given.
15383 if test "${enable_dragimage+set}" = set; then :
15384 enableval=$enable_dragimage;
15385 if test "$enableval" = yes; then
15386 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15388 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15393 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15398 eval "$wx_cv_use_dragimage"
15400 if test x"$enablestring" = xdisable; then
15401 if test $wxUSE_DRAGIMAGE = no; then
15407 result=$wxUSE_DRAGIMAGE
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15411 $as_echo "$result" >&6; }
15415 defaultval=$wxUSE_ALL_FEATURES
15416 if test -z "$defaultval"; then
15417 if test x"$enablestring" = xdisable; then
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accessibility" >&5
15425 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
15426 # Check whether --enable-accessibility was given.
15427 if test "${enable_accessibility+set}" = set; then :
15428 enableval=$enable_accessibility;
15429 if test "$enableval" = yes; then
15430 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15432 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15442 eval "$wx_cv_use_accessibility"
15444 if test x
"$enablestring" = xdisable
; then
15445 if test $wxUSE_ACCESSIBILITY = no
; then
15451 result
=$wxUSE_ACCESSIBILITY
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15455 $as_echo "$result" >&6; }
15459 defaultval
=$wxUSE_ALL_FEATURES
15460 if test -z "$defaultval"; then
15461 if test x
"$enablestring" = xdisable
; then
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15469 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15470 # Check whether --enable-uiactionsim was given.
15471 if test "${enable_uiactionsim+set}" = set; then :
15472 enableval
=$enable_uiactionsim;
15473 if test "$enableval" = yes; then
15474 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
15476 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
15481 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15486 eval "$wx_cv_use_uiactionsim"
15488 if test x"$enablestring" = xdisable; then
15489 if test $wxUSE_UIACTIONSIMULATOR = no; then
15495 result=$wxUSE_UIACTIONSIMULATOR
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15499 $as_echo "$result" >&6; }
15503 defaultval=$wxUSE_ALL_FEATURES
15504 if test -z "$defaultval"; then
15505 if test x"$enablestring" = xdisable; then
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15513 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15514 # Check whether --enable-dctransform was given.
15515 if test "${enable_dctransform+set}" = set; then :
15516 enableval=$enable_dctransform;
15517 if test "$enableval" = yes; then
15518 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
15520 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
15525 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15530 eval "$wx_cv_use_dctransform"
15532 if test x"$enablestring" = xdisable; then
15533 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15539 result=$wxUSE_DC_TRANSFORM_MATRIX
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15543 $as_echo "$result" >&6; }
15547 defaultval=$wxUSE_ALL_FEATURES
15548 if test -z "$defaultval"; then
15549 if test x"$enablestring" = xdisable; then
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewwebkit" >&5
15557 $as_echo_n "checking
for --${enablestring:-enable}-webviewwebkit...
" >&6; }
15558 # Check whether --enable-webviewwebkit was given.
15559 if test "${enable_webviewwebkit+set}" = set; then :
15560 enableval=$enable_webviewwebkit;
15561 if test "$enableval" = yes; then
15562 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15564 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15569 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15574 eval "$wx_cv_use_webviewwebkit"
15576 if test x
"$enablestring" = xdisable
; then
15577 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
15583 result
=$wxUSE_WEBVIEW_WEBKIT
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15587 $as_echo "$result" >&6; }
15593 defaultval
=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x
"$enablestring" = xdisable
; then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15603 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then :
15606 enableval
=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15610 wx_cv_use_palette
='wxUSE_PALETTE=no'
15615 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15620 eval "$wx_cv_use_palette"
15622 if test x"$enablestring" = xdisable; then
15623 if test $wxUSE_PALETTE = no; then
15629 result=$wxUSE_PALETTE
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15633 $as_echo "$result" >&6; }
15637 defaultval=$wxUSE_ALL_FEATURES
15638 if test -z "$defaultval"; then
15639 if test x"$enablestring" = xdisable; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15647 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15648 # Check whether --enable-image was given.
15649 if test "${enable_image+set}" = set; then :
15650 enableval=$enable_image;
15651 if test "$enableval" = yes; then
15652 wx_cv_use_image='wxUSE_IMAGE
=yes'
15654 wx_cv_use_image='wxUSE_IMAGE
=no
'
15659 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15664 eval "$wx_cv_use_image"
15666 if test x"$enablestring" = xdisable; then
15667 if test $wxUSE_IMAGE = no; then
15673 result=$wxUSE_IMAGE
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15677 $as_echo "$result" >&6; }
15681 defaultval=$wxUSE_ALL_FEATURES
15682 if test -z "$defaultval"; then
15683 if test x"$enablestring" = xdisable; then
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gif" >&5
15691 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
15692 # Check whether --enable-gif was given.
15693 if test "${enable_gif+set}" = set; then :
15694 enableval=$enable_gif;
15695 if test "$enableval" = yes; then
15696 wx_cv_use_gif='wxUSE_GIF=yes'
15698 wx_cv_use_gif='wxUSE_GIF=no'
15703 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15708 eval "$wx_cv_use_gif"
15710 if test x
"$enablestring" = xdisable
; then
15711 if test $wxUSE_GIF = no
; then
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15721 $as_echo "$result" >&6; }
15725 defaultval
=$wxUSE_ALL_FEATURES
15726 if test -z "$defaultval"; then
15727 if test x
"$enablestring" = xdisable
; then
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15735 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15736 # Check whether --enable-pcx was given.
15737 if test "${enable_pcx+set}" = set; then :
15738 enableval
=$enable_pcx;
15739 if test "$enableval" = yes; then
15740 wx_cv_use_pcx
='wxUSE_PCX=yes'
15742 wx_cv_use_pcx
='wxUSE_PCX=no'
15747 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15752 eval "$wx_cv_use_pcx"
15754 if test x"$enablestring" = xdisable; then
15755 if test $wxUSE_PCX = no; then
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15765 $as_echo "$result" >&6; }
15769 defaultval=$wxUSE_ALL_FEATURES
15770 if test -z "$defaultval"; then
15771 if test x"$enablestring" = xdisable; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15779 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15780 # Check whether --enable-tga was given.
15781 if test "${enable_tga+set}" = set; then :
15782 enableval=$enable_tga;
15783 if test "$enableval" = yes; then
15784 wx_cv_use_tga='wxUSE_TGA
=yes'
15786 wx_cv_use_tga='wxUSE_TGA
=no
'
15791 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15796 eval "$wx_cv_use_tga"
15798 if test x"$enablestring" = xdisable; then
15799 if test $wxUSE_TGA = no; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15809 $as_echo "$result" >&6; }
15813 defaultval=$wxUSE_ALL_FEATURES
15814 if test -z "$defaultval"; then
15815 if test x"$enablestring" = xdisable; then
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iff" >&5
15823 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
15824 # Check whether --enable-iff was given.
15825 if test "${enable_iff+set}" = set; then :
15826 enableval=$enable_iff;
15827 if test "$enableval" = yes; then
15828 wx_cv_use_iff='wxUSE_IFF=yes'
15830 wx_cv_use_iff='wxUSE_IFF=no'
15835 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15840 eval "$wx_cv_use_iff"
15842 if test x
"$enablestring" = xdisable
; then
15843 if test $wxUSE_IFF = no
; then
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15853 $as_echo "$result" >&6; }
15857 defaultval
=$wxUSE_ALL_FEATURES
15858 if test -z "$defaultval"; then
15859 if test x
"$enablestring" = xdisable
; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15867 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15868 # Check whether --enable-pnm was given.
15869 if test "${enable_pnm+set}" = set; then :
15870 enableval
=$enable_pnm;
15871 if test "$enableval" = yes; then
15872 wx_cv_use_pnm
='wxUSE_PNM=yes'
15874 wx_cv_use_pnm
='wxUSE_PNM=no'
15879 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15884 eval "$wx_cv_use_pnm"
15886 if test x"$enablestring" = xdisable; then
15887 if test $wxUSE_PNM = no; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15897 $as_echo "$result" >&6; }
15901 defaultval=$wxUSE_ALL_FEATURES
15902 if test -z "$defaultval"; then
15903 if test x"$enablestring" = xdisable; then
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15911 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15912 # Check whether --enable-xpm was given.
15913 if test "${enable_xpm+set}" = set; then :
15914 enableval=$enable_xpm;
15915 if test "$enableval" = yes; then
15916 wx_cv_use_xpm='wxUSE_XPM
=yes'
15918 wx_cv_use_xpm='wxUSE_XPM
=no
'
15923 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15928 eval "$wx_cv_use_xpm"
15930 if test x"$enablestring" = xdisable; then
15931 if test $wxUSE_XPM = no; then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15941 $as_echo "$result" >&6; }
15945 defaultval=$wxUSE_ALL_FEATURES
15946 if test -z "$defaultval"; then
15947 if test x"$enablestring" = xdisable; then
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ico_cur" >&5
15955 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
15956 # Check whether --enable-ico_cur was given.
15957 if test "${enable_ico_cur+set}" = set; then :
15958 enableval=$enable_ico_cur;
15959 if test "$enableval" = yes; then
15960 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15962 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15967 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15972 eval "$wx_cv_use_ico_cur"
15974 if test x
"$enablestring" = xdisable
; then
15975 if test $wxUSE_ICO_CUR = no
; then
15981 result
=$wxUSE_ICO_CUR
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15985 $as_echo "$result" >&6; }
15991 defaultval
=$wxUSE_ALL_FEATURES
15992 if test -z "$defaultval"; then
15993 if test x
"$enablestring" = xdisable
; then
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16001 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16002 # Check whether --enable-dccache was given.
16003 if test "${enable_dccache+set}" = set; then :
16004 enableval
=$enable_dccache;
16005 if test "$enableval" = yes; then
16006 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16008 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16013 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16018 eval "$wx_cv_use_dccache"
16020 if test x"$enablestring" = xdisable; then
16021 if test $wxUSE_DC_CACHEING = no; then
16027 result=$wxUSE_DC_CACHEING
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16031 $as_echo "$result" >&6; }
16035 defaultval=$wxUSE_ALL_FEATURES
16036 if test -z "$defaultval"; then
16037 if test x"$enablestring" = xdisable; then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16045 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16046 # Check whether --enable-ps-in-msw was given.
16047 if test "${enable_ps_in_msw+set}" = set; then :
16048 enableval=$enable_ps_in_msw;
16049 if test "$enableval" = yes; then
16050 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16052 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16057 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16062 eval "$wx_cv_use_ps_in_msw"
16064 if test x"$enablestring" = xdisable; then
16065 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16071 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16075 $as_echo "$result" >&6; }
16079 defaultval=$wxUSE_ALL_FEATURES
16080 if test -z "$defaultval"; then
16081 if test x"$enablestring" = xdisable; then
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16089 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
16090 # Check whether --enable-ownerdrawn was given.
16091 if test "${enable_ownerdrawn+set}" = set; then :
16092 enableval=$enable_ownerdrawn;
16093 if test "$enableval" = yes; then
16094 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16096 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16101 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16106 eval "$wx_cv_use_ownerdrawn"
16108 if test x
"$enablestring" = xdisable
; then
16109 if test $wxUSE_OWNER_DRAWN = no
; then
16115 result
=$wxUSE_OWNER_DRAWN
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16119 $as_echo "$result" >&6; }
16123 defaultval
=$wxUSE_ALL_FEATURES
16124 if test -z "$defaultval"; then
16125 if test x
"$enablestring" = xdisable
; then
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16133 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16134 # Check whether --enable-uxtheme was given.
16135 if test "${enable_uxtheme+set}" = set; then :
16136 enableval
=$enable_uxtheme;
16137 if test "$enableval" = yes; then
16138 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16140 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16145 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16150 eval "$wx_cv_use_uxtheme"
16152 if test x"$enablestring" = xdisable; then
16153 if test $wxUSE_UXTHEME = no; then
16159 result=$wxUSE_UXTHEME
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16163 $as_echo "$result" >&6; }
16167 defaultval=$wxUSE_ALL_FEATURES
16168 if test -z "$defaultval"; then
16169 if test x"$enablestring" = xdisable; then
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16177 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16178 # Check whether --enable-wxdib was given.
16179 if test "${enable_wxdib+set}" = set; then :
16180 enableval=$enable_wxdib;
16181 if test "$enableval" = yes; then
16182 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16184 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16189 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16194 eval "$wx_cv_use_wxdib"
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_DIB = no; then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16207 $as_echo "$result" >&6; }
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewie" >&5
16221 $as_echo_n "checking
for --${enablestring:-enable}-webviewie...
" >&6; }
16222 # Check whether --enable-webviewie was given.
16223 if test "${enable_webviewie+set}" = set; then :
16224 enableval=$enable_webviewie;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16228 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16233 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16238 eval "$wx_cv_use_webviewie"
16240 if test x
"$enablestring" = xdisable
; then
16241 if test $wxUSE_WEBVIEW_IE = no
; then
16247 result
=$wxUSE_WEBVIEW_IE
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16251 $as_echo "$result" >&6; }
16254 if test "$wxUSE_MSW" != 1; then
16255 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
16260 defaultval
=$wxUSE_ALL_FEATURES
16261 if test -z "$defaultval"; then
16262 if test x
"$enablestring" = xdisable
; then
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16270 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16271 # Check whether --enable-autoidman was given.
16272 if test "${enable_autoidman+set}" = set; then :
16273 enableval
=$enable_autoidman;
16274 if test "$enableval" = yes; then
16275 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
16277 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
16282 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16287 eval "$wx_cv_use_autoidman"
16289 if test x"$enablestring" = xdisable; then
16290 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16296 result=$wxUSE_AUTOID_MANAGEMENT
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16300 $as_echo "$result" >&6; }
16306 cat >confcache <<\_ACEOF
16307 # This file is a shell script that caches the results of configure
16308 # tests run on this system so they can be shared between configure
16309 # scripts and configure runs, see configure's option
--config-cache.
16310 # It is not useful on other systems. If it contains results you don't
16311 # want to keep, you may remove or edit it.
16313 # config.status only pays attention to the cache file if you give it
16314 # the --recheck option to rerun configure.
16316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16318 # following values.
16322 # The following way of writing the cache mishandles newlines in values,
16323 # but we know of no workaround that is simple, portable, and efficient.
16324 # So, we kill variables containing newlines.
16325 # Ultrix sh set writes to stderr and can't be redirected directly,
16326 # and sets the high bit in the cache file unless we assign to the vars.
16328 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16329 eval ac_val
=\$
$ac_var
16333 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16337 _
| IFS
| as_nl
) ;; #(
16338 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16339 *) { eval $ac_var=; unset $ac_var;} ;;
16345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16346 *${as_nl}ac_space
=\
*)
16347 # `set' does not quote correctly, so add quotes: double-quote
16348 # substitution turns \\\\ into \\, and sed turns \\ into \.
16351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16354 # `set' quotes correctly as required by POSIX, so do not add quotes.
16355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16368 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16369 if test -w "$cache_file"; then
16370 if test "x$cache_file" != "x/dev/null"; then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16372 $as_echo "$as_me: updating cache $cache_file" >&6;}
16373 if test ! -f "$cache_file" || test -h "$cache_file"; then
16374 cat confcache
>"$cache_file"
16376 case $cache_file in #(
16378 mv -f confcache
"$cache_file"$$
&&
16379 mv -f "$cache_file"$$
"$cache_file" ;; #(
16381 mv -f confcache
"$cache_file" ;;
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16387 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16394 ac_cpp
='$CPP $CPPFLAGS'
16395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16398 if test -n "$ac_tool_prefix"; then
16399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16400 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16402 $as_echo_n "checking for $ac_word... " >&6; }
16403 if ${ac_cv_prog_CC+:} false
; then :
16404 $as_echo_n "(cached) " >&6
16406 if test -n "$CC"; then
16407 ac_cv_prog_CC
="$CC" # Let the user override the test.
16409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16410 for as_dir
in $PATH
16413 test -z "$as_dir" && as_dir
=.
16414 for ac_exec_ext
in '' $ac_executable_extensions; do
16415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16416 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16427 if test -n "$CC"; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16429 $as_echo "$CC" >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16432 $as_echo "no" >&6; }
16437 if test -z "$ac_cv_prog_CC"; then
16439 # Extract the first word of "gcc", so it can be a program name with args.
16440 set dummy gcc
; ac_word
=$2
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16442 $as_echo_n "checking for $ac_word... " >&6; }
16443 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16444 $as_echo_n "(cached) " >&6
16446 if test -n "$ac_ct_CC"; then
16447 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16450 for as_dir
in $PATH
16453 test -z "$as_dir" && as_dir
=.
16454 for ac_exec_ext
in '' $ac_executable_extensions; do
16455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16456 ac_cv_prog_ac_ct_CC
="gcc"
16457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16466 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16467 if test -n "$ac_ct_CC"; then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16469 $as_echo "$ac_ct_CC" >&6; }
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16472 $as_echo "no" >&6; }
16475 if test "x$ac_ct_CC" = x
; then
16478 case $cross_compiling:$ac_tool_warned in
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16482 ac_tool_warned
=yes ;;
16487 CC
="$ac_cv_prog_CC"
16490 if test -z "$CC"; then
16491 if test -n "$ac_tool_prefix"; then
16492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16493 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16495 $as_echo_n "checking for $ac_word... " >&6; }
16496 if ${ac_cv_prog_CC+:} false
; then :
16497 $as_echo_n "(cached) " >&6
16499 if test -n "$CC"; then
16500 ac_cv_prog_CC
="$CC" # Let the user override the test.
16502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16503 for as_dir
in $PATH
16506 test -z "$as_dir" && as_dir
=.
16507 for ac_exec_ext
in '' $ac_executable_extensions; do
16508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16509 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16520 if test -n "$CC"; then
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16522 $as_echo "$CC" >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16525 $as_echo "no" >&6; }
16531 if test -z "$CC"; then
16532 # Extract the first word of "cc", so it can be a program name with args.
16533 set dummy cc
; ac_word
=$2
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16535 $as_echo_n "checking for $ac_word... " >&6; }
16536 if ${ac_cv_prog_CC+:} false
; then :
16537 $as_echo_n "(cached) " >&6
16539 if test -n "$CC"; then
16540 ac_cv_prog_CC
="$CC" # Let the user override the test.
16542 ac_prog_rejected
=no
16543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16544 for as_dir
in $PATH
16547 test -z "$as_dir" && as_dir
=.
16548 for ac_exec_ext
in '' $ac_executable_extensions; do
16549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16551 ac_prog_rejected
=yes
16555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16562 if test $ac_prog_rejected = yes; then
16563 # We found a bogon in the path, so make sure we never use it.
16564 set dummy
$ac_cv_prog_CC
16566 if test $# != 0; then
16567 # We chose a different compiler from the bogus one.
16568 # However, it has the same basename, so the bogon will be chosen
16569 # first if we set CC to just the basename; use the full file name.
16571 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16577 if test -n "$CC"; then
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16579 $as_echo "$CC" >&6; }
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16582 $as_echo "no" >&6; }
16587 if test -z "$CC"; then
16588 if test -n "$ac_tool_prefix"; then
16589 for ac_prog
in cl.exe
16591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16594 $as_echo_n "checking for $ac_word... " >&6; }
16595 if ${ac_cv_prog_CC+:} false
; then :
16596 $as_echo_n "(cached) " >&6
16598 if test -n "$CC"; then
16599 ac_cv_prog_CC
="$CC" # Let the user override the test.
16601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16602 for as_dir
in $PATH
16605 test -z "$as_dir" && as_dir
=.
16606 for ac_exec_ext
in '' $ac_executable_extensions; do
16607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16608 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16619 if test -n "$CC"; then
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16621 $as_echo "$CC" >&6; }
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16624 $as_echo "no" >&6; }
16628 test -n "$CC" && break
16631 if test -z "$CC"; then
16633 for ac_prog
in cl.exe
16635 # Extract the first word of "$ac_prog", so it can be a program name with args.
16636 set dummy
$ac_prog; ac_word
=$2
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16638 $as_echo_n "checking for $ac_word... " >&6; }
16639 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16640 $as_echo_n "(cached) " >&6
16642 if test -n "$ac_ct_CC"; then
16643 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16646 for as_dir
in $PATH
16649 test -z "$as_dir" && as_dir
=.
16650 for ac_exec_ext
in '' $ac_executable_extensions; do
16651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16652 ac_cv_prog_ac_ct_CC
="$ac_prog"
16653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16662 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16663 if test -n "$ac_ct_CC"; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16665 $as_echo "$ac_ct_CC" >&6; }
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16668 $as_echo "no" >&6; }
16672 test -n "$ac_ct_CC" && break
16675 if test "x$ac_ct_CC" = x
; then
16678 case $cross_compiling:$ac_tool_warned in
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16682 ac_tool_warned
=yes ;;
16691 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error $?
"no acceptable C compiler found in \$PATH
16694 See \`config.log' for more details" "$LINENO" 5; }
16696 # Provide some information about the compiler.
16697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16700 for ac_option
in --version -v -V -qversion; do
16701 { { ac_try
="$ac_compiler $ac_option >&5"
16702 case "(($ac_try" in
16703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16707 $as_echo "$ac_try_echo"; } >&5
16708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16710 if test -s conftest.err; then
16712 ... rest of stderr output deleted ...
16713 10q' conftest.err >conftest.er1
16714 cat conftest.er1 >&5
16716 rm -f conftest.er1 conftest.err
16717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16718 test $ac_status = 0; }
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16732 ac_clean_files_save=$ac_clean_files
16733 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16734 # Try to create an executable without -o first, disregard a.out.
16735 # It will help us diagnose broken compilers, and finding out an intuition
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16738 $as_echo_n "checking whether the C compiler works... " >&6; }
16739 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16741 # The possible output files:
16742 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16745 for ac_file in $ac_files
16748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16749 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16754 if { { ac_try="$ac_link_default"
16755 case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16757 *) ac_try_echo
=$ac_try;;
16759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16760 $as_echo "$ac_try_echo"; } >&5
16761 (eval "$ac_link_default") 2>&5
16763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16764 test $ac_status = 0; }; then :
16765 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16766 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16767 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16768 # so that the user can short-circuit this test for compilers unknown to
16770 for ac_file
in $ac_files ''
16772 test -f "$ac_file" || continue
16774 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16777 # We found the default executable, but exeext='' is most
16781 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16783 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16785 # We set ac_cv_exeext here because the later test for it is not
16786 # safe: cross compilers may not add the suffix if given an `-o'
16787 # argument, so we may need to know it at that point already.
16788 # Even if this section looks crufty: it has the advantage of
16789 # actually working.
16795 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16800 if test -z "$ac_file"; then :
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16802 $as_echo "no" >&6; }
16803 $as_echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.
$ac_ext >&5
16806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16808 as_fn_error
77 "C compiler cannot create executables
16809 See \`config.log' for more details" "$LINENO" 5; }
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16812 $as_echo "yes" >&6; }
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16815 $as_echo_n "checking for C compiler default output file name... " >&6; }
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16817 $as_echo "$ac_file" >&6; }
16818 ac_exeext
=$ac_cv_exeext
16820 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16821 ac_clean_files
=$ac_clean_files_save
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16823 $as_echo_n "checking for suffix of executables... " >&6; }
16824 if { { ac_try
="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16827 *) ac_try_echo=$ac_try;;
16829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16830 $as_echo "$ac_try_echo"; } >&5
16831 (eval "$ac_link") 2>&5
16833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16834 test $ac_status = 0; }; then :
16835 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16836 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16837 # work properly (i.e., refer to `conftest.exe'), while it won't with
16839 for ac_file
in conftest.exe conftest conftest.
*; do
16840 test -f "$ac_file" || continue
16842 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16843 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16851 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16852 See \`config.log' for more details" "$LINENO" 5; }
16854 rm -f conftest conftest
$ac_cv_exeext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16856 $as_echo "$ac_cv_exeext" >&6; }
16858 rm -f conftest.
$ac_ext
16859 EXEEXT
=$ac_cv_exeext
16861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16867 FILE *f = fopen ("conftest.out", "w");
16868 return ferror (f) || fclose (f) != 0;
16874 ac_clean_files
="$ac_clean_files conftest.out"
16875 # Check that the compiler produces executables we can run. If not, either
16876 # the compiler is broken, or we cross compile.
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16878 $as_echo_n "checking whether we are cross compiling... " >&6; }
16879 if test "$cross_compiling" != yes; then
16880 { { ac_try
="$ac_link"
16881 case "(($ac_try" in
16882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16883 *) ac_try_echo=$ac_try;;
16885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16886 $as_echo "$ac_try_echo"; } >&5
16887 (eval "$ac_link") 2>&5
16889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16890 test $ac_status = 0; }
16891 if { ac_try='./conftest$ac_cv_exeext'
16892 { { case "(($ac_try" in
16893 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16894 *) ac_try_echo
=$ac_try;;
16896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16897 $as_echo "$ac_try_echo"; } >&5
16898 (eval "$ac_try") 2>&5
16900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16901 test $ac_status = 0; }; }; then
16904 if test "$cross_compiling" = maybe
; then
16905 cross_compiling
=yes
16907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16909 as_fn_error $?
"cannot run C compiled programs.
16910 If you meant to cross compile, use \`--host'.
16911 See \`config.log' for more details" "$LINENO" 5; }
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16916 $as_echo "$cross_compiling" >&6; }
16918 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16919 ac_clean_files
=$ac_clean_files_save
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16921 $as_echo_n "checking for suffix of object files... " >&6; }
16922 if ${ac_cv_objext+:} false
; then :
16923 $as_echo_n "(cached) " >&6
16925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16936 rm -f conftest.o conftest.obj
16937 if { { ac_try
="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16943 $as_echo "$ac_try_echo"; } >&5
16944 (eval "$ac_compile") 2>&5
16946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16947 test $ac_status = 0; }; then :
16948 for ac_file in conftest.o conftest.obj conftest.*; do
16949 test -f "$ac_file" || continue;
16951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16957 $as_echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16962 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16963 See \
`config.log' for more details" "$LINENO" 5; }
16965 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16968 $as_echo "$ac_cv_objext" >&6; }
16969 OBJEXT=$ac_cv_objext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16972 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16973 if ${ac_cv_c_compiler_gnu+:} false; then :
16974 $as_echo_n "(cached) " >&6
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16990 if ac_fn_c_try_compile "$LINENO"; then :
16991 ac_compiler_gnu=yes
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17000 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17001 if test $ac_compiler_gnu = yes; then
17006 ac_test_CFLAGS=${CFLAGS+set}
17007 ac_save_CFLAGS=$CFLAGS
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17009 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17010 if ${ac_cv_prog_cc_g+:} false; then :
17011 $as_echo_n "(cached) " >&6
17013 ac_save_c_werror_flag=$ac_c_werror_flag
17014 ac_c_werror_flag=yes
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17028 if ac_fn_c_try_compile "$LINENO"; then :
17029 ac_cv_prog_cc_g=yes
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17043 if ac_fn_c_try_compile "$LINENO"; then :
17046 ac_c_werror_flag=$ac_save_c_werror_flag
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17059 if ac_fn_c_try_compile "$LINENO"; then :
17060 ac_cv_prog_cc_g=yes
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 ac_c_werror_flag=$ac_save_c_werror_flag
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17070 $as_echo "$ac_cv_prog_cc_g" >&6; }
17071 if test "$ac_test_CFLAGS" = set; then
17072 CFLAGS=$ac_save_CFLAGS
17073 elif test $ac_cv_prog_cc_g = yes; then
17074 if test "$GCC" = yes; then
17080 if test "$GCC" = yes; then
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17087 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17088 if ${ac_cv_prog_cc_c89+:} false; then :
17089 $as_echo_n "(cached) " >&6
17091 ac_cv_prog_cc_c89=no
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17095 #include <stdarg.h>
17098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17099 struct buf { int x; };
17100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17101 static char *e (p, i)
17107 static char *f (char * (*g) (char **, int), char **p, ...)
17112 s = g (p, va_arg (v,int));
17117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17118 function prototypes and stuff, but not '\xHH' hex character constants.
17119 These don't provoke an error unfortunately, instead are silently treated
17120 as 'x'. The following induces an error, until -std is added to get
17121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17122 array size at least. It's necessary to write '\x00'==0 to get something
17123 that's true only with -std. */
17124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17127 inside strings and character constants. */
17129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17131 int test (int i, double x);
17132 struct s1 {int (*f) (int a);};
17133 struct s2 {int (*f) (double a);};
17134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17148 CC="$ac_save_CC $ac_arg"
17149 if ac_fn_c_try_compile "$LINENO"; then :
17150 ac_cv_prog_cc_c89=$ac_arg
17152 rm -f core conftest.err conftest.$ac_objext
17153 test "x$ac_cv_prog_cc_c89" != "xno" && break
17155 rm -f conftest.$ac_ext
17160 case "x$ac_cv_prog_cc_c89" in
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17163 $as_echo "none needed" >&6; } ;;
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17166 $as_echo "unsupported" >&6; } ;;
17168 CC="$CC $ac_cv_prog_cc_c89"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17172 if test "x$ac_cv_prog_cc_c89" != xno; then :
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17196 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17197 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17198 $as_echo_n "(cached) " >&6
17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h. */
17207 #ifndef __INTEL_COMPILER
17215 if ac_fn_c_try_compile "$LINENO"; then :
17216 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17218 bakefile_cv_c_compiler___INTEL_COMPILER=no
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17226 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17227 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17241 if test "$INTELCC" = "yes"; then
17245 ac_cpp='$CPP $CPPFLAGS'
17246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17251 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17252 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17253 $as_echo_n "(cached) " >&6
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17262 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17270 if ac_fn_c_try_compile "$LINENO"; then :
17271 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17273 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17281 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17282 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17288 ac_cpp='$CPP $CPPFLAGS'
17289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17304 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17305 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17306 $as_echo_n "(cached) " >&6
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17315 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17323 if ac_fn_c_try_compile "$LINENO"; then :
17324 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17326 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17334 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17335 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17350 if test "x$GCC" != "xyes"; then
17351 if test "xCC" = "xC"; then
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17353 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17354 if ${bakefile_cv_c_exto+:} false; then :
17355 $as_echo_n "(cached) " >&6
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17368 rm -f conftest.$ac_objext conftest.$ac_ext.o
17369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17370 (eval $ac_compile) 2>&5
17372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17373 test $ac_status = 0; }; then :
17374 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17376 conftest.$ac_ext.o)
17377 bakefile_cv_c_exto="-ext o"
17384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17386 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17387 See \
`config.log' for more details" "$LINENO" 5; }
17390 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17394 $as_echo "$bakefile_cv_c_exto" >&6; }
17395 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17396 if test "c" = "c"; then
17397 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17399 if test "c" = "cxx"; then
17400 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17404 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17405 unset ac_cv_prog_cc_g
17406 ac_test_CFLAGS=${CFLAGS+set}
17407 ac_save_CFLAGS=$CFLAGS
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17410 if ${ac_cv_prog_cc_g+:} false; then :
17411 $as_echo_n "(cached) " >&6
17413 ac_save_c_werror_flag=$ac_c_werror_flag
17414 ac_c_werror_flag=yes
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17428 if ac_fn_c_try_compile "$LINENO"; then :
17429 ac_cv_prog_cc_g=yes
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17443 if ac_fn_c_try_compile "$LINENO"; then :
17446 ac_c_werror_flag=$ac_save_c_werror_flag
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17459 if ac_fn_c_try_compile "$LINENO"; then :
17460 ac_cv_prog_cc_g=yes
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 ac_c_werror_flag=$ac_save_c_werror_flag
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17470 $as_echo "$ac_cv_prog_cc_g" >&6; }
17471 if test "$ac_test_CFLAGS" = set; then
17472 CFLAGS=$ac_save_CFLAGS
17473 elif test $ac_cv_prog_cc_g = yes; then
17474 if test "$GCC" = yes; then
17480 if test "$GCC" = yes; then
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17500 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17501 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17502 $as_echo_n "(cached) " >&6
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17519 if ac_fn_c_try_compile "$LINENO"; then :
17520 bakefile_cv_c_compiler___xlC__=yes
17522 bakefile_cv_c_compiler___xlC__=no
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17530 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17531 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17550 ac_cpp='$CPP $CPPFLAGS'
17551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17556 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17557 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17558 $as_echo_n "(cached) " >&6
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 bakefile_cv_c_compiler___MWERKS__=yes
17578 bakefile_cv_c_compiler___MWERKS__=no
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17586 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17600 if test "$MWCC" != "yes"; then
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17610 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17611 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17612 $as_echo_n "(cached) " >&6
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17629 if ac_fn_c_try_compile "$LINENO"; then :
17630 bakefile_cv_c_compiler___xlC__=yes
17632 bakefile_cv_c_compiler___xlC__=no
17635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17640 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17641 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17647 ac_cpp='$CPP $CPPFLAGS'
17648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17667 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17668 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17669 $as_echo_n "(cached) " >&6
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17678 #ifndef _SGI_COMPILER_VERSION
17686 if ac_fn_c_try_compile "$LINENO"; then :
17687 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17689 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17697 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17698 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714 if test "$INTELCC" != "yes"; then
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
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17781 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17782 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17783 $as_echo_n "(cached) " >&6
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17800 if ac_fn_c_try_compile "$LINENO"; then :
17801 bakefile_cv_c_compiler___HP_cc=yes
17803 bakefile_cv_c_compiler___HP_cc=no
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17811 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17812 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17818 ac_cpp='$CPP $CPPFLAGS'
17819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17837 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17838 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17839 $as_echo_n "(cached) " >&6
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17856 if ac_fn_c_try_compile "$LINENO"; then :
17857 bakefile_cv_c_compiler___DECC=yes
17859 bakefile_cv_c_compiler___DECC=no
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17867 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17868 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887 ac_cpp='$CPP $CPPFLAGS'
17888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17893 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17894 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17895 $as_echo_n "(cached) " >&6
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17912 if ac_fn_c_try_compile "$LINENO"; then :
17913 bakefile_cv_c_compiler___SUNPRO_C=yes
17915 bakefile_cv_c_compiler___SUNPRO_C=no
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17923 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17924 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17930 ac_cpp='$CPP $CPPFLAGS'
17931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17949 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17950 # On Suns, sometimes $CPP names a directory.
17951 if test -n "$CPP" && test -d "$CPP"; then
17954 if test -z "$CPP"; then
17955 if ${ac_cv_prog_CPP+:} false; then :
17956 $as_echo_n "(cached) " >&6
17958 # Double quotes because CPP needs to be expanded
17959 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17961 ac_preproc_ok=false
17962 for ac_c_preproc_warn_flag in '' yes
17964 # Use a header file that comes with gcc, so configuring glibc
17965 # with a fresh cross-compiler works.
17966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 # <limits.h> exists even on freestanding compilers.
17968 # On the NeXT, cc -E runs the code through the compiler's parser,
17969 # not just through cpp. "Syntax error" is here to catch this case.
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 # include <limits.h>
17975 # include <assert.h>
17979 if ac_fn_c_try_cpp "$LINENO"; then :
17982 # Broken: fails on valid input.
17985 rm -f conftest.err conftest.i conftest.$ac_ext
17987 # OK, works on sane cases. Now check whether nonexistent headers
17988 # can be detected and how.
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991 #include <ac_nonexistent.h>
17993 if ac_fn_c_try_cpp "$LINENO"; then :
17994 # Broken: success on invalid input.
17997 # Passes both tests.
18001 rm -f conftest.err conftest.i conftest.$ac_ext
18004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18005 rm -f conftest.i conftest.err conftest.
$ac_ext
18006 if $ac_preproc_ok; then :
18011 ac_cv_prog_CPP
=$CPP
18014 CPP
=$ac_cv_prog_CPP
18016 ac_cv_prog_CPP
=$CPP
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18019 $as_echo "$CPP" >&6; }
18020 ac_preproc_ok
=false
18021 for ac_c_preproc_warn_flag
in '' yes
18023 # Use a header file that comes with gcc, so configuring glibc
18024 # with a fresh cross-compiler works.
18025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18026 # <limits.h> exists even on freestanding compilers.
18027 # On the NeXT, cc -E runs the code through the compiler's parser,
18028 # not just through cpp. "Syntax error" is here to catch this case.
18029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18032 # include <limits.h>
18034 # include <assert.h>
18038 if ac_fn_c_try_cpp
"$LINENO"; then :
18041 # Broken: fails on valid input.
18044 rm -f conftest.err conftest.i conftest.
$ac_ext
18046 # OK, works on sane cases. Now check whether nonexistent headers
18047 # can be detected and how.
18048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <ac_nonexistent.h>
18052 if ac_fn_c_try_cpp
"$LINENO"; then :
18053 # Broken: success on invalid input.
18056 # Passes both tests.
18060 rm -f conftest.err conftest.i conftest.
$ac_ext
18063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18064 rm -f conftest.i conftest.err conftest.
$ac_ext
18065 if $ac_preproc_ok; then :
18068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18070 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18071 See \`config.log' for more details" "$LINENO" 5; }
18075 ac_cpp
='$CPP $CPPFLAGS'
18076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18082 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18083 if ${ac_cv_path_GREP+:} false
; then :
18084 $as_echo_n "(cached) " >&6
18086 if test -z "$GREP"; then
18087 ac_path_GREP_found
=false
18088 # Loop through the user's path and test for each of PROGNAME-LIST
18089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18093 test -z "$as_dir" && as_dir
=.
18094 for ac_prog
in grep ggrep
; do
18095 for ac_exec_ext
in '' $ac_executable_extensions; do
18096 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18097 as_fn_executable_p
"$ac_path_GREP" || continue
18098 # Check for GNU ac_path_GREP and select it if it is found.
18099 # Check for GNU $ac_path_GREP
18100 case `"$ac_path_GREP" --version 2>&1` in
18102 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18105 $as_echo_n 0123456789 >"conftest.in"
18108 cat "conftest.in" "conftest.in" >"conftest.tmp"
18109 mv "conftest.tmp" "conftest.in"
18110 cp "conftest.in" "conftest.nl"
18111 $as_echo 'GREP' >> "conftest.nl"
18112 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18114 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18115 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18116 # Best one so far, save it but keep looking for a better one
18117 ac_cv_path_GREP
="$ac_path_GREP"
18118 ac_path_GREP_max
=$ac_count
18120 # 10*(2^10) chars as input seems more than enough
18121 test $ac_count -gt 10 && break
18123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18126 $ac_path_GREP_found && break 3
18131 if test -z "$ac_cv_path_GREP"; then
18132 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18135 ac_cv_path_GREP
=$GREP
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18140 $as_echo "$ac_cv_path_GREP" >&6; }
18141 GREP
="$ac_cv_path_GREP"
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18145 $as_echo_n "checking for egrep... " >&6; }
18146 if ${ac_cv_path_EGREP+:} false
; then :
18147 $as_echo_n "(cached) " >&6
18149 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18150 then ac_cv_path_EGREP
="$GREP -E"
18152 if test -z "$EGREP"; then
18153 ac_path_EGREP_found
=false
18154 # Loop through the user's path and test for each of PROGNAME-LIST
18155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18156 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18159 test -z "$as_dir" && as_dir
=.
18160 for ac_prog
in egrep; do
18161 for ac_exec_ext
in '' $ac_executable_extensions; do
18162 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18163 as_fn_executable_p
"$ac_path_EGREP" || continue
18164 # Check for GNU ac_path_EGREP and select it if it is found.
18165 # Check for GNU $ac_path_EGREP
18166 case `"$ac_path_EGREP" --version 2>&1` in
18168 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18171 $as_echo_n 0123456789 >"conftest.in"
18174 cat "conftest.in" "conftest.in" >"conftest.tmp"
18175 mv "conftest.tmp" "conftest.in"
18176 cp "conftest.in" "conftest.nl"
18177 $as_echo 'EGREP' >> "conftest.nl"
18178 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18179 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18180 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18181 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18182 # Best one so far, save it but keep looking for a better one
18183 ac_cv_path_EGREP
="$ac_path_EGREP"
18184 ac_path_EGREP_max
=$ac_count
18186 # 10*(2^10) chars as input seems more than enough
18187 test $ac_count -gt 10 && break
18189 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18192 $ac_path_EGREP_found && break 3
18197 if test -z "$ac_cv_path_EGREP"; then
18198 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18201 ac_cv_path_EGREP
=$EGREP
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18207 $as_echo "$ac_cv_path_EGREP" >&6; }
18208 EGREP
="$ac_cv_path_EGREP"
18211 if test $ac_cv_c_compiler_gnu = yes; then
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18213 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18214 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18215 $as_echo_n "(cached) " >&6
18217 ac_pattern
="Autoconf.*'x'"
18218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18224 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18225 ac_cv_prog_gcc_traditional
=yes
18227 ac_cv_prog_gcc_traditional
=no
18232 if test $ac_cv_prog_gcc_traditional = no
; then
18233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18235 #include <termio.h>
18238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18239 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18240 ac_cv_prog_gcc_traditional
=yes
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18247 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18248 if test $ac_cv_prog_gcc_traditional = yes; then
18249 CC
="$CC -traditional"
18254 CXXFLAGS
=${CXXFLAGS:=}
18256 ac_cpp
='$CXXCPP $CPPFLAGS'
18257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18260 if test -z "$CXX"; then
18261 if test -n "$CCC"; then
18264 if test -n "$ac_tool_prefix"; then
18265 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18270 $as_echo_n "checking for $ac_word... " >&6; }
18271 if ${ac_cv_prog_CXX+:} false
; then :
18272 $as_echo_n "(cached) " >&6
18274 if test -n "$CXX"; then
18275 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18278 for as_dir
in $PATH
18281 test -z "$as_dir" && as_dir
=.
18282 for ac_exec_ext
in '' $ac_executable_extensions; do
18283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18284 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18294 CXX
=$ac_cv_prog_CXX
18295 if test -n "$CXX"; then
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18297 $as_echo "$CXX" >&6; }
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18300 $as_echo "no" >&6; }
18304 test -n "$CXX" && break
18307 if test -z "$CXX"; then
18309 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18311 # Extract the first word of "$ac_prog", so it can be a program name with args.
18312 set dummy
$ac_prog; ac_word
=$2
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18314 $as_echo_n "checking for $ac_word... " >&6; }
18315 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18316 $as_echo_n "(cached) " >&6
18318 if test -n "$ac_ct_CXX"; then
18319 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18322 for as_dir
in $PATH
18325 test -z "$as_dir" && as_dir
=.
18326 for ac_exec_ext
in '' $ac_executable_extensions; do
18327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18328 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18338 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18339 if test -n "$ac_ct_CXX"; then
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18341 $as_echo "$ac_ct_CXX" >&6; }
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18344 $as_echo "no" >&6; }
18348 test -n "$ac_ct_CXX" && break
18351 if test "x$ac_ct_CXX" = x
; then
18354 case $cross_compiling:$ac_tool_warned in
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18358 ac_tool_warned
=yes ;;
18366 # Provide some information about the compiler.
18367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18370 for ac_option
in --version -v -V -qversion; do
18371 { { ac_try
="$ac_compiler $ac_option >&5"
18372 case "(($ac_try" in
18373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18377 $as_echo "$ac_try_echo"; } >&5
18378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18380 if test -s conftest.err; then
18382 ... rest of stderr output deleted ...
18383 10q' conftest.err >conftest.er1
18384 cat conftest.er1 >&5
18386 rm -f conftest.er1 conftest.err
18387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18388 test $ac_status = 0; }
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18392 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18393 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18394 $as_echo_n "(cached) " >&6
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 ac_compiler_gnu=yes
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18420 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18421 if test $ac_compiler_gnu = yes; then
18426 ac_test_CXXFLAGS=${CXXFLAGS+set}
18427 ac_save_CXXFLAGS=$CXXFLAGS
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18429 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18430 if ${ac_cv_prog_cxx_g+:} false; then :
18431 $as_echo_n "(cached) " >&6
18433 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18434 ac_cxx_werror_flag=yes
18435 ac_cv_prog_cxx_g=no
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18448 if ac_fn_cxx_try_compile "$LINENO"; then :
18449 ac_cv_prog_cxx_g=yes
18452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18463 if ac_fn_cxx_try_compile "$LINENO"; then :
18466 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18479 if ac_fn_cxx_try_compile "$LINENO"; then :
18480 ac_cv_prog_cxx_g=yes
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18490 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18491 if test "$ac_test_CXXFLAGS" = set; then
18492 CXXFLAGS=$ac_save_CXXFLAGS
18493 elif test $ac_cv_prog_cxx_g = yes; then
18494 if test "$GXX" = yes; then
18500 if test "$GXX" = yes; then
18507 ac_cpp='$CPP $CPPFLAGS'
18508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18520 ac_cpp='$CXXCPP $CPPFLAGS'
18521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18526 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18527 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18528 $as_echo_n "(cached) " >&6
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18537 #ifndef __INTEL_COMPILER
18545 if ac_fn_cxx_try_compile "$LINENO"; then :
18546 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18548 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18556 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18557 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18571 if test "$INTELCXX" = "yes"; then
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18581 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18582 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18583 $as_echo_n "(cached) " >&6
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18592 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18600 if ac_fn_cxx_try_compile "$LINENO"; then :
18601 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18603 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18611 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18612 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18618 ac_cpp='$CPP $CPPFLAGS'
18619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18634 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18635 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18636 $as_echo_n "(cached) " >&6
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18645 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18653 if ac_fn_cxx_try_compile "$LINENO"; then :
18654 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18656 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18664 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18665 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680 if test "x$GCXX" != "xyes"; then
18681 if test "xCXX" = "xC"; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18683 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18684 if ${bakefile_cv_c_exto+:} false; then :
18685 $as_echo_n "(cached) " >&6
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18698 rm -f conftest.$ac_objext conftest.$ac_ext.o
18699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18700 (eval $ac_compile) 2>&5
18702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18703 test $ac_status = 0; }; then :
18704 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18706 conftest.$ac_ext.o)
18707 bakefile_cv_c_exto="-ext o"
18714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18716 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18717 See \
`config.log' for more details" "$LINENO" 5; }
18720 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18724 $as_echo "$bakefile_cv_c_exto" >&6; }
18725 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18726 if test "c" = "c"; then
18727 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18729 if test "c" = "cxx"; then
18730 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18734 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18735 unset ac_cv_prog_cc_g
18736 ac_test_CFLAGS=${CFLAGS+set}
18737 ac_save_CFLAGS=$CFLAGS
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18739 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18740 if ${ac_cv_prog_cc_g+:} false; then :
18741 $as_echo_n "(cached) " >&6
18743 ac_save_c_werror_flag=$ac_c_werror_flag
18744 ac_c_werror_flag=yes
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18758 if ac_fn_c_try_compile "$LINENO"; then :
18759 ac_cv_prog_cc_g=yes
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18773 if ac_fn_c_try_compile "$LINENO"; then :
18776 ac_c_werror_flag=$ac_save_c_werror_flag
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18789 if ac_fn_c_try_compile "$LINENO"; then :
18790 ac_cv_prog_cc_g=yes
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 ac_c_werror_flag=$ac_save_c_werror_flag
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18800 $as_echo "$ac_cv_prog_cc_g" >&6; }
18801 if test "$ac_test_CFLAGS" = set; then
18802 CFLAGS=$ac_save_CFLAGS
18803 elif test $ac_cv_prog_cc_g = yes; then
18804 if test "$GCC" = yes; then
18810 if test "$GCC" = yes; then
18824 ac_cpp='$CXXCPP $CPPFLAGS'
18825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18830 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18831 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18832 $as_echo_n "(cached) " >&6
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18849 if ac_fn_cxx_try_compile "$LINENO"; then :
18850 bakefile_cv_cxx_compiler___xlC__=yes
18852 bakefile_cv_cxx_compiler___xlC__=no
18855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18860 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18867 ac_cpp='$CPP $CPPFLAGS'
18868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18880 ac_cpp='$CXXCPP $CPPFLAGS'
18881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18886 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18887 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18888 $as_echo_n "(cached) " >&6
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18905 if ac_fn_cxx_try_compile "$LINENO"; then :
18906 bakefile_cv_cxx_compiler___MWERKS__=yes
18908 bakefile_cv_cxx_compiler___MWERKS__=no
18911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18916 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18917 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18923 ac_cpp='$CPP $CPPFLAGS'
18924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930 if test "$MWCXX" != "yes"; then
18934 ac_cpp='$CXXCPP $CPPFLAGS'
18935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18940 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18941 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18942 $as_echo_n "(cached) " >&6
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18959 if ac_fn_cxx_try_compile "$LINENO"; then :
18960 bakefile_cv_cxx_compiler___xlC__=yes
18962 bakefile_cv_cxx_compiler___xlC__=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18970 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18971 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18977 ac_cpp='$CPP $CPPFLAGS'
18978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18991 ac_cpp='$CXXCPP $CPPFLAGS'
18992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18997 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18998 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18999 $as_echo_n "(cached) " >&6
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19008 #ifndef _SGI_COMPILER_VERSION
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19019 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19027 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19028 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19034 ac_cpp='$CPP $CPPFLAGS'
19035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19044 if test "$INTELCXX" != "yes"; then
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
19105 ac_cpp='$CXXCPP $CPPFLAGS'
19106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19111 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19112 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19113 $as_echo_n "(cached) " >&6
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19130 if ac_fn_cxx_try_compile "$LINENO"; then :
19131 bakefile_cv_cxx_compiler___HP_aCC=yes
19133 bakefile_cv_cxx_compiler___HP_aCC=no
19136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19141 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19142 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19148 ac_cpp='$CPP $CPPFLAGS'
19149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19161 ac_cpp='$CXXCPP $CPPFLAGS'
19162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19167 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19168 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19169 $as_echo_n "(cached) " >&6
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19186 if ac_fn_cxx_try_compile "$LINENO"; then :
19187 bakefile_cv_cxx_compiler___DECCXX=yes
19189 bakefile_cv_cxx_compiler___DECCXX=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19197 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19198 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19204 ac_cpp='$CPP $CPPFLAGS'
19205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19217 ac_cpp='$CXXCPP $CPPFLAGS'
19218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19223 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19224 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19225 $as_echo_n "(cached) " >&6
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19234 #ifndef __SUNPRO_CC
19242 if ac_fn_cxx_try_compile "$LINENO"; then :
19243 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19245 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19253 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19254 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19260 ac_cpp='$CPP $CPPFLAGS'
19261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19274 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19277 if test "x$SUNCXX" != xyes; then
19278 if test -n "$ac_tool_prefix"; then
19279 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19280 set dummy ${ac_tool_prefix}ar; ac_word=$2
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19282 $as_echo_n "checking for $ac_word... " >&6; }
19283 if ${ac_cv_prog_AR+:} false; then :
19284 $as_echo_n "(cached) " >&6
19286 if test -n "$AR"; then
19287 ac_cv_prog_AR="$AR" # Let the user override the test.
19289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19290 for as_dir in $PATH
19293 test -z "$as_dir" && as_dir=.
19294 for ac_exec_ext in '' $ac_executable_extensions; do
19295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19296 ac_cv_prog_AR="${ac_tool_prefix}ar"
19297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19307 if test -n "$AR"; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19309 $as_echo "$AR" >&6; }
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19312 $as_echo "no" >&6; }
19317 if test -z "$ac_cv_prog_AR"; then
19319 # Extract the first word of "ar", so it can be a program name with args.
19320 set dummy ar; ac_word=$2
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19322 $as_echo_n "checking for $ac_word... " >&6; }
19323 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19324 $as_echo_n "(cached) " >&6
19326 if test -n "$ac_ct_AR"; then
19327 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19330 for as_dir in $PATH
19333 test -z "$as_dir" && as_dir=.
19334 for ac_exec_ext in '' $ac_executable_extensions; do
19335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19336 ac_cv_prog_ac_ct_AR="ar"
19337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19346 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19347 if test -n "$ac_ct_AR"; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19349 $as_echo "$ac_ct_AR" >&6; }
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352 $as_echo "no" >&6; }
19355 if test "x$ac_ct_AR" = x; then
19358 case $cross_compiling:$ac_tool_warned in
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19362 ac_tool_warned=yes ;;
19367 AR="$ac_cv_prog_AR"
19370 if test "x$AR" = "x" ; then
19371 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19376 if test "$wxUSE_MAC" = 1; then
19378 retest_macosx_linking=no
19382 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19383 if test "x$wxUSE_MAC_ARCH" != xno; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19385 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19388 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19389 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19390 else OSX_ARCH_OPTS="ppc,i386"
19391 if test "$wxUSE_OSX_COCOA" = 1; then
19392 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19397 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19399 $as_echo "$OSX_ARCH_OPTS" >&6; }
19401 retest_macosx_linking=yes
19403 if test "x$wxUSE_MAC_ARCH" != xno; then
19404 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19408 if test "x$OSX_ARCH_OPTS" != "x"; then
19409 if echo $OSX_ARCH_OPTS | grep -q ","; then
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19411 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19412 disable_macosx_deps=yes
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19415 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19419 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19421 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19422 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19423 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19424 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19425 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19428 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19430 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19431 # TODO: Search for most recent SDK and use it.
19432 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19436 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19438 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19439 if ! test -d "$wxUSE_MACOSX_SDK"; then
19440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "not found
19443 See \
`config.log' for more details" "$LINENO" 5; }
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19446 $as_echo "exists" >&6; }
19448 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19449 retest_macosx_linking=yes
19452 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19453 wxUSE_MACOSX_VERSION_MIN=
19454 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19455 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19457 $as_echo_n "checking SDK deployment version... " >&6; }
19459 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/'`
19461 # If that failed, try again with the new key
19462 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19464 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/'`
19468 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19469 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19471 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19474 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19475 wxUSE_MACOSX_VERSION_MIN=
19478 wxUSE_MACOSX_VERSION_MIN=
19480 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19481 wxUSE_MACOSX_VERSION_MIN=10.5
19484 if test "x$MACOSX_SDK_OPTS" != "x"; then
19485 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19486 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19487 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19488 retest_macosx_linking=yes
19491 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19492 if test "$wxUSE_OSX_IPHONE" = 1; then
19493 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19495 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19497 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19498 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19499 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19500 retest_macosx_linking=yes
19503 if test "x$retest_macosx_linking" = "xyes"; then
19505 ac_cpp='$CPP $CPPFLAGS'
19506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19511 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19525 $as_echo "yes" >&6; }
19527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19529 as_fn_error $? "no. Try a different SDK
19530 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19535 ac_cpp='$CPP $CPPFLAGS'
19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19542 ac_cpp='$CXXCPP $CPPFLAGS'
19543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19548 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19560 if ac_fn_cxx_try_link "$LINENO"; then :
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19562 $as_echo "yes" >&6; }
19564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19566 as_fn_error $? "no. Try a different SDK
19567 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19569 rm -f core conftest.err conftest.$ac_objext \
19570 conftest$ac_exeext conftest.$ac_ext
19572 ac_cpp='$CPP $CPPFLAGS'
19573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19583 INSTALL_PROGRAM="cp -fp"
19584 INSTALL_DATA="cp -fp"
19591 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19592 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19595 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19596 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19599 if test "x$USE_AIX" = "x1"; then
19600 if test "x$XLCXX" = "xyes"; then
19601 CXXFLAGS="-qunique $CXXFLAGS"
19604 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19608 powerpc-*-darwin* )
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19610 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19617 #ifndef __POWERPC__
19618 choke me for lack of PowerPC
19625 if ac_fn_c_try_compile "$LINENO"; then :
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19627 $as_echo "yes" >&6; }
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19630 $as_echo "no" >&6; }
19631 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19642 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19645 #include <CoreFoundation/CFBase.h>
19655 if ac_fn_c_try_compile "$LINENO"; then :
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19657 $as_echo "yes" >&6; }
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19660 $as_echo "no" >&6; }
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19662 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19665 #define __CF_USE_FRAMEWORK_INCLUDES__
19666 #include <CoreFoundation/CFBase.h>
19676 if ac_fn_c_try_compile "$LINENO"; then :
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19678 $as_echo "yes" >&6; }
19679 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19683 as_fn_error $? "no. CoreFoundation not available.
19684 See \
`config.log' for more details" "$LINENO" 5; }
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 doesnt_want_win32=0
19699 if test "$wxUSE_MSW" = 1 ; then
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19703 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19704 if ${wx_cv_nocygwin+:} false; then :
19705 $as_echo_n "(cached) " >&6
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19723 if ac_fn_c_try_compile "$LINENO"; then :
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19734 $as_echo "$wx_cv_nocygwin" >&6; }
19736 if test "$wx_cv_nocygwin" = "yes"; then
19739 doesnt_want_win32=1
19742 if test "$wants_win32" = 1 ; then
19743 BAKEFILE_FORCE_PLATFORM=win32
19751 if test "$wxUSE_WINE" = "yes"; then
19753 LDFLAGS_GUI="-mwindows"
19756 if test "$wants_win32" = 1 ; then
19759 $as_echo "#define __WIN32__ 1" >>confdefs.h
19761 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19763 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19765 $as_echo "#define STRICT 1" >>confdefs.h
19768 if test "$doesnt_want_win32" = 1 ; then
19773 if test "$USE_UNIX" = 1 ; then
19775 $as_echo "#define __UNIX__ 1" >>confdefs.h
19780 *-pc-os2_emx | *-pc-os2-emx )
19781 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19783 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19784 if ${ac_cv_lib_cExt_drand48+:} false; then :
19785 $as_echo_n "(cached) " >&6
19787 ac_check_lib_save_LIBS=$LIBS
19788 LIBS="-lcExt $LIBS"
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19792 /* Override any GCC internal prototype to avoid an error.
19793 Use char because int might match the return type of a GCC
19794 builtin and then its argument prototype would still apply. */
19807 if ac_fn_c_try_link "$LINENO"; then :
19808 ac_cv_lib_cExt_drand48=yes
19810 ac_cv_lib_cExt_drand48=no
19812 rm -f core conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext conftest.$ac_ext
19814 LIBS=$ac_check_lib_save_LIBS
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19817 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19818 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19819 LIBS="$LIBS -lcExt"
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19824 $as_echo_n "checking for gcc/libc version... " >&6; }
19825 if ${wx_cv_gccversion+:} false; then :
19826 $as_echo_n "(cached) " >&6
19829 if test "$cross_compiling" = yes; then :
19830 wx_cv_gccversion="EMX2"
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19840 FILE *f=fopen("conftestval", "w");
19845 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19847 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19857 if ac_fn_c_try_run "$LINENO"; then :
19858 wx_cv_gccversion=`cat conftestval
`
19860 wx_cv_gccversion="EMX2"
19862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19863 conftest.$ac_objext conftest.beam conftest.$ac_ext
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19869 $as_echo "$wx_cv_gccversion" >&6; }
19870 if test "$wx_cv_gccversion" = "EMX2"; then
19871 LIBS="$LIBS -lstdcpp"
19872 LDFLAGS="$LDFLAGS -Zsysv-signals"
19874 if test "$wx_cv_gccversion" = "EMX3"; then
19875 LIBS="$LIBS -lstdcxx -lgcc"
19876 LDFLAGS="$LDFLAGS -Zsysv-signals"
19878 LIBS="$LIBS -lstdc++"
19881 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19883 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19891 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19892 if ${ac_cv_string_strcasecmp+:} false; then :
19893 $as_echo_n "(cached) " >&6
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19899 #include <string.h>
19905 strcasecmp("foo", "bar");
19911 if ac_fn_c_try_link "$LINENO"; then :
19912 ac_cv_string_strcasecmp=yes
19914 ac_cv_string_strcasecmp=no
19917 rm -f core conftest.err conftest.$ac_objext \
19918 conftest$ac_exeext conftest.$ac_ext
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19922 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19924 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19925 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19929 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19930 if ${ac_cv_strings_strcasecmp+:} false; then :
19931 $as_echo_n "(cached) " >&6
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19937 #include <strings.h>
19943 strcasecmp("foo", "bar");
19949 if ac_fn_c_try_link "$LINENO"; then :
19950 ac_cv_strings_strcasecmp=yes
19952 ac_cv_strings_strcasecmp=no
19955 rm -f core conftest.err conftest.$ac_objext \
19956 conftest$ac_exeext conftest.$ac_ext
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19960 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19962 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19963 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19966 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19975 $as_echo_n "checking for ANSI C header files... " >&6; }
19976 if ${ac_cv_header_stdc+:} false; then :
19977 $as_echo_n "(cached) " >&6
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #include <stdlib.h>
19982 #include <stdarg.h>
19983 #include <string.h>
19994 if ac_fn_c_try_compile "$LINENO"; then :
19995 ac_cv_header_stdc=yes
19997 ac_cv_header_stdc=no
19999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 if test $ac_cv_header_stdc = yes; then
20002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20005 #include <string.h>
20008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20009 $EGREP "memchr" >/dev/null 2>&1; then :
20012 ac_cv_header_stdc=no
20018 if test $ac_cv_header_stdc = yes; then
20019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 #include <stdlib.h>
20025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20026 $EGREP "free" >/dev/null 2>&1; then :
20029 ac_cv_header_stdc=no
20035 if test $ac_cv_header_stdc = yes; then
20036 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20037 if test "$cross_compiling" = yes; then :
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 #include <stdlib.h>
20044 #if ((' ' & 0x0FF) == 0x020)
20045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20048 # define ISLOWER(c) \
20049 (('a' <= (c) && (c) <= 'i') \
20050 || ('j' <= (c) && (c) <= 'r') \
20051 || ('s' <= (c) && (c) <= 'z'))
20052 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20055 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20060 for (i = 0; i < 256; i++)
20061 if (XOR (islower (i), ISLOWER (i))
20062 || toupper (i) != TOUPPER (i))
20067 if ac_fn_c_try_run "$LINENO"; then :
20070 ac_cv_header_stdc=no
20072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20073 conftest.$ac_objext conftest.beam conftest.$ac_ext
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20079 $as_echo "$ac_cv_header_stdc" >&6; }
20080 if test $ac_cv_header_stdc = yes; then
20082 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20086 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20087 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20088 inttypes.h stdint.h unistd.h
20090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20091 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20094 cat >>confdefs.h <<_ACEOF
20095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20103 for ac_header in langinfo.h wchar.h
20105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20109 cat >>confdefs.h <<_ACEOF
20110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20118 if test "$ac_cv_header_wchar_h" != "yes"; then
20119 for ac_header in wcstr.h
20121 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20123 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20124 cat >>confdefs.h <<_ACEOF
20125 #define HAVE_WCSTR_H 1
20135 *-pc-os2_emx | *-pc-os2-emx )
20136 if test $ac_cv_header_langinfo_h = "yes" \
20137 -a \( "$wx_cv_gccversion" = "EMX2" \
20138 -o "$wx_cv_gccversion" = "EMX3" \
20139 -o "$wx_cv_gccversion" = "Innotek5" \); then
20140 LIBS="$LIBS -lintl"
20145 if test "$USE_UNIX" = 1 ; then
20146 for ac_header in sys/select.h
20148 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20150 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20151 cat >>confdefs.h <<_ACEOF
20152 #define HAVE_SYS_SELECT_H 1
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20166 for ac_header in cxxabi.h
20168 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20170 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20171 cat >>confdefs.h <<_ACEOF
20172 #define HAVE_CXXABI_H 1
20180 ac_cpp='$CPP $CPPFLAGS'
20181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20189 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20190 if ${ac_cv_c_const+:} false; then :
20191 $as_echo_n "(cached) " >&6
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20200 #ifndef __cplusplus
20201 /* Ultrix mips cc rejects this sort of thing. */
20202 typedef int charset[2];
20203 const charset cs = { 0, 0 };
20204 /* SunOS 4.1.1 cc rejects this. */
20205 char const *const *pcpcc;
20207 /* NEC SVR4.0.2 mips cc rejects this. */
20208 struct point {int x, y;};
20209 static struct point const zero = {0,0};
20210 /* AIX XL C 1.02.0.0 rejects this.
20211 It does not let you subtract one const X* pointer from another in
20212 an arm of an if-expression whose if-part is not a constant
20214 const char *g = "string";
20215 pcpcc = &g + (g ? g-g : 0);
20216 /* HPUX 7.0 cc rejects these. */
20218 ppc = (char**) pcpcc;
20219 pcpcc = (char const *const *) ppc;
20220 { /* SCO 3.2v4 cc rejects this sort of thing. */
20223 char const *s = 0 ? (char *) 0 : (char const *) 0;
20228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20229 int x[] = {25, 17};
20230 const int *foo = &x[0];
20233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20234 typedef const int *iptr;
20238 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20240 struct s { int j; const int *ap[3]; } bx;
20241 struct s *b = &bx; b->j = 5;
20243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20244 const int foo = 10;
20245 if (!foo) return 0;
20247 return !cs[0] && !zero.x;
20254 if ac_fn_c_try_compile "$LINENO"; then :
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20262 $as_echo "$ac_cv_c_const" >&6; }
20263 if test $ac_cv_c_const = no; then
20265 $as_echo "#define const /**/" >>confdefs.h
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20270 $as_echo_n "checking for inline... " >&6; }
20271 if ${ac_cv_c_inline+:} false; then :
20272 $as_echo_n "(cached) " >&6
20275 for ac_kw in inline __inline__ __inline; do
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #ifndef __cplusplus
20280 static $ac_kw foo_t static_foo () {return 0; }
20281 $ac_kw foo_t foo () {return 0; }
20285 if ac_fn_c_try_compile "$LINENO"; then :
20286 ac_cv_c_inline=$ac_kw
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 test "$ac_cv_c_inline" != no && break
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20294 $as_echo "$ac_cv_c_inline" >&6; }
20296 case $ac_cv_c_inline in
20299 case $ac_cv_c_inline in
20301 *) ac_val=$ac_cv_c_inline;;
20303 cat >>confdefs.h <<_ACEOF
20304 #ifndef __cplusplus
20305 #define inline $ac_val
20312 # The cast to long int works around a bug in the HP C Compiler
20313 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20314 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20315 # This bug is HP SR number 8606223364.
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20317 $as_echo_n "checking size of short... " >&6; }
20318 if ${ac_cv_sizeof_short+:} false; then :
20319 $as_echo_n "(cached) " >&6
20321 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20324 if test "$ac_cv_type_short" = yes; then
20325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20326 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20327 as_fn_error 77 "cannot compute sizeof (short)
20328 See \`config.log
' for more details" "$LINENO" 5; }
20330 ac_cv_sizeof_short=0
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20336 $as_echo "$ac_cv_sizeof_short" >&6; }
20340 cat >>confdefs.h <<_ACEOF
20341 #define SIZEOF_SHORT $ac_cv_sizeof_short
20345 # The cast to long int works around a bug in the HP C Compiler
20346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20348 # This bug is HP SR number 8606223364.
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20350 $as_echo_n "checking size of void *... " >&6; }
20351 if ${ac_cv_sizeof_void_p+:} false
; then :
20352 $as_echo_n "(cached) " >&6
20354 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20357 if test "$ac_cv_type_void_p" = yes; then
20358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20360 as_fn_error
77 "cannot compute sizeof (void *)
20361 See \`config.log' for more details" "$LINENO" 5; }
20363 ac_cv_sizeof_void_p
=0
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20369 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20373 cat >>confdefs.h
<<_ACEOF
20374 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20378 # The cast to long int works around a bug in the HP C Compiler
20379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20381 # This bug is HP SR number 8606223364.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20383 $as_echo_n "checking size of int... " >&6; }
20384 if ${ac_cv_sizeof_int+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20390 if test "$ac_cv_type_int" = yes; then
20391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20393 as_fn_error
77 "cannot compute sizeof (int)
20394 See \`config.log' for more details" "$LINENO" 5; }
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20402 $as_echo "$ac_cv_sizeof_int" >&6; }
20406 cat >>confdefs.h
<<_ACEOF
20407 #define SIZEOF_INT $ac_cv_sizeof_int
20411 # The cast to long int works around a bug in the HP C Compiler
20412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20414 # This bug is HP SR number 8606223364.
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20416 $as_echo_n "checking size of long... " >&6; }
20417 if ${ac_cv_sizeof_long+:} false
; then :
20418 $as_echo_n "(cached) " >&6
20420 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20423 if test "$ac_cv_type_long" = yes; then
20424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20426 as_fn_error
77 "cannot compute sizeof (long)
20427 See \`config.log' for more details" "$LINENO" 5; }
20429 ac_cv_sizeof_long
=0
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20435 $as_echo "$ac_cv_sizeof_long" >&6; }
20439 cat >>confdefs.h
<<_ACEOF
20440 #define SIZEOF_LONG $ac_cv_sizeof_long
20444 # The cast to long int works around a bug in the HP C Compiler
20445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20447 # This bug is HP SR number 8606223364.
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20449 $as_echo_n "checking size of size_t... " >&6; }
20450 if ${ac_cv_sizeof_size_t+:} false
; then :
20451 $as_echo_n "(cached) " >&6
20453 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20456 if test "$ac_cv_type_size_t" = yes; then
20457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20459 as_fn_error
77 "cannot compute sizeof (size_t)
20460 See \`config.log' for more details" "$LINENO" 5; }
20462 ac_cv_sizeof_size_t
=0
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20468 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20472 cat >>confdefs.h
<<_ACEOF
20473 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20480 # The cast to long int works around a bug in the HP C Compiler
20481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20483 # This bug is HP SR number 8606223364.
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20485 $as_echo_n "checking size of long long... " >&6; }
20486 if ${ac_cv_sizeof_long_long+:} false
; then :
20487 $as_echo_n "(cached) " >&6
20489 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20492 if test "$ac_cv_type_long_long" = yes; then
20493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20495 as_fn_error
77 "cannot compute sizeof (long long)
20496 See \`config.log' for more details" "$LINENO" 5; }
20498 ac_cv_sizeof_long_long
=0
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20504 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20508 cat >>confdefs.h
<<_ACEOF
20509 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20515 # The cast to long int works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20520 $as_echo_n "checking size of long long... " >&6; }
20521 if ${ac_cv_sizeof_long_long+:} false
; then :
20522 $as_echo_n "(cached) " >&6
20524 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20527 if test "$ac_cv_type_long_long" = yes; then
20528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20530 as_fn_error
77 "cannot compute sizeof (long long)
20531 See \`config.log' for more details" "$LINENO" 5; }
20533 ac_cv_sizeof_long_long
=0
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20539 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20543 cat >>confdefs.h
<<_ACEOF
20544 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20548 if test "$ac_cv_sizeof_long_long" != 0; then
20549 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20553 # The cast to long int works around a bug in the HP C Compiler
20554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20556 # This bug is HP SR number 8606223364.
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20558 $as_echo_n "checking size of long long... " >&6; }
20559 if ${ac_cv_sizeof_long_long+:} false
; then :
20560 $as_echo_n "(cached) " >&6
20562 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20565 if test "$ac_cv_type_long_long" = yes; then
20566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20568 as_fn_error
77 "cannot compute sizeof (long long)
20569 See \`config.log' for more details" "$LINENO" 5; }
20571 ac_cv_sizeof_long_long
=0
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20577 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20581 cat >>confdefs.h
<<_ACEOF
20582 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20588 # The cast to long int works around a bug in the HP C Compiler
20589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20591 # This bug is HP SR number 8606223364.
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20593 $as_echo_n "checking size of wchar_t... " >&6; }
20594 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20595 $as_echo_n "(cached) " >&6
20597 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20598 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20599 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20600 # error \"fake wchar_t\"
20602 #ifdef HAVE_WCHAR_H
20604 # include <stddef.h>
20606 # include <wchar.h>
20608 #ifdef HAVE_STDLIB_H
20609 # include <stdlib.h>
20617 if test "$ac_cv_type_wchar_t" = yes; then
20618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20620 as_fn_error
77 "cannot compute sizeof (wchar_t)
20621 See \`config.log' for more details" "$LINENO" 5; }
20623 ac_cv_sizeof_wchar_t
=0
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20629 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20633 cat >>confdefs.h
<<_ACEOF
20634 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20638 if test "$ac_cv_sizeof_wchar_t" = 0; then
20639 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20641 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20645 $as_echo_n "checking for va_copy... " >&6; }
20646 if ${wx_cv_func_va_copy+:} false
; then :
20647 $as_echo_n "(cached) " >&6
20651 ac_cpp
='$CXXCPP $CPPFLAGS'
20652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20660 #include <stdarg.h>
20661 void foo(char *f, ...)
20676 if ac_fn_cxx_try_link
"$LINENO"; then :
20677 wx_cv_func_va_copy
=yes
20679 wx_cv_func_va_copy
=no
20682 rm -f core conftest.err conftest.
$ac_objext \
20683 conftest
$ac_exeext conftest.
$ac_ext
20685 ac_cpp
='$CPP $CPPFLAGS'
20686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20694 $as_echo "$wx_cv_func_va_copy" >&6; }
20696 if test $wx_cv_func_va_copy = "yes"; then
20697 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20701 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20702 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20703 $as_echo_n "(cached) " >&6
20706 if test "$cross_compiling" = yes; then :
20707 wx_cv_type_va_list_lvalue
=yes
20710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20711 /* end confdefs.h. */
20714 #include <stdarg.h>
20715 int foo(char *f, ...)
20720 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20728 return foo("hi", 17);
20732 if ac_fn_c_try_run
"$LINENO"; then :
20733 wx_cv_type_va_list_lvalue
=yes
20735 wx_cv_type_va_list_lvalue
=no
20737 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20738 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20745 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20747 if test $wx_cv_type_va_list_lvalue != "yes"; then
20748 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20753 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20756 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20757 if ${wx_cv_have_variadic_macros+:} false
; then :
20758 $as_echo_n "(cached) " >&6
20762 ac_cpp
='$CXXCPP $CPPFLAGS'
20763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20772 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20778 test("%s %d %p", "test", 1, 0);
20785 if ac_fn_cxx_try_compile
"$LINENO"; then :
20786 wx_cv_have_variadic_macros
=yes
20788 wx_cv_have_variadic_macros
=no
20791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20793 ac_cpp
='$CPP $CPPFLAGS'
20794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20802 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20804 if test $wx_cv_have_variadic_macros = "yes"; then
20805 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20810 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20814 LARGEFILE_CPPFLAGS
=
20815 # Check whether --enable-largefile was given.
20816 if test "${enable_largefile+set}" = set; then :
20817 enableval
=$enable_largefile;
20820 if test "$enable_largefile" != no
; then
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20824 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20825 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20826 $as_echo_n "(cached) " >&6
20829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 #define _FILE_OFFSET_BITS 64
20832 #include <sys/types.h>
20837 unsigned int field: sizeof(off_t) == 8;
20844 if ac_fn_c_try_compile
"$LINENO"; then :
20845 ac_cv_sys_file_offset_bits
=64
20847 ac_cv_sys_file_offset_bits
=no
20849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20854 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20856 if test "$ac_cv_sys_file_offset_bits" != no
; then
20858 cat >>confdefs.h
<<_ACEOF
20859 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20864 if test "x$wx_largefile" != "xyes"; then
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20867 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20868 if ${ac_cv_sys_large_files+:} false
; then :
20869 $as_echo_n "(cached) " >&6
20872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #define _LARGE_FILES 1
20875 #include <sys/types.h>
20880 unsigned int field: sizeof(off_t) == 8;
20887 if ac_fn_c_try_compile
"$LINENO"; then :
20888 ac_cv_sys_large_files
=1
20890 ac_cv_sys_large_files
=no
20892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20897 $as_echo "$ac_cv_sys_large_files" >&6; }
20899 if test "$ac_cv_sys_large_files" != no
; then
20901 cat >>confdefs.h
<<_ACEOF
20902 #define _LARGE_FILES $ac_cv_sys_large_files
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20910 $as_echo_n "checking if large file support is available... " >&6; }
20911 if test "x$wx_largefile" = "xyes"; then
20912 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20916 $as_echo "$wx_largefile" >&6; }
20919 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20920 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20921 elif test "$ac_cv_sys_large_files" = 1; then
20922 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20925 if test -n "$LARGEFILE_CPPFLAGS"; then
20926 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20928 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20930 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20931 if ${wx_cv_STDC_EXT_required+:} false
; then :
20932 $as_echo_n "(cached) " >&6
20936 ac_cpp
='$CXXCPP $CPPFLAGS'
20937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20948 #ifndef __STDC_EXT__
20956 if ac_fn_cxx_try_compile
"$LINENO"; then :
20957 wx_cv_STDC_EXT_required
=no
20959 wx_cv_STDC_EXT_required
=yes
20962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 ac_cpp
='$CPP $CPPFLAGS'
20965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20973 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20974 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20975 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20981 ac_cpp
='$CXXCPP $CPPFLAGS'
20982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20986 old_CPPFLAGS
="$CPPFLAGS"
20987 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20989 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20990 if ${ac_cv_sys_largefile_source+:} false
; then :
20991 $as_echo_n "(cached) " >&6
20994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #include <sys/types.h> /* for off_t */
21001 int (*fp) (FILE *, off_t, int) = fseeko;
21002 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21007 if ac_fn_cxx_try_link
"$LINENO"; then :
21008 ac_cv_sys_largefile_source
=no
; break
21010 rm -f core conftest.err conftest.
$ac_objext \
21011 conftest
$ac_exeext conftest.
$ac_ext
21012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #define _LARGEFILE_SOURCE 1
21015 #include <sys/types.h> /* for off_t */
21020 int (*fp) (FILE *, off_t, int) = fseeko;
21021 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21026 if ac_fn_cxx_try_link
"$LINENO"; then :
21027 ac_cv_sys_largefile_source
=1; break
21029 rm -f core conftest.err conftest.
$ac_objext \
21030 conftest
$ac_exeext conftest.
$ac_ext
21031 ac_cv_sys_largefile_source
=unknown
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21036 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21037 case $ac_cv_sys_largefile_source in #(
21040 cat >>confdefs.h
<<_ACEOF
21041 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21047 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21048 # in glibc 2.1.3, but that breaks too many other things.
21049 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21050 if test $ac_cv_sys_largefile_source != unknown
; then
21052 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21056 CPPFLAGS
="$old_CPPFLAGS"
21058 ac_cpp
='$CPP $CPPFLAGS'
21059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21063 if test "$ac_cv_sys_largefile_source" != no
; then
21064 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21068 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21069 if ${ac_cv_c_bigendian+:} false
; then :
21070 $as_echo_n "(cached) " >&6
21072 ac_cv_c_bigendian
=unknown
21073 # See if sys/param.h defines the BYTE_ORDER macro.
21074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21076 #include <sys/types.h>
21077 #include <sys/param.h>
21082 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21083 bogus endian macros
21089 if ac_fn_c_try_compile
"$LINENO"; then :
21090 # It does; now see whether it defined to BIG_ENDIAN or not.
21091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21093 #include <sys/types.h>
21094 #include <sys/param.h>
21099 #if BYTE_ORDER != BIG_ENDIAN
21106 if ac_fn_c_try_compile
"$LINENO"; then :
21107 ac_cv_c_bigendian
=yes
21109 ac_cv_c_bigendian
=no
21111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21114 if test $ac_cv_c_bigendian = unknown
; then
21115 if test "$cross_compiling" = yes; then :
21116 ac_cv_c_bigendian
=unknown
21118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21119 /* end confdefs.h. */
21121 /* Are we little or big endian? From Harbison&Steele. */
21125 char c[sizeof (long)];
21128 exit (u.c[sizeof (long) - 1] == 1);
21131 if ac_fn_c_try_run
"$LINENO"; then :
21132 ac_cv_c_bigendian
=no
21134 ac_cv_c_bigendian
=yes
21136 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21137 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21143 $as_echo "$ac_cv_c_bigendian" >&6; }
21144 if test $ac_cv_c_bigendian = unknown
; then
21145 { $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
21146 $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;}
21148 if test $ac_cv_c_bigendian = yes; then
21149 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21157 ac_cpp
='$CXXCPP $CPPFLAGS'
21158 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21163 for ac_header
in iostream
21165 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21167 if test "x$ac_cv_header_iostream" = xyes
; then :
21168 cat >>confdefs.h
<<_ACEOF
21169 #define HAVE_IOSTREAM 1
21177 if test "$ac_cv_header_iostream" = "yes" ; then
21180 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21185 ac_cpp
='$CPP $CPPFLAGS'
21186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21194 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21195 if ${wx_cv_explicit+:} false
; then :
21196 $as_echo_n "(cached) " >&6
21201 ac_cpp
='$CXXCPP $CPPFLAGS'
21202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21210 class Foo { public: explicit Foo(int) {} };
21222 if ac_fn_cxx_try_compile
"$LINENO"; then :
21224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21227 class Foo { public: explicit Foo(int) {} };
21228 static void TakeFoo(const Foo& foo) { }
21241 if ac_fn_cxx_try_compile
"$LINENO"; then :
21247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21256 ac_cpp
='$CPP $CPPFLAGS'
21257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21264 $as_echo "$wx_cv_explicit" >&6; }
21266 if test "$wx_cv_explicit" = "yes"; then
21267 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21272 if test "x$SUNCXX" = xyes
; then
21273 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21276 if test "x$SUNCC" = xyes
; then
21277 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21280 if test "x$SGICC" = "xyes"; then
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21282 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21283 if ${wx_cv_prog_sgicc744+:} false
; then :
21284 $as_echo_n "(cached) " >&6
21287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21294 #if _SGI_COMPILER_VERSION >= 744
21295 chock me: mipsPro is 7.4.4 or later
21302 if ac_fn_c_try_compile
"$LINENO"; then :
21303 wx_cv_prog_sgicc744
=no
21305 wx_cv_prog_sgicc744
=yes
21308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21313 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21315 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21316 CFLAGS
="-woff 3970 $CFLAGS"
21319 if test "x$SGICXX" = "xyes"; then
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21321 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21322 if ${wx_cv_prog_sgicxx744+:} false
; then :
21323 $as_echo_n "(cached) " >&6
21327 ac_cpp
='$CXXCPP $CPPFLAGS'
21328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21339 #if _SGI_COMPILER_VERSION >= 744
21340 chock me: mipsPro is 7.4.4 or later
21347 if ac_fn_cxx_try_compile
"$LINENO"; then :
21348 wx_cv_prog_sgicxx744
=no
21350 wx_cv_prog_sgicxx744
=yes
21353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21355 ac_cpp
='$CPP $CPPFLAGS'
21356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21364 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21366 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21367 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21371 if test "x$HPCC" = "xyes"; then
21372 CFLAGS
="+W 2011,2450 $CFLAGS"
21374 if test "x$HPCXX" = "xyes"; then
21375 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21378 if test "x$COMPAQCXX" = "xyes"; then
21379 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21383 ac_cpp
='$CXXCPP $CPPFLAGS'
21384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21389 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21390 if test "$wxUSE_UNICODE" = "yes"; then
21391 std_string
="std::wstring"
21392 char_type
="wchar_t"
21394 std_string
="std::string"
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21399 $as_echo_n "checking for $std_string in <string>... " >&6; }
21400 if ${wx_cv_class_stdstring+:} false
; then :
21401 $as_echo_n "(cached) " >&6
21404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21415 if ac_fn_cxx_try_compile
"$LINENO"; then :
21416 wx_cv_class_stdstring
=yes
21418 wx_cv_class_stdstring
=no
21421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21426 $as_echo "$wx_cv_class_stdstring" >&6; }
21428 if test "$wx_cv_class_stdstring" = yes; then
21429 if test "$wxUSE_UNICODE" = "yes"; then
21430 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21435 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21436 if ${wx_cv_class_stdbasicstring+:} false
; then :
21437 $as_echo_n "(cached) " >&6
21440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21441 /* end confdefs.h. */
21443 #ifdef HAVE_WCHAR_H
21445 # include <stddef.h>
21447 # include <wchar.h>
21449 #ifdef HAVE_STDLIB_H
21450 # include <stdlib.h>
21458 std::basic_string<$char_type> foo;
21459 const $char_type* dummy = foo.c_str();
21464 if ac_fn_cxx_try_compile
"$LINENO"; then :
21465 wx_cv_class_stdbasicstring
=yes
21467 wx_cv_class_stdbasicstring
=no
21470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21475 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21477 if test "$wx_cv_class_stdbasicstring" != yes; then
21478 if test "$wxUSE_STL" = "yes"; then
21479 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21480 elif test "$wxUSE_STD_STRING" = "yes"; then
21481 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21484 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21485 wxUSE_STD_STRING
=no
21491 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21492 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21494 if test "x$ac_cv_type_std__istream" = xyes
; then :
21496 cat >>confdefs.h
<<_ACEOF
21497 #define HAVE_STD__ISTREAM 1
21502 wxUSE_STD_IOSTREAM
=no
21504 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21506 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21508 cat >>confdefs.h
<<_ACEOF
21509 #define HAVE_STD__OSTREAM 1
21514 wxUSE_STD_IOSTREAM
=no
21518 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21519 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21520 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21523 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21528 if test "$wxUSE_STL" = "yes"; then
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21530 $as_echo_n "checking for basic STL functionality... " >&6; }
21531 if ${wx_cv_lib_stl+:} false
; then :
21532 $as_echo_n "(cached) " >&6
21534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21537 #include <functional>
21538 #include <algorithm>
21544 std::vector<int> moo;
21545 std::list<int> foo;
21546 std::vector<int>::iterator it =
21547 std::find_if(moo.begin(), moo.end(),
21548 std::bind2nd(std::less<int>(), 3));
21553 if ac_fn_cxx_try_compile
"$LINENO"; then :
21559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21563 $as_echo "$wx_cv_lib_stl" >&6; }
21565 if test "$wx_cv_lib_stl" != yes; then
21566 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21570 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21571 if ${wx_cv_func_stdstring_compare+:} false
; then :
21572 $as_echo_n "(cached) " >&6
21574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21580 std::string foo, bar;
21582 foo.compare(1, 1, bar);
21583 foo.compare(1, 1, bar, 1, 1);
21585 foo.compare(1, 1, "");
21586 foo.compare(1, 1, "", 2);
21591 if ac_fn_cxx_try_compile
"$LINENO"; then :
21592 wx_cv_func_stdstring_compare
=yes
21594 wx_cv_func_stdstring_compare
=no
21597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21601 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21603 if test "$wx_cv_func_stdstring_compare" = yes; then
21604 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21608 if test "$wx_cv_class_gnuhashmapset" = yes; then
21609 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21611 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21615 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21618 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21620 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21621 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21622 $as_echo_n "(cached) " >&6
21624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h. */
21626 #include <unordered_map>
21627 #include <unordered_set>
21631 std::unordered_map<double*, char*> test1;
21632 std::unordered_set<char*> test2;
21637 if ac_fn_cxx_try_compile
"$LINENO"; then :
21638 wx_cv_class_stdunorderedmapset
=yes
21640 wx_cv_class_stdunorderedmapset
=no
21642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21647 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21652 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21653 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21655 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21658 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21661 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21663 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21664 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21665 $as_echo_n "(cached) " >&6
21667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21669 #include <tr1/unordered_map>
21670 #include <tr1/unordered_set>
21674 std::tr1::unordered_map<double*, char*> test1;
21675 std::tr1::unordered_set<char*> test2;
21676 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21677 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21683 if ac_fn_cxx_try_compile
"$LINENO"; then :
21684 wx_cv_class_tr1unorderedmapset
=yes
21686 wx_cv_class_tr1unorderedmapset
=no
21688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21693 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21698 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21699 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21701 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21704 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21707 if test "x$ac_cv_header_hash_map" = xyes
; then :
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21709 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21710 if ${wx_cv_class_stdhashmapset+:} false
; then :
21711 $as_echo_n "(cached) " >&6
21713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <hash_map>
21716 #include <hash_set>
21720 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21721 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21726 if ac_fn_cxx_try_compile
"$LINENO"; then :
21727 wx_cv_class_stdhashmapset
=yes
21729 wx_cv_class_stdhashmapset
=no
21731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21736 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21741 if test "$wx_cv_class_stdhashmapset" = yes; then
21742 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21744 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21748 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21751 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21753 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21754 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21755 $as_echo_n "(cached) " >&6
21757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21759 #include <ext/hash_map>
21760 #include <ext/hash_set>
21764 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21765 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21770 if ac_fn_cxx_try_compile
"$LINENO"; then :
21771 wx_cv_class_gnuhashmapset
=yes
21773 wx_cv_class_gnuhashmapset
=no
21775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21780 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21790 ac_cpp
='$CXXCPP $CPPFLAGS'
21791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21795 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21796 if test -z "$CXXCPP"; then
21797 if ${ac_cv_prog_CXXCPP+:} false
; then :
21798 $as_echo_n "(cached) " >&6
21800 # Double quotes because CXXCPP needs to be expanded
21801 for CXXCPP
in "$CXX -E" "/lib/cpp"
21803 ac_preproc_ok
=false
21804 for ac_cxx_preproc_warn_flag
in '' yes
21806 # Use a header file that comes with gcc, so configuring glibc
21807 # with a fresh cross-compiler works.
21808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21809 # <limits.h> exists even on freestanding compilers.
21810 # On the NeXT, cc -E runs the code through the compiler's parser,
21811 # not just through cpp. "Syntax error" is here to catch this case.
21812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21815 # include <limits.h>
21817 # include <assert.h>
21821 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21824 # Broken: fails on valid input.
21827 rm -f conftest.err conftest.i conftest.
$ac_ext
21829 # OK, works on sane cases. Now check whether nonexistent headers
21830 # can be detected and how.
21831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21833 #include <ac_nonexistent.h>
21835 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21836 # Broken: success on invalid input.
21839 # Passes both tests.
21843 rm -f conftest.err conftest.i conftest.
$ac_ext
21846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21847 rm -f conftest.i conftest.err conftest.
$ac_ext
21848 if $ac_preproc_ok; then :
21853 ac_cv_prog_CXXCPP
=$CXXCPP
21856 CXXCPP
=$ac_cv_prog_CXXCPP
21858 ac_cv_prog_CXXCPP
=$CXXCPP
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21861 $as_echo "$CXXCPP" >&6; }
21862 ac_preproc_ok
=false
21863 for ac_cxx_preproc_warn_flag
in '' yes
21865 # Use a header file that comes with gcc, so configuring glibc
21866 # with a fresh cross-compiler works.
21867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21868 # <limits.h> exists even on freestanding compilers.
21869 # On the NeXT, cc -E runs the code through the compiler's parser,
21870 # not just through cpp. "Syntax error" is here to catch this case.
21871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21874 # include <limits.h>
21876 # include <assert.h>
21880 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21883 # Broken: fails on valid input.
21886 rm -f conftest.err conftest.i conftest.
$ac_ext
21888 # OK, works on sane cases. Now check whether nonexistent headers
21889 # can be detected and how.
21890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892 #include <ac_nonexistent.h>
21894 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21895 # Broken: success on invalid input.
21898 # Passes both tests.
21902 rm -f conftest.err conftest.i conftest.
$ac_ext
21905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21906 rm -f conftest.i conftest.err conftest.
$ac_ext
21907 if $ac_preproc_ok; then :
21910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21912 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21913 See \`config.log' for more details" "$LINENO" 5; }
21917 ac_cpp
='$CXXCPP $CPPFLAGS'
21918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21923 for ac_header
in type_traits tr
1/type_traits
21925 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21926 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21927 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21928 cat >>confdefs.h
<<_ACEOF
21929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21939 if test -n "$GCC"; then
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21941 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21942 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21943 $as_echo_n "(cached) " >&6
21946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21953 unsigned int value=0;
21954 /* wxAtomicInc doesn't use return value here */
21955 __sync_fetch_and_add(&value, 2);
21956 __sync_sub_and_fetch(&value, 1);
21957 /* but wxAtomicDec does, so mimic that: */
21958 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21964 if ac_fn_cxx_try_link
"$LINENO"; then :
21965 wx_cv_cc_gcc_atomic_builtins
=yes
21967 wx_cv_cc_gcc_atomic_builtins
=no
21969 rm -f core conftest.err conftest.
$ac_objext \
21970 conftest
$ac_exeext conftest.
$ac_ext
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21975 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21976 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21977 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21984 ac_cpp
='$CPP $CPPFLAGS'
21985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21992 /usr/local/include \
21993 /usr/local/X11/include \
21994 /usr/local/include/X11 \
21995 /usr/local/X11R7/include \
21996 /usr/local/X11R6/include \
21997 /usr/local/include/X11R7 \
21998 /usr/local/include/X11R6 \
22000 /usr/Motif-2.1/include \
22001 /usr/Motif-1.2/include \
22002 /usr/include/Motif1.2 \
22005 /usr/openwin/include \
22009 /usr/X11R7/include \
22010 /usr/X11R6/include \
22011 /usr/X11R6.4/include \
22013 /usr/include/X11R7 \
22014 /usr/include/X11R6 \
22019 /usr/XFree86/include/X11 \
22022 /usr/local/X1R5/include \
22023 /usr/local/include/X11R5 \
22024 /usr/X11R5/include \
22025 /usr/include/X11R5 \
22027 /usr/local/X11R4/include \
22028 /usr/local/include/X11R4 \
22029 /usr/X11R4/include \
22030 /usr/include/X11R4 \
22032 /usr/openwin/share/include"
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22035 $as_echo_n "checking for libraries directories... " >&6; }
22039 if ${wx_cv_std_libpath+:} false
; then :
22040 $as_echo_n "(cached) " >&6
22043 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22044 for e
in a so sl dylib dll.a
; do
22046 if test -f $libc; then
22049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22052 int main() { return 0; }
22055 if ac_fn_c_try_link
"$LINENO"; then :
22056 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22058 rm -f core conftest.err conftest.
$ac_objext \
22059 conftest
$ac_exeext conftest.
$ac_ext
22061 if test "x$wx_cv_std_libpath" != "x"; then
22074 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22075 wx_cv_std_libpath
="lib/64"
22080 if test "$ac_cv_sizeof_void_p" = 8; then
22081 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22082 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22083 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22084 wx_cv_std_libpath
="lib64"
22089 if test -d '/usr/lib/i386-linux-gnu'; then
22090 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22095 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22096 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22101 if test -z "$wx_cv_std_libpath"; then
22102 wx_cv_std_libpath
="lib"
22105 if test -z "$wx_cv_std_libfullpath"; then
22106 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22111 $as_echo "$wx_cv_std_libfullpath" >&6; }
22113 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22115 if test "$build" != "$host" -a "$GCC" = yes; then
22116 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22117 cross_root
=`dirname $cross_root`
22118 cross_root
=`dirname $cross_root`
22120 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22121 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22122 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22124 if test -z "$PKG_CONFIG_PATH"; then
22125 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22126 export PKG_CONFIG_PATH
22129 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22132 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22134 if test -f "$ac_dir/X11/Intrinsic.h"; then
22135 ac_find_includes
=$ac_dir
22140 x_includes
=$ac_find_includes
22142 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22145 for ac_dir
in $SEARCH_LIB
22147 for ac_extension
in a so sl dylib dll.a
; do
22148 if test -f "$ac_dir/libXt.$ac_extension"; then
22149 ac_find_libraries
=$ac_dir
22155 x_libraries
=$ac_find_libraries
22161 cat >confcache
<<\_ACEOF
22162 # This file is a shell script that caches the results of configure
22163 # tests run on this system so they can be shared between configure
22164 # scripts and configure runs, see configure's option --config-cache.
22165 # It is not useful on other systems. If it contains results you don't
22166 # want to keep, you may remove or edit it.
22168 # config.status only pays attention to the cache file if you give it
22169 # the --recheck option to rerun configure.
22171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22173 # following values.
22177 # The following way of writing the cache mishandles newlines in values,
22178 # but we know of no workaround that is simple, portable, and efficient.
22179 # So, we kill variables containing newlines.
22180 # Ultrix sh set writes to stderr and can't be redirected directly,
22181 # and sets the high bit in the cache file unless we assign to the vars.
22183 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22184 eval ac_val
=\$
$ac_var
22188 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22192 _
| IFS
| as_nl
) ;; #(
22193 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22194 *) { eval $ac_var=; unset $ac_var;} ;;
22200 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22201 *${as_nl}ac_space
=\
*)
22202 # `set' does not quote correctly, so add quotes: double-quote
22203 # substitution turns \\\\ into \\, and sed turns \\ into \.
22206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22209 # `set' quotes correctly as required by POSIX, so do not add quotes.
22210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22221 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22223 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22224 if test -w "$cache_file"; then
22225 if test "x$cache_file" != "x/dev/null"; then
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22227 $as_echo "$as_me: updating cache $cache_file" >&6;}
22228 if test ! -f "$cache_file" || test -h "$cache_file"; then
22229 cat confcache
>"$cache_file"
22231 case $cache_file in #(
22233 mv -f confcache
"$cache_file"$$
&&
22234 mv -f "$cache_file"$$
"$cache_file" ;; #(
22236 mv -f confcache
"$cache_file" ;;
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22251 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22252 if test "x$ac_cv_func_cos" = xyes
; then :
22253 cat >>confdefs.h
<<_ACEOF
22260 for ac_func
in floor
22262 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22263 if test "x$ac_cv_func_floor" = xyes
; then :
22264 cat >>confdefs.h
<<_ACEOF
22265 #define HAVE_FLOOR 1
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22272 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22273 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22275 $as_echo "yes" >&6; }
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22278 $as_echo "no" >&6; }
22280 # use different functions to avoid configure caching
22285 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22286 if test "x$ac_cv_func_sin" = xyes
; then :
22287 cat >>confdefs.h
<<_ACEOF
22294 for ac_func
in ceil
22296 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22297 if test "x$ac_cv_func_ceil" = xyes
; then :
22298 cat >>confdefs.h
<<_ACEOF
22299 #define HAVE_CEIL 1
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22306 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22307 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22309 $as_echo "yes" >&6; }
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22312 $as_echo "no" >&6; }
22313 # not sure we should warn the user, crash, etc.
22318 ac_cpp
='$CXXCPP $CPPFLAGS'
22319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22323 if test "wxUSE_UNICODE" = "yes"; then
22325 for wx_func
in wcstoull
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22328 $as_echo_n "checking for $wx_func... " >&6; }
22329 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22330 $as_echo_n "(cached) " >&6
22333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22334 /* end confdefs.h. */
22338 $ac_includes_default
22354 if ac_fn_cxx_try_link
"$LINENO"; then :
22355 eval wx_cv_func_
$wx_func=yes
22357 eval wx_cv_func_
$wx_func=no
22359 rm -f core conftest.err conftest.
$ac_objext \
22360 conftest
$ac_exeext conftest.
$ac_ext
22363 eval ac_res
=\
$wx_cv_func_$wx_func
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22365 $as_echo "$ac_res" >&6; }
22367 if eval test \
$wx_cv_func_$wx_func = yes
22369 cat >>confdefs.h
<<_ACEOF
22370 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22382 for wx_func
in strtoull
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22385 $as_echo_n "checking for $wx_func... " >&6; }
22386 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22387 $as_echo_n "(cached) " >&6
22390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22391 /* end confdefs.h. */
22395 $ac_includes_default
22411 if ac_fn_cxx_try_link
"$LINENO"; then :
22412 eval wx_cv_func_
$wx_func=yes
22414 eval wx_cv_func_
$wx_func=no
22416 rm -f core conftest.err conftest.
$ac_objext \
22417 conftest
$ac_exeext conftest.
$ac_ext
22420 eval ac_res
=\
$wx_cv_func_$wx_func
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22422 $as_echo "$ac_res" >&6; }
22424 if eval test \
$wx_cv_func_$wx_func = yes
22426 cat >>confdefs.h
<<_ACEOF
22427 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22439 ac_cpp
='$CPP $CPPFLAGS'
22440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22447 if test "$wxUSE_REGEX" != "no"; then
22448 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22451 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22453 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22454 wxUSE_REGEX
=builtin
22457 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22458 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22460 if test "x$ac_cv_header_regex_h" = xyes
; then :
22461 for ac_func
in regcomp re_search
22463 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22464 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22465 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22466 cat >>confdefs.h
<<_ACEOF
22467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22477 if test "x$ac_cv_func_regcomp" != "xyes"; then
22478 if test "$wxUSE_REGEX" = "sys" ; then
22479 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22482 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22483 wxUSE_REGEX
=builtin
22487 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22495 if test "$wxUSE_ZLIB" != "no" ; then
22496 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22499 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22500 if test "$USE_DARWIN" = 1; then
22501 system_zlib_h_ok
="yes"
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22504 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22505 if ${ac_cv_header_zlib_h+:} false
; then :
22506 $as_echo_n "(cached) " >&6
22508 if test "$cross_compiling" = yes; then :
22509 unset ac_cv_header_zlib_h
22512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22520 FILE *f=fopen("conftestval", "w");
22523 ZLIB_VERSION[0] == '1' &&
22524 (ZLIB_VERSION[2] > '1' ||
22525 (ZLIB_VERSION[2] == '1' &&
22526 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22531 if ac_fn_c_try_run
"$LINENO"; then :
22532 ac_cv_header_zlib_h
=`cat conftestval`
22534 ac_cv_header_zlib_h
=no
22536 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22537 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22543 $as_echo "$ac_cv_header_zlib_h" >&6; }
22544 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22546 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22552 system_zlib_h_ok
=$ac_cv_header_zlib_h
22555 if test "$system_zlib_h_ok" = "yes"; then
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22557 $as_echo_n "checking for deflate in -lz... " >&6; }
22558 if ${ac_cv_lib_z_deflate+:} false
; then :
22559 $as_echo_n "(cached) " >&6
22561 ac_check_lib_save_LIBS
=$LIBS
22563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22564 /* end confdefs.h. */
22566 /* Override any GCC internal prototype to avoid an error.
22567 Use char because int might match the return type of a GCC
22568 builtin and then its argument prototype would still apply. */
22581 if ac_fn_c_try_link
"$LINENO"; then :
22582 ac_cv_lib_z_deflate
=yes
22584 ac_cv_lib_z_deflate
=no
22586 rm -f core conftest.err conftest.
$ac_objext \
22587 conftest
$ac_exeext conftest.
$ac_ext
22588 LIBS
=$ac_check_lib_save_LIBS
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22591 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22592 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22598 if test "x$ZLIB_LINK" = "x" ; then
22599 if test "$wxUSE_ZLIB" = "sys" ; then
22600 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22603 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22614 if test "$wxUSE_LIBPNG" != "no" ; then
22615 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22618 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22620 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22621 wxUSE_LIBPNG
=builtin
22624 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22626 $as_echo_n "checking for png.h > 0.90... " >&6; }
22627 if ${ac_cv_header_png_h+:} false
; then :
22628 $as_echo_n "(cached) " >&6
22630 if test "$cross_compiling" = yes; then :
22631 unset ac_cv_header_png_h
22634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22642 FILE *f=fopen("conftestval", "w");
22645 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22650 if ac_fn_c_try_run
"$LINENO"; then :
22651 ac_cv_header_png_h
=`cat conftestval`
22653 ac_cv_header_png_h
=no
22655 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22656 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22662 $as_echo "$ac_cv_header_png_h" >&6; }
22663 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22665 if test "x$ac_cv_header_png_h" = xyes
; then :
22671 if test "$ac_cv_header_png_h" = "yes"; then
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22673 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22674 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22675 $as_echo_n "(cached) " >&6
22677 ac_check_lib_save_LIBS
=$LIBS
22678 LIBS
="-lpng -lz -lm $LIBS"
22679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 /* Override any GCC internal prototype to avoid an error.
22683 Use char because int might match the return type of a GCC
22684 builtin and then its argument prototype would still apply. */
22688 char png_sig_cmp ();
22692 return png_sig_cmp ();
22697 if ac_fn_c_try_link
"$LINENO"; then :
22698 ac_cv_lib_png_png_sig_cmp
=yes
22700 ac_cv_lib_png_png_sig_cmp
=no
22702 rm -f core conftest.err conftest.
$ac_objext \
22703 conftest
$ac_exeext conftest.
$ac_ext
22704 LIBS
=$ac_check_lib_save_LIBS
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22707 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22708 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22709 PNG_LINK
=" -lpng -lz"
22714 if test "x$PNG_LINK" = "x" ; then
22715 if test "$wxUSE_LIBPNG" = "sys" ; then
22716 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22719 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22720 wxUSE_LIBPNG
=builtin
22730 if test "$wxUSE_LIBJPEG" != "no" ; then
22731 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22734 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22736 $as_echo_n "checking for jpeglib.h... " >&6; }
22737 if ${ac_cv_header_jpeglib_h+:} false
; then :
22738 $as_echo_n "(cached) " >&6
22740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22741 /* end confdefs.h. */
22743 #undef HAVE_STDLIB_H
22745 #include <jpeglib.h>
22756 if ac_fn_c_try_compile
"$LINENO"; then :
22757 ac_cv_header_jpeglib_h
=yes
22759 ac_cv_header_jpeglib_h
=no
22762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22767 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22769 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22771 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22772 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22773 $as_echo_n "(cached) " >&6
22775 ac_check_lib_save_LIBS
=$LIBS
22776 LIBS
="-ljpeg $LIBS"
22777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22778 /* end confdefs.h. */
22780 /* Override any GCC internal prototype to avoid an error.
22781 Use char because int might match the return type of a GCC
22782 builtin and then its argument prototype would still apply. */
22786 char jpeg_read_header ();
22790 return jpeg_read_header ();
22795 if ac_fn_c_try_link
"$LINENO"; then :
22796 ac_cv_lib_jpeg_jpeg_read_header
=yes
22798 ac_cv_lib_jpeg_jpeg_read_header
=no
22800 rm -f core conftest.err conftest.
$ac_objext \
22801 conftest
$ac_exeext conftest.
$ac_ext
22802 LIBS
=$ac_check_lib_save_LIBS
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22805 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22806 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22807 JPEG_LINK
=" -ljpeg"
22812 if test "x$JPEG_LINK" = "x" ; then
22813 if test "$wxUSE_LIBJPEG" = "sys" ; then
22814 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22817 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22818 wxUSE_LIBJPEG
=builtin
22823 if test "$wxUSE_MSW" = 1; then
22824 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22826 if test "x$ac_cv_type_boolean" = xyes
; then :
22828 cat >>confdefs.h
<<_ACEOF
22829 #define HAVE_BOOLEAN 1
22833 # The cast to long int works around a bug in the HP C Compiler
22834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22836 # This bug is HP SR number 8606223364.
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22838 $as_echo_n "checking size of boolean... " >&6; }
22839 if ${ac_cv_sizeof_boolean+:} false
; then :
22840 $as_echo_n "(cached) " >&6
22842 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22843 #undef HAVE_BOOLEAN
22845 #include <jpeglib.h>
22850 if test "$ac_cv_type_boolean" = yes; then
22851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22853 as_fn_error
77 "cannot compute sizeof (boolean)
22854 See \`config.log' for more details" "$LINENO" 5; }
22856 ac_cv_sizeof_boolean
=0
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22862 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22866 cat >>confdefs.h
<<_ACEOF
22867 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22871 cat >>confdefs.h
<<_ACEOF
22872 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22885 TIFF_PREREQ_LINKS
=-lm
22886 if test "$wxUSE_LIBTIFF" != "no" ; then
22887 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22890 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22891 if test "$wxUSE_LIBJPEG" = "sys"; then
22892 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22894 if test "$wxUSE_ZLIB" = "sys"; then
22895 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22897 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22900 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22903 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22904 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22905 $as_echo_n "(cached) " >&6
22907 ac_check_lib_save_LIBS
=$LIBS
22908 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22912 /* Override any GCC internal prototype to avoid an error.
22913 Use char because int might match the return type of a GCC
22914 builtin and then its argument prototype would still apply. */
22922 return TIFFError ();
22927 if ac_fn_c_try_link
"$LINENO"; then :
22928 ac_cv_lib_tiff_TIFFError
=yes
22930 ac_cv_lib_tiff_TIFFError
=no
22932 rm -f core conftest.err conftest.
$ac_objext \
22933 conftest
$ac_exeext conftest.
$ac_ext
22934 LIBS
=$ac_check_lib_save_LIBS
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22937 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22938 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22939 TIFF_LINK
=" -ltiff"
22947 if test "x$TIFF_LINK" = "x" ; then
22948 if test "$wxUSE_LIBTIFF" = "sys" ; then
22949 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22952 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22953 wxUSE_LIBTIFF
=builtin
22959 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22960 if test "$wxUSE_LIBJPEG" = "no"; then
22961 ac_configure_args
="$ac_configure_args --disable-jpeg"
22964 if test "$wxUSE_LIBLZMA" = "yes"; then
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22966 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22967 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22968 $as_echo_n "(cached) " >&6
22970 ac_check_lib_save_LIBS
=$LIBS
22971 LIBS
="-llzma $LIBS"
22972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22975 /* Override any GCC internal prototype to avoid an error.
22976 Use char because int might match the return type of a GCC
22977 builtin and then its argument prototype would still apply. */
22985 return lzma_code ();
22990 if ac_fn_c_try_link
"$LINENO"; then :
22991 ac_cv_lib_lzma_lzma_code
=yes
22993 ac_cv_lib_lzma_lzma_code
=no
22995 rm -f core conftest.err conftest.
$ac_objext \
22996 conftest
$ac_exeext conftest.
$ac_ext
22997 LIBS
=$ac_check_lib_save_LIBS
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23000 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23001 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
23002 LIBS
="$LIBS -llzma"
23006 ac_configure_args
="$ac_configure_args --disable-lzma"
23009 if test "$wxUSE_LIBJBIG" = "yes"; then
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23011 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23012 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
23013 $as_echo_n "(cached) " >&6
23015 ac_check_lib_save_LIBS
=$LIBS
23016 LIBS
="-ljbig $LIBS"
23017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23018 /* end confdefs.h. */
23020 /* Override any GCC internal prototype to avoid an error.
23021 Use char because int might match the return type of a GCC
23022 builtin and then its argument prototype would still apply. */
23026 char jbg_dec_init ();
23030 return jbg_dec_init ();
23035 if ac_fn_c_try_link
"$LINENO"; then :
23036 ac_cv_lib_jbig_jbg_dec_init
=yes
23038 ac_cv_lib_jbig_jbg_dec_init
=no
23040 rm -f core conftest.err conftest.
$ac_objext \
23041 conftest
$ac_exeext conftest.
$ac_ext
23042 LIBS
=$ac_check_lib_save_LIBS
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23045 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23046 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
23047 LIBS
="$LIBS -ljbig"
23051 ac_configure_args
="$ac_configure_args --disable-jbig"
23056 subdirs
="$subdirs src/tiff"
23062 if test "$wxUSE_EXPAT" != "no"; then
23064 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23066 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23069 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23070 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
23072 if test "x$ac_cv_header_expat_h" = xyes
; then :
23077 if test "x$found_expat_h" = "x1"; then
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23079 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23080 if ${wx_cv_expat_is_not_broken+:} false
; then :
23081 $as_echo_n "(cached) " >&6
23085 ac_cpp
='$CXXCPP $CPPFLAGS'
23086 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23101 if ac_fn_cxx_try_compile
"$LINENO"; then :
23102 wx_cv_expat_is_not_broken
=yes
23104 wx_cv_expat_is_not_broken
=no
23107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23109 ac_cpp
='$CPP $CPPFLAGS'
23110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23118 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23119 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23121 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23122 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23123 $as_echo_n "(cached) " >&6
23125 ac_check_lib_save_LIBS
=$LIBS
23126 LIBS
="-lexpat $LIBS"
23127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23130 /* Override any GCC internal prototype to avoid an error.
23131 Use char because int might match the return type of a GCC
23132 builtin and then its argument prototype would still apply. */
23136 char XML_ParserCreate ();
23140 return XML_ParserCreate ();
23145 if ac_fn_c_try_link
"$LINENO"; then :
23146 ac_cv_lib_expat_XML_ParserCreate
=yes
23148 ac_cv_lib_expat_XML_ParserCreate
=no
23150 rm -f core conftest.err conftest.
$ac_objext \
23151 conftest
$ac_exeext conftest.
$ac_ext
23152 LIBS
=$ac_check_lib_save_LIBS
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23155 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23156 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23157 EXPAT_LINK
=" -lexpat"
23162 if test "x$EXPAT_LINK" = "x" ; then
23163 if test "$wxUSE_EXPAT" = "sys" ; then
23164 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23167 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23168 wxUSE_EXPAT
=builtin
23174 if test "$wxUSE_EXPAT" = "builtin" ; then
23175 subdirs
="$subdirs src/expat"
23182 if test "$wxUSE_LIBMSPACK" != "no"; then
23183 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23185 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23190 if test "x$found_mspack_h" = "x1"; then
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23192 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23193 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23194 $as_echo_n "(cached) " >&6
23196 ac_check_lib_save_LIBS
=$LIBS
23197 LIBS
="-lmspack $LIBS"
23198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23201 /* Override any GCC internal prototype to avoid an error.
23202 Use char because int might match the return type of a GCC
23203 builtin and then its argument prototype would still apply. */
23207 char mspack_create_chm_decompressor ();
23211 return mspack_create_chm_decompressor ();
23216 if ac_fn_c_try_link
"$LINENO"; then :
23217 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23219 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23221 rm -f core conftest.err conftest.
$ac_objext \
23222 conftest
$ac_exeext conftest.
$ac_ext
23223 LIBS
=$ac_check_lib_save_LIBS
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23226 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23227 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23228 MSPACK_LINK
=" -lmspack"
23232 if test "x$MSPACK_LINK" = "x" ; then
23237 if test "$wxUSE_LIBMSPACK" != "no"; then
23238 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23248 if test "$USE_WIN32" = 1 ; then
23249 for ac_header
in w32api.h
23251 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23253 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23254 cat >>confdefs.h
<<_ACEOF
23255 #define HAVE_W32API_H 1
23262 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23264 if test "x$ac_cv_header_windows_h" = xyes
; then :
23268 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23274 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23276 x86_64
-*-mingw32* )
23277 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23280 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23281 LIBS
="$LIBS -loleacc"
23286 LIBS
="$LIBS -lkernel32 -luser32"
23289 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23292 if test "$wxUSE_GUI" = "yes"; then
23303 if test "$wxUSE_OLD_COCOA" = 1 ; then
23304 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23306 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23307 wxUSE_PRINTING_ARCHITECTURE
=no
23309 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23311 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23312 wxUSE_DRAG_AND_DROP
=no
23314 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23316 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23321 if test "$wxUSE_MSW" = 1 ; then
23327 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23331 if test "$wxUSE_GTK" = 1; then
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23333 $as_echo_n "checking for GTK+ version... " >&6; }
23335 gtk_version_cached
=1
23336 if ${wx_cv_lib_gtk+:} false
; then :
23337 $as_echo_n "(cached) " >&6
23340 gtk_version_cached
=0
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23345 if test "$wxUSE_THREADS" = "yes"; then
23346 GTK_MODULES
=gthread
23349 if test -z "$wxGTK_VERSION"; then
23354 if test "x$wxGTK_VERSION" != "x1"
23358 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23363 if test "$wxGTK_VERSION" != 3; then
23364 # Check whether --enable-gtktest was given.
23365 if test "${enable_gtktest+set}" = set; then :
23366 enableval
=$enable_gtktest;
23372 pkg_config_args
=gtk
+-2.0
23373 for module
in .
$GTK_MODULES
23377 pkg_config_args
="$pkg_config_args gthread-2.0"
23384 # Extract the first word of "pkg-config", so it can be a program name with args.
23385 set dummy pkg
-config; ac_word
=$2
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23387 $as_echo_n "checking for $ac_word... " >&6; }
23388 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23389 $as_echo_n "(cached) " >&6
23391 case $PKG_CONFIG in
23393 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23397 for as_dir
in $PATH
23400 test -z "$as_dir" && as_dir
=.
23401 for ac_exec_ext
in '' $ac_executable_extensions; do
23402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23403 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23411 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23415 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23416 if test -n "$PKG_CONFIG"; then
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23418 $as_echo "$PKG_CONFIG" >&6; }
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23421 $as_echo "no" >&6; }
23426 if test x
$PKG_CONFIG != xno
; then
23427 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23430 echo "*** pkg-config too old; version 0.7 or better required."
23438 min_gtk_version
=2.6.0
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23440 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23442 if test x
$PKG_CONFIG != xno
; then
23443 ## don't try to run the test against uninstalled libtool libs
23444 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23445 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23449 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23456 if test x
"$no_gtk" = x
; then
23457 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23458 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23459 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23461 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23463 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23465 if test "x$enable_gtktest" = "xyes" ; then
23466 ac_save_CFLAGS
="$CFLAGS"
23467 ac_save_LIBS
="$LIBS"
23468 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23469 LIBS
="$GTK_LIBS $LIBS"
23471 if test "$cross_compiling" = yes; then :
23472 echo $ac_n "cross compiling; assumed OK... $ac_c"
23474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23477 #include <gtk/gtk.h>
23479 #include <stdlib.h>
23484 int major, minor, micro;
23487 system ("touch conf.gtktest");
23489 /* HP/UX 9 (%@#!) writes to sscanf strings */
23490 tmp_version = g_strdup("$min_gtk_version");
23491 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23492 printf("%s, bad version string\n", "$min_gtk_version");
23496 if ((gtk_major_version != $gtk_config_major_version) ||
23497 (gtk_minor_version != $gtk_config_minor_version) ||
23498 (gtk_micro_version != $gtk_config_micro_version))
23500 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23501 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23502 gtk_major_version, gtk_minor_version, gtk_micro_version);
23503 printf ("*** was found! If pkg-config was correct, then it is best\n");
23504 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23505 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23506 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23507 printf("*** required on your system.\n");
23508 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23509 printf("*** to point to the correct configuration files\n");
23511 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23512 (gtk_minor_version != GTK_MINOR_VERSION) ||
23513 (gtk_micro_version != GTK_MICRO_VERSION))
23515 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23516 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23517 printf("*** library (version %d.%d.%d)\n",
23518 gtk_major_version, gtk_minor_version, gtk_micro_version);
23522 if ((gtk_major_version > major) ||
23523 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23524 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23530 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23531 gtk_major_version, gtk_minor_version, gtk_micro_version);
23532 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23533 major, minor, micro);
23534 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23536 printf("*** If you have already installed a sufficiently new version, this error\n");
23537 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23538 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23539 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23540 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23541 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23542 printf("*** so that the correct libraries are found at run-time))\n");
23549 if ac_fn_c_try_run
"$LINENO"; then :
23554 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23555 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23558 CFLAGS
="$ac_save_CFLAGS"
23559 LIBS
="$ac_save_LIBS"
23562 if test "x$no_gtk" = x
; then
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23564 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23568 $as_echo "no" >&6; }
23569 if test "$PKG_CONFIG" = "no" ; then
23570 echo "*** A new enough version of pkg-config was not found."
23571 echo "*** See http://pkgconfig.sourceforge.net"
23573 if test -f conf.gtktest
; then
23576 echo "*** Could not run GTK+ test program, checking why..."
23577 ac_save_CFLAGS
="$CFLAGS"
23578 ac_save_LIBS
="$LIBS"
23579 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23580 LIBS
="$LIBS $GTK_LIBS"
23581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23584 #include <gtk/gtk.h>
23590 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23595 if ac_fn_c_try_link
"$LINENO"; then :
23596 echo "*** The test program compiled, but did not run. This usually means"
23597 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23598 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23601 echo "*** is required on your system"
23603 echo "*** If you have an old version installed, it is best to remove it, although"
23604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23606 echo "*** The test program failed to compile or link. See the file config.log for the"
23607 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23609 rm -f core conftest.err conftest.
$ac_objext \
23610 conftest
$ac_exeext conftest.
$ac_ext
23611 CFLAGS
="$ac_save_CFLAGS"
23612 LIBS
="$ac_save_LIBS"
23624 if test -z "$wx_cv_lib_gtk"; then
23625 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23626 # Check whether --enable-gtktest was given.
23627 if test "${enable_gtktest+set}" = set; then :
23628 enableval
=$enable_gtktest;
23634 pkg_gtk_version
=gtk
+-3.0
23635 pkg_config_args
=$pkg_gtk_version
23636 for module
in .
$GTK_MODULES
23640 pkg_gthread_version
=gthread
-2.0
23641 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23648 # Extract the first word of "pkg-config", so it can be a program name with args.
23649 set dummy pkg
-config; ac_word
=$2
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23651 $as_echo_n "checking for $ac_word... " >&6; }
23652 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23653 $as_echo_n "(cached) " >&6
23655 case $PKG_CONFIG in
23657 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23661 for as_dir
in $PATH
23664 test -z "$as_dir" && as_dir
=.
23665 for ac_exec_ext
in '' $ac_executable_extensions; do
23666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23667 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23675 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23679 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23680 if test -n "$PKG_CONFIG"; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23682 $as_echo "$PKG_CONFIG" >&6; }
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23685 $as_echo "no" >&6; }
23690 if test x
$PKG_CONFIG != xno
; then
23691 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23694 echo "*** pkg-config too old; version 0.7 or better required."
23702 min_gtk_version
=3.0.0
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23704 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23706 if test x
$PKG_CONFIG != xno
; then
23707 ## don't try to run the test against uninstalled libtool libs
23708 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23709 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23712 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23719 if test x
"$no_gtk" = x
; then
23720 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23721 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23722 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23724 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23726 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23728 if test "x$enable_gtktest" = "xyes" ; then
23729 ac_save_CFLAGS
="$CFLAGS"
23730 ac_save_LIBS
="$LIBS"
23731 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23732 LIBS
="$GTK_LIBS $LIBS"
23734 if test "$cross_compiling" = yes; then :
23735 echo $ac_n "cross compiling; assumed OK... $ac_c"
23737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23738 /* end confdefs.h. */
23740 #include <gtk/gtk.h>
23742 #include <stdlib.h>
23747 int major, minor, micro;
23750 fclose (fopen ("conf.gtktest", "w"));
23752 /* HP/UX 9 (%@#!) writes to sscanf strings */
23753 tmp_version = g_strdup("$min_gtk_version");
23754 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23755 printf("%s, bad version string\n", "$min_gtk_version");
23759 if ((gtk_major_version != $gtk_config_major_version) ||
23760 (gtk_minor_version != $gtk_config_minor_version) ||
23761 (gtk_micro_version != $gtk_config_micro_version))
23763 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23764 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23765 gtk_major_version, gtk_minor_version, gtk_micro_version);
23766 printf ("*** was found! If pkg-config was correct, then it is best\n");
23767 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23768 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23769 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23770 printf("*** required on your system.\n");
23771 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23772 printf("*** to point to the correct configuration files\n");
23774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23775 (gtk_minor_version != GTK_MINOR_VERSION) ||
23776 (gtk_micro_version != GTK_MICRO_VERSION))
23778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23780 printf("*** library (version %d.%d.%d)\n",
23781 gtk_major_version, gtk_minor_version, gtk_micro_version);
23785 if ((gtk_major_version > major) ||
23786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23794 gtk_major_version, gtk_minor_version, gtk_micro_version);
23795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23796 major, minor, micro);
23797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23799 printf("*** If you have already installed a sufficiently new version, this error\n");
23800 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23802 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23803 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23805 printf("*** so that the correct libraries are found at run-time))\n");
23812 if ac_fn_c_try_run
"$LINENO"; then :
23817 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23818 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23821 CFLAGS
="$ac_save_CFLAGS"
23822 LIBS
="$ac_save_LIBS"
23825 if test "x$no_gtk" = x
; then
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23827 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23831 $as_echo "no" >&6; }
23832 if test "$PKG_CONFIG" = "no" ; then
23833 echo "*** A new enough version of pkg-config was not found."
23834 echo "*** See http://pkgconfig.sourceforge.net"
23836 if test -f conf.gtktest
; then
23839 echo "*** Could not run GTK+ test program, checking why..."
23840 ac_save_CFLAGS
="$CFLAGS"
23841 ac_save_LIBS
="$LIBS"
23842 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23843 LIBS
="$LIBS $GTK_LIBS"
23844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23847 #include <gtk/gtk.h>
23853 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23858 if ac_fn_c_try_link
"$LINENO"; then :
23859 echo "*** The test program compiled, but did not run. This usually means"
23860 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23861 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23862 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23863 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23864 echo "*** is required on your system"
23866 echo "*** If you have an old version installed, it is best to remove it, although"
23867 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23869 echo "*** The test program failed to compile or link. See the file config.log for the"
23870 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23872 rm -f core conftest.err conftest.
$ac_objext \
23873 conftest
$ac_exeext conftest.
$ac_ext
23874 CFLAGS
="$ac_save_CFLAGS"
23875 LIBS
="$ac_save_LIBS"
23890 if test -z "$wx_cv_lib_gtk"; then
23891 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23893 # Check whether --with-gtk-prefix was given.
23894 if test "${with_gtk_prefix+set}" = set; then :
23895 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23897 gtk_config_prefix
=""
23901 # Check whether --with-gtk-exec-prefix was given.
23902 if test "${with_gtk_exec_prefix+set}" = set; then :
23903 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23905 gtk_config_exec_prefix
=""
23908 # Check whether --enable-gtktest was given.
23909 if test "${enable_gtktest+set}" = set; then :
23910 enableval
=$enable_gtktest;
23916 for module
in .
$GTK_MODULES
23920 gtk_config_args
="$gtk_config_args gthread"
23925 if test x
$gtk_config_exec_prefix != x
; then
23926 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23927 if test x
${GTK_CONFIG+set} != xset
; then
23928 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23931 if test x
$gtk_config_prefix != x
; then
23932 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23933 if test x
${GTK_CONFIG+set} != xset
; then
23934 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23938 # Extract the first word of "gtk-config", so it can be a program name with args.
23939 set dummy gtk
-config; ac_word
=$2
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23941 $as_echo_n "checking for $ac_word... " >&6; }
23942 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23943 $as_echo_n "(cached) " >&6
23945 case $GTK_CONFIG in
23947 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23951 for as_dir
in $PATH
23954 test -z "$as_dir" && as_dir
=.
23955 for ac_exec_ext
in '' $ac_executable_extensions; do
23956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23957 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23965 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23969 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23970 if test -n "$GTK_CONFIG"; then
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23972 $as_echo "$GTK_CONFIG" >&6; }
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23975 $as_echo "no" >&6; }
23979 min_gtk_version
=1.2.7
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23981 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23983 if test "$GTK_CONFIG" = "no" ; then
23986 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23987 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23988 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23990 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23992 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23994 if test "x$enable_gtktest" = "xyes" ; then
23995 ac_save_CFLAGS
="$CFLAGS"
23996 ac_save_LIBS
="$LIBS"
23997 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23998 LIBS
="$GTK_LIBS $LIBS"
24000 if test "$cross_compiling" = yes; then :
24001 echo $ac_n "cross compiling; assumed OK... $ac_c"
24003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24004 /* end confdefs.h. */
24006 #include <gtk/gtk.h>
24008 #include <stdlib.h>
24013 int major, minor, micro;
24016 system ("touch conf.gtktest");
24018 /* HP/UX 9 (%@#!) writes to sscanf strings */
24019 tmp_version = g_strdup("$min_gtk_version");
24020 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24021 printf("%s, bad version string\n", "$min_gtk_version");
24025 if ((gtk_major_version != $gtk_config_major_version) ||
24026 (gtk_minor_version != $gtk_config_minor_version) ||
24027 (gtk_micro_version != $gtk_config_micro_version))
24029 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24030 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24031 gtk_major_version, gtk_minor_version, gtk_micro_version);
24032 printf ("*** was found! If gtk-config was correct, then it is best\n");
24033 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24034 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24035 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24036 printf("*** required on your system.\n");
24037 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24038 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24039 printf("*** before re-running configure\n");
24041 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24042 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24043 (gtk_minor_version != GTK_MINOR_VERSION) ||
24044 (gtk_micro_version != GTK_MICRO_VERSION))
24046 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24047 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24048 printf("*** library (version %d.%d.%d)\n",
24049 gtk_major_version, gtk_minor_version, gtk_micro_version);
24051 #endif /* defined (GTK_MAJOR_VERSION) ... */
24054 if ((gtk_major_version > major) ||
24055 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24056 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24062 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24063 gtk_major_version, gtk_minor_version, gtk_micro_version);
24064 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24065 major, minor, micro);
24066 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24068 printf("*** If you have already installed a sufficiently new version, this error\n");
24069 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24070 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24071 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24072 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24073 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24074 printf("*** so that the correct libraries are found at run-time))\n");
24081 if ac_fn_c_try_run
"$LINENO"; then :
24086 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24087 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24090 CFLAGS
="$ac_save_CFLAGS"
24091 LIBS
="$ac_save_LIBS"
24094 if test "x$no_gtk" = x
; then
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24096 $as_echo "yes" >&6; }
24097 wx_cv_lib_gtk
=1.2.7
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24100 $as_echo "no" >&6; }
24101 if test "$GTK_CONFIG" = "no" ; then
24102 echo "*** The gtk-config script installed by GTK could not be found"
24103 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24104 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24105 echo "*** full path to gtk-config."
24107 if test -f conf.gtktest
; then
24110 echo "*** Could not run GTK test program, checking why..."
24111 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24112 LIBS
="$LIBS $GTK_LIBS"
24113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24116 #include <gtk/gtk.h>
24122 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24127 if ac_fn_c_try_link
"$LINENO"; then :
24128 echo "*** The test program compiled, but did not run. This usually means"
24129 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24130 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24131 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24132 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24133 echo "*** is required on your system"
24135 echo "*** If you have an old version installed, it is best to remove it, although"
24136 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24138 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24139 echo "*** came with the system with the command"
24141 echo "*** rpm --erase --nodeps gtk gtk-devel"
24143 echo "*** The test program failed to compile or link. See the file config.log for the"
24144 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24145 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24146 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24148 rm -f core conftest.err conftest.
$ac_objext \
24149 conftest
$ac_exeext conftest.
$ac_ext
24150 CFLAGS
="$ac_save_CFLAGS"
24151 LIBS
="$ac_save_LIBS"
24163 if test -z "$wx_cv_lib_gtk"; then
24165 # Check whether --with-gtk-prefix was given.
24166 if test "${with_gtk_prefix+set}" = set; then :
24167 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24169 gtk_config_prefix
=""
24173 # Check whether --with-gtk-exec-prefix was given.
24174 if test "${with_gtk_exec_prefix+set}" = set; then :
24175 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24177 gtk_config_exec_prefix
=""
24180 # Check whether --enable-gtktest was given.
24181 if test "${enable_gtktest+set}" = set; then :
24182 enableval
=$enable_gtktest;
24188 for module
in .
$GTK_MODULES
24192 gtk_config_args
="$gtk_config_args gthread"
24197 if test x
$gtk_config_exec_prefix != x
; then
24198 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24199 if test x
${GTK_CONFIG+set} != xset
; then
24200 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24203 if test x
$gtk_config_prefix != x
; then
24204 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24205 if test x
${GTK_CONFIG+set} != xset
; then
24206 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24210 # Extract the first word of "gtk-config", so it can be a program name with args.
24211 set dummy gtk
-config; ac_word
=$2
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24213 $as_echo_n "checking for $ac_word... " >&6; }
24214 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24215 $as_echo_n "(cached) " >&6
24217 case $GTK_CONFIG in
24219 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24223 for as_dir
in $PATH
24226 test -z "$as_dir" && as_dir
=.
24227 for ac_exec_ext
in '' $ac_executable_extensions; do
24228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24229 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24241 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24242 if test -n "$GTK_CONFIG"; then
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24244 $as_echo "$GTK_CONFIG" >&6; }
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24247 $as_echo "no" >&6; }
24251 min_gtk_version
=1.2.3
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24253 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24255 if test "$GTK_CONFIG" = "no" ; then
24258 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24259 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24260 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24261 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24262 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24264 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24266 if test "x$enable_gtktest" = "xyes" ; then
24267 ac_save_CFLAGS
="$CFLAGS"
24268 ac_save_LIBS
="$LIBS"
24269 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24270 LIBS
="$GTK_LIBS $LIBS"
24272 if test "$cross_compiling" = yes; then :
24273 echo $ac_n "cross compiling; assumed OK... $ac_c"
24275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24276 /* end confdefs.h. */
24278 #include <gtk/gtk.h>
24280 #include <stdlib.h>
24285 int major, minor, micro;
24288 system ("touch conf.gtktest");
24290 /* HP/UX 9 (%@#!) writes to sscanf strings */
24291 tmp_version = g_strdup("$min_gtk_version");
24292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24293 printf("%s, bad version string\n", "$min_gtk_version");
24297 if ((gtk_major_version != $gtk_config_major_version) ||
24298 (gtk_minor_version != $gtk_config_minor_version) ||
24299 (gtk_micro_version != $gtk_config_micro_version))
24301 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24303 gtk_major_version, gtk_minor_version, gtk_micro_version);
24304 printf ("*** was found! If gtk-config was correct, then it is best\n");
24305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24306 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24308 printf("*** required on your system.\n");
24309 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24310 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24311 printf("*** before re-running configure\n");
24313 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24314 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24315 (gtk_minor_version != GTK_MINOR_VERSION) ||
24316 (gtk_micro_version != GTK_MICRO_VERSION))
24318 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24319 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24320 printf("*** library (version %d.%d.%d)\n",
24321 gtk_major_version, gtk_minor_version, gtk_micro_version);
24323 #endif /* defined (GTK_MAJOR_VERSION) ... */
24326 if ((gtk_major_version > major) ||
24327 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24328 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24334 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24335 gtk_major_version, gtk_minor_version, gtk_micro_version);
24336 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24337 major, minor, micro);
24338 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24340 printf("*** If you have already installed a sufficiently new version, this error\n");
24341 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24342 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24343 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24344 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24345 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24346 printf("*** so that the correct libraries are found at run-time))\n");
24353 if ac_fn_c_try_run
"$LINENO"; then :
24358 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24359 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24362 CFLAGS
="$ac_save_CFLAGS"
24363 LIBS
="$ac_save_LIBS"
24366 if test "x$no_gtk" = x
; then
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24368 $as_echo "yes" >&6; }
24369 wx_cv_lib_gtk
=1.2.3
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24372 $as_echo "no" >&6; }
24373 if test "$GTK_CONFIG" = "no" ; then
24374 echo "*** The gtk-config script installed by GTK could not be found"
24375 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24376 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24377 echo "*** full path to gtk-config."
24379 if test -f conf.gtktest
; then
24382 echo "*** Could not run GTK test program, checking why..."
24383 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24384 LIBS
="$LIBS $GTK_LIBS"
24385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24388 #include <gtk/gtk.h>
24394 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24399 if ac_fn_c_try_link
"$LINENO"; then :
24400 echo "*** The test program compiled, but did not run. This usually means"
24401 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24402 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24403 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24404 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24405 echo "*** is required on your system"
24407 echo "*** If you have an old version installed, it is best to remove it, although"
24408 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24410 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24411 echo "*** came with the system with the command"
24413 echo "*** rpm --erase --nodeps gtk gtk-devel"
24415 echo "*** The test program failed to compile or link. See the file config.log for the"
24416 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24417 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24418 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24420 rm -f core conftest.err conftest.
$ac_objext \
24421 conftest
$ac_exeext conftest.
$ac_ext
24422 CFLAGS
="$ac_save_CFLAGS"
24423 LIBS
="$ac_save_LIBS"
24438 if test -z "$wx_cv_lib_gtk"; then
24441 GTK_LIBS
="$GTK_LIBS -lX11"
24443 wx_cv_cflags_gtk
=$GTK_CFLAGS
24444 wx_cv_libs_gtk
=$GTK_LIBS
24451 if test "$gtk_version_cached" = 1; then
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24453 $as_echo "$wx_cv_lib_gtk" >&6; }
24456 case "$wx_cv_lib_gtk" in
24467 *) as_fn_error $?
"
24468 The development files for GTK+ were not found. For GTK+ 2, please
24469 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24470 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24471 and that the version is 1.2.3 or above. Also check that the
24472 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24473 --libs' are in the LD_LIBRARY_PATH or equivalent.
24478 if test "$WXGTK3" = 1; then
24479 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24481 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24483 elif test "$WXGTK2" = 1; then
24484 save_CFLAGS
="$CFLAGS"
24486 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24487 LIBS
="$LIBS $wx_cv_libs_gtk"
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24490 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24492 /* end confdefs.h. */
24494 #include <gtk/gtk.h>
24500 #if !GTK_CHECK_VERSION(2,18,0)
24508 if ac_fn_c_try_compile
"$LINENO"; then :
24510 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24512 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24515 $as_echo "yes" >&6; }
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24521 $as_echo "no" >&6; }
24525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24527 if test "$ac_wxgtk218" = 0; then
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24529 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24533 #include <gtk/gtk.h>
24539 #if !GTK_CHECK_VERSION(2,10,0)
24547 if ac_fn_c_try_compile
"$LINENO"; then :
24549 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24552 $as_echo "yes" >&6; }
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24558 $as_echo "no" >&6; }
24562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24565 CFLAGS
="$save_CFLAGS"
24568 if test "$wxUSE_UNICODE" = "yes"; then
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24570 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24575 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24576 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24577 $as_echo_n "(cached) " >&6
24579 ac_check_lib_save_LIBS
=$LIBS
24581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24582 /* end confdefs.h. */
24584 /* Override any GCC internal prototype to avoid an error.
24585 Use char because int might match the return type of a GCC
24586 builtin and then its argument prototype would still apply. */
24590 char gdk_im_open ();
24594 return gdk_im_open ();
24599 if ac_fn_c_try_link
"$LINENO"; then :
24600 ac_cv_lib_gdk_gdk_im_open
=yes
24602 ac_cv_lib_gdk_gdk_im_open
=no
24604 rm -f core conftest.err conftest.
$ac_objext \
24605 conftest
$ac_exeext conftest.
$ac_ext
24606 LIBS
=$ac_check_lib_save_LIBS
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24609 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24610 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24611 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24616 if test "$USE_DARWIN" != 1; then
24617 for ac_func
in poll
24619 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24620 if test "x$ac_cv_func_poll" = xyes
; then :
24621 cat >>confdefs.h
<<_ACEOF
24622 #define HAVE_POLL 1
24631 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24632 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24636 if test "$wxUSE_GPE" = "yes"; then
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24638 $as_echo_n "checking for gpewidget library... " >&6; }
24641 for ac_dir
in $SEARCH_LIB
24643 for ac_extension
in a so sl dylib dll.a
; do
24644 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24645 ac_find_libraries
=$ac_dir
24651 if test "$ac_find_libraries" != "" ; then
24653 if test "$ac_find_libraries" = "default location"; then
24656 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24658 if test $result = 0; then
24661 ac_path_to_link
=" -L$ac_find_libraries"
24665 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24668 $as_echo "found in $ac_find_libraries" >&6; }
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24671 $as_echo "not found" >&6; }
24677 if test "$wxUSE_DFB" = 1; then
24680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24681 if test -n "$ac_tool_prefix"; then
24682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24683 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24685 $as_echo_n "checking for $ac_word... " >&6; }
24686 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24687 $as_echo_n "(cached) " >&6
24689 case $PKG_CONFIG in
24691 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24695 for as_dir
in $PATH
24698 test -z "$as_dir" && as_dir
=.
24699 for ac_exec_ext
in '' $ac_executable_extensions; do
24700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24701 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24712 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24713 if test -n "$PKG_CONFIG"; then
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24715 $as_echo "$PKG_CONFIG" >&6; }
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24718 $as_echo "no" >&6; }
24723 if test -z "$ac_cv_path_PKG_CONFIG"; then
24724 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24725 # Extract the first word of "pkg-config", so it can be a program name with args.
24726 set dummy pkg
-config; ac_word
=$2
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24728 $as_echo_n "checking for $ac_word... " >&6; }
24729 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24730 $as_echo_n "(cached) " >&6
24732 case $ac_pt_PKG_CONFIG in
24734 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24738 for as_dir
in $PATH
24741 test -z "$as_dir" && as_dir
=.
24742 for ac_exec_ext
in '' $ac_executable_extensions; do
24743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24744 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24755 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24756 if test -n "$ac_pt_PKG_CONFIG"; then
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24758 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24761 $as_echo "no" >&6; }
24764 if test "x$ac_pt_PKG_CONFIG" = x
; then
24767 case $cross_compiling:$ac_tool_warned in
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24771 ac_tool_warned
=yes ;;
24773 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24776 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24780 if test -n "$PKG_CONFIG"; then
24781 _pkg_min_version
=0.9.0
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24783 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24784 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24786 $as_echo "yes" >&6; }
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24789 $as_echo "no" >&6; }
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24798 $as_echo_n "checking for DIRECTFB... " >&6; }
24800 if test -n "$PKG_CONFIG"; then
24801 if test -n "$DIRECTFB_CFLAGS"; then
24802 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24804 if test -n "$PKG_CONFIG" && \
24805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24806 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24809 test $ac_status = 0; }; then
24810 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24818 if test -n "$PKG_CONFIG"; then
24819 if test -n "$DIRECTFB_LIBS"; then
24820 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24822 if test -n "$PKG_CONFIG" && \
24823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24824 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24827 test $ac_status = 0; }; then
24828 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24839 if test $pkg_failed = yes; then
24841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24842 _pkg_short_errors_supported
=yes
24844 _pkg_short_errors_supported
=no
24846 if test $_pkg_short_errors_supported = yes; then
24847 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24849 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24851 # Put the nasty error message in config.log where it belongs
24852 echo "$DIRECTFB_PKG_ERRORS" >&5
24855 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24858 elif test $pkg_failed = untried
; then
24860 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24864 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24865 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24867 $as_echo "yes" >&6; }
24869 wxUSE_UNIVERSAL
="yes"
24870 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24871 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24878 if test "$wxUSE_MICROWIN" = 1; then
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24880 $as_echo_n "checking for MicroWindows... " >&6; }
24881 if test "x$MICROWINDOWS" = x
; then
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24883 $as_echo "not found" >&6; }
24884 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24887 $as_echo "$MICROWINDOWS" >&6; }
24890 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24892 $as_echo "MicroWindows' libraries found." >&6; }
24894 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24897 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24898 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24900 wxUSE_UNIVERSAL
="yes"
24903 GUIDIST
=MICROWIN_DIST
24905 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24908 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24910 $as_echo_n "checking for X... " >&6; }
24913 # Check whether --with-x was given.
24914 if test "${with_x+set}" = set; then :
24918 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24919 if test "x$with_x" = xno
; then
24920 # The user explicitly disabled X.
24923 case $x_includes,$x_libraries in #(
24924 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24925 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24926 $as_echo_n "(cached) " >&6
24928 # One or both of the vars are not set, and there is no cached value.
24929 ac_x_includes
=no ac_x_libraries
=no
24930 rm -f -r conftest.dir
24931 if mkdir conftest.dir
; then
24933 cat >Imakefile
<<'_ACEOF'
24935 @echo incroot='${INCROOT}'
24937 @echo usrlibdir='${USRLIBDIR}'
24939 @echo libdir='${LIBDIR}'
24941 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24942 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24943 for ac_var
in incroot usrlibdir libdir
; do
24944 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24946 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24947 for ac_extension
in a so sl dylib la dll
; do
24948 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24949 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24950 ac_im_usrlibdir
=$ac_im_libdir; break
24953 # Screen out bogus values from the imake configuration. They are
24954 # bogus both because they are the default anyway, and because
24955 # using them would break gcc on systems where it needs fixed includes.
24956 case $ac_im_incroot in
24957 /usr
/include
) ac_x_includes
= ;;
24958 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24960 case $ac_im_usrlibdir in
24961 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24962 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24966 rm -f -r conftest.dir
24969 # Standard set of common directories for X headers.
24970 # Check X11 before X11Rn because it is often a symlink to the current release.
24984 /usr/local/X11/include
24985 /usr/local/X11R7/include
24986 /usr/local/X11R6/include
24987 /usr/local/X11R5/include
24988 /usr/local/X11R4/include
24990 /usr/local/include/X11
24991 /usr/local/include/X11R7
24992 /usr/local/include/X11R6
24993 /usr/local/include/X11R5
24994 /usr/local/include/X11R4
24998 /usr/XFree86/include/X11
25002 /usr/unsupported/include
25003 /usr/athena/include
25004 /usr/local/x11r5/include
25005 /usr/lpp/Xamples/include
25007 /usr/openwin/include
25008 /usr/openwin/share/include'
25010 if test "$ac_x_includes" = no
; then
25011 # Guess where to find include files, by looking for Xlib.h.
25012 # First, try using that file with no special directory specified.
25013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h. */
25015 #include <X11/Xlib.h>
25017 if ac_fn_c_try_cpp
"$LINENO"; then :
25018 # We can compile using X headers with no special include directory.
25021 for ac_dir
in $ac_x_header_dirs; do
25022 if test -r "$ac_dir/X11/Xlib.h"; then
25023 ac_x_includes
=$ac_dir
25028 rm -f conftest.err conftest.i conftest.
$ac_ext
25029 fi # $ac_x_includes = no
25031 if test "$ac_x_libraries" = no
; then
25032 # Check for the libraries.
25033 # See if we find them without any special options.
25034 # Don't add to $LIBS permanently.
25037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25038 /* end confdefs.h. */
25039 #include <X11/Xlib.h>
25048 if ac_fn_c_try_link
"$LINENO"; then :
25050 # We can link X programs with no special library path.
25054 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25056 # Don't even attempt the hair of trying to link an X program!
25057 for ac_extension
in a so sl dylib la dll
; do
25058 if test -r "$ac_dir/libX11.$ac_extension"; then
25059 ac_x_libraries
=$ac_dir
25065 rm -f core conftest.err conftest.
$ac_objext \
25066 conftest
$ac_exeext conftest.
$ac_ext
25067 fi # $ac_x_libraries = no
25069 case $ac_x_includes,$ac_x_libraries in #(
25070 no
,* | *,no
| *\'*)
25071 # Didn't find X, or a directory has "'" in its name.
25072 ac_cv_have_x
="have_x=no";; #(
25074 # Record where we found X for the cache.
25075 ac_cv_have_x
="have_x=yes\
25076 ac_x_includes='$ac_x_includes'\
25077 ac_x_libraries='$ac_x_libraries'"
25083 eval "$ac_cv_have_x"
25086 if test "$have_x" != yes; then
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25088 $as_echo "$have_x" >&6; }
25091 # If each of the values was on the command line, it overrides each guess.
25092 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25093 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25094 # Update the cache value to reflect the command line values.
25095 ac_cv_have_x
="have_x=yes\
25096 ac_x_includes='$x_includes'\
25097 ac_x_libraries='$x_libraries'"
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25099 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25102 if test "$no_x" = yes; then
25103 # Not all programs may use this symbol, but it does not hurt to define it.
25105 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25107 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25109 if test -n "$x_includes"; then
25110 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25113 # It would also be nice to do this for all -L options, not just this one.
25114 if test -n "$x_libraries"; then
25115 X_LIBS
="$X_LIBS -L$x_libraries"
25116 # For Solaris; some versions of Sun CC require a space after -R and
25117 # others require no space. Words are not sufficient . . . .
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25119 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25120 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25121 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25122 ac_c_werror_flag
=yes
25123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25124 /* end confdefs.h. */
25134 if ac_fn_c_try_link
"$LINENO"; then :
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25136 $as_echo "no" >&6; }
25137 X_LIBS
="$X_LIBS -R$x_libraries"
25139 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25151 if ac_fn_c_try_link
"$LINENO"; then :
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25153 $as_echo "yes" >&6; }
25154 X_LIBS
="$X_LIBS -R $x_libraries"
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25157 $as_echo "neither works" >&6; }
25159 rm -f core conftest.err conftest.
$ac_objext \
25160 conftest
$ac_exeext conftest.
$ac_ext
25162 rm -f core conftest.err conftest.
$ac_objext \
25163 conftest
$ac_exeext conftest.
$ac_ext
25164 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25165 LIBS
=$ac_xsave_LIBS
25168 # Check for system-dependent libraries X programs must link with.
25169 # Do this before checking for the system-independent R6 libraries
25170 # (-lICE), since we may need -lsocket or whatever for X linking.
25172 if test "$ISC" = yes; then
25173 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25175 # Martyn Johnson says this is needed for Ultrix, if the X
25176 # libraries were built with DECnet support. And Karl Berry says
25177 # the Alpha needs dnet_stub (dnet does not exist).
25178 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25180 /* end confdefs.h. */
25182 /* Override any GCC internal prototype to avoid an error.
25183 Use char because int might match the return type of a GCC
25184 builtin and then its argument prototype would still apply. */
25188 char XOpenDisplay ();
25192 return XOpenDisplay ();
25197 if ac_fn_c_try_link
"$LINENO"; then :
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25201 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25202 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25203 $as_echo_n "(cached) " >&6
25205 ac_check_lib_save_LIBS
=$LIBS
25206 LIBS
="-ldnet $LIBS"
25207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25220 return dnet_ntoa ();
25225 if ac_fn_c_try_link
"$LINENO"; then :
25226 ac_cv_lib_dnet_dnet_ntoa
=yes
25228 ac_cv_lib_dnet_dnet_ntoa
=no
25230 rm -f core conftest.err conftest.
$ac_objext \
25231 conftest
$ac_exeext conftest.
$ac_ext
25232 LIBS
=$ac_check_lib_save_LIBS
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25235 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25236 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25237 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25240 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25242 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25243 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25244 $as_echo_n "(cached) " >&6
25246 ac_check_lib_save_LIBS
=$LIBS
25247 LIBS
="-ldnet_stub $LIBS"
25248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25249 /* end confdefs.h. */
25251 /* Override any GCC internal prototype to avoid an error.
25252 Use char because int might match the return type of a GCC
25253 builtin and then its argument prototype would still apply. */
25261 return dnet_ntoa ();
25266 if ac_fn_c_try_link
"$LINENO"; then :
25267 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25269 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25271 rm -f core conftest.err conftest.
$ac_objext \
25272 conftest
$ac_exeext conftest.
$ac_ext
25273 LIBS
=$ac_check_lib_save_LIBS
25275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25276 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25277 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25278 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25283 rm -f core conftest.err conftest.
$ac_objext \
25284 conftest
$ac_exeext conftest.
$ac_ext
25285 LIBS
="$ac_xsave_LIBS"
25287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25288 # to get the SysV transport functions.
25289 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25291 # The nsl library prevents programs from opening the X display
25292 # on Irix 5.2, according to T.E. Dickey.
25293 # The functions gethostbyname, getservbyname, and inet_addr are
25294 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25295 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25296 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25300 if test $ac_cv_func_gethostbyname = no
; then
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25302 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25303 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25304 $as_echo_n "(cached) " >&6
25306 ac_check_lib_save_LIBS
=$LIBS
25308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25309 /* end confdefs.h. */
25311 /* Override any GCC internal prototype to avoid an error.
25312 Use char because int might match the return type of a GCC
25313 builtin and then its argument prototype would still apply. */
25317 char gethostbyname ();
25321 return gethostbyname ();
25326 if ac_fn_c_try_link
"$LINENO"; then :
25327 ac_cv_lib_nsl_gethostbyname
=yes
25329 ac_cv_lib_nsl_gethostbyname
=no
25331 rm -f core conftest.err conftest.
$ac_objext \
25332 conftest
$ac_exeext conftest.
$ac_ext
25333 LIBS
=$ac_check_lib_save_LIBS
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25336 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25337 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25338 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25341 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25343 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25344 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25345 $as_echo_n "(cached) " >&6
25347 ac_check_lib_save_LIBS
=$LIBS
25349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25350 /* end confdefs.h. */
25352 /* Override any GCC internal prototype to avoid an error.
25353 Use char because int might match the return type of a GCC
25354 builtin and then its argument prototype would still apply. */
25358 char gethostbyname ();
25362 return gethostbyname ();
25367 if ac_fn_c_try_link
"$LINENO"; then :
25368 ac_cv_lib_bsd_gethostbyname
=yes
25370 ac_cv_lib_bsd_gethostbyname
=no
25372 rm -f core conftest.err conftest.
$ac_objext \
25373 conftest
$ac_exeext conftest.
$ac_ext
25374 LIBS
=$ac_check_lib_save_LIBS
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25377 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25378 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25379 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25385 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25386 # socket/setsockopt and other routines are undefined under SCO ODT
25387 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25388 # on later versions), says Simon Leinen: it contains gethostby*
25389 # variants that don't use the name server (or something). -lsocket
25390 # must be given before -lnsl if both are needed. We assume that
25391 # if connect needs -lnsl, so does gethostbyname.
25392 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25393 if test "x$ac_cv_func_connect" = xyes
; then :
25397 if test $ac_cv_func_connect = no
; then
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25399 $as_echo_n "checking for connect in -lsocket... " >&6; }
25400 if ${ac_cv_lib_socket_connect+:} false
; then :
25401 $as_echo_n "(cached) " >&6
25403 ac_check_lib_save_LIBS
=$LIBS
25404 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25423 if ac_fn_c_try_link
"$LINENO"; then :
25424 ac_cv_lib_socket_connect
=yes
25426 ac_cv_lib_socket_connect
=no
25428 rm -f core conftest.err conftest.
$ac_objext \
25429 conftest
$ac_exeext conftest.
$ac_ext
25430 LIBS
=$ac_check_lib_save_LIBS
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25433 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25434 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25435 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25440 # Guillermo Gomez says -lposix is necessary on A/UX.
25441 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25442 if test "x$ac_cv_func_remove" = xyes
; then :
25446 if test $ac_cv_func_remove = no
; then
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25448 $as_echo_n "checking for remove in -lposix... " >&6; }
25449 if ${ac_cv_lib_posix_remove+:} false
; then :
25450 $as_echo_n "(cached) " >&6
25452 ac_check_lib_save_LIBS
=$LIBS
25453 LIBS
="-lposix $LIBS"
25454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25457 /* Override any GCC internal prototype to avoid an error.
25458 Use char because int might match the return type of a GCC
25459 builtin and then its argument prototype would still apply. */
25472 if ac_fn_c_try_link
"$LINENO"; then :
25473 ac_cv_lib_posix_remove
=yes
25475 ac_cv_lib_posix_remove
=no
25477 rm -f core conftest.err conftest.
$ac_objext \
25478 conftest
$ac_exeext conftest.
$ac_ext
25479 LIBS
=$ac_check_lib_save_LIBS
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25482 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25483 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25484 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25489 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25490 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25491 if test "x$ac_cv_func_shmat" = xyes
; then :
25495 if test $ac_cv_func_shmat = no
; then
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25497 $as_echo_n "checking for shmat in -lipc... " >&6; }
25498 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25499 $as_echo_n "(cached) " >&6
25501 ac_check_lib_save_LIBS
=$LIBS
25503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h. */
25506 /* Override any GCC internal prototype to avoid an error.
25507 Use char because int might match the return type of a GCC
25508 builtin and then its argument prototype would still apply. */
25521 if ac_fn_c_try_link
"$LINENO"; then :
25522 ac_cv_lib_ipc_shmat
=yes
25524 ac_cv_lib_ipc_shmat
=no
25526 rm -f core conftest.err conftest.
$ac_objext \
25527 conftest
$ac_exeext conftest.
$ac_ext
25528 LIBS
=$ac_check_lib_save_LIBS
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25531 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25532 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25539 # Check for libraries that X11R6 Xt/Xaw programs need.
25540 ac_save_LDFLAGS
=$LDFLAGS
25541 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25542 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25543 # check for ICE first), but we must link in the order -lSM -lICE or
25544 # we get undefined symbols. So assume we have SM if we have ICE.
25545 # These have to be linked with before -lX11, unlike the other
25546 # libraries we check for below, so use a different variable.
25547 # John Interrante, Karl Berry
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25549 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25550 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25551 $as_echo_n "(cached) " >&6
25553 ac_check_lib_save_LIBS
=$LIBS
25554 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25556 /* end confdefs.h. */
25558 /* Override any GCC internal prototype to avoid an error.
25559 Use char because int might match the return type of a GCC
25560 builtin and then its argument prototype would still apply. */
25564 char IceConnectionNumber ();
25568 return IceConnectionNumber ();
25573 if ac_fn_c_try_link
"$LINENO"; then :
25574 ac_cv_lib_ICE_IceConnectionNumber
=yes
25576 ac_cv_lib_ICE_IceConnectionNumber
=no
25578 rm -f core conftest.err conftest.
$ac_objext \
25579 conftest
$ac_exeext conftest.
$ac_ext
25580 LIBS
=$ac_check_lib_save_LIBS
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25583 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25584 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25585 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25588 LDFLAGS
=$ac_save_LDFLAGS
25593 if test "$no_x" = "yes"; then
25594 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25597 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25598 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25599 COMPILED_X_PROGRAM
=0
25603 if test "$wxUSE_X11" = 1; then
25604 if test "$wxUSE_NANOX" = "yes"; then
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25606 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25607 if test "x$MICROWIN" = x
; then
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25609 $as_echo "not found" >&6; }
25610 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25613 $as_echo "$MICROWIN" >&6; }
25614 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25619 if test "$wxUSE_UNICODE" = "yes"; then
25622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25623 if test -n "$ac_tool_prefix"; then
25624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25625 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25627 $as_echo_n "checking for $ac_word... " >&6; }
25628 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25629 $as_echo_n "(cached) " >&6
25631 case $PKG_CONFIG in
25633 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25637 for as_dir
in $PATH
25640 test -z "$as_dir" && as_dir
=.
25641 for ac_exec_ext
in '' $ac_executable_extensions; do
25642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25643 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25654 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25655 if test -n "$PKG_CONFIG"; then
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25657 $as_echo "$PKG_CONFIG" >&6; }
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25660 $as_echo "no" >&6; }
25665 if test -z "$ac_cv_path_PKG_CONFIG"; then
25666 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25667 # Extract the first word of "pkg-config", so it can be a program name with args.
25668 set dummy pkg
-config; ac_word
=$2
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25670 $as_echo_n "checking for $ac_word... " >&6; }
25671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25672 $as_echo_n "(cached) " >&6
25674 case $ac_pt_PKG_CONFIG in
25676 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25680 for as_dir
in $PATH
25683 test -z "$as_dir" && as_dir
=.
25684 for ac_exec_ext
in '' $ac_executable_extensions; do
25685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25686 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25697 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25698 if test -n "$ac_pt_PKG_CONFIG"; then
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25703 $as_echo "no" >&6; }
25706 if test "x$ac_pt_PKG_CONFIG" = x
; then
25709 case $cross_compiling:$ac_tool_warned in
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25713 ac_tool_warned
=yes ;;
25715 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25718 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25722 if test -n "$PKG_CONFIG"; then
25723 _pkg_min_version
=0.9.0
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25728 $as_echo "yes" >&6; }
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25731 $as_echo "no" >&6; }
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25740 $as_echo_n "checking for PANGOX... " >&6; }
25742 if test -n "$PKG_CONFIG"; then
25743 if test -n "$PANGOX_CFLAGS"; then
25744 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25746 if test -n "$PKG_CONFIG" && \
25747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25748 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25751 test $ac_status = 0; }; then
25752 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25760 if test -n "$PKG_CONFIG"; then
25761 if test -n "$PANGOX_LIBS"; then
25762 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25764 if test -n "$PKG_CONFIG" && \
25765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25766 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25769 test $ac_status = 0; }; then
25770 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25781 if test $pkg_failed = yes; then
25783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25784 _pkg_short_errors_supported
=yes
25786 _pkg_short_errors_supported
=no
25788 if test $_pkg_short_errors_supported = yes; then
25789 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25791 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25793 # Put the nasty error message in config.log where it belongs
25794 echo "$PANGOX_PKG_ERRORS" >&5
25797 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25800 elif test $pkg_failed = untried
; then
25802 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25806 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25807 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25809 $as_echo "yes" >&6; }
25811 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25812 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25813 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25819 $as_echo_n "checking for PANGOFT2... " >&6; }
25821 if test -n "$PKG_CONFIG"; then
25822 if test -n "$PANGOFT2_CFLAGS"; then
25823 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25825 if test -n "$PKG_CONFIG" && \
25826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25827 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25830 test $ac_status = 0; }; then
25831 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25839 if test -n "$PKG_CONFIG"; then
25840 if test -n "$PANGOFT2_LIBS"; then
25841 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25843 if test -n "$PKG_CONFIG" && \
25844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25845 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25848 test $ac_status = 0; }; then
25849 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25860 if test $pkg_failed = yes; then
25862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25863 _pkg_short_errors_supported
=yes
25865 _pkg_short_errors_supported
=no
25867 if test $_pkg_short_errors_supported = yes; then
25868 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25870 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25872 # Put the nasty error message in config.log where it belongs
25873 echo "$PANGOFT2_PKG_ERRORS" >&5
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25877 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25878 wxUSE_PRINTING_ARCHITECTURE
="no"
25881 elif test $pkg_failed = untried
; then
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25884 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25885 wxUSE_PRINTING_ARCHITECTURE
="no"
25889 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25890 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25892 $as_echo "yes" >&6; }
25894 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25895 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25896 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25902 $as_echo_n "checking for PANGOXFT... " >&6; }
25904 if test -n "$PKG_CONFIG"; then
25905 if test -n "$PANGOXFT_CFLAGS"; then
25906 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25908 if test -n "$PKG_CONFIG" && \
25909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25910 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25913 test $ac_status = 0; }; then
25914 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25922 if test -n "$PKG_CONFIG"; then
25923 if test -n "$PANGOXFT_LIBS"; then
25924 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25926 if test -n "$PKG_CONFIG" && \
25927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25928 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25931 test $ac_status = 0; }; then
25932 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25943 if test $pkg_failed = yes; then
25945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25946 _pkg_short_errors_supported
=yes
25948 _pkg_short_errors_supported
=no
25950 if test $_pkg_short_errors_supported = yes; then
25951 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25953 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25955 # Put the nasty error message in config.log where it belongs
25956 echo "$PANGOXFT_PKG_ERRORS" >&5
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25960 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25963 elif test $pkg_failed = untried
; then
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25966 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25970 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25971 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25973 $as_echo "yes" >&6; }
25975 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25977 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25978 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25979 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25983 LIBS
="$LIBS $PANGOX_LIBS"
25984 for ac_func
in pango_font_family_is_monospace
25986 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25987 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25988 cat >>confdefs.h
<<_ACEOF
25989 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25998 wxUSE_UNIVERSAL
="yes"
26000 if test "$wxUSE_NANOX" = "yes"; then
26001 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26002 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"
26003 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26005 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26012 if test "$wxUSE_MOTIF" = 1; then
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26014 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26017 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26019 if test -f "$ac_dir/Xm/Xm.h"; then
26020 ac_find_includes
=$ac_dir
26025 if test "$ac_find_includes" != "" ; then
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26027 $as_echo "found in $ac_find_includes" >&6; }
26029 if test "x$ac_find_includes" = "x/usr/include"; then
26030 ac_path_to_include
=""
26032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26034 if test $result = 0; then
26035 ac_path_to_include
=""
26037 ac_path_to_include
=" -I$ac_find_includes"
26041 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26043 save_CFLAGS
=$CFLAGS
26044 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26047 /* end confdefs.h. */
26056 version = xmUseVersion;
26062 if ac_fn_c_try_compile
"$LINENO"; then :
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26065 $as_echo "found in default search path" >&6; }
26066 COMPILED_X_PROGRAM
=1
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26071 $as_echo "no" >&6; }
26072 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26078 CFLAGS
=$save_CFLAGS
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26083 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26086 for ac_dir
in $SEARCH_LIB
26088 for ac_extension
in a so sl dylib dll.a
; do
26089 if test -f "$ac_dir/libXm.$ac_extension"; then
26090 ac_find_libraries
=$ac_dir
26097 if test "x$ac_find_libraries" != "x" ; then
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26099 $as_echo "found in $ac_find_libraries" >&6; }
26102 if test "$ac_find_libraries" = "default location"; then
26105 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26107 if test $result = 0; then
26110 ac_path_to_link
=" -L$ac_find_libraries"
26114 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26116 save_CFLAGS
=$CFLAGS
26117 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26119 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26131 version = xmUseVersion;
26137 if ac_fn_c_try_link
"$LINENO"; then :
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26140 $as_echo "found in default search path" >&6; }
26141 COMPILED_X_PROGRAM
=1
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26146 $as_echo "no" >&6; }
26147 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26151 rm -f core conftest.err conftest.
$ac_objext \
26152 conftest
$ac_exeext conftest.
$ac_ext
26154 CFLAGS
=$save_CFLAGS
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26159 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26163 for libp
in "" " -lXp"; do
26164 if test "$libs_found" = 0; then
26165 for libsm_ice
in "" " -lSM -lICE"; do
26166 if test "$libs_found" = 0; then
26168 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26169 save_CFLAGS
=$CFLAGS
26170 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26173 /* end confdefs.h. */
26176 #include <Xm/List.h>
26182 XmString string = NULL;
26185 XmListAddItem(w, string, position);
26191 if ac_fn_c_try_link
"$LINENO"; then :
26194 libsm_ice_link
="$libsm_ice"
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26196 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26200 rm -f core conftest.err conftest.
$ac_objext \
26201 conftest
$ac_exeext conftest.
$ac_ext
26204 CFLAGS
=$save_CFLAGS
26210 if test "$libs_found" = 0; then
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26212 $as_echo "can't find the right libraries" >&6; }
26213 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26217 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26218 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26219 $as_echo_n "(cached) " >&6
26221 ac_check_lib_save_LIBS
=$LIBS
26223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26226 /* Override any GCC internal prototype to avoid an error.
26227 Use char because int might match the return type of a GCC
26228 builtin and then its argument prototype would still apply. */
26232 char SgCreateList ();
26236 return SgCreateList ();
26241 if ac_fn_c_try_link
"$LINENO"; then :
26242 ac_cv_lib_Sgm_SgCreateList
=yes
26244 ac_cv_lib_Sgm_SgCreateList
=no
26246 rm -f core conftest.err conftest.
$ac_objext \
26247 conftest
$ac_exeext conftest.
$ac_ext
26248 LIBS
=$ac_check_lib_save_LIBS
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26251 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26252 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26253 libsgm_link
=" -lSgm"
26257 save_CFLAGS
=$CFLAGS
26258 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26261 $as_echo_n "checking for Motif 2... " >&6; }
26262 if ${wx_cv_lib_motif2+:} false
; then :
26263 $as_echo_n "(cached) " >&6
26265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26266 /* end confdefs.h. */
26274 #if XmVersion < 2000
26282 if ac_fn_c_try_compile
"$LINENO"; then :
26283 wx_cv_lib_motif2
="yes"
26285 wx_cv_lib_motif2
="no"
26287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26290 $as_echo "$wx_cv_lib_motif2" >&6; }
26291 if test "$wx_cv_lib_motif2" = "yes"; then
26292 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26295 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26300 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26301 if ${wx_cv_lib_lesstif+:} false
; then :
26302 $as_echo_n "(cached) " >&6
26304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26313 #if !defined(LesstifVersion) || LesstifVersion <= 0
26321 if ac_fn_c_try_compile
"$LINENO"; then :
26322 wx_cv_lib_lesstif
="yes"
26324 wx_cv_lib_lesstif
="no"
26326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26330 $as_echo "$wx_cv_lib_lesstif" >&6; }
26331 if test "$wx_cv_lib_lesstif" = "yes"; then
26332 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26335 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26339 CFLAGS
=$save_CFLAGS
26341 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26346 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26347 if test "$wxUSE_LIBXPM" = "sys"; then
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26349 $as_echo_n "checking for Xpm library... " >&6; }
26352 for ac_dir
in $SEARCH_LIB
26354 for ac_extension
in a so sl dylib dll.a
; do
26355 if test -f "$ac_dir/libXpm.$ac_extension"; then
26356 ac_find_libraries
=$ac_dir
26362 if test "$ac_find_libraries" != "" ; then
26364 if test "$ac_find_libraries" = "default location"; then
26367 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26369 if test $result = 0; then
26372 ac_path_to_link
=" -L$ac_find_libraries"
26376 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26378 $as_echo "found in $ac_find_libraries" >&6; }
26380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26381 $as_echo_n "checking for X11/xpm.h... " >&6; }
26382 if ${wx_cv_x11_xpm_h+:} false
; then :
26383 $as_echo_n "(cached) " >&6
26386 save_CFLAGS
=$CFLAGS
26387 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26392 #include <X11/xpm.h>
26399 version = XpmLibraryVersion();
26405 if ac_fn_c_try_compile
"$LINENO"; then :
26406 wx_cv_x11_xpm_h
=yes
26411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26413 CFLAGS
=$save_CFLAGS
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26418 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26420 if test $wx_cv_x11_xpm_h = "yes"; then
26421 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26422 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26426 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26433 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26434 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26435 $as_echo_n "(cached) " >&6
26437 ac_check_lib_save_LIBS
=$LIBS
26438 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26442 /* Override any GCC internal prototype to avoid an error.
26443 Use char because int might match the return type of a GCC
26444 builtin and then its argument prototype would still apply. */
26448 char XShapeQueryExtension ();
26452 return XShapeQueryExtension ();
26457 if ac_fn_c_try_link
"$LINENO"; then :
26458 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26460 ac_cv_lib_Xext_XShapeQueryExtension
=no
26462 rm -f core conftest.err conftest.
$ac_objext \
26463 conftest
$ac_exeext conftest.
$ac_ext
26464 LIBS
=$ac_check_lib_save_LIBS
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26467 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26468 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26470 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26476 if test "$wxHAVE_XEXT_LIB" = 1; then
26477 save_CFLAGS
="$CFLAGS"
26478 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26481 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26483 /* end confdefs.h. */
26485 #include <X11/Xlib.h>
26486 #include <X11/extensions/shape.h>
26492 int dummy1, dummy2;
26493 XShapeQueryExtension((Display*)NULL,
26494 (int*)NULL, (int*)NULL);
26500 if ac_fn_c_try_compile
"$LINENO"; then :
26502 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26505 $as_echo "found" >&6; }
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26510 $as_echo "not found" >&6; }
26513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26514 CFLAGS
="$save_CFLAGS"
26519 if test "$wxUSE_OSX_CARBON" = 1; then
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26521 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26522 if test "$GCC" = yes; then
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26524 $as_echo "gcc" >&6; }
26525 CPPFLAGS_PASCAL
="-fpascal-strings"
26526 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26528 $as_echo "xlc" >&6; }
26529 CPPFLAGS_PASCAL
="-qmacpstr"
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26532 $as_echo "none" >&6; }
26535 if test "x$wxUSE_UNIX" = "xyes"; then
26536 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26538 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26542 GUIDIST
=OSX_CARBON_DIST
26543 WXBASEPORT
="_carbon"
26545 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26548 if test "$wxUSE_OSX_COCOA" = 1; then
26550 GUIDIST
=OSX_COCOA_DIST
26552 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26555 if test "$wxUSE_OSX_IPHONE" = 1; then
26559 if test "$wxUSE_OLD_COCOA" = 1; then
26564 if test "$wxUSE_PM" = 1; then
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26568 $as_echo_n "checking for type SPBCDATA... " >&6; }
26569 if ${wx_cv_spbcdata+:} false
; then :
26570 $as_echo_n "(cached) " >&6
26573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26589 if ac_fn_c_try_compile
"$LINENO"; then :
26595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26600 $as_echo "$wx_cv_spbcdata" >&6; }
26602 if test $wx_cv_spbcdata = "yes"; then
26603 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26608 if test "$TOOLKIT" = "PM" ; then
26611 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26614 if test "$wxUSE_UNIVERSAL" = "yes"; then
26615 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26619 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26620 DISTDIR
="wx\$(TOOLKIT)"
26626 if test "$USE_WIN32" = 1 ; then
26630 GUIDIST
="BASE_DIST"
26636 if test "$wxUSE_GUI" = "yes"; then
26637 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26638 for ac_header
in X
11/Xlib.h
26640 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26642 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26643 cat >>confdefs.h
<<_ACEOF
26644 #define HAVE_X11_XLIB_H 1
26651 for ac_header
in X
11/XKBlib.h
26653 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26654 #if HAVE_X11_XLIB_H
26655 #include <X11/Xlib.h>
26659 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26660 cat >>confdefs.h
<<_ACEOF
26661 #define HAVE_X11_XKBLIB_H 1
26674 if test "$wxUSE_DISPLAY" = "yes"; then
26675 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26679 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26683 if test -n "$ac_tool_prefix"; then
26684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26685 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26687 $as_echo_n "checking for $ac_word... " >&6; }
26688 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26689 $as_echo_n "(cached) " >&6
26691 case $PKG_CONFIG in
26693 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26697 for as_dir
in $PATH
26700 test -z "$as_dir" && as_dir
=.
26701 for ac_exec_ext
in '' $ac_executable_extensions; do
26702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26703 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26714 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26715 if test -n "$PKG_CONFIG"; then
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26717 $as_echo "$PKG_CONFIG" >&6; }
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26720 $as_echo "no" >&6; }
26725 if test -z "$ac_cv_path_PKG_CONFIG"; then
26726 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26727 # Extract the first word of "pkg-config", so it can be a program name with args.
26728 set dummy pkg
-config; ac_word
=$2
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26730 $as_echo_n "checking for $ac_word... " >&6; }
26731 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26732 $as_echo_n "(cached) " >&6
26734 case $ac_pt_PKG_CONFIG in
26736 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26740 for as_dir
in $PATH
26743 test -z "$as_dir" && as_dir
=.
26744 for ac_exec_ext
in '' $ac_executable_extensions; do
26745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26746 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26757 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26758 if test -n "$ac_pt_PKG_CONFIG"; then
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26760 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26763 $as_echo "no" >&6; }
26766 if test "x$ac_pt_PKG_CONFIG" = x
; then
26769 case $cross_compiling:$ac_tool_warned in
26771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26773 ac_tool_warned
=yes ;;
26775 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26778 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26782 if test -n "$PKG_CONFIG"; then
26783 _pkg_min_version
=0.9.0
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26785 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26788 $as_echo "yes" >&6; }
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26791 $as_echo "no" >&6; }
26798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26799 $as_echo_n "checking for Xinerama... " >&6; }
26801 if test -n "$PKG_CONFIG"; then
26802 if test -n "$Xinerama_CFLAGS"; then
26803 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26805 if test -n "$PKG_CONFIG" && \
26806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26807 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26810 test $ac_status = 0; }; then
26811 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26819 if test -n "$PKG_CONFIG"; then
26820 if test -n "$Xinerama_LIBS"; then
26821 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26823 if test -n "$PKG_CONFIG" && \
26824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26825 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26828 test $ac_status = 0; }; then
26829 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26840 if test $pkg_failed = yes; then
26842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26843 _pkg_short_errors_supported
=yes
26845 _pkg_short_errors_supported
=no
26847 if test $_pkg_short_errors_supported = yes; then
26848 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26850 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26852 # Put the nasty error message in config.log where it belongs
26853 echo "$Xinerama_PKG_ERRORS" >&5
26856 if test "x$ac_find_libraries" = "x"; then
26857 if test "xXineramaQueryScreens" != "x"; then
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26859 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26860 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26861 $as_echo_n "(cached) " >&6
26863 ac_check_lib_save_LIBS
=$LIBS
26864 LIBS
="-lXinerama $LIBS"
26865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26866 /* end confdefs.h. */
26868 /* Override any GCC internal prototype to avoid an error.
26869 Use char because int might match the return type of a GCC
26870 builtin and then its argument prototype would still apply. */
26874 char XineramaQueryScreens ();
26878 return XineramaQueryScreens ();
26883 if ac_fn_c_try_link
"$LINENO"; then :
26884 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26886 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26888 rm -f core conftest.err conftest.
$ac_objext \
26889 conftest
$ac_exeext conftest.
$ac_ext
26890 LIBS
=$ac_check_lib_save_LIBS
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26893 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26894 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26895 ac_find_libraries
="std"
26901 if test "x$ac_find_libraries" = "x"; then
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26903 $as_echo_n "checking elsewhere... " >&6; }
26906 for ac_dir
in $SEARCH_LIB
26908 for ac_extension
in a so sl dylib dll.a
; do
26909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26910 ac_find_libraries
=$ac_dir
26916 if test "x$ac_find_libraries" != "x"; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26918 $as_echo "yes" >&6; }
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26925 elif test $pkg_failed = untried
; then
26927 if test "x$ac_find_libraries" = "x"; then
26928 if test "xXineramaQueryScreens" != "x"; then
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26930 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26931 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26932 $as_echo_n "(cached) " >&6
26934 ac_check_lib_save_LIBS
=$LIBS
26935 LIBS
="-lXinerama $LIBS"
26936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26937 /* end confdefs.h. */
26939 /* Override any GCC internal prototype to avoid an error.
26940 Use char because int might match the return type of a GCC
26941 builtin and then its argument prototype would still apply. */
26945 char XineramaQueryScreens ();
26949 return XineramaQueryScreens ();
26954 if ac_fn_c_try_link
"$LINENO"; then :
26955 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26957 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26959 rm -f core conftest.err conftest.
$ac_objext \
26960 conftest
$ac_exeext conftest.
$ac_ext
26961 LIBS
=$ac_check_lib_save_LIBS
26963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26964 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26965 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26966 ac_find_libraries
="std"
26972 if test "x$ac_find_libraries" = "x"; then
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26974 $as_echo_n "checking elsewhere... " >&6; }
26977 for ac_dir
in $SEARCH_LIB
26979 for ac_extension
in a so sl dylib dll.a
; do
26980 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26981 ac_find_libraries
=$ac_dir
26987 if test "x$ac_find_libraries" != "x"; then
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26989 $as_echo "yes" >&6; }
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26992 $as_echo "no" >&6; }
26997 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26998 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27000 $as_echo "yes" >&6; }
27002 ac_find_libraries
="std"
27004 eval ac_find_cflags
=\
$Xinerama_CFLAGS
27005 eval fl_libs
=\
$Xinerama_LIBS
27007 for fl_path
in $fl_libs
27009 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27010 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27016 if test "$ac_find_libraries" != "" ; then
27017 if test "$ac_find_libraries" != "std" ; then
27019 if test "$ac_find_libraries" = "default location"; then
27022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27024 if test $result = 0; then
27027 ac_path_to_link
=" -L$ac_find_libraries"
27031 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27032 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27036 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27039 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27042 elif test "$wxUSE_MSW" = 1; then
27043 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27045 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
27053 if test "$wxUSE_DISPLAY" = "yes"; then
27054 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27058 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27061 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27062 if test -n "$ac_tool_prefix"; then
27063 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27064 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27066 $as_echo_n "checking for $ac_word... " >&6; }
27067 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27068 $as_echo_n "(cached) " >&6
27070 case $PKG_CONFIG in
27072 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27076 for as_dir
in $PATH
27079 test -z "$as_dir" && as_dir
=.
27080 for ac_exec_ext
in '' $ac_executable_extensions; do
27081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27082 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27093 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27094 if test -n "$PKG_CONFIG"; then
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27096 $as_echo "$PKG_CONFIG" >&6; }
27098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27099 $as_echo "no" >&6; }
27104 if test -z "$ac_cv_path_PKG_CONFIG"; then
27105 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27106 # Extract the first word of "pkg-config", so it can be a program name with args.
27107 set dummy pkg
-config; ac_word
=$2
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27109 $as_echo_n "checking for $ac_word... " >&6; }
27110 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27111 $as_echo_n "(cached) " >&6
27113 case $ac_pt_PKG_CONFIG in
27115 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27119 for as_dir
in $PATH
27122 test -z "$as_dir" && as_dir
=.
27123 for ac_exec_ext
in '' $ac_executable_extensions; do
27124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27125 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27136 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27137 if test -n "$ac_pt_PKG_CONFIG"; then
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27139 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27142 $as_echo "no" >&6; }
27145 if test "x$ac_pt_PKG_CONFIG" = x
; then
27148 case $cross_compiling:$ac_tool_warned in
27150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27152 ac_tool_warned
=yes ;;
27154 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27157 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27161 if test -n "$PKG_CONFIG"; then
27162 _pkg_min_version
=0.9.0
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27164 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27167 $as_echo "yes" >&6; }
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27170 $as_echo "no" >&6; }
27177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27178 $as_echo_n "checking for Xxf86vm... " >&6; }
27180 if test -n "$PKG_CONFIG"; then
27181 if test -n "$Xxf86vm_CFLAGS"; then
27182 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27184 if test -n "$PKG_CONFIG" && \
27185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27186 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27189 test $ac_status = 0; }; then
27190 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27198 if test -n "$PKG_CONFIG"; then
27199 if test -n "$Xxf86vm_LIBS"; then
27200 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27202 if test -n "$PKG_CONFIG" && \
27203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27204 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27207 test $ac_status = 0; }; then
27208 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27219 if test $pkg_failed = yes; then
27221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27222 _pkg_short_errors_supported
=yes
27224 _pkg_short_errors_supported
=no
27226 if test $_pkg_short_errors_supported = yes; then
27227 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27229 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27231 # Put the nasty error message in config.log where it belongs
27232 echo "$Xxf86vm_PKG_ERRORS" >&5
27235 if test "x$ac_find_libraries" = "x"; then
27236 if test "xXF86VidModeQueryExtension" != "x"; then
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27238 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27239 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27240 $as_echo_n "(cached) " >&6
27242 ac_check_lib_save_LIBS
=$LIBS
27243 LIBS
="-lXxf86vm $LIBS"
27244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27247 /* Override any GCC internal prototype to avoid an error.
27248 Use char because int might match the return type of a GCC
27249 builtin and then its argument prototype would still apply. */
27253 char XF86VidModeQueryExtension ();
27257 return XF86VidModeQueryExtension ();
27262 if ac_fn_c_try_link
"$LINENO"; then :
27263 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27265 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27267 rm -f core conftest.err conftest.
$ac_objext \
27268 conftest
$ac_exeext conftest.
$ac_ext
27269 LIBS
=$ac_check_lib_save_LIBS
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27272 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27273 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27274 ac_find_libraries
="std"
27280 if test "x$ac_find_libraries" = "x"; then
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27282 $as_echo_n "checking elsewhere... " >&6; }
27285 for ac_dir
in $SEARCH_LIB
27287 for ac_extension
in a so sl dylib dll.a
; do
27288 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27289 ac_find_libraries
=$ac_dir
27295 if test "x$ac_find_libraries" != "x"; then
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27297 $as_echo "yes" >&6; }
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27300 $as_echo "no" >&6; }
27304 elif test $pkg_failed = untried
; then
27306 if test "x$ac_find_libraries" = "x"; then
27307 if test "xXF86VidModeQueryExtension" != "x"; then
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27309 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27310 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27311 $as_echo_n "(cached) " >&6
27313 ac_check_lib_save_LIBS
=$LIBS
27314 LIBS
="-lXxf86vm $LIBS"
27315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27318 /* Override any GCC internal prototype to avoid an error.
27319 Use char because int might match the return type of a GCC
27320 builtin and then its argument prototype would still apply. */
27324 char XF86VidModeQueryExtension ();
27328 return XF86VidModeQueryExtension ();
27333 if ac_fn_c_try_link
"$LINENO"; then :
27334 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27336 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27338 rm -f core conftest.err conftest.
$ac_objext \
27339 conftest
$ac_exeext conftest.
$ac_ext
27340 LIBS
=$ac_check_lib_save_LIBS
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27343 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27344 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27345 ac_find_libraries
="std"
27351 if test "x$ac_find_libraries" = "x"; then
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27353 $as_echo_n "checking elsewhere... " >&6; }
27356 for ac_dir
in $SEARCH_LIB
27358 for ac_extension
in a so sl dylib dll.a
; do
27359 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27360 ac_find_libraries
=$ac_dir
27366 if test "x$ac_find_libraries" != "x"; then
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27368 $as_echo "yes" >&6; }
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27371 $as_echo "no" >&6; }
27376 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27377 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27379 $as_echo "yes" >&6; }
27381 ac_find_libraries
="std"
27383 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27384 eval fl_libs
=\
$Xxf86vm_LIBS
27386 for fl_path
in $fl_libs
27388 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27389 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27395 if test "$ac_find_libraries" != "" ; then
27396 for ac_header
in X
11/extensions
/xf86vmode.h
27398 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27399 #if HAVE_X11_XLIB_H
27400 #include <X11/Xlib.h>
27404 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27405 cat >>confdefs.h
<<_ACEOF
27406 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27409 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27419 if test "$wxUSE_DETECT_SM" = "yes"; then
27420 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27424 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27428 if test -n "$ac_tool_prefix"; then
27429 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27430 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27432 $as_echo_n "checking for $ac_word... " >&6; }
27433 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27434 $as_echo_n "(cached) " >&6
27436 case $PKG_CONFIG in
27438 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27442 for as_dir
in $PATH
27445 test -z "$as_dir" && as_dir
=.
27446 for ac_exec_ext
in '' $ac_executable_extensions; do
27447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27448 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27459 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27460 if test -n "$PKG_CONFIG"; then
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27462 $as_echo "$PKG_CONFIG" >&6; }
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27465 $as_echo "no" >&6; }
27470 if test -z "$ac_cv_path_PKG_CONFIG"; then
27471 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27472 # Extract the first word of "pkg-config", so it can be a program name with args.
27473 set dummy pkg
-config; ac_word
=$2
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27475 $as_echo_n "checking for $ac_word... " >&6; }
27476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27477 $as_echo_n "(cached) " >&6
27479 case $ac_pt_PKG_CONFIG in
27481 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27485 for as_dir
in $PATH
27488 test -z "$as_dir" && as_dir
=.
27489 for ac_exec_ext
in '' $ac_executable_extensions; do
27490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27491 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27502 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27503 if test -n "$ac_pt_PKG_CONFIG"; then
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27508 $as_echo "no" >&6; }
27511 if test "x$ac_pt_PKG_CONFIG" = x
; then
27514 case $cross_compiling:$ac_tool_warned in
27516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27518 ac_tool_warned
=yes ;;
27520 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27523 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27527 if test -n "$PKG_CONFIG"; then
27528 _pkg_min_version
=0.9.0
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27531 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27533 $as_echo "yes" >&6; }
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27536 $as_echo "no" >&6; }
27543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27544 $as_echo_n "checking for SM... " >&6; }
27546 if test -n "$PKG_CONFIG"; then
27547 if test -n "$SM_CFLAGS"; then
27548 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27550 if test -n "$PKG_CONFIG" && \
27551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27552 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27555 test $ac_status = 0; }; then
27556 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27564 if test -n "$PKG_CONFIG"; then
27565 if test -n "$SM_LIBS"; then
27566 pkg_cv_SM_LIBS
="$SM_LIBS"
27568 if test -n "$PKG_CONFIG" && \
27569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27570 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27573 test $ac_status = 0; }; then
27574 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27585 if test $pkg_failed = yes; then
27587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27588 _pkg_short_errors_supported
=yes
27590 _pkg_short_errors_supported
=no
27592 if test $_pkg_short_errors_supported = yes; then
27593 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27595 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27597 # Put the nasty error message in config.log where it belongs
27598 echo "$SM_PKG_ERRORS" >&5
27601 if test "x$ac_find_libraries" = "x"; then
27602 if test "xSmcOpenConnection" != "x"; then
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27604 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27605 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27606 $as_echo_n "(cached) " >&6
27608 ac_check_lib_save_LIBS
=$LIBS
27610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27611 /* end confdefs.h. */
27613 /* Override any GCC internal prototype to avoid an error.
27614 Use char because int might match the return type of a GCC
27615 builtin and then its argument prototype would still apply. */
27619 char SmcOpenConnection ();
27623 return SmcOpenConnection ();
27628 if ac_fn_c_try_link
"$LINENO"; then :
27629 ac_cv_lib_SM_SmcOpenConnection
=yes
27631 ac_cv_lib_SM_SmcOpenConnection
=no
27633 rm -f core conftest.err conftest.
$ac_objext \
27634 conftest
$ac_exeext conftest.
$ac_ext
27635 LIBS
=$ac_check_lib_save_LIBS
27637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27638 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27639 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27640 ac_find_libraries
="std"
27646 if test "x$ac_find_libraries" = "x"; then
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27648 $as_echo_n "checking elsewhere... " >&6; }
27651 for ac_dir
in $SEARCH_LIB
27653 for ac_extension
in a so sl dylib dll.a
; do
27654 if test -f "$ac_dir/libSM.$ac_extension"; then
27655 ac_find_libraries
=$ac_dir
27661 if test "x$ac_find_libraries" != "x"; then
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27663 $as_echo "yes" >&6; }
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27666 $as_echo "no" >&6; }
27670 elif test $pkg_failed = untried
; then
27672 if test "x$ac_find_libraries" = "x"; then
27673 if test "xSmcOpenConnection" != "x"; then
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27675 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27676 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27677 $as_echo_n "(cached) " >&6
27679 ac_check_lib_save_LIBS
=$LIBS
27681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27682 /* end confdefs.h. */
27684 /* Override any GCC internal prototype to avoid an error.
27685 Use char because int might match the return type of a GCC
27686 builtin and then its argument prototype would still apply. */
27690 char SmcOpenConnection ();
27694 return SmcOpenConnection ();
27699 if ac_fn_c_try_link
"$LINENO"; then :
27700 ac_cv_lib_SM_SmcOpenConnection
=yes
27702 ac_cv_lib_SM_SmcOpenConnection
=no
27704 rm -f core conftest.err conftest.
$ac_objext \
27705 conftest
$ac_exeext conftest.
$ac_ext
27706 LIBS
=$ac_check_lib_save_LIBS
27708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27709 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27710 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27711 ac_find_libraries
="std"
27717 if test "x$ac_find_libraries" = "x"; then
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27719 $as_echo_n "checking elsewhere... " >&6; }
27722 for ac_dir
in $SEARCH_LIB
27724 for ac_extension
in a so sl dylib dll.a
; do
27725 if test -f "$ac_dir/libSM.$ac_extension"; then
27726 ac_find_libraries
=$ac_dir
27732 if test "x$ac_find_libraries" != "x"; then
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27734 $as_echo "yes" >&6; }
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27737 $as_echo "no" >&6; }
27742 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27743 SM_LIBS
=$pkg_cv_SM_LIBS
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27745 $as_echo "yes" >&6; }
27747 ac_find_libraries
="std"
27749 eval ac_find_cflags
=\
$SM_CFLAGS
27750 eval fl_libs
=\
$SM_LIBS
27752 for fl_path
in $fl_libs
27754 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27755 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27761 if test "$ac_find_libraries" != "" ; then
27762 if test "$ac_find_libraries" != "std" ; then
27764 if test "$ac_find_libraries" = "default location"; then
27767 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27769 if test $result = 0; then
27772 ac_path_to_link
=" -L$ac_find_libraries"
27776 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27777 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27780 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27783 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27784 wxUSE_DETECT_SM
="no"
27787 wxUSE_DETECT_SM
="no"
27794 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27797 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27798 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27799 elif test "$wxUSE_MSW" = 1; then
27800 OPENGL_LIBS
="-lopengl32 -lglu32"
27801 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27804 $as_echo_n "checking for OpenGL headers... " >&6; }
27807 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27809 if test -f "$ac_dir/GL/gl.h"; then
27810 ac_find_includes
=$ac_dir
27815 if test "$ac_find_includes" != "" ; then
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27817 $as_echo "found in $ac_find_includes" >&6; }
27819 if test "x$ac_find_includes" = "x/usr/include"; then
27820 ac_path_to_include
=""
27822 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27824 if test $result = 0; then
27825 ac_path_to_include
=""
27827 ac_path_to_include
=" -I$ac_find_includes"
27831 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27834 $as_echo "not found" >&6; }
27837 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27839 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27841 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27843 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27850 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27853 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27854 if test -n "$ac_tool_prefix"; then
27855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27856 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27858 $as_echo_n "checking for $ac_word... " >&6; }
27859 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27860 $as_echo_n "(cached) " >&6
27862 case $PKG_CONFIG in
27864 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27868 for as_dir
in $PATH
27871 test -z "$as_dir" && as_dir
=.
27872 for ac_exec_ext
in '' $ac_executable_extensions; do
27873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27874 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27885 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27886 if test -n "$PKG_CONFIG"; then
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27888 $as_echo "$PKG_CONFIG" >&6; }
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27891 $as_echo "no" >&6; }
27896 if test -z "$ac_cv_path_PKG_CONFIG"; then
27897 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27898 # Extract the first word of "pkg-config", so it can be a program name with args.
27899 set dummy pkg
-config; ac_word
=$2
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27901 $as_echo_n "checking for $ac_word... " >&6; }
27902 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27903 $as_echo_n "(cached) " >&6
27905 case $ac_pt_PKG_CONFIG in
27907 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27911 for as_dir
in $PATH
27914 test -z "$as_dir" && as_dir
=.
27915 for ac_exec_ext
in '' $ac_executable_extensions; do
27916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27917 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27928 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27929 if test -n "$ac_pt_PKG_CONFIG"; then
27930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27931 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27934 $as_echo "no" >&6; }
27937 if test "x$ac_pt_PKG_CONFIG" = x
; then
27940 case $cross_compiling:$ac_tool_warned in
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27944 ac_tool_warned
=yes ;;
27946 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27949 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27953 if test -n "$PKG_CONFIG"; then
27954 _pkg_min_version
=0.9.0
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27956 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27957 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27959 $as_echo "yes" >&6; }
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27962 $as_echo "no" >&6; }
27969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27970 $as_echo_n "checking for GL... " >&6; }
27972 if test -n "$PKG_CONFIG"; then
27973 if test -n "$GL_CFLAGS"; then
27974 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27976 if test -n "$PKG_CONFIG" && \
27977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27978 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27981 test $ac_status = 0; }; then
27982 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27990 if test -n "$PKG_CONFIG"; then
27991 if test -n "$GL_LIBS"; then
27992 pkg_cv_GL_LIBS
="$GL_LIBS"
27994 if test -n "$PKG_CONFIG" && \
27995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27996 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27999 test $ac_status = 0; }; then
28000 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28011 if test $pkg_failed = yes; then
28013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28014 _pkg_short_errors_supported
=yes
28016 _pkg_short_errors_supported
=no
28018 if test $_pkg_short_errors_supported = yes; then
28019 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28021 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28023 # Put the nasty error message in config.log where it belongs
28024 echo "$GL_PKG_ERRORS" >&5
28027 if test "x$ac_find_libraries" = "x"; then
28028 if test "xglBegin" != "x"; then
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28030 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28031 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28032 $as_echo_n "(cached) " >&6
28034 ac_check_lib_save_LIBS
=$LIBS
28036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28037 /* end confdefs.h. */
28039 /* Override any GCC internal prototype to avoid an error.
28040 Use char because int might match the return type of a GCC
28041 builtin and then its argument prototype would still apply. */
28054 if ac_fn_c_try_link
"$LINENO"; then :
28055 ac_cv_lib_GL_glBegin
=yes
28057 ac_cv_lib_GL_glBegin
=no
28059 rm -f core conftest.err conftest.
$ac_objext \
28060 conftest
$ac_exeext conftest.
$ac_ext
28061 LIBS
=$ac_check_lib_save_LIBS
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28064 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28065 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28066 ac_find_libraries
="std"
28072 if test "x$ac_find_libraries" = "x"; then
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28074 $as_echo_n "checking elsewhere... " >&6; }
28077 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28079 for ac_extension
in a so sl dylib dll.a
; do
28080 if test -f "$ac_dir/libGL.$ac_extension"; then
28081 ac_find_libraries
=$ac_dir
28087 if test "x$ac_find_libraries" != "x"; then
28088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28089 $as_echo "yes" >&6; }
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28092 $as_echo "no" >&6; }
28096 elif test $pkg_failed = untried
; then
28098 if test "x$ac_find_libraries" = "x"; then
28099 if test "xglBegin" != "x"; then
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28101 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28102 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28103 $as_echo_n "(cached) " >&6
28105 ac_check_lib_save_LIBS
=$LIBS
28107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h. */
28110 /* Override any GCC internal prototype to avoid an error.
28111 Use char because int might match the return type of a GCC
28112 builtin and then its argument prototype would still apply. */
28125 if ac_fn_c_try_link
"$LINENO"; then :
28126 ac_cv_lib_GL_glBegin
=yes
28128 ac_cv_lib_GL_glBegin
=no
28130 rm -f core conftest.err conftest.
$ac_objext \
28131 conftest
$ac_exeext conftest.
$ac_ext
28132 LIBS
=$ac_check_lib_save_LIBS
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28135 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28136 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28137 ac_find_libraries
="std"
28143 if test "x$ac_find_libraries" = "x"; then
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28145 $as_echo_n "checking elsewhere... " >&6; }
28148 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28150 for ac_extension
in a so sl dylib dll.a
; do
28151 if test -f "$ac_dir/libGL.$ac_extension"; then
28152 ac_find_libraries
=$ac_dir
28158 if test "x$ac_find_libraries" != "x"; then
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28160 $as_echo "yes" >&6; }
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28163 $as_echo "no" >&6; }
28168 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28169 GL_LIBS
=$pkg_cv_GL_LIBS
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28171 $as_echo "yes" >&6; }
28173 ac_find_libraries
="std"
28175 eval ac_find_cflags
=\
$GL_CFLAGS
28176 eval fl_libs
=\
$GL_LIBS
28178 for fl_path
in $fl_libs
28180 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28181 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28187 if test "$ac_find_libraries" != "" ; then
28188 if test "$ac_find_libraries" != "std" ; then
28190 if test "$ac_find_libraries" = "default location"; then
28193 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28195 if test $result = 0; then
28198 ac_path_to_link
=" -L$ac_find_libraries"
28202 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28203 LDFLAGS_GL
="$ac_path_to_link"
28210 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28213 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28214 if test -n "$ac_tool_prefix"; then
28215 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28216 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28218 $as_echo_n "checking for $ac_word... " >&6; }
28219 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28220 $as_echo_n "(cached) " >&6
28222 case $PKG_CONFIG in
28224 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28228 for as_dir
in $PATH
28231 test -z "$as_dir" && as_dir
=.
28232 for ac_exec_ext
in '' $ac_executable_extensions; do
28233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28234 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28245 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28246 if test -n "$PKG_CONFIG"; then
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28248 $as_echo "$PKG_CONFIG" >&6; }
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28251 $as_echo "no" >&6; }
28256 if test -z "$ac_cv_path_PKG_CONFIG"; then
28257 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28258 # Extract the first word of "pkg-config", so it can be a program name with args.
28259 set dummy pkg
-config; ac_word
=$2
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28261 $as_echo_n "checking for $ac_word... " >&6; }
28262 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28263 $as_echo_n "(cached) " >&6
28265 case $ac_pt_PKG_CONFIG in
28267 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28271 for as_dir
in $PATH
28274 test -z "$as_dir" && as_dir
=.
28275 for ac_exec_ext
in '' $ac_executable_extensions; do
28276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28277 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28288 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28289 if test -n "$ac_pt_PKG_CONFIG"; then
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28291 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28294 $as_echo "no" >&6; }
28297 if test "x$ac_pt_PKG_CONFIG" = x
; then
28300 case $cross_compiling:$ac_tool_warned in
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28304 ac_tool_warned
=yes ;;
28306 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28309 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28313 if test -n "$PKG_CONFIG"; then
28314 _pkg_min_version
=0.9.0
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28316 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28317 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28319 $as_echo "yes" >&6; }
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28322 $as_echo "no" >&6; }
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28330 $as_echo_n "checking for GLU... " >&6; }
28332 if test -n "$PKG_CONFIG"; then
28333 if test -n "$GLU_CFLAGS"; then
28334 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28336 if test -n "$PKG_CONFIG" && \
28337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28338 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28341 test $ac_status = 0; }; then
28342 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28350 if test -n "$PKG_CONFIG"; then
28351 if test -n "$GLU_LIBS"; then
28352 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28354 if test -n "$PKG_CONFIG" && \
28355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28356 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28359 test $ac_status = 0; }; then
28360 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28371 if test $pkg_failed = yes; then
28373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28374 _pkg_short_errors_supported
=yes
28376 _pkg_short_errors_supported
=no
28378 if test $_pkg_short_errors_supported = yes; then
28379 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28381 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28383 # Put the nasty error message in config.log where it belongs
28384 echo "$GLU_PKG_ERRORS" >&5
28387 if test "x$ac_find_libraries" = "x"; then
28388 if test "xgluBeginCurve" != "x"; then
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28390 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28391 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28392 $as_echo_n "(cached) " >&6
28394 ac_check_lib_save_LIBS
=$LIBS
28396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28399 /* Override any GCC internal prototype to avoid an error.
28400 Use char because int might match the return type of a GCC
28401 builtin and then its argument prototype would still apply. */
28405 char gluBeginCurve ();
28409 return gluBeginCurve ();
28414 if ac_fn_c_try_link
"$LINENO"; then :
28415 ac_cv_lib_GLU_gluBeginCurve
=yes
28417 ac_cv_lib_GLU_gluBeginCurve
=no
28419 rm -f core conftest.err conftest.
$ac_objext \
28420 conftest
$ac_exeext conftest.
$ac_ext
28421 LIBS
=$ac_check_lib_save_LIBS
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28424 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28425 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28426 ac_find_libraries
="std"
28432 if test "x$ac_find_libraries" = "x"; then
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28434 $as_echo_n "checking elsewhere... " >&6; }
28437 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28439 for ac_extension
in a so sl dylib dll.a
; do
28440 if test -f "$ac_dir/libGLU.$ac_extension"; then
28441 ac_find_libraries
=$ac_dir
28447 if test "x$ac_find_libraries" != "x"; then
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28449 $as_echo "yes" >&6; }
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28452 $as_echo "no" >&6; }
28456 elif test $pkg_failed = untried
; then
28458 if test "x$ac_find_libraries" = "x"; then
28459 if test "xgluBeginCurve" != "x"; then
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28461 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28462 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28463 $as_echo_n "(cached) " >&6
28465 ac_check_lib_save_LIBS
=$LIBS
28467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28468 /* end confdefs.h. */
28470 /* Override any GCC internal prototype to avoid an error.
28471 Use char because int might match the return type of a GCC
28472 builtin and then its argument prototype would still apply. */
28476 char gluBeginCurve ();
28480 return gluBeginCurve ();
28485 if ac_fn_c_try_link
"$LINENO"; then :
28486 ac_cv_lib_GLU_gluBeginCurve
=yes
28488 ac_cv_lib_GLU_gluBeginCurve
=no
28490 rm -f core conftest.err conftest.
$ac_objext \
28491 conftest
$ac_exeext conftest.
$ac_ext
28492 LIBS
=$ac_check_lib_save_LIBS
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28495 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28496 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28497 ac_find_libraries
="std"
28503 if test "x$ac_find_libraries" = "x"; then
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28505 $as_echo_n "checking elsewhere... " >&6; }
28508 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28510 for ac_extension
in a so sl dylib dll.a
; do
28511 if test -f "$ac_dir/libGLU.$ac_extension"; then
28512 ac_find_libraries
=$ac_dir
28518 if test "x$ac_find_libraries" != "x"; then
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28520 $as_echo "yes" >&6; }
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28523 $as_echo "no" >&6; }
28528 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28529 GLU_LIBS
=$pkg_cv_GLU_LIBS
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28531 $as_echo "yes" >&6; }
28533 ac_find_libraries
="std"
28535 eval ac_find_cflags
=\
$GLU_CFLAGS
28536 eval fl_libs
=\
$GLU_LIBS
28538 for fl_path
in $fl_libs
28540 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28541 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28547 if test "$ac_find_libraries" != "" ; then
28548 if test "$ac_find_libraries" != "std" ; then
28550 if test "$ac_find_libraries" = "default location"; then
28553 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28555 if test $result = 0; then
28558 ac_path_to_link
=" -L$ac_find_libraries"
28562 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28563 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28564 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28569 OPENGL_LIBS
="-lGL -lGLU"
28573 if test "$found_gl" != 1; then
28577 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28580 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28581 if test -n "$ac_tool_prefix"; then
28582 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28583 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28585 $as_echo_n "checking for $ac_word... " >&6; }
28586 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28587 $as_echo_n "(cached) " >&6
28589 case $PKG_CONFIG in
28591 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28595 for as_dir
in $PATH
28598 test -z "$as_dir" && as_dir
=.
28599 for ac_exec_ext
in '' $ac_executable_extensions; do
28600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28601 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28612 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28613 if test -n "$PKG_CONFIG"; then
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28615 $as_echo "$PKG_CONFIG" >&6; }
28617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28618 $as_echo "no" >&6; }
28623 if test -z "$ac_cv_path_PKG_CONFIG"; then
28624 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28625 # Extract the first word of "pkg-config", so it can be a program name with args.
28626 set dummy pkg
-config; ac_word
=$2
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28628 $as_echo_n "checking for $ac_word... " >&6; }
28629 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28630 $as_echo_n "(cached) " >&6
28632 case $ac_pt_PKG_CONFIG in
28634 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28638 for as_dir
in $PATH
28641 test -z "$as_dir" && as_dir
=.
28642 for ac_exec_ext
in '' $ac_executable_extensions; do
28643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28644 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28655 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28656 if test -n "$ac_pt_PKG_CONFIG"; then
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28658 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28661 $as_echo "no" >&6; }
28664 if test "x$ac_pt_PKG_CONFIG" = x
; then
28667 case $cross_compiling:$ac_tool_warned in
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28671 ac_tool_warned
=yes ;;
28673 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28676 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28680 if test -n "$PKG_CONFIG"; then
28681 _pkg_min_version
=0.9.0
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28683 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28684 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28686 $as_echo "yes" >&6; }
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28689 $as_echo "no" >&6; }
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28697 $as_echo_n "checking for MesaGL... " >&6; }
28699 if test -n "$PKG_CONFIG"; then
28700 if test -n "$MesaGL_CFLAGS"; then
28701 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28703 if test -n "$PKG_CONFIG" && \
28704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28705 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28708 test $ac_status = 0; }; then
28709 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28717 if test -n "$PKG_CONFIG"; then
28718 if test -n "$MesaGL_LIBS"; then
28719 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28721 if test -n "$PKG_CONFIG" && \
28722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28723 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28726 test $ac_status = 0; }; then
28727 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28738 if test $pkg_failed = yes; then
28740 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28741 _pkg_short_errors_supported
=yes
28743 _pkg_short_errors_supported
=no
28745 if test $_pkg_short_errors_supported = yes; then
28746 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28748 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28750 # Put the nasty error message in config.log where it belongs
28751 echo "$MesaGL_PKG_ERRORS" >&5
28754 if test "x$ac_find_libraries" = "x"; then
28755 if test "xglEnable" != "x"; then
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28757 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28758 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28759 $as_echo_n "(cached) " >&6
28761 ac_check_lib_save_LIBS
=$LIBS
28762 LIBS
="-lMesaGL $LIBS"
28763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28766 /* Override any GCC internal prototype to avoid an error.
28767 Use char because int might match the return type of a GCC
28768 builtin and then its argument prototype would still apply. */
28776 return glEnable ();
28781 if ac_fn_c_try_link
"$LINENO"; then :
28782 ac_cv_lib_MesaGL_glEnable
=yes
28784 ac_cv_lib_MesaGL_glEnable
=no
28786 rm -f core conftest.err conftest.
$ac_objext \
28787 conftest
$ac_exeext conftest.
$ac_ext
28788 LIBS
=$ac_check_lib_save_LIBS
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28791 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28792 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28793 ac_find_libraries
="std"
28799 if test "x$ac_find_libraries" = "x"; then
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28801 $as_echo_n "checking elsewhere... " >&6; }
28804 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28806 for ac_extension
in a so sl dylib dll.a
; do
28807 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28808 ac_find_libraries
=$ac_dir
28814 if test "x$ac_find_libraries" != "x"; then
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28816 $as_echo "yes" >&6; }
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28819 $as_echo "no" >&6; }
28823 elif test $pkg_failed = untried
; then
28825 if test "x$ac_find_libraries" = "x"; then
28826 if test "xglEnable" != "x"; then
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28828 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28829 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28830 $as_echo_n "(cached) " >&6
28832 ac_check_lib_save_LIBS
=$LIBS
28833 LIBS
="-lMesaGL $LIBS"
28834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28835 /* end confdefs.h. */
28837 /* Override any GCC internal prototype to avoid an error.
28838 Use char because int might match the return type of a GCC
28839 builtin and then its argument prototype would still apply. */
28847 return glEnable ();
28852 if ac_fn_c_try_link
"$LINENO"; then :
28853 ac_cv_lib_MesaGL_glEnable
=yes
28855 ac_cv_lib_MesaGL_glEnable
=no
28857 rm -f core conftest.err conftest.
$ac_objext \
28858 conftest
$ac_exeext conftest.
$ac_ext
28859 LIBS
=$ac_check_lib_save_LIBS
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28862 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28863 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28864 ac_find_libraries
="std"
28870 if test "x$ac_find_libraries" = "x"; then
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28872 $as_echo_n "checking elsewhere... " >&6; }
28875 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28877 for ac_extension
in a so sl dylib dll.a
; do
28878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28879 ac_find_libraries
=$ac_dir
28885 if test "x$ac_find_libraries" != "x"; then
28886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28887 $as_echo "yes" >&6; }
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28890 $as_echo "no" >&6; }
28895 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28896 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28898 $as_echo "yes" >&6; }
28900 ac_find_libraries
="std"
28902 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28903 eval fl_libs
=\
$MesaGL_LIBS
28905 for fl_path
in $fl_libs
28907 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28908 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28914 if test "$ac_find_libraries" != "" ; then
28915 if test "$ac_find_libraries" != "std" ; then
28917 if test "$ac_find_libraries" = "default location"; then
28920 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28922 if test $result = 0; then
28925 ac_path_to_link
=" -L$ac_find_libraries"
28929 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28930 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28933 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28945 if test "x$OPENGL_LIBS" = "x"; then
28946 if test "$wxUSE_OPENGL" = "yes"; then
28947 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28950 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28957 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28961 if test "$wxUSE_OPENGL" = "auto"; then
28965 if test "$wxUSE_OPENGL" = "yes"; then
28967 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28969 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28976 if test -n "$TOOLKIT" ; then
28977 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28982 if test "$wxUSE_SHARED" = "yes"; then
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28987 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28992 if test "$wxUSE_SHARED" = "yes"; then
28996 *-*-cygwin* | *-*-mingw* )
28997 wx_cv_version_script
=no
29001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29002 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29003 if ${wx_cv_version_script+:} false
; then :
29004 $as_echo_n "(cached) " >&6
29007 echo "VER_1 { *; };" >conftest.sym
29008 echo "int main() { return 0; }" >conftest.cpp
29011 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29012 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29013 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29014 (eval $ac_try) 2>&5
29016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29017 test $ac_status = 0; }; } ; then
29018 if test -s conftest.stderr
; then
29019 wx_cv_version_script
=no
29021 wx_cv_version_script
=yes
29024 wx_cv_version_script
=no
29027 if test $wx_cv_version_script = yes
29029 echo "struct B { virtual ~B() { } }; \
29030 struct D : public B { }; \
29031 void F() { D d; }" > conftest.cpp
29034 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29035 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29036 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29037 (eval $ac_try) 2>&5
29039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29040 test $ac_status = 0; }; } &&
29042 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29043 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29045 (eval $ac_try) 2>&5
29047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29048 test $ac_status = 0; }; }
29051 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29052 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29053 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29054 (eval $ac_try) 2>&5
29056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29057 test $ac_status = 0; }; }
29059 wx_cv_version_script
=yes
29061 wx_cv_version_script
=no
29066 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29067 rm -f conftest1.output conftest2.output conftest3.output
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29071 $as_echo "$wx_cv_version_script" >&6; }
29073 if test $wx_cv_version_script = yes ; then
29074 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29080 if test "$wxUSE_VISIBILITY" != "no"; then
29083 if test -n "$GCC"; then
29084 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29085 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29087 $as_echo_n "checking for symbols visibility support... " >&6; }
29088 if ${wx_cv_cc_visibility+:} false
; then :
29089 $as_echo_n "(cached) " >&6
29092 wx_save_CXXFLAGS
="$CXXFLAGS"
29093 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29095 ac_cpp
='$CXXCPP $CPPFLAGS'
29096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29103 /* we need gcc >= 4.0, older versions with visibility support
29104 didn't have class visibility: */
29105 #if defined(__GNUC__) && __GNUC__ < 4
29106 error this gcc is too old;
29109 /* visibility only makes sense for ELF shared libs: */
29110 #if !defined(__ELF__) && !defined(__APPLE__)
29111 error this platform has no visibility;
29114 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29115 #if defined(__clang__)
29116 clang compiler is still broken w.r.t. visibility;
29119 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29120 extern __attribute__((__visibility__("default"))) int exportedvar;
29121 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29122 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29123 class __attribute__((__visibility__("default"))) Foo {
29135 if ac_fn_cxx_try_compile
"$LINENO"; then :
29136 wx_cv_cc_visibility
=yes
29138 wx_cv_cc_visibility
=no
29140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29142 ac_cpp
='$CPP $CPPFLAGS'
29143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29147 CXXFLAGS
="$wx_save_CXXFLAGS"
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29151 $as_echo "$wx_cv_cc_visibility" >&6; }
29152 if test $wx_cv_cc_visibility = yes; then
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29154 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29155 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29156 $as_echo_n "(cached) " >&6
29159 wx_save_CXXFLAGS
="$CXXFLAGS"
29160 wx_save_LDFLAGS
="$LDFLAGS"
29161 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29162 LDFLAGS
="$LDFLAGS -shared -fPIC"
29164 ac_cpp
='$CXXCPP $CPPFLAGS'
29165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29170 /* end confdefs.h. */
29178 std::string s("hello");
29185 if ac_fn_cxx_try_link
"$LINENO"; then :
29186 wx_cv_cc_broken_libstdcxx_visibility
=no
29188 wx_cv_cc_broken_libstdcxx_visibility
=yes
29190 rm -f core conftest.err conftest.
$ac_objext \
29191 conftest
$ac_exeext conftest.
$ac_ext
29193 ac_cpp
='$CPP $CPPFLAGS'
29194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29198 CXXFLAGS
="$wx_save_CXXFLAGS"
29199 LDFLAGS
="$wx_save_LDFLAGS"
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29203 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29205 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29207 $as_echo_n "checking whether we can work around it... " >&6; }
29208 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29209 $as_echo_n "(cached) " >&6
29213 ac_cpp
='$CXXCPP $CPPFLAGS'
29214 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29219 /* end confdefs.h. */
29221 #pragma GCC visibility push(default)
29223 #pragma GCC visibility pop
29229 std::string s("hello");
29236 if ac_fn_cxx_try_link
"$LINENO"; then :
29237 wx_cv_cc_visibility_workaround
=no
29239 wx_cv_cc_visibility_workaround
=yes
29241 rm -f core conftest.err conftest.
$ac_objext \
29242 conftest
$ac_exeext conftest.
$ac_ext
29244 ac_cpp
='$CPP $CPPFLAGS'
29245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29253 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29255 if test $wx_cv_cc_visibility_workaround = no
; then
29256 wx_cv_cc_visibility
=no
29261 if test $wx_cv_cc_visibility = yes; then
29262 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29264 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29265 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29269 CFLAGS_VISIBILITY
=""
29270 CXXFLAGS_VISIBILITY
=""
29278 if test "x$SUNCXX" = xyes
; then
29279 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29280 WXCONFIG_RPATH
="-R\$libdir"
29283 *-*-linux* | *-*-gnu* )
29284 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29285 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29290 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29292 saveLdflags
="$LDFLAGS"
29293 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29295 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29307 if ac_fn_c_try_link
"$LINENO"; then :
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29310 $as_echo "yes" >&6; }
29311 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29312 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29317 $as_echo "no" >&6; }
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29319 $as_echo_n "checking if the linker accepts -R... " >&6; }
29320 LDFLAGS
="$saveLdflags -Wl,-R,/"
29321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29332 if ac_fn_c_try_link
"$LINENO"; then :
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29335 $as_echo "yes" >&6; }
29336 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29337 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29342 $as_echo "no" >&6; }
29345 rm -f core conftest.err conftest.
$ac_objext \
29346 conftest
$ac_exeext conftest.
$ac_ext
29349 rm -f core conftest.err conftest.
$ac_objext \
29350 conftest
$ac_exeext conftest.
$ac_ext
29351 LDFLAGS
="$saveLdflags"
29355 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29356 if test "$install_name_tool" -a -x "$install_name_tool"; then
29357 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29358 cat <<EOF >change-install-names
29360 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29361 for i in \${libnames} ; do
29362 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29363 for dep in \${libnames} ; do
29364 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29368 chmod +x change
-install-names
29369 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29372 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29375 *-*-cygwin* | *-*-mingw32* )
29379 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29380 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29386 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29388 if test $wxUSE_RPATH = "no"; then
29389 SAMPLES_RPATH_FLAG
=''
29390 DYLIB_PATH_POSTLINK
=''
29398 config_linkage_component
="-static"
29405 lib_unicode_suffix
=
29407 if test "$wxUSE_UNICODE" = "yes"; then
29408 lib_unicode_suffix
=u
29409 WX_CHARTYPE
="unicode"
29413 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29414 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29417 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29421 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29423 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29425 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29428 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29429 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29431 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29433 if test "${TOOLKIT_DIR}" = "os2"; then
29434 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29436 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29441 if test "$wxUSE_OLD_COCOA" = 1; then
29444 ac_cpp
='$CPP $CPPFLAGS'
29445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29452 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29454 /* end confdefs.h. */
29455 #include <AppKit/NSEvent.h>
29456 #include <CoreFoundation/CoreFoundation.h>
29466 if ac_fn_c_try_compile
"$LINENO"; then :
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29468 $as_echo "no" >&6; }
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29471 $as_echo "yes" >&6; }
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29473 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29475 /* end confdefs.h. */
29476 #define __Point__ 1
29477 #include <AppKit/NSEvent.h>
29478 #include <CoreFoundation/CoreFoundation.h>
29488 if ac_fn_c_try_compile
"$LINENO"; then :
29489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29490 $as_echo "yes" >&6; }
29491 $as_echo "#define __Point__ 1" >>confdefs.h
29495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29498 See \`config.log' for more details" "$LINENO" 5; }
29501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29506 ac_cpp
='$CPP $CPPFLAGS'
29507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29514 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29515 if test "x$ac_cv_type_mode_t" = xyes
; then :
29519 cat >>confdefs.h
<<_ACEOF
29525 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29526 if test "x$ac_cv_type_off_t" = xyes
; then :
29530 cat >>confdefs.h
<<_ACEOF
29531 #define off_t long int
29536 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29537 if test "x$ac_cv_type_pid_t" = xyes
; then :
29541 cat >>confdefs.h
<<_ACEOF
29547 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29548 if test "x$ac_cv_type_size_t" = xyes
; then :
29552 cat >>confdefs.h
<<_ACEOF
29553 #define size_t unsigned int
29559 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29560 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29562 cat >>confdefs.h
<<_ACEOF
29563 #define HAVE_SSIZE_T 1
29571 ac_cpp
='$CXXCPP $CPPFLAGS'
29572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29576 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29577 if ${wx_cv_size_t_is_uint+:} false
; then :
29578 $as_echo_n "(cached) " >&6
29581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29582 /* end confdefs.h. */
29583 #include <stddef.h>
29590 struct Foo { void foo(size_t); void foo(unsigned int); };
29598 if ac_fn_cxx_try_compile
"$LINENO"; then :
29599 wx_cv_size_t_is_uint
=no
29601 wx_cv_size_t_is_uint
=yes
29604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29609 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29611 if test "$wx_cv_size_t_is_uint" = "yes"; then
29612 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29616 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29617 if ${wx_cv_size_t_is_ulong+:} false
; then :
29618 $as_echo_n "(cached) " >&6
29620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622 #include <stddef.h>
29629 struct Foo { void foo(size_t); void foo(unsigned long); };
29637 if ac_fn_cxx_try_compile
"$LINENO"; then :
29638 wx_cv_size_t_is_ulong
=no
29640 wx_cv_size_t_is_ulong
=yes
29643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29647 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29649 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29650 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29656 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29657 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29658 $as_echo_n "(cached) " >&6
29660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29661 /* end confdefs.h. */
29669 struct Foo { void foo(wchar_t);
29670 void foo(unsigned short);
29671 void foo(unsigned int);
29672 void foo(unsigned long); };
29680 if ac_fn_cxx_try_compile
"$LINENO"; then :
29681 wx_cv_wchar_t_is_separate_type
=yes
29683 wx_cv_wchar_t_is_separate_type
=no
29686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29690 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29692 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29693 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29696 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29701 ac_cpp
='$CPP $CPPFLAGS'
29702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29708 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29709 if ${wx_cv_struct_pw_gecos+:} false
; then :
29710 $as_echo_n "(cached) " >&6
29713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29714 /* end confdefs.h. */
29728 if ac_fn_c_try_compile
"$LINENO"; then :
29730 wx_cv_struct_pw_gecos
=yes
29734 wx_cv_struct_pw_gecos
=no
29738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29743 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29745 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29746 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29753 for ac_func
in wcslen
29755 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29756 if test "x$ac_cv_func_wcslen" = xyes
; then :
29757 cat >>confdefs.h
<<_ACEOF
29758 #define HAVE_WCSLEN 1
29765 if test "$WCSLEN_FOUND" = 0; then
29766 if test "$TOOLKIT" = "MSW"; then
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29768 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29769 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29770 $as_echo_n "(cached) " >&6
29772 ac_check_lib_save_LIBS
=$LIBS
29773 LIBS
="-lmsvcrt $LIBS"
29774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29775 /* end confdefs.h. */
29777 /* Override any GCC internal prototype to avoid an error.
29778 Use char because int might match the return type of a GCC
29779 builtin and then its argument prototype would still apply. */
29792 if ac_fn_c_try_link
"$LINENO"; then :
29793 ac_cv_lib_msvcrt_wcslen
=yes
29795 ac_cv_lib_msvcrt_wcslen
=no
29797 rm -f core conftest.err conftest.
$ac_objext \
29798 conftest
$ac_exeext conftest.
$ac_ext
29799 LIBS
=$ac_check_lib_save_LIBS
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29802 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29803 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29809 $as_echo_n "checking for wcslen in -lw... " >&6; }
29810 if ${ac_cv_lib_w_wcslen+:} false
; then :
29811 $as_echo_n "(cached) " >&6
29813 ac_check_lib_save_LIBS
=$LIBS
29815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29818 /* Override any GCC internal prototype to avoid an error.
29819 Use char because int might match the return type of a GCC
29820 builtin and then its argument prototype would still apply. */
29833 if ac_fn_c_try_link
"$LINENO"; then :
29834 ac_cv_lib_w_wcslen
=yes
29836 ac_cv_lib_w_wcslen
=no
29838 rm -f core conftest.err conftest.
$ac_objext \
29839 conftest
$ac_exeext conftest.
$ac_ext
29840 LIBS
=$ac_check_lib_save_LIBS
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29843 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29844 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29854 if test "$WCSLEN_FOUND" = 1; then
29855 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29859 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29861 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29862 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29863 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29864 cat >>confdefs.h
<<_ACEOF
29865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29872 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29873 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29876 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29878 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29880 cat >>confdefs.h
<<_ACEOF
29881 #define HAVE_MBSTATE_T 1
29884 for ac_func
in wcsrtombs
29886 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29887 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29888 cat >>confdefs.h
<<_ACEOF
29889 #define HAVE_WCSRTOMBS 1
29898 for ac_func
in snprintf vsnprintf vsscanf
29900 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29901 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29902 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29903 cat >>confdefs.h
<<_ACEOF
29904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29912 ac_cpp
='$CXXCPP $CPPFLAGS'
29913 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29917 if test "$ac_cv_func_vsnprintf" = "yes"; then
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29919 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29920 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29921 $as_echo_n "(cached) " >&6
29924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29925 /* end confdefs.h. */
29928 #include <stdarg.h>
29936 vsnprintf(buf, 10u, "%s", ap);
29942 if ac_fn_cxx_try_compile
"$LINENO"; then :
29943 wx_cv_func_vsnprintf_decl
=yes
29945 wx_cv_func_vsnprintf_decl
=no
29948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29953 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29955 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29956 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29960 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29961 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29962 $as_echo_n "(cached) " >&6
29965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29966 /* end confdefs.h. */
29969 #include <stdarg.h>
29971 #if __MSL__ >= 0x6000
29973 using namespace std;
29983 const char *fmt = "%s";
29984 vsnprintf(buf, 10u, fmt, ap);
29990 if ac_fn_cxx_try_compile
"$LINENO"; then :
29991 wx_cv_func_broken_vsnprintf_decl
=no
29993 wx_cv_func_broken_vsnprintf_decl
=yes
29996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30001 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30003 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30004 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30010 if test "$ac_cv_func_snprintf" = "yes"; then
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30012 $as_echo_n "checking for snprintf declaration... " >&6; }
30013 if ${wx_cv_func_snprintf_decl+:} false
; then :
30014 $as_echo_n "(cached) " >&6
30017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30018 /* end confdefs.h. */
30021 #include <stdarg.h>
30023 #if __MSL__ >= 0x6000
30025 using namespace std;
30034 snprintf(buf, 10u, "%s", "wx");
30040 if ac_fn_cxx_try_compile
"$LINENO"; then :
30041 wx_cv_func_snprintf_decl
=yes
30043 wx_cv_func_snprintf_decl
=no
30046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30051 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30053 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30054 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30058 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30061 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30062 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
30063 $as_echo_n "(cached) " >&6
30066 if test "$cross_compiling" = yes; then :
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30069 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30070 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30071 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30072 wx_cv_func_snprintf_pos_params
=no
30076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30077 /* end confdefs.h. */
30084 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30085 if (strcmp ("2 3 1", buffer) == 0)
30091 if ac_fn_cxx_try_run
"$LINENO"; then :
30092 wx_cv_func_snprintf_pos_params
=no
30094 wx_cv_func_snprintf_pos_params
=yes
30096 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30097 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30104 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30106 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30107 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30113 if test "$ac_cv_func_vsscanf" = "yes"; then
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30115 $as_echo_n "checking for vsscanf declaration... " >&6; }
30116 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30117 $as_echo_n "(cached) " >&6
30120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30124 #include <stdarg.h>
30126 #if __MSL__ >= 0x6000
30128 using namespace std;
30138 vsscanf(buf, "%s", args);
30144 if ac_fn_cxx_try_compile
"$LINENO"; then :
30145 wx_cv_func_vsscanf_decl
=yes
30147 wx_cv_func_vsscanf_decl
=no
30150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30155 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30157 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30158 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30163 ac_cpp
='$CPP $CPPFLAGS'
30164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30169 if test "$wxUSE_UNICODE" = yes; then
30171 wchar_headers
="#include <stdio.h>
30172 #include <wchar.h>"
30175 for ac_header
in widec.h
30177 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30179 if test "x$ac_cv_header_widec_h" = xyes
; then :
30180 cat >>confdefs.h
<<_ACEOF
30181 #define HAVE_WIDEC_H 1
30188 if test "$ac_cv_header_widec_h" = "yes"; then
30189 wchar_headers
="$wchar_headers
30190 #include <widec.h>"
30195 for wx_func
in putws fputws wprintf vswprintf vswscanf
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30198 $as_echo_n "checking for $wx_func... " >&6; }
30199 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30200 $as_echo_n "(cached) " >&6
30203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30204 /* end confdefs.h. */
30208 $ac_includes_default
30224 if ac_fn_c_try_link
"$LINENO"; then :
30225 eval wx_cv_func_
$wx_func=yes
30227 eval wx_cv_func_
$wx_func=no
30229 rm -f core conftest.err conftest.
$ac_objext \
30230 conftest
$ac_exeext conftest.
$ac_ext
30233 eval ac_res
=\
$wx_cv_func_$wx_func
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30235 $as_echo "$ac_res" >&6; }
30237 if eval test \
$wx_cv_func_$wx_func = yes
30239 cat >>confdefs.h
<<_ACEOF
30240 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30252 $as_echo_n "checking for _vsnwprintf... " >&6; }
30253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30254 /* end confdefs.h. */
30264 if ac_fn_c_try_compile
"$LINENO"; then :
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30266 $as_echo "yes" >&6; }
30267 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30271 $as_echo "no" >&6; }
30273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30276 if test "$wxUSE_FILE" = "yes"; then
30278 for wx_func
in fsync
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30281 $as_echo_n "checking for $wx_func... " >&6; }
30282 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30283 $as_echo_n "(cached) " >&6
30286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30287 /* end confdefs.h. */
30291 $ac_includes_default
30307 if ac_fn_c_try_link
"$LINENO"; then :
30308 eval wx_cv_func_
$wx_func=yes
30310 eval wx_cv_func_
$wx_func=no
30312 rm -f core conftest.err conftest.
$ac_objext \
30313 conftest
$ac_exeext conftest.
$ac_ext
30316 eval ac_res
=\
$wx_cv_func_$wx_func
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30318 $as_echo "$ac_res" >&6; }
30320 if eval test \
$wx_cv_func_$wx_func = yes
30322 cat >>confdefs.h
<<_ACEOF
30323 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30336 ac_cpp
='$CXXCPP $CPPFLAGS'
30337 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30342 for wx_func
in round
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30345 $as_echo_n "checking for $wx_func... " >&6; }
30346 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30347 $as_echo_n "(cached) " >&6
30350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30355 $ac_includes_default
30371 if ac_fn_cxx_try_link
"$LINENO"; then :
30372 eval wx_cv_func_
$wx_func=yes
30374 eval wx_cv_func_
$wx_func=no
30376 rm -f core conftest.err conftest.
$ac_objext \
30377 conftest
$ac_exeext conftest.
$ac_ext
30380 eval ac_res
=\
$wx_cv_func_$wx_func
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30382 $as_echo "$ac_res" >&6; }
30384 if eval test \
$wx_cv_func_$wx_func = yes
30386 cat >>confdefs.h
<<_ACEOF
30387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30398 ac_cpp
='$CPP $CPPFLAGS'
30399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30404 if test "$TOOLKIT" != "MSW"; then
30406 if test "$wxUSE_LIBICONV" != "no" ; then
30410 # Check whether --with-libiconv-prefix was given.
30411 if test "${with_libiconv_prefix+set}" = set; then :
30412 withval
=$with_libiconv_prefix;
30413 for dir
in `echo "$withval" | tr : ' '`; do
30414 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30415 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30422 $as_echo_n "checking for iconv... " >&6; }
30423 if ${am_cv_func_iconv+:} false
; then :
30424 $as_echo_n "(cached) " >&6
30427 am_cv_func_iconv
="no, consider installing GNU libiconv"
30429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <stdlib.h>
30436 iconv_t cd = iconv_open("","");
30437 iconv(cd,NULL,NULL,NULL,NULL);
30443 if ac_fn_c_try_link
"$LINENO"; then :
30444 am_cv_func_iconv
=yes
30446 rm -f core conftest.err conftest.
$ac_objext \
30447 conftest
$ac_exeext conftest.
$ac_ext
30448 if test "$am_cv_func_iconv" != yes; then
30449 am_save_LIBS
="$LIBS"
30450 LIBS
="$LIBS -liconv"
30451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30452 /* end confdefs.h. */
30453 #include <stdlib.h>
30458 iconv_t cd = iconv_open("","");
30459 iconv(cd,NULL,NULL,NULL,NULL);
30465 if ac_fn_c_try_link
"$LINENO"; then :
30466 am_cv_lib_iconv
=yes
30467 am_cv_func_iconv
=yes
30469 rm -f core conftest.err conftest.
$ac_objext \
30470 conftest
$ac_exeext conftest.
$ac_ext
30471 LIBS
="$am_save_LIBS"
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30476 $as_echo "$am_cv_func_iconv" >&6; }
30477 if test "$am_cv_func_iconv" = yes; then
30479 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30482 $as_echo_n "checking if iconv needs const... " >&6; }
30483 if ${wx_cv_func_iconv_const+:} false
; then :
30484 $as_echo_n "(cached) " >&6
30486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30489 #include <stdlib.h>
30495 #if defined(__STDC__) || defined(__cplusplus)
30496 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30509 if ac_fn_c_try_compile
"$LINENO"; then :
30510 wx_cv_func_iconv_const
="no"
30512 wx_cv_func_iconv_const
="yes"
30515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30519 $as_echo "$wx_cv_func_iconv_const" >&6; }
30522 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30523 iconv_const
="const"
30527 cat >>confdefs.h
<<_ACEOF
30528 #define ICONV_CONST $iconv_const
30533 if test "$am_cv_lib_iconv" = yes; then
30538 LIBS
="$LIBICONV $LIBS"
30541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30542 for ac_func
in sigaction
30544 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30545 if test "x$ac_cv_func_sigaction" = xyes
; then :
30546 cat >>confdefs.h
<<_ACEOF
30547 #define HAVE_SIGACTION 1
30554 if test "$ac_cv_func_sigaction" = "no"; then
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30556 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30557 wxUSE_ON_FATAL_EXCEPTION
=no
30560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30562 $as_echo_n "checking for sa_handler type... " >&6; }
30563 if ${wx_cv_type_sa_handler+:} false
; then :
30564 $as_echo_n "(cached) " >&6
30568 ac_cpp
='$CXXCPP $CPPFLAGS'
30569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <signal.h>
30580 extern void testSigHandler(int);
30582 struct sigaction sa;
30583 sa.sa_handler = testSigHandler;
30589 if ac_fn_cxx_try_compile
"$LINENO"; then :
30591 wx_cv_type_sa_handler
=int
30595 wx_cv_type_sa_handler
=void
30598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30600 ac_cpp
='$CPP $CPPFLAGS'
30601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30608 $as_echo "$wx_cv_type_sa_handler" >&6; }
30610 cat >>confdefs.h
<<_ACEOF
30611 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30617 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30619 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30620 if ${wx_cv_func_backtrace+:} false
; then :
30621 $as_echo_n "(cached) " >&6
30624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30625 $as_echo_n "checking for library containing backtrace... " >&6; }
30626 if ${ac_cv_search_backtrace+:} false
; then :
30627 $as_echo_n "(cached) " >&6
30629 ac_func_search_save_LIBS
=$LIBS
30630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30631 /* end confdefs.h. */
30633 /* Override any GCC internal prototype to avoid an error.
30634 Use char because int might match the return type of a GCC
30635 builtin and then its argument prototype would still apply. */
30643 return backtrace ();
30648 for ac_lib
in '' execinfo
; do
30649 if test -z "$ac_lib"; then
30650 ac_res
="none required"
30653 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30655 if ac_fn_c_try_link
"$LINENO"; then :
30656 ac_cv_search_backtrace
=$ac_res
30658 rm -f core conftest.err conftest.
$ac_objext \
30660 if ${ac_cv_search_backtrace+:} false
; then :
30664 if ${ac_cv_search_backtrace+:} false
; then :
30667 ac_cv_search_backtrace
=no
30669 rm conftest.
$ac_ext
30670 LIBS
=$ac_func_search_save_LIBS
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30673 $as_echo "$ac_cv_search_backtrace" >&6; }
30674 ac_res
=$ac_cv_search_backtrace
30675 if test "$ac_res" != no
; then :
30676 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30679 ac_cpp
='$CXXCPP $CPPFLAGS'
30680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30685 /* end confdefs.h. */
30686 #include <execinfo.h>
30693 backtrace(trace, 1);
30694 messages = backtrace_symbols(trace, 1);
30700 if ac_fn_cxx_try_link
"$LINENO"; then :
30701 wx_cv_func_backtrace
=yes
30703 wx_cv_func_backtrace
=no
30706 rm -f core conftest.err conftest.
$ac_objext \
30707 conftest
$ac_exeext conftest.
$ac_ext
30709 ac_cpp
='$CPP $CPPFLAGS'
30710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30716 wx_cv_func_backtrace
=no
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30724 $as_echo "$wx_cv_func_backtrace" >&6; }
30726 if test "$wx_cv_func_backtrace" = "no"; then
30727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30728 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30729 wxUSE_STACKWALKER
=no
30731 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30733 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30734 if ${wx_cv_func_cxa_demangle+:} false
; then :
30735 $as_echo_n "(cached) " >&6
30739 ac_cpp
='$CXXCPP $CPPFLAGS'
30740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746 #include <cxxabi.h>
30752 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30758 if ac_fn_cxx_try_link
"$LINENO"; then :
30759 wx_cv_func_cxa_demangle
=yes
30761 wx_cv_func_cxa_demangle
=no
30764 rm -f core conftest.err conftest.
$ac_objext \
30765 conftest
$ac_exeext conftest.
$ac_ext
30767 ac_cpp
='$CPP $CPPFLAGS'
30768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30776 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30778 wx_cv_func_cxa_demangle
=no
30781 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30782 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30788 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30790 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30791 wxUSE_STACKWALKER
=no
30795 for ac_func
in mkstemp mktemp
30797 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30798 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30799 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30800 cat >>confdefs.h
<<_ACEOF
30801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30809 $as_echo_n "checking for statfs... " >&6; }
30810 if ${wx_cv_func_statfs+:} false
; then :
30811 $as_echo_n "(cached) " >&6
30813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30816 #if defined(__BSD__)
30817 #include <sys/param.h>
30818 #include <sys/mount.h>
30820 #include <sys/vfs.h>
30838 if ac_fn_c_try_compile
"$LINENO"; then :
30839 wx_cv_func_statfs
=yes
30841 wx_cv_func_statfs
=no
30844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30848 $as_echo "$wx_cv_func_statfs" >&6; }
30850 if test "$wx_cv_func_statfs" = "yes"; then
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30852 $as_echo_n "checking for statfs declaration... " >&6; }
30853 if ${wx_cv_func_statfs_decl+:} false
; then :
30854 $as_echo_n "(cached) " >&6
30857 ac_cpp
='$CXXCPP $CPPFLAGS'
30858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30863 /* end confdefs.h. */
30865 #if defined(__BSD__)
30866 #include <sys/param.h>
30867 #include <sys/mount.h>
30869 #include <sys/vfs.h>
30883 if ac_fn_cxx_try_compile
"$LINENO"; then :
30884 wx_cv_func_statfs_decl
=yes
30886 wx_cv_func_statfs_decl
=no
30889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30891 ac_cpp
='$CPP $CPPFLAGS'
30892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30899 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30901 if test "$wx_cv_func_statfs_decl" = "yes"; then
30902 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30906 wx_cv_type_statvfs_t
="struct statfs"
30907 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30911 $as_echo_n "checking for statvfs... " >&6; }
30912 if ${wx_cv_func_statvfs+:} false
; then :
30913 $as_echo_n "(cached) " >&6
30915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30916 /* end confdefs.h. */
30918 #include <stddef.h>
30919 #include <sys/statvfs.h>
30925 statvfs("/", NULL);
30931 if ac_fn_c_try_compile
"$LINENO"; then :
30932 wx_cv_func_statvfs
=yes
30934 wx_cv_func_statvfs
=no
30937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30941 $as_echo "$wx_cv_func_statvfs" >&6; }
30943 if test "$wx_cv_func_statvfs" = "yes"; then
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30945 $as_echo_n "checking for statvfs argument type... " >&6; }
30946 if ${wx_cv_type_statvfs_t+:} false
; then :
30947 $as_echo_n "(cached) " >&6
30950 ac_cpp
='$CXXCPP $CPPFLAGS'
30951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30958 #include <sys/statvfs.h>
30975 if ac_fn_cxx_try_compile
"$LINENO"; then :
30976 wx_cv_type_statvfs_t
=statvfs_t
30979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30980 /* end confdefs.h. */
30982 #include <sys/statvfs.h>
30999 if ac_fn_cxx_try_compile
"$LINENO"; then :
31000 wx_cv_type_statvfs_t
="struct statvfs"
31002 wx_cv_type_statvfs_t
="unknown"
31005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31011 ac_cpp
='$CPP $CPPFLAGS'
31012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31019 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31021 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31022 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31026 wx_cv_type_statvfs_t
="unknown"
31030 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31031 cat >>confdefs.h
<<_ACEOF
31032 #define WX_STATFS_T $wx_cv_type_statvfs_t
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31037 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31040 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31041 for ac_func
in fcntl flock
31043 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31044 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31045 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31046 cat >>confdefs.h
<<_ACEOF
31047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31056 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31057 wxUSE_SNGLINST_CHECKER
=no
31061 for ac_func
in setenv putenv
31063 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31064 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31065 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31066 cat >>confdefs.h
<<_ACEOF
31067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31073 if test "$ac_cv_func_setenv" = "yes"; then
31074 for ac_func
in unsetenv
31076 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31077 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31078 cat >>confdefs.h
<<_ACEOF
31079 #define HAVE_UNSETENV 1
31087 HAVE_SOME_SLEEP_FUNC
=0
31088 if test "$USE_BEOS" = 1; then
31089 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31091 HAVE_SOME_SLEEP_FUNC
=1
31094 if test "$USE_DARWIN" = 1; then
31095 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31097 HAVE_SOME_SLEEP_FUNC
=1
31100 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31102 for ac_func
in nanosleep
31104 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31105 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31106 cat >>confdefs.h
<<_ACEOF
31107 #define HAVE_NANOSLEEP 1
31109 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31114 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31115 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31116 $as_echo_n "(cached) " >&6
31118 ac_check_lib_save_LIBS
=$LIBS
31119 LIBS
="-lposix4 $LIBS"
31120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31121 /* end confdefs.h. */
31123 /* Override any GCC internal prototype to avoid an error.
31124 Use char because int might match the return type of a GCC
31125 builtin and then its argument prototype would still apply. */
31133 return nanosleep ();
31138 if ac_fn_c_try_link
"$LINENO"; then :
31139 ac_cv_lib_posix4_nanosleep
=yes
31141 ac_cv_lib_posix4_nanosleep
=no
31143 rm -f core conftest.err conftest.
$ac_objext \
31144 conftest
$ac_exeext conftest.
$ac_ext
31145 LIBS
=$ac_check_lib_save_LIBS
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31148 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31149 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31151 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31153 POSIX4_LINK
=" -lposix4"
31158 for wx_func
in usleep
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31161 $as_echo_n "checking for $wx_func... " >&6; }
31162 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31163 $as_echo_n "(cached) " >&6
31166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31167 /* end confdefs.h. */
31171 $ac_includes_default
31187 if ac_fn_c_try_link
"$LINENO"; then :
31188 eval wx_cv_func_
$wx_func=yes
31190 eval wx_cv_func_
$wx_func=no
31192 rm -f core conftest.err conftest.
$ac_objext \
31193 conftest
$ac_exeext conftest.
$ac_ext
31196 eval ac_res
=\
$wx_cv_func_$wx_func
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31198 $as_echo "$ac_res" >&6; }
31200 if eval test \
$wx_cv_func_$wx_func = yes
31202 cat >>confdefs.h
<<_ACEOF
31203 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31210 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31227 for wx_func
in uname
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31230 $as_echo_n "checking for $wx_func... " >&6; }
31231 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31232 $as_echo_n "(cached) " >&6
31235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31239 #include <sys/utsname.h>
31240 $ac_includes_default
31256 if ac_fn_c_try_link
"$LINENO"; then :
31257 eval wx_cv_func_
$wx_func=yes
31259 eval wx_cv_func_
$wx_func=no
31261 rm -f core conftest.err conftest.
$ac_objext \
31262 conftest
$ac_exeext conftest.
$ac_ext
31265 eval ac_res
=\
$wx_cv_func_$wx_func
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31267 $as_echo "$ac_res" >&6; }
31269 if eval test \
$wx_cv_func_$wx_func = yes
31271 cat >>confdefs.h
<<_ACEOF
31272 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31282 if test "$wx_cv_func_uname" != yes; then
31284 for wx_func
in gethostname
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31287 $as_echo_n "checking for $wx_func... " >&6; }
31288 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31289 $as_echo_n "(cached) " >&6
31292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31293 /* end confdefs.h. */
31297 $ac_includes_default
31313 if ac_fn_c_try_link
"$LINENO"; then :
31314 eval wx_cv_func_
$wx_func=yes
31316 eval wx_cv_func_
$wx_func=no
31318 rm -f core conftest.err conftest.
$ac_objext \
31319 conftest
$ac_exeext conftest.
$ac_ext
31322 eval ac_res
=\
$wx_cv_func_$wx_func
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31324 $as_echo "$ac_res" >&6; }
31326 if eval test \
$wx_cv_func_$wx_func = yes
31328 cat >>confdefs.h
<<_ACEOF
31329 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31342 for wx_func
in strtok_r
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31345 $as_echo_n "checking for $wx_func... " >&6; }
31346 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31347 $as_echo_n "(cached) " >&6
31350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31351 /* end confdefs.h. */
31355 $ac_includes_default
31371 if ac_fn_c_try_link
"$LINENO"; then :
31372 eval wx_cv_func_
$wx_func=yes
31374 eval wx_cv_func_
$wx_func=no
31376 rm -f core conftest.err conftest.
$ac_objext \
31377 conftest
$ac_exeext conftest.
$ac_ext
31380 eval ac_res
=\
$wx_cv_func_$wx_func
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31382 $as_echo "$ac_res" >&6; }
31384 if eval test \
$wx_cv_func_$wx_func = yes
31386 cat >>confdefs.h
<<_ACEOF
31387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31399 for ac_func
in inet_addr
31401 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31402 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31403 cat >>confdefs.h
<<_ACEOF
31404 #define HAVE_INET_ADDR 1
31406 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31411 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31412 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31413 $as_echo_n "(cached) " >&6
31415 ac_check_lib_save_LIBS
=$LIBS
31417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31418 /* end confdefs.h. */
31420 /* Override any GCC internal prototype to avoid an error.
31421 Use char because int might match the return type of a GCC
31422 builtin and then its argument prototype would still apply. */
31430 return inet_addr ();
31435 if ac_fn_c_try_link
"$LINENO"; then :
31436 ac_cv_lib_nsl_inet_addr
=yes
31438 ac_cv_lib_nsl_inet_addr
=no
31440 rm -f core conftest.err conftest.
$ac_objext \
31441 conftest
$ac_exeext conftest.
$ac_ext
31442 LIBS
=$ac_check_lib_save_LIBS
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31445 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31446 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31451 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31452 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31453 $as_echo_n "(cached) " >&6
31455 ac_check_lib_save_LIBS
=$LIBS
31456 LIBS
="-lresolv $LIBS"
31457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h. */
31460 /* Override any GCC internal prototype to avoid an error.
31461 Use char because int might match the return type of a GCC
31462 builtin and then its argument prototype would still apply. */
31470 return inet_addr ();
31475 if ac_fn_c_try_link
"$LINENO"; then :
31476 ac_cv_lib_resolv_inet_addr
=yes
31478 ac_cv_lib_resolv_inet_addr
=no
31480 rm -f core conftest.err conftest.
$ac_objext \
31481 conftest
$ac_exeext conftest.
$ac_ext
31482 LIBS
=$ac_check_lib_save_LIBS
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31485 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31486 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31491 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31492 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31493 $as_echo_n "(cached) " >&6
31495 ac_check_lib_save_LIBS
=$LIBS
31496 LIBS
="-lsocket $LIBS"
31497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31498 /* end confdefs.h. */
31500 /* Override any GCC internal prototype to avoid an error.
31501 Use char because int might match the return type of a GCC
31502 builtin and then its argument prototype would still apply. */
31510 return inet_addr ();
31515 if ac_fn_c_try_link
"$LINENO"; then :
31516 ac_cv_lib_socket_inet_addr
=yes
31518 ac_cv_lib_socket_inet_addr
=no
31520 rm -f core conftest.err conftest.
$ac_objext \
31521 conftest
$ac_exeext conftest.
$ac_ext
31522 LIBS
=$ac_check_lib_save_LIBS
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31525 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31526 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31545 for ac_func
in inet_aton
31547 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31548 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31549 cat >>confdefs.h
<<_ACEOF
31550 #define HAVE_INET_ATON 1
31552 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31556 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31558 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31559 if eval \
${$as_ac_Lib+:} false
; then :
31560 $as_echo_n "(cached) " >&6
31562 ac_check_lib_save_LIBS
=$LIBS
31563 LIBS
="-l$INET_LINK $LIBS"
31564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31565 /* end confdefs.h. */
31567 /* Override any GCC internal prototype to avoid an error.
31568 Use char because int might match the return type of a GCC
31569 builtin and then its argument prototype would still apply. */
31577 return inet_aton ();
31582 if ac_fn_c_try_link
"$LINENO"; then :
31583 eval "$as_ac_Lib=yes"
31585 eval "$as_ac_Lib=no"
31587 rm -f core conftest.err conftest.
$ac_objext \
31588 conftest
$ac_exeext conftest.
$ac_ext
31589 LIBS
=$ac_check_lib_save_LIBS
31591 eval ac_res
=\$
$as_ac_Lib
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31593 $as_echo "$ac_res" >&6; }
31594 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31595 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31604 if test "x$INET_LINK" != "x"; then
31605 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31607 INET_LINK
=" -l$INET_LINK"
31611 for wx_func
in fdopen
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31614 $as_echo_n "checking for $wx_func... " >&6; }
31615 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31616 $as_echo_n "(cached) " >&6
31619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31620 /* end confdefs.h. */
31624 $ac_includes_default
31640 if ac_fn_c_try_link
"$LINENO"; then :
31641 eval wx_cv_func_
$wx_func=yes
31643 eval wx_cv_func_
$wx_func=no
31645 rm -f core conftest.err conftest.
$ac_objext \
31646 conftest
$ac_exeext conftest.
$ac_ext
31649 eval ac_res
=\
$wx_cv_func_$wx_func
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31651 $as_echo "$ac_res" >&6; }
31653 if eval test \
$wx_cv_func_$wx_func = yes
31655 cat >>confdefs.h
<<_ACEOF
31656 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31667 if test "$wxUSE_TARSTREAM" = "yes"; then
31669 for wx_func
in sysconf
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31672 $as_echo_n "checking for $wx_func... " >&6; }
31673 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31674 $as_echo_n "(cached) " >&6
31677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31678 /* end confdefs.h. */
31682 $ac_includes_default
31698 if ac_fn_c_try_link
"$LINENO"; then :
31699 eval wx_cv_func_
$wx_func=yes
31701 eval wx_cv_func_
$wx_func=no
31703 rm -f core conftest.err conftest.
$ac_objext \
31704 conftest
$ac_exeext conftest.
$ac_ext
31707 eval ac_res
=\
$wx_cv_func_$wx_func
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31709 $as_echo "$ac_res" >&6; }
31711 if eval test \
$wx_cv_func_$wx_func = yes
31713 cat >>confdefs.h
<<_ACEOF
31714 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31726 for wx_func
in getpwuid_r
31728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31729 $as_echo_n "checking for $wx_func... " >&6; }
31730 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31731 $as_echo_n "(cached) " >&6
31734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31735 /* end confdefs.h. */
31742 $ac_includes_default
31752 struct passwd pw, *ppw;
31754 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31762 if ac_fn_c_try_link
"$LINENO"; then :
31763 eval wx_cv_func_
$wx_func=yes
31765 eval wx_cv_func_
$wx_func=no
31767 rm -f core conftest.err conftest.
$ac_objext \
31768 conftest
$ac_exeext conftest.
$ac_ext
31771 eval ac_res
=\
$wx_cv_func_$wx_func
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31773 $as_echo "$ac_res" >&6; }
31775 if eval test \
$wx_cv_func_$wx_func = yes
31777 cat >>confdefs.h
<<_ACEOF
31778 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31790 for wx_func
in getgrgid_r
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31793 $as_echo_n "checking for $wx_func... " >&6; }
31794 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31795 $as_echo_n "(cached) " >&6
31798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31806 $ac_includes_default
31816 struct group grp, *pgrp;
31818 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31826 if ac_fn_c_try_link
"$LINENO"; then :
31827 eval wx_cv_func_
$wx_func=yes
31829 eval wx_cv_func_
$wx_func=no
31831 rm -f core conftest.err conftest.
$ac_objext \
31832 conftest
$ac_exeext conftest.
$ac_ext
31835 eval ac_res
=\
$wx_cv_func_$wx_func
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31837 $as_echo "$ac_res" >&6; }
31839 if eval test \
$wx_cv_func_$wx_func = yes
31841 cat >>confdefs.h
<<_ACEOF
31842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31858 cat >confcache
<<\_ACEOF
31859 # This file is a shell script that caches the results of configure
31860 # tests run on this system so they can be shared between configure
31861 # scripts and configure runs, see configure's option --config-cache.
31862 # It is not useful on other systems. If it contains results you don't
31863 # want to keep, you may remove or edit it.
31865 # config.status only pays attention to the cache file if you give it
31866 # the --recheck option to rerun configure.
31868 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31870 # following values.
31874 # The following way of writing the cache mishandles newlines in values,
31875 # but we know of no workaround that is simple, portable, and efficient.
31876 # So, we kill variables containing newlines.
31877 # Ultrix sh set writes to stderr and can't be redirected directly,
31878 # and sets the high bit in the cache file unless we assign to the vars.
31880 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31881 eval ac_val
=\$
$ac_var
31885 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31886 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31889 _
| IFS
| as_nl
) ;; #(
31890 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31891 *) { eval $ac_var=; unset $ac_var;} ;;
31897 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31898 *${as_nl}ac_space
=\
*)
31899 # `set' does not quote correctly, so add quotes: double-quote
31900 # substitution turns \\\\ into \\, and sed turns \\ into \.
31903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31906 # `set' quotes correctly as required by POSIX, so do not add quotes.
31907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31916 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31918 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31920 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31921 if test -w "$cache_file"; then
31922 if test "x$cache_file" != "x/dev/null"; then
31923 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31924 $as_echo "$as_me: updating cache $cache_file" >&6;}
31925 if test ! -f "$cache_file" || test -h "$cache_file"; then
31926 cat confcache
>"$cache_file"
31928 case $cache_file in #(
31930 mv -f confcache
"$cache_file"$$
&&
31931 mv -f "$cache_file"$$
"$cache_file" ;; #(
31933 mv -f confcache
"$cache_file" ;;
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31939 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31951 if test "$wxUSE_THREADS" = "yes" ; then
31952 if test "$USE_BEOS" = 1; then
31953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31954 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31959 if test "$wxUSE_THREADS" = "yes" ; then
31962 THREAD_OPTS
="-pthread"
31963 if test "x$SUNCXX" = xyes
; then
31964 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31968 *-*-solaris2* | *-*-sunos4* )
31969 if test "x$GCC" = "xyes"; then
31970 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31974 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31976 *-*-darwin* | *-*-cygwin* )
31980 THREAD_OPTS
="pthreads"
31983 if test "x$GCC" = "xyes"; then
31984 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31992 if test "x$GCC" = "xyes"; then
32002 if test "x$GCC" != "xyes"; then
32003 THREAD_OPTS
="-Ethread"
32010 THREAD_OPTS
="none pthread"
32014 THREAD_OPTS
="$THREAD_OPTS pthread none"
32019 for flag
in $THREAD_OPTS; do
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32023 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32028 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32029 THREADS_CFLAGS
="$flag"
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32034 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32035 THREADS_LINK
="-l$flag"
32040 save_CFLAGS
="$CFLAGS"
32041 LIBS
="$THREADS_LINK $LIBS"
32042 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <pthread.h>
32050 pthread_create(0,0,0,0);
32055 if ac_fn_c_try_link
"$LINENO"; then :
32058 rm -f core conftest.err conftest.
$ac_objext \
32059 conftest
$ac_exeext conftest.
$ac_ext
32062 CFLAGS
="$save_CFLAGS"
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32065 $as_echo "$THREADS_OK" >&6; }
32066 if test "x$THREADS_OK" = "xyes"; then
32074 if test "x$THREADS_OK" != "xyes"; then
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32077 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32079 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32080 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32081 LIBS
="$THREADS_LINK $LIBS"
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32084 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32088 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32089 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32090 flag
="-D_THREAD_SAFE"
32093 flag
="-D_THREAD_SAFE"
32096 flag
="-D_REENTRANT"
32097 if test "x$GCC" != "xyes"; then
32098 flag
="$flag -D_RWSTD_MULTI_THREAD"
32101 *solaris
* | alpha
*-osf*)
32102 flag
="-D_REENTRANT"
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32106 $as_echo "${flag}" >&6; }
32107 if test "x$flag" != xno
; then
32108 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32111 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32115 if test "$wxUSE_THREADS" = "yes" ; then
32116 for ac_func
in pthread_setconcurrency
32118 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32119 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32120 cat >>confdefs.h
<<_ACEOF
32121 #define HAVE_PTHREAD_SETCONCURRENCY 1
32123 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32127 for ac_func
in thr_setconcurrency
32129 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32130 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32131 cat >>confdefs.h
<<_ACEOF
32132 #define HAVE_THR_SETCONCURRENCY 1
32134 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32138 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32148 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32149 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32150 $as_echo_n "(cached) " >&6
32154 ac_cpp
='$CXXCPP $CPPFLAGS'
32155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32160 /* end confdefs.h. */
32161 #include <pthread.h>
32162 void ThreadCleanupFunc(void *p);
32169 pthread_cleanup_push(ThreadCleanupFunc, p);
32170 pthread_cleanup_pop(0);
32176 if ac_fn_cxx_try_compile
"$LINENO"; then :
32178 wx_cv_func_pthread_cleanup
=yes
32182 wx_cv_func_pthread_cleanup
=no
32186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32188 ac_cpp
='$CPP $CPPFLAGS'
32189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32196 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32197 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32198 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32202 for ac_header
in sched.h
32204 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32206 if test "x$ac_cv_header_sched_h" = xyes
; then :
32207 cat >>confdefs.h
<<_ACEOF
32208 #define HAVE_SCHED_H 1
32215 if test "$ac_cv_header_sched_h" = "yes"; then
32216 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32217 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32218 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32223 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32224 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32225 $as_echo_n "(cached) " >&6
32227 ac_check_lib_save_LIBS
=$LIBS
32228 LIBS
="-lposix4 $LIBS"
32229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32230 /* end confdefs.h. */
32232 /* Override any GCC internal prototype to avoid an error.
32233 Use char because int might match the return type of a GCC
32234 builtin and then its argument prototype would still apply. */
32238 char sched_yield ();
32242 return sched_yield ();
32247 if ac_fn_c_try_link
"$LINENO"; then :
32248 ac_cv_lib_posix4_sched_yield
=yes
32250 ac_cv_lib_posix4_sched_yield
=no
32252 rm -f core conftest.err conftest.
$ac_objext \
32253 conftest
$ac_exeext conftest.
$ac_ext
32254 LIBS
=$ac_check_lib_save_LIBS
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32257 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32258 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32259 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32260 POSIX4_LINK
=" -lposix4"
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32263 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32274 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32275 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32276 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32277 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32278 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32279 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32283 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32284 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32285 $as_echo_n "(cached) " >&6
32287 ac_check_lib_save_LIBS
=$LIBS
32288 LIBS
="-lposix4 $LIBS"
32289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32290 /* end confdefs.h. */
32292 /* Override any GCC internal prototype to avoid an error.
32293 Use char because int might match the return type of a GCC
32294 builtin and then its argument prototype would still apply. */
32298 char sched_get_priority_max ();
32302 return sched_get_priority_max ();
32307 if ac_fn_c_try_link
"$LINENO"; then :
32308 ac_cv_lib_posix4_sched_get_priority_max
=yes
32310 ac_cv_lib_posix4_sched_get_priority_max
=no
32312 rm -f core conftest.err conftest.
$ac_objext \
32313 conftest
$ac_exeext conftest.
$ac_ext
32314 LIBS
=$ac_check_lib_save_LIBS
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32317 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32318 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32321 POSIX4_LINK
=" -lposix4"
32335 if test "$HAVE_PRIOR_FUNCS" = 1; then
32336 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32340 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32343 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32344 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32345 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32349 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32353 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32354 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32355 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32359 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32363 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32364 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32365 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32372 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32373 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32374 $as_echo_n "(cached) " >&6
32377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <pthread.h>
32384 pthread_mutexattr_t attr;
32385 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32391 if ac_fn_c_try_compile
"$LINENO"; then :
32392 wx_cv_type_pthread_mutexattr_t
=yes
32394 wx_cv_type_pthread_mutexattr_t
=no
32397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32401 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32403 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32404 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32408 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32409 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32410 $as_echo_n "(cached) " >&6
32413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32414 /* end confdefs.h. */
32415 #include <pthread.h>
32420 pthread_mutexattr_t attr;
32421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32427 if ac_fn_c_try_compile
"$LINENO"; then :
32428 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32430 wx_cv_func_pthread_mutexattr_settype_decl
=no
32433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32437 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32438 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32439 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32444 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32445 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32446 $as_echo_n "(cached) " >&6
32449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h. */
32451 #include <pthread.h>
32456 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32462 if ac_fn_c_try_compile
"$LINENO"; then :
32464 wx_cv_type_pthread_rec_mutex_init
=yes
32468 wx_cv_type_pthread_rec_mutex_init
=no
32472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32476 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32477 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32478 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32482 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32486 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32487 if test "$USE_NETBSD" = 1; then
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32489 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32490 wxUSE_COMPILER_TLS
=no
32492 wxUSE_COMPILER_TLS
=yes
32496 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32498 $as_echo_n "checking for __thread keyword... " >&6; }
32499 if ${wx_cv_cc___thread+:} false
; then :
32500 $as_echo_n "(cached) " >&6
32503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32504 /* end confdefs.h. */
32505 #include <pthread.h>
32510 static __thread int n = 0;
32511 static __thread int *p = 0;
32517 if ac_fn_c_try_compile
"$LINENO"; then :
32518 wx_cv_cc___thread
=yes
32520 wx_cv_cc___thread
=no
32523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32528 $as_echo "$wx_cv_cc___thread" >&6; }
32530 if test "$wx_cv_cc___thread" = "yes"; then
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32537 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32539 if test "x$GCC" = "xyes" ; then :
32541 if test -z "" ; then :
32543 ax_gcc_option_test
="int main()
32550 ax_gcc_option_test
=""
32554 # Dump the test program to file
32555 cat <<EOF > conftest.c
32556 $ax_gcc_option_test
32559 # Dump back the file to the log, useful for debugging purposes
32560 { ac_try
='cat conftest.c 1>&5'
32561 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32562 (eval $ac_try) 2>&5
32564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32565 test $ac_status = 0; }; }
32567 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32568 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32569 (eval $ac_try) 2>&5
32571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32572 test $ac_status = 0; }; } ; then :
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32575 $as_echo "yes" >&6; }
32577 ax_gcc_version_option
=yes
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32583 $as_echo "no" >&6; }
32585 ax_gcc_version_option
=no
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32593 $as_echo "no gcc available" >&6; }
32597 if test "x$GXX" = "xyes"; then :
32599 if test "x$ax_gxx_version_option" != "no"; then :
32601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32602 $as_echo_n "checking gxx version... " >&6; }
32603 if ${ax_cv_gxx_version+:} false
; then :
32604 $as_echo_n "(cached) " >&6
32607 ax_cv_gxx_version
="`$CXX -dumpversion`"
32608 if test "x$ax_cv_gxx_version" = "x"; then :
32610 ax_cv_gxx_version
=""
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32616 $as_echo "$ax_cv_gxx_version" >&6; }
32617 GXX_VERSION
=$ax_cv_gxx_version
32624 if test -n "$ax_cv_gxx_version"; then
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32626 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32627 case "$ax_cv_gxx_version" in
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32630 $as_echo "no, it's broken" >&6; }
32631 wx_cv_cc___thread
=no
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32635 $as_echo "yes, it works" >&6; }
32641 if test "$wx_cv_cc___thread" = "yes"; then
32642 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32647 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32649 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32650 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32651 $as_echo_n "(cached) " >&6
32655 ac_cpp
='$CXXCPP $CPPFLAGS'
32656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32661 /* end confdefs.h. */
32662 #include <cxxabi.h>
32667 void foo(abi::__forced_unwind&);
32673 if ac_fn_cxx_try_compile
"$LINENO"; then :
32674 wx_cv_type_abi_forced_unwind
=yes
32676 wx_cv_type_abi_forced_unwind
=no
32679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32681 ac_cpp
='$CPP $CPPFLAGS'
32682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32690 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32692 wx_cv_type_abi_forced_unwind
=no
32695 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32696 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32702 if test "$wxUSE_THREADS" = "yes" ; then
32704 x86_64
-*-mingw32* )
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32708 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32709 if ${wx_cv_cflags_mthread+:} false
; then :
32710 $as_echo_n "(cached) " >&6
32713 CFLAGS_OLD
="$CFLAGS"
32714 CFLAGS
="-mthreads $CFLAGS"
32715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32716 /* end confdefs.h. */
32726 if ac_fn_c_try_compile
"$LINENO"; then :
32727 wx_cv_cflags_mthread
=yes
32729 wx_cv_cflags_mthread
=no
32732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32737 $as_echo "$wx_cv_cflags_mthread" >&6; }
32739 if test "$wx_cv_cflags_mthread" = "yes"; then
32740 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32741 LDFLAGS
="$LDFLAGS -mthreads"
32743 CFLAGS
="$CFLAGS_OLD"
32747 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32748 LDFLAGS
="$LDFLAGS -Zmt"
32754 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32755 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32756 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32760 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32761 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32762 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32770 ac_cpp
='$CPP $CPPFLAGS'
32771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32776 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32778 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32779 $as_echo_n "(cached) " >&6
32783 ################################################################
32785 ac_cv_func_which_gethostbyname_r
=unknown
32788 # ONE ARGUMENT (sanity check)
32791 # This should fail, as there is no variant of gethostbyname_r() that takes
32792 # a single argument. If it actually compiles, then we can assume that
32793 # netdb.h is not declaring the function, and the compiler is thereby
32794 # assuming an implicit prototype. In which case, we're out of luck.
32796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32797 /* end confdefs.h. */
32803 char *name = "www.gnu.org";
32804 (void)gethostbyname_r(name) /* ; */
32811 if ac_fn_c_try_compile
"$LINENO"; then :
32812 ac_cv_func_which_gethostbyname_r
=no
32815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32822 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32831 char *name = "www.gnu.org";
32832 struct hostent ret, *retp;
32836 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32843 if ac_fn_c_try_compile
"$LINENO"; then :
32844 ac_cv_func_which_gethostbyname_r
=six
32847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32856 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32859 /* end confdefs.h. */
32865 char *name = "www.gnu.org";
32866 struct hostent ret;
32870 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32877 if ac_fn_c_try_compile
"$LINENO"; then :
32878 ac_cv_func_which_gethostbyname_r
=five
32881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32887 # (e.g. AIX, HP-UX, Tru64)
32890 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h. */
32899 char *name = "www.gnu.org";
32900 struct hostent ret;
32901 struct hostent_data data;
32902 (void)gethostbyname_r(name, &ret, &data) /* ; */
32909 if ac_fn_c_try_compile
"$LINENO"; then :
32910 ac_cv_func_which_gethostbyname_r
=three
32913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32917 ################################################################
32922 case "$ac_cv_func_which_gethostbyname_r" in
32924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32925 $as_echo "three" >&6; }
32926 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32932 $as_echo "five" >&6; }
32933 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32939 $as_echo "six" >&6; }
32940 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32946 $as_echo "cannot find function declaration in netdb.h" >&6; }
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32951 $as_echo "can't tell" >&6; }
32955 as_fn_error $?
"internal error" "$LINENO" 5
32960 ac_cpp
='$CPP $CPPFLAGS'
32961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32967 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32968 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32969 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32970 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32971 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32978 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32979 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32980 $as_echo_n "(cached) " >&6
32984 ac_cpp
='$CXXCPP $CPPFLAGS'
32985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32991 /* end confdefs.h. */
32999 struct servent *se, *res;
33002 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33008 if ac_fn_cxx_try_compile
"$LINENO"; then :
33009 ac_cv_func_which_getservbyname_r
=six
33012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33021 struct servent *se;
33024 (void) getservbyname_r(name, proto, se, buffer, buflen)
33030 if ac_fn_cxx_try_compile
"$LINENO"; then :
33031 ac_cv_func_which_getservbyname_r
=five
33034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33035 /* end confdefs.h. */
33043 struct servent *se;
33044 struct servent_data data;
33045 (void) getservbyname_r(name, proto, se, &data);
33051 if ac_fn_cxx_try_compile
"$LINENO"; then :
33052 ac_cv_func_which_getservbyname_r
=four
33054 ac_cv_func_which_getservbyname_r
=no
33057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33067 ac_cpp
='$CPP $CPPFLAGS'
33068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33076 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33078 if test $ac_cv_func_which_getservbyname_r = six
; then
33079 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33081 elif test $ac_cv_func_which_getservbyname_r = five
; then
33082 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33084 elif test $ac_cv_func_which_getservbyname_r = four
; then
33085 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33090 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33091 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33092 for ac_func
in getservbyname
33094 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33095 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33096 cat >>confdefs.h
<<_ACEOF
33097 #define HAVE_GETSERVBYNAME 1
33099 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33106 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33109 if test "$wxUSE_THREADS" = "yes"; then
33110 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33115 if test "$wx_cv_func_strtok_r" = "yes"; then
33116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33117 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33119 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33121 $as_echo "yes" >&6; }
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33124 $as_echo "no" >&6; }
33129 if test "$WXGTK3" = 1 ; then
33130 cat >>confdefs.h
<<_ACEOF
33131 #define __WXGTK3__ 1
33136 if test "$WXGTK2" = 1 ; then
33137 cat >>confdefs.h
<<_ACEOF
33138 #define __WXGTK20__ $WXGTK2
33143 if test "$WXGTK127" = 1 ; then
33144 cat >>confdefs.h
<<_ACEOF
33145 #define __WXGTK127__ $WXGTK127
33150 if test "$WXGPE" = 1 ; then
33151 cat >>confdefs.h
<<_ACEOF
33152 #define __WXGPE__ $WXGPE
33158 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33160 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33161 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33165 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33166 wxUSE_DEBUG_INFO
=yes
33167 if test "$GCC" = yes; then
33168 DEBUG_CFLAGS
="-ggdb"
33172 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33173 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33175 if test "$wxUSE_GTK" = 1 ; then
33176 if test "$WXGTK2" = 1 ; then
33177 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33179 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33184 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33185 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33187 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33189 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33194 if test "$wxUSE_DMALLOC" = "yes" ; then
33195 DMALLOC_LIBS
="-ldmallocthcxx"
33199 if test "$wxUSE_PROFILE" = "yes" ; then
33200 PROFILE_FLAGS
=" -pg"
33203 if test "$GCC" = "yes" ; then
33204 if test "$wxUSE_NO_RTTI" = "yes" ; then
33205 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33207 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33208 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33210 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33211 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33216 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33219 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33225 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33227 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33229 if test "$wxUSE_OPTIMISE" = "no" ; then
33230 if test "$GCC" = yes ; then
33231 OPTIMISE_CFLAGS
="-O0"
33234 if test "$GCC" = yes ; then
33236 *-pc-os2_emx | *-pc-os2-emx )
33237 OPTIMISE_CFLAGS
="-O2"
33240 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33244 OPTIMISE_CFLAGS
="-O"
33250 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33251 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33254 WXWIN_COMPATIBILITY_2_8
="yes"
33257 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33258 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33263 if test "$wxUSE_GUI" = "yes"; then
33264 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33270 if test "$wxUSE_UNIX" = "yes"; then
33271 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33276 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33280 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33281 if test "$USE_DOS" = 1; then
33284 for ac_func
in dlopen
33286 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33287 if test "x$ac_cv_func_dlopen" = xyes
; then :
33288 cat >>confdefs.h
<<_ACEOF
33289 #define HAVE_DLOPEN 1
33292 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33300 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33301 $as_echo_n "(cached) " >&6
33303 ac_check_lib_save_LIBS
=$LIBS
33305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33306 /* end confdefs.h. */
33308 /* Override any GCC internal prototype to avoid an error.
33309 Use char because int might match the return type of a GCC
33310 builtin and then its argument prototype would still apply. */
33323 if ac_fn_c_try_link
"$LINENO"; then :
33324 ac_cv_lib_dl_dlopen
=yes
33326 ac_cv_lib_dl_dlopen
=no
33328 rm -f core conftest.err conftest.
$ac_objext \
33329 conftest
$ac_exeext conftest.
$ac_ext
33330 LIBS
=$ac_check_lib_save_LIBS
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33333 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33334 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33336 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33339 DL_LINK
=" -ldl$DL_LINK"
33343 for ac_func
in shl_load
33345 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33346 if test "x$ac_cv_func_shl_load" = xyes
; then :
33347 cat >>confdefs.h
<<_ACEOF
33348 #define HAVE_SHL_LOAD 1
33351 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33358 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33359 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33360 $as_echo_n "(cached) " >&6
33362 ac_check_lib_save_LIBS
=$LIBS
33363 LIBS
="-lshl_load $LIBS"
33364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33367 /* Override any GCC internal prototype to avoid an error.
33368 Use char because int might match the return type of a GCC
33369 builtin and then its argument prototype would still apply. */
33382 if ac_fn_c_try_link
"$LINENO"; then :
33383 ac_cv_lib_shl_load_dld
=yes
33385 ac_cv_lib_shl_load_dld
=no
33387 rm -f core conftest.err conftest.
$ac_objext \
33388 conftest
$ac_exeext conftest.
$ac_ext
33389 LIBS
=$ac_check_lib_save_LIBS
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33392 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33393 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33396 DL_LINK
=" -ldld$DL_LINK"
33412 if test "$HAVE_DL_FUNCS" = 1; then
33413 for ac_func
in dlerror
33415 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33416 if test "x$ac_cv_func_dlerror" = xyes
; then :
33417 cat >>confdefs.h
<<_ACEOF
33418 #define HAVE_DLERROR 1
33420 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33425 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33426 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33427 $as_echo_n "(cached) " >&6
33429 ac_check_lib_save_LIBS
=$LIBS
33431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33432 /* end confdefs.h. */
33434 /* Override any GCC internal prototype to avoid an error.
33435 Use char because int might match the return type of a GCC
33436 builtin and then its argument prototype would still apply. */
33449 if ac_fn_c_try_link
"$LINENO"; then :
33450 ac_cv_lib_dl_dlerror
=yes
33452 ac_cv_lib_dl_dlerror
=no
33454 rm -f core conftest.err conftest.
$ac_objext \
33455 conftest
$ac_exeext conftest.
$ac_ext
33456 LIBS
=$ac_check_lib_save_LIBS
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33459 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33460 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33461 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33473 if test "$USE_DARWIN" = 1; then
33477 if test "$HAVE_DL_FUNCS" = 0; then
33478 if test "$HAVE_SHL_FUNCS" = 0; then
33479 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33481 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33482 wxUSE_DYNAMIC_LOADER
=no
33483 wxUSE_DYNLIB_CLASS
=no
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33486 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33493 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33494 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33497 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33498 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33504 if test "$wxUSE_PLUGINS" = "yes" ; then
33505 if test "$wxUSE_SHARED" = "no" ; then
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33507 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33510 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33512 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33515 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33517 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33520 if test "$wxUSE_PLUGINS" = "yes" ; then
33521 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33527 if test "$wxUSE_FSWATCHER" = "yes"; then
33528 if test "$wxUSE_MSW" != "1"; then
33529 if test "$wxUSE_UNIX" = "yes"; then
33530 for ac_header
in sys
/inotify.h
33532 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33534 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33535 cat >>confdefs.h
<<_ACEOF
33536 #define HAVE_SYS_INOTIFY_H 1
33543 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33544 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33547 for ac_header
in sys
/event.h
33549 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33551 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33552 cat >>confdefs.h
<<_ACEOF
33553 #define HAVE_SYS_EVENT_H 1
33560 if test "$ac_cv_header_sys_event_h" = "yes"; then
33561 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33571 if test "$wxUSE_THREADS" != "yes"; then
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33573 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33578 if test "$wxUSE_FSWATCHER" = "yes"; then
33579 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33584 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33589 if test "$wxUSE_STL" = "yes"; then
33590 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33594 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33595 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33599 if test "$wxUSE_ANY" = "yes"; then
33600 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33604 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33605 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33609 if test "$wxUSE_TIMER" = "yes"; then
33610 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33614 if test "$USE_UNIX" = 1 ; then
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33616 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33617 if ${ac_cv_header_sys_soundcard+:} false
; then :
33618 $as_echo_n "(cached) " >&6
33621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33622 /* end confdefs.h. */
33624 #include <sys/ioctl.h>
33625 #include <sys/soundcard.h>
33631 ioctl(0, SNDCTL_DSP_SPEED, 0);
33637 if ac_fn_c_try_link
"$LINENO"; then :
33638 ac_cv_header_sys_soundcard
=yes
33642 LIBS
="$saveLibs -lossaudio"
33643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33646 #include <sys/ioctl.h>
33647 #include <sys/soundcard.h>
33653 ioctl(0, SNDCTL_DSP_SPEED, 0);
33659 if ac_fn_c_try_link
"$LINENO"; then :
33660 ac_cv_header_sys_soundcard
=yes
33664 ac_cv_header_sys_soundcard
=no
33668 rm -f core conftest.err conftest.
$ac_objext \
33669 conftest
$ac_exeext conftest.
$ac_ext
33673 rm -f core conftest.err conftest.
$ac_objext \
33674 conftest
$ac_exeext conftest.
$ac_ext
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33678 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33680 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33681 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33687 if test "$wxUSE_SOUND" = "yes"; then
33688 if test "$USE_UNIX" = 1 ; then
33689 if test "$wxUSE_LIBSDL" != "no"; then
33691 # Check whether --with-sdl-prefix was given.
33692 if test "${with_sdl_prefix+set}" = set; then :
33693 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33699 # Check whether --with-sdl-exec-prefix was given.
33700 if test "${with_sdl_exec_prefix+set}" = set; then :
33701 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33706 # Check whether --enable-sdltest was given.
33707 if test "${enable_sdltest+set}" = set; then :
33708 enableval
=$enable_sdltest;
33714 if test x
$sdl_exec_prefix != x
; then
33715 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33716 if test x
${SDL_CONFIG+set} != xset
; then
33717 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33720 if test x
$sdl_prefix != x
; then
33721 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33722 if test x
${SDL_CONFIG+set} != xset
; then
33723 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33727 if test "x$prefix" != xNONE
; then
33728 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33730 # Extract the first word of "sdl-config", so it can be a program name with args.
33731 set dummy sdl
-config; ac_word
=$2
33732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33733 $as_echo_n "checking for $ac_word... " >&6; }
33734 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33735 $as_echo_n "(cached) " >&6
33737 case $SDL_CONFIG in
33739 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33743 for as_dir
in $PATH
33746 test -z "$as_dir" && as_dir
=.
33747 for ac_exec_ext
in '' $ac_executable_extensions; do
33748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33749 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33757 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33761 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33762 if test -n "$SDL_CONFIG"; then
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33764 $as_echo "$SDL_CONFIG" >&6; }
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33767 $as_echo "no" >&6; }
33771 min_sdl_version
=1.2.0
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33773 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33775 if test "$SDL_CONFIG" = "no" ; then
33778 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33779 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33781 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33783 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33785 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33786 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33787 if test "x$enable_sdltest" = "xyes" ; then
33788 ac_save_CFLAGS
="$CFLAGS"
33789 ac_save_CXXFLAGS
="$CXXFLAGS"
33790 ac_save_LIBS
="$LIBS"
33791 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33792 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33793 LIBS
="$LIBS $SDL_LIBS"
33795 if test "$cross_compiling" = yes; then :
33796 echo $ac_n "cross compiling; assumed OK... $ac_c"
33798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33799 /* end confdefs.h. */
33802 #include <stdlib.h>
33803 #include <string.h>
33807 my_strdup (char *str)
33813 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33814 strcpy (new_str, str);
33822 int main (int argc, char *argv[])
33824 int major, minor, micro;
33827 /* This hangs on some systems (?)
33828 system ("touch conf.sdltest");
33830 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33832 /* HP/UX 9 (%@#!) writes to sscanf strings */
33833 tmp_version = my_strdup("$min_sdl_version");
33834 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33835 printf("%s, bad version string\n", "$min_sdl_version");
33839 if (($sdl_major_version > major) ||
33840 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33841 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33847 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33848 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33849 printf("*** best to upgrade to the required version.\n");
33850 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33851 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33852 printf("*** config.cache before re-running configure\n");
33859 if ac_fn_c_try_run
"$LINENO"; then :
33864 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33865 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33868 CFLAGS
="$ac_save_CFLAGS"
33869 CXXFLAGS
="$ac_save_CXXFLAGS"
33870 LIBS
="$ac_save_LIBS"
33873 if test "x$no_sdl" = x
; then
33874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33875 $as_echo "yes" >&6; }
33877 EXTRALIBS_SDL
="$SDL_LIBS"
33878 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33879 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33880 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33885 $as_echo "no" >&6; }
33886 if test "$SDL_CONFIG" = "no" ; then
33887 echo "*** The sdl-config script installed by SDL could not be found"
33888 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33889 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33890 echo "*** full path to sdl-config."
33892 if test -f conf.sdltest
; then
33895 echo "*** Could not run SDL test program, checking why..."
33896 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33897 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33898 LIBS
="$LIBS $SDL_LIBS"
33899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33900 /* end confdefs.h. */
33905 int main(int argc, char *argv[])
33908 #define main K_and_R_C_main
33918 if ac_fn_c_try_link
"$LINENO"; then :
33919 echo "*** The test program compiled, but did not run. This usually means"
33920 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33921 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33922 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33923 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33924 echo "*** is required on your system"
33926 echo "*** If you have an old version installed, it is best to remove it, although"
33927 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33929 echo "*** The test program failed to compile or link. See the file config.log for the"
33930 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33931 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33932 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33934 rm -f core conftest.err conftest.
$ac_objext \
33935 conftest
$ac_exeext conftest.
$ac_ext
33936 CFLAGS
="$ac_save_CFLAGS"
33937 CXXFLAGS
="$ac_save_CXXFLAGS"
33938 LIBS
="$ac_save_LIBS"
33949 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33956 if test "$wxUSE_SOUND" = "yes"; then
33957 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33962 if test "$WXGTK2" = 1; then
33965 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33966 if test -n "$ac_tool_prefix"; then
33967 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33968 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33970 $as_echo_n "checking for $ac_word... " >&6; }
33971 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33972 $as_echo_n "(cached) " >&6
33974 case $PKG_CONFIG in
33976 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33980 for as_dir
in $PATH
33983 test -z "$as_dir" && as_dir
=.
33984 for ac_exec_ext
in '' $ac_executable_extensions; do
33985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33986 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33997 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33998 if test -n "$PKG_CONFIG"; then
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34000 $as_echo "$PKG_CONFIG" >&6; }
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34003 $as_echo "no" >&6; }
34008 if test -z "$ac_cv_path_PKG_CONFIG"; then
34009 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34010 # Extract the first word of "pkg-config", so it can be a program name with args.
34011 set dummy pkg
-config; ac_word
=$2
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34013 $as_echo_n "checking for $ac_word... " >&6; }
34014 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
34015 $as_echo_n "(cached) " >&6
34017 case $ac_pt_PKG_CONFIG in
34019 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34023 for as_dir
in $PATH
34026 test -z "$as_dir" && as_dir
=.
34027 for ac_exec_ext
in '' $ac_executable_extensions; do
34028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34029 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34040 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34041 if test -n "$ac_pt_PKG_CONFIG"; then
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34043 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34046 $as_echo "no" >&6; }
34049 if test "x$ac_pt_PKG_CONFIG" = x
; then
34052 case $cross_compiling:$ac_tool_warned in
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34056 ac_tool_warned
=yes ;;
34058 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34061 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34065 if test -n "$PKG_CONFIG"; then
34066 _pkg_min_version
=0.9.0
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34068 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34069 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34071 $as_echo "yes" >&6; }
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34074 $as_echo "no" >&6; }
34080 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34082 if test "$wxUSE_GTKPRINT" = "yes" ; then
34083 if test "$WXGTK3" = 1; then
34084 gtk_unix_print
="gtk+-unix-print-3.0"
34086 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34091 $as_echo_n "checking for GTKPRINT... " >&6; }
34093 if test -n "$PKG_CONFIG"; then
34094 if test -n "$GTKPRINT_CFLAGS"; then
34095 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34097 if test -n "$PKG_CONFIG" && \
34098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34099 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34102 test $ac_status = 0; }; then
34103 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34111 if test -n "$PKG_CONFIG"; then
34112 if test -n "$GTKPRINT_LIBS"; then
34113 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34115 if test -n "$PKG_CONFIG" && \
34116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34117 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34120 test $ac_status = 0; }; then
34121 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34132 if test $pkg_failed = yes; then
34134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34135 _pkg_short_errors_supported
=yes
34137 _pkg_short_errors_supported
=no
34139 if test $_pkg_short_errors_supported = yes; then
34140 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34142 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34144 # Put the nasty error message in config.log where it belongs
34145 echo "$GTKPRINT_PKG_ERRORS" >&5
34148 { $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
34149 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34150 wxUSE_GTKPRINT
="no"
34153 elif test $pkg_failed = untried
; then
34155 { $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
34156 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34157 wxUSE_GTKPRINT
="no"
34161 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34162 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34164 $as_echo "yes" >&6; }
34166 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34167 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34168 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34169 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34175 if test "$WXGTK3" = 1; then
34176 wxUSE_LIBGNOMEPRINT
=no
34179 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34184 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34186 if test -n "$PKG_CONFIG"; then
34187 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34188 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34190 if test -n "$PKG_CONFIG" && \
34191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34192 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34195 test $ac_status = 0; }; then
34196 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34204 if test -n "$PKG_CONFIG"; then
34205 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34206 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34208 if test -n "$PKG_CONFIG" && \
34209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34210 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34213 test $ac_status = 0; }; then
34214 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34225 if test $pkg_failed = yes; then
34227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34228 _pkg_short_errors_supported
=yes
34230 _pkg_short_errors_supported
=no
34232 if test $_pkg_short_errors_supported = yes; then
34233 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34235 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34237 # Put the nasty error message in config.log where it belongs
34238 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34241 if test "$wxUSE_GTKPRINT" = yes; then
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34243 $as_echo "no" >&6; }
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34246 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34248 wxUSE_LIBGNOMEPRINT
="no"
34251 elif test $pkg_failed = untried
; then
34253 if test "$wxUSE_GTKPRINT" = yes; then
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34255 $as_echo "no" >&6; }
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34258 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34260 wxUSE_LIBGNOMEPRINT
="no"
34264 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34265 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34267 $as_echo "yes" >&6; }
34269 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34270 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34271 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34272 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34279 if test "$wxUSE_MIMETYPE" = "yes" ; then
34280 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34285 $as_echo_n "checking for GNOMEVFS... " >&6; }
34287 if test -n "$PKG_CONFIG"; then
34288 if test -n "$GNOMEVFS_CFLAGS"; then
34289 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34291 if test -n "$PKG_CONFIG" && \
34292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34293 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34296 test $ac_status = 0; }; then
34297 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34305 if test -n "$PKG_CONFIG"; then
34306 if test -n "$GNOMEVFS_LIBS"; then
34307 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34309 if test -n "$PKG_CONFIG" && \
34310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34311 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34314 test $ac_status = 0; }; then
34315 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34326 if test $pkg_failed = yes; then
34328 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34329 _pkg_short_errors_supported
=yes
34331 _pkg_short_errors_supported
=no
34333 if test $_pkg_short_errors_supported = yes; then
34334 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34336 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34338 # Put the nasty error message in config.log where it belongs
34339 echo "$GNOMEVFS_PKG_ERRORS" >&5
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34343 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34344 wxUSE_LIBGNOMEVFS
="no"
34347 elif test $pkg_failed = untried
; then
34349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34350 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34351 wxUSE_LIBGNOMEVFS
="no"
34355 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34356 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34358 $as_echo "yes" >&6; }
34360 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34361 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34362 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34363 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34370 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34371 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34376 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34378 if test -n "$PKG_CONFIG"; then
34379 if test -n "$LIBNOTIFY_CFLAGS"; then
34380 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34382 if test -n "$PKG_CONFIG" && \
34383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34384 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34387 test $ac_status = 0; }; then
34388 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34396 if test -n "$PKG_CONFIG"; then
34397 if test -n "$LIBNOTIFY_LIBS"; then
34398 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34400 if test -n "$PKG_CONFIG" && \
34401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34402 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34405 test $ac_status = 0; }; then
34406 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34417 if test $pkg_failed = yes; then
34419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34420 _pkg_short_errors_supported
=yes
34422 _pkg_short_errors_supported
=no
34424 if test $_pkg_short_errors_supported = yes; then
34425 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34427 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34429 # Put the nasty error message in config.log where it belongs
34430 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34436 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34438 if test -n "$PKG_CONFIG"; then
34439 if test -n "$LIBNOTIFY_CFLAGS"; then
34440 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34442 if test -n "$PKG_CONFIG" && \
34443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34444 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34447 test $ac_status = 0; }; then
34448 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34456 if test -n "$PKG_CONFIG"; then
34457 if test -n "$LIBNOTIFY_LIBS"; then
34458 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34460 if test -n "$PKG_CONFIG" && \
34461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34462 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34465 test $ac_status = 0; }; then
34466 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34477 if test $pkg_failed = yes; then
34479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34480 _pkg_short_errors_supported
=yes
34482 _pkg_short_errors_supported
=no
34484 if test $_pkg_short_errors_supported = yes; then
34485 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34487 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34489 # Put the nasty error message in config.log where it belongs
34490 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34493 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34495 elif test $pkg_failed = untried
; then
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34497 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34500 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34501 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34503 $as_echo "yes" >&6; }
34508 elif test $pkg_failed = untried
; then
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34513 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34515 if test -n "$PKG_CONFIG"; then
34516 if test -n "$LIBNOTIFY_CFLAGS"; then
34517 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34519 if test -n "$PKG_CONFIG" && \
34520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34521 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34524 test $ac_status = 0; }; then
34525 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34533 if test -n "$PKG_CONFIG"; then
34534 if test -n "$LIBNOTIFY_LIBS"; then
34535 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34537 if test -n "$PKG_CONFIG" && \
34538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34539 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34542 test $ac_status = 0; }; then
34543 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34554 if test $pkg_failed = yes; then
34556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34557 _pkg_short_errors_supported
=yes
34559 _pkg_short_errors_supported
=no
34561 if test $_pkg_short_errors_supported = yes; then
34562 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34564 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34566 # Put the nasty error message in config.log where it belongs
34567 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34570 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34572 elif test $pkg_failed = untried
; then
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34574 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34577 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34578 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34580 $as_echo "yes" >&6; }
34586 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34587 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34589 $as_echo "yes" >&6; }
34592 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34597 if test "$HAVE_LIBNOTIFY" = "1" ; then
34598 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34599 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34600 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34601 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34607 if test "$wxUSE_LIBHILDON" = "yes" ; then
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34611 $as_echo_n "checking for HILDON... " >&6; }
34613 if test -n "$PKG_CONFIG"; then
34614 if test -n "$HILDON_CFLAGS"; then
34615 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34617 if test -n "$PKG_CONFIG" && \
34618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34619 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34622 test $ac_status = 0; }; then
34623 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34631 if test -n "$PKG_CONFIG"; then
34632 if test -n "$HILDON_LIBS"; then
34633 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34635 if test -n "$PKG_CONFIG" && \
34636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34637 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34640 test $ac_status = 0; }; then
34641 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34652 if test $pkg_failed = yes; then
34654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34655 _pkg_short_errors_supported
=yes
34657 _pkg_short_errors_supported
=no
34659 if test $_pkg_short_errors_supported = yes; then
34660 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34662 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34664 # Put the nasty error message in config.log where it belongs
34665 echo "$HILDON_PKG_ERRORS" >&5
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34669 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34670 wxUSE_LIBHILDON
="no"
34674 elif test $pkg_failed = untried
; then
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34677 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34678 wxUSE_LIBHILDON
="no"
34683 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34684 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34686 $as_echo "yes" >&6; }
34688 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34689 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34690 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34691 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34697 if test "$ac_hildon_lgpl" = 0 ; then
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34701 $as_echo_n "checking for HILDON2... " >&6; }
34703 if test -n "$PKG_CONFIG"; then
34704 if test -n "$HILDON2_CFLAGS"; then
34705 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34707 if test -n "$PKG_CONFIG" && \
34708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34709 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34712 test $ac_status = 0; }; then
34713 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34721 if test -n "$PKG_CONFIG"; then
34722 if test -n "$HILDON2_LIBS"; then
34723 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34725 if test -n "$PKG_CONFIG" && \
34726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34727 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34730 test $ac_status = 0; }; then
34731 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34742 if test $pkg_failed = yes; then
34744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34745 _pkg_short_errors_supported
=yes
34747 _pkg_short_errors_supported
=no
34749 if test $_pkg_short_errors_supported = yes; then
34750 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34752 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34754 # Put the nasty error message in config.log where it belongs
34755 echo "$HILDON2_PKG_ERRORS" >&5
34758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34759 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34760 wxUSE_LIBHILDON2
="no"
34763 elif test $pkg_failed = untried
; then
34765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34766 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34767 wxUSE_LIBHILDON2
="no"
34771 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34772 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34774 $as_echo "yes" >&6; }
34776 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34777 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34778 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34779 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34787 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34788 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34792 if test "$wxUSE_STOPWATCH" = "yes"; then
34793 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34797 if test "$wxUSE_DATETIME" = "yes"; then
34798 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34802 if test "$wxUSE_FILE" = "yes"; then
34803 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34807 if test "$wxUSE_FFILE" = "yes"; then
34808 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34812 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34813 if test "$wxUSE_STREAMS" != yes; then
34814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34815 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34816 wxUSE_ARCHIVE_STREAMS
=no
34818 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34823 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34824 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34826 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34827 elif test "$wxUSE_ZLIB" = "no"; then
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34829 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34831 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34836 if test "$wxUSE_TARSTREAM" = "yes"; then
34837 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34839 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34841 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34846 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34847 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34851 if test "$wxUSE_FILESYSTEM" = "yes"; then
34852 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34854 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34855 wxUSE_FILESYSTEM
=no
34857 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34862 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34863 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34865 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34867 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34872 if test "$wxUSE_FS_ZIP" = "yes"; then
34873 if test "$wxUSE_FS_ARCHIVE" != yes; then
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34875 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34877 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34882 if test "$wxUSE_FSVOLUME" = "yes"; then
34883 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34887 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34888 if test "$USE_UNIX" != 1; then
34889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34890 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34891 wxUSE_ON_FATAL_EXCEPTION
=no
34893 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34898 if test "$wxUSE_STACKWALKER" = "yes"; then
34899 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34903 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34904 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34906 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34907 wxUSE_DEBUGREPORT
=no
34909 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34911 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34917 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34918 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34922 if test "$wxUSE_BUSYINFO" = "yes"; then
34923 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34927 if test "$wxUSE_HOTKEY" = "yes"; then
34928 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34930 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34933 elif test "$wxUSE_HOTKEY" = "auto"; then
34934 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34938 if test "$wxUSE_HOTKEY" = "yes"; then
34939 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34943 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34944 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34948 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34949 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34953 if test "$wxUSE_STD_STRING" = "yes"; then
34954 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34958 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34959 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34963 if test "$wxUSE_STDPATHS" = "yes"; then
34964 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34968 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34969 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34973 if test "$wxUSE_TEXTFILE" = "yes"; then
34974 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34976 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34978 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34983 if test "$wxUSE_CONFIG" = "yes" ; then
34984 if test "$wxUSE_TEXTFILE" != "yes"; then
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34986 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34988 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34990 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34996 if test "$wxUSE_INTL" = "yes" ; then
34997 if test "$wxUSE_FILE" != "yes"; then
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34999 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35001 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35004 GUIDIST
="$GUIDIST INTL_DIST"
35008 if test "$wxUSE_XLOCALE" = "yes" ; then
35009 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35011 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35012 #include <locale.h>
35014 if test "x$ac_cv_type_locale_t" = xyes
; then :
35016 cat >>confdefs.h
<<_ACEOF
35017 #define HAVE_LOCALE_T 1
35025 if test "$wxUSE_LOG" = "yes"; then
35026 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35029 if test "$wxUSE_LOGGUI" = "yes"; then
35030 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35034 if test "$wxUSE_LOGWINDOW" = "yes"; then
35035 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35039 if test "$wxUSE_LOGDIALOG" = "yes"; then
35040 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
35047 if test "$wxUSE_LONGLONG" = "yes"; then
35048 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35052 if test "$wxUSE_GEOMETRY" = "yes"; then
35053 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35057 if test "$wxUSE_BASE64" = "yes"; then
35058 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35062 if test "$wxUSE_STREAMS" = "yes" ; then
35063 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35067 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35068 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35072 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35073 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35078 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35079 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35082 if test "$wxUSE_UNIX" = "yes"; then
35083 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35084 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35088 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35089 for ac_header
in sys
/epoll.h
35091 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35093 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35094 cat >>confdefs.h
<<_ACEOF
35095 #define HAVE_SYS_EPOLL_H 1
35102 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35103 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35107 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35114 for ac_func
in gettimeofday ftime
35116 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35117 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35118 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35119 cat >>confdefs.h
<<_ACEOF
35120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35127 if test "$ac_cv_func_gettimeofday" = "yes"; then
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35129 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35130 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35131 $as_echo_n "(cached) " >&6
35134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35137 #include <sys/time.h>
35138 #include <unistd.h>
35145 gettimeofday(&tv, NULL);
35151 if ac_fn_c_try_compile
"$LINENO"; then :
35152 wx_cv_func_gettimeofday_has_2_args
=yes
35154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h. */
35157 #include <sys/time.h>
35158 #include <unistd.h>
35171 if ac_fn_c_try_compile
"$LINENO"; then :
35172 wx_cv_func_gettimeofday_has_2_args
=no
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35176 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35177 wx_cv_func_gettimeofday_has_2_args
=unknown
35181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35188 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35190 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35191 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35196 if test "$wxUSE_DATETIME" = "yes"; then
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35198 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35199 if ${wx_cv_var_timezone+:} false
; then :
35200 $as_echo_n "(cached) " >&6
35204 ac_cpp
='$CXXCPP $CPPFLAGS'
35205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35210 /* end confdefs.h. */
35225 if ac_fn_cxx_try_compile
"$LINENO"; then :
35227 wx_cv_var_timezone
=timezone
35231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h. */
35247 if ac_fn_cxx_try_compile
"$LINENO"; then :
35249 wx_cv_var_timezone
=_timezone
35253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35254 /* end confdefs.h. */
35269 if ac_fn_cxx_try_compile
"$LINENO"; then :
35271 wx_cv_var_timezone
=__timezone
35275 if test "$USE_DOS" = 0 ; then
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35277 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35292 ac_cpp
='$CPP $CPPFLAGS'
35293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35301 $as_echo "$wx_cv_var_timezone" >&6; }
35303 if test "x$wx_cv_var_timezone" != x
; then
35304 cat >>confdefs.h
<<_ACEOF
35305 #define WX_TIMEZONE $wx_cv_var_timezone
35310 for ac_func
in localtime
35312 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35313 if test "x$ac_cv_func_localtime" = xyes
; then :
35314 cat >>confdefs.h
<<_ACEOF
35315 #define HAVE_LOCALTIME 1
35322 if test "$ac_cv_func_localtime" = "yes"; then
35323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35324 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35325 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35326 $as_echo_n "(cached) " >&6
35329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35330 /* end confdefs.h. */
35345 if ac_fn_c_try_compile
"$LINENO"; then :
35347 wx_cv_struct_tm_has_gmtoff
=yes
35350 wx_cv_struct_tm_has_gmtoff
=no
35353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35357 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35360 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35361 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35369 for ac_func
in setpriority
35371 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35372 if test "x$ac_cv_func_setpriority" = xyes
; then :
35373 cat >>confdefs.h
<<_ACEOF
35374 #define HAVE_SETPRIORITY 1
35382 if test "$wxUSE_SOCKETS" = "yes"; then
35383 if test "$TOOLKIT" != "MSW"; then
35384 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35385 if test "x$ac_cv_func_socket" = xyes
; then :
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35390 $as_echo_n "checking for socket in -lsocket... " >&6; }
35391 if ${ac_cv_lib_socket_socket+:} false
; then :
35392 $as_echo_n "(cached) " >&6
35394 ac_check_lib_save_LIBS
=$LIBS
35395 LIBS
="-lsocket $LIBS"
35396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35397 /* end confdefs.h. */
35399 /* Override any GCC internal prototype to avoid an error.
35400 Use char because int might match the return type of a GCC
35401 builtin and then its argument prototype would still apply. */
35414 if ac_fn_c_try_link
"$LINENO"; then :
35415 ac_cv_lib_socket_socket
=yes
35417 ac_cv_lib_socket_socket
=no
35419 rm -f core conftest.err conftest.
$ac_objext \
35420 conftest
$ac_exeext conftest.
$ac_ext
35421 LIBS
=$ac_check_lib_save_LIBS
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35424 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35425 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35426 if test "$INET_LINK" != " -lsocket"; then
35427 INET_LINK
="$INET_LINK -lsocket"
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35432 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35445 if test "$wxUSE_SOCKETS" = "yes" ; then
35446 if test "$TOOLKIT" != "MSW"; then
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35448 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35449 if ${wx_cv_type_getsockname3+:} false
; then :
35450 $as_echo_n "(cached) " >&6
35454 ac_cpp
='$CXXCPP $CPPFLAGS'
35455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35460 /* end confdefs.h. */
35462 #include <sys/types.h>
35463 #include <sys/socket.h>
35470 getsockname(0, 0, &len);
35476 if ac_fn_cxx_try_compile
"$LINENO"; then :
35477 wx_cv_type_getsockname3
=socklen_t
35480 CFLAGS_OLD
="$CFLAGS"
35481 if test "$GCC" = yes ; then
35482 CFLAGS
="-Werror $CFLAGS"
35485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35486 /* end confdefs.h. */
35488 #include <sys/types.h>
35489 #include <sys/socket.h>
35496 getsockname(0, 0, &len);
35502 if ac_fn_cxx_try_compile
"$LINENO"; then :
35503 wx_cv_type_getsockname3
=size_t
35505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35506 /* end confdefs.h. */
35508 #include <sys/types.h>
35509 #include <sys/socket.h>
35516 getsockname(0, 0, &len);
35522 if ac_fn_cxx_try_compile
"$LINENO"; then :
35523 wx_cv_type_getsockname3
=int
35525 wx_cv_type_getsockname3
=unknown
35528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35533 CFLAGS
="$CFLAGS_OLD"
35537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35539 ac_cpp
='$CPP $CPPFLAGS'
35540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35547 $as_echo "$wx_cv_type_getsockname3" >&6; }
35549 if test "$wx_cv_type_getsockname3" = "unknown"; then
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35552 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35554 cat >>confdefs.h
<<_ACEOF
35555 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35560 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35561 if ${wx_cv_type_getsockopt5+:} false
; then :
35562 $as_echo_n "(cached) " >&6
35566 ac_cpp
='$CXXCPP $CPPFLAGS'
35567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35574 #include <sys/types.h>
35575 #include <sys/socket.h>
35582 getsockopt(0, 0, 0, 0, &len);
35588 if ac_fn_cxx_try_compile
"$LINENO"; then :
35589 wx_cv_type_getsockopt5
=socklen_t
35592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h. */
35595 #include <sys/types.h>
35596 #include <sys/socket.h>
35603 getsockopt(0, 0, 0, 0, &len);
35609 if ac_fn_cxx_try_compile
"$LINENO"; then :
35610 wx_cv_type_getsockopt5
=size_t
35612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35613 /* end confdefs.h. */
35615 #include <sys/types.h>
35616 #include <sys/socket.h>
35623 getsockopt(0, 0, 0, 0, &len);
35629 if ac_fn_cxx_try_compile
"$LINENO"; then :
35630 wx_cv_type_getsockopt5
=int
35632 wx_cv_type_getsockopt5
=unknown
35635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35644 ac_cpp
='$CPP $CPPFLAGS'
35645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35652 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35654 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35657 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35659 cat >>confdefs.h
<<_ACEOF
35660 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35667 if test "$wxUSE_SOCKETS" = "yes" ; then
35668 if test "$wxUSE_IPV6" = "yes"; then
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35670 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35671 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35672 $as_echo_n "(cached) " >&6
35675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35676 /* end confdefs.h. */
35678 #include <sys/types.h>
35679 #include <sys/socket.h>
35680 #include <netinet/in.h>
35686 struct sockaddr_in6 sa6;
35692 if ac_fn_c_try_compile
"$LINENO"; then :
35693 wx_cv_type_sockaddr_in6
=yes
35695 wx_cv_type_sockaddr_in6
=no
35698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35703 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35705 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35706 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35710 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35714 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35719 if test "$wxUSE_PROTOCOL" = "yes"; then
35720 if test "$wxUSE_SOCKETS" != "yes"; then
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35722 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35727 if test "$wxUSE_PROTOCOL" = "yes"; then
35728 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35731 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35732 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35735 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35736 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35739 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35740 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35744 if test "$wxUSE_FS_INET" = "yes"; then
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35746 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35751 if test "$wxUSE_URL" = "yes"; then
35752 if test "$wxUSE_PROTOCOL" != "yes"; then
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35754 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35757 if test "$wxUSE_URL" = "yes"; then
35758 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35763 if test "$wxUSE_VARIANT" = "yes"; then
35764 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35768 if test "$wxUSE_FS_INET" = "yes"; then
35769 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35774 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35777 if test "$TOOLKIT" = "MSW"; then
35780 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35781 if test "$USE_DARWIN" = 1; then
35782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35783 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35785 ac_cpp
='$CXXCPP $CPPFLAGS'
35786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <IOKit/hid/IOHIDLib.h>
35796 IOHIDQueueInterface *qi = NULL;
35797 IOHIDCallbackFunction cb = NULL;
35798 qi->setEventCallout(NULL, cb, NULL, NULL);
35803 if ac_fn_cxx_try_compile
"$LINENO"; then :
35807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35809 ac_cpp
='$CPP $CPPFLAGS'
35810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35815 $as_echo "$wxUSE_JOYSTICK" >&6; }
35819 for ac_header
in linux
/joystick.h
35821 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35823 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35824 cat >>confdefs.h
<<_ACEOF
35825 #define HAVE_LINUX_JOYSTICK_H 1
35834 if test "$wxUSE_JOYSTICK" = "yes"; then
35835 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35840 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35846 if test "$wxUSE_FONTENUM" = "yes" ; then
35847 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35851 if test "$wxUSE_FONTMAP" = "yes" ; then
35852 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35856 if test "$wxUSE_UNICODE" = "yes" ; then
35857 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35860 if test "$USE_WIN32" != 1; then
35861 wxUSE_UNICODE_MSLU
=no
35864 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35866 $as_echo_n "checking for main in -lunicows... " >&6; }
35867 if ${ac_cv_lib_unicows_main+:} false
; then :
35868 $as_echo_n "(cached) " >&6
35870 ac_check_lib_save_LIBS
=$LIBS
35871 LIBS
="-lunicows $LIBS"
35872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35884 if ac_fn_c_try_link
"$LINENO"; then :
35885 ac_cv_lib_unicows_main
=yes
35887 ac_cv_lib_unicows_main
=no
35889 rm -f core conftest.err conftest.
$ac_objext \
35890 conftest
$ac_exeext conftest.
$ac_ext
35891 LIBS
=$ac_check_lib_save_LIBS
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35894 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35895 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35897 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35903 Applications will only run on Windows NT/2000/XP!" >&5
35904 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35905 Applications will only run on Windows NT/2000/XP!" >&2;}
35906 wxUSE_UNICODE_MSLU
=no
35913 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35914 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35917 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35918 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35924 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35925 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35930 if test "$wxUSE_MDI" = "yes"; then
35931 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35934 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35935 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35941 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35942 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35947 if test "$wxUSE_HELP" = "yes"; then
35948 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35952 if test "$wxUSE_MSW" = 1; then
35953 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35954 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35959 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35960 if test "$wxUSE_HTML" = "yes"; then
35961 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35965 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35966 wxUSE_WXHTML_HELP
=no
35971 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35972 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35977 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35978 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35982 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35985 if test "$wxUSE_SVG" = "yes"; then
35986 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35991 if test "$wxUSE_METAFILE" = "yes"; then
35992 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35994 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35997 elif test "$wxUSE_METAFILE" = "auto"; then
35998 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36003 if test "$wxUSE_METAFILE" = "yes"; then
36004 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36006 if test "$wxUSE_MSW" = 1; then
36007 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36013 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36014 -o "$wxUSE_CLIPBOARD" = "yes" \
36015 -o "$wxUSE_OLE" = "yes" \
36016 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36017 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36019 if test "x$ac_cv_header_ole2_h" = xyes
; then :
36025 if test "$ac_cv_header_ole2_h" = "yes" ; then
36026 if test "$GCC" = yes ; then
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36028 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36030 /* end confdefs.h. */
36031 #include <windows.h>
36041 if ac_fn_c_try_compile
"$LINENO"; then :
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36043 $as_echo "no" >&6; }
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36046 $as_echo "yes" >&6; }
36047 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36050 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36051 if test "$wxUSE_OLE" = "yes" ; then
36052 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36054 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36056 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
36062 if test "$wxUSE_DATAOBJ" = "yes" ; then
36063 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36068 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36071 wxUSE_DRAG_AND_DROP
=no
36077 if test "$wxUSE_IPC" = "yes"; then
36078 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36080 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36084 if test "$wxUSE_IPC" = "yes"; then
36085 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36091 if test "$wxUSE_DATAOBJ" = "yes"; then
36092 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36096 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36098 wxUSE_DRAG_AND_DROP
=no
36101 if test "$wxUSE_CLIPBOARD" = "yes"; then
36102 if test "$wxUSE_DFB" = 1; then
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36104 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36108 if test "$wxUSE_CLIPBOARD" = "yes"; then
36109 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36114 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36115 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36117 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36118 wxUSE_DRAG_AND_DROP
=no
36121 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36122 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36128 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36132 if test "$wxUSE_CLIPBOARD" = "yes"; then
36133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36136 if test "$wxUSE_SPLINES" = "yes" ; then
36137 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36141 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36142 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36146 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36147 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36152 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36153 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36159 if test "$wxUSE_CONTROLS" = "yes"; then
36163 if test "$wxUSE_MARKUP" = "yes"; then
36164 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36168 if test "$wxUSE_ACCEL" = "yes"; then
36169 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36174 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36175 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36181 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36182 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36186 if test "$wxUSE_BUTTON" = "yes"; then
36187 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36192 if test "$wxUSE_BMPBUTTON" = "yes"; then
36193 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36198 if test "$wxUSE_CALCTRL" = "yes"; then
36199 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36205 if test "$wxUSE_CARET" = "yes"; then
36206 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36212 if test "$wxUSE_COLLPANE" = "yes"; then
36213 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36219 if test "$wxUSE_COMBOBOX" = "yes"; then
36220 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36225 if test "$wxUSE_COMBOCTRL" = "yes"; then
36226 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36231 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36232 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36237 if test "$wxUSE_CHOICE" = "yes"; then
36238 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36243 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36244 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36249 if test "$wxUSE_CHECKBOX" = "yes"; then
36250 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36255 if test "$wxUSE_CHECKLST" = "yes"; then
36256 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36261 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36262 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36267 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36268 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36273 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36274 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36279 if test "$wxUSE_FILECTRL" = "yes"; then
36280 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36285 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36286 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36291 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36292 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36297 if test "$wxUSE_DISPLAY" = "yes"; then
36298 if test "$wxUSE_DFB" = 1; then
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36300 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36303 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36309 if test "$wxUSE_DETECT_SM" = "yes"; then
36310 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36314 if test "$wxUSE_GAUGE" = "yes"; then
36315 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36320 if test "$wxUSE_GRID" = "yes"; then
36321 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36327 if test "$wxUSE_HEADERCTRL" = "yes"; then
36328 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36333 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36334 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36339 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36340 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36345 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36346 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36352 if test "$wxUSE_IMAGLIST" = "yes"; then
36353 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36357 if test "$wxUSE_INFOBAR" = "yes"; then
36358 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36362 if test "$wxUSE_LISTBOOK" = "yes"; then
36363 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36368 if test "$wxUSE_LISTBOX" = "yes"; then
36369 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36374 if test "$wxUSE_LISTCTRL" = "yes"; then
36375 if test "$wxUSE_IMAGLIST" = "yes"; then
36376 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36382 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36386 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36387 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36392 if test "$wxUSE_NOTEBOOK" = "yes"; then
36393 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36399 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36400 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36404 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36405 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36411 if test "$wxUSE_RADIOBOX" = "yes"; then
36412 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36417 if test "$wxUSE_RADIOBTN" = "yes"; then
36418 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36423 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36424 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36428 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36429 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36433 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36434 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36438 if test "$wxUSE_SASH" = "yes"; then
36439 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36444 if test "$wxUSE_SCROLLBAR" = "yes"; then
36445 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36451 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36452 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36457 if test "$wxUSE_SLIDER" = "yes"; then
36458 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36463 if test "$wxUSE_SPINBTN" = "yes"; then
36464 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36469 if test "$wxUSE_SPINCTRL" = "yes"; then
36470 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36475 if test "$wxUSE_SPLITTER" = "yes"; then
36476 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36481 if test "$wxUSE_STATBMP" = "yes"; then
36482 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36487 if test "$wxUSE_STATBOX" = "yes"; then
36488 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36493 if test "$wxUSE_STATTEXT" = "yes"; then
36494 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36499 if test "$wxUSE_STATLINE" = "yes"; then
36500 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36505 if test "$wxUSE_STATUSBAR" = "yes"; then
36506 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36508 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36515 if test "$wxUSE_TEXTCTRL" = "yes"; then
36516 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36521 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36523 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36527 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36528 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36534 if test "$wxUSE_OLD_COCOA" = 1 ; then
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36536 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36540 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36541 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36547 if test "$wxUSE_TOOLBAR" = "yes"; then
36548 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36552 if test "$wxUSE_UNIVERSAL" = "yes"; then
36553 wxUSE_TOOLBAR_NATIVE
="no"
36555 wxUSE_TOOLBAR_NATIVE
="yes"
36556 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36563 if test "$wxUSE_TOOLTIPS" = "yes"; then
36564 if test "$wxUSE_MOTIF" = 1; then
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36566 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36568 if test "$wxUSE_UNIVERSAL" = "yes"; then
36569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36570 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36572 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36578 if test "$wxUSE_TREEBOOK" = "yes"; then
36579 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36584 if test "$wxUSE_TOOLBOOK" = "yes"; then
36585 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36590 if test "$wxUSE_TREECTRL" = "yes"; then
36591 if test "$wxUSE_IMAGLIST" = "yes"; then
36592 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36598 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36602 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36603 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36609 if test "$wxUSE_POPUPWIN" = "yes"; then
36610 if test "$wxUSE_OLD_COCOA" = 1 ; then
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36612 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36614 if test "$wxUSE_PM" = 1; then
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36616 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36618 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36627 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36630 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36632 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36638 if test "$wxUSE_TIPWINDOW" = "yes"; then
36639 if test "$wxUSE_PM" = 1; then
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36641 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36643 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36648 if test "$USES_CONTROLS" = 1; then
36649 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36654 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36655 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36660 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36661 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36665 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36666 if test "$wxUSE_GTK" != 1; then
36667 if test "$wxUSE_LIBPNG" != no
-a \
36668 "$wxUSE_IMAGE" = yes -a \
36669 "$wxUSE_STREAMS" = yes; then
36670 wxUSE_ARTPROVIDER_TANGO
="yes"
36675 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36676 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36680 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36681 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36686 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36687 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36689 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36691 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36698 if test "$wxUSE_HTML" = "yes"; then
36699 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36704 if test "$wxUSE_WEBKIT" = "yes"; then
36705 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36706 old_CPPFLAGS
="$CPPFLAGS"
36707 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36708 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36709 #include <Carbon/Carbon.h>
36710 #include <WebKit/WebKit.h>
36713 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36715 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36717 WEBKIT_LINK
="-framework WebKit"
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36722 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36728 CPPFLAGS
="$old_CPPFLAGS"
36729 elif test "$wxUSE_OLD_COCOA" = 1; then
36730 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36735 if test "$wxUSE_WEBKIT" = "yes"; then
36736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36741 if test "$wxUSE_XRC" = "yes"; then
36742 if test "$wxUSE_XML" != "yes"; then
36743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36744 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36747 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36755 if test "$wxUSE_AUI" = "yes"; then
36756 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36763 if test "$wxUSE_PROPGRID" = "yes"; then
36764 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36771 if test "$wxUSE_RIBBON" = "yes"; then
36772 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36779 if test "$wxUSE_STC" = "yes"; then
36780 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36785 # Extract the first word of "python", so it can be a program name with args.
36786 set dummy python
; ac_word
=$2
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36788 $as_echo_n "checking for $ac_word... " >&6; }
36789 if ${ac_cv_path_PYTHON+:} false
; then :
36790 $as_echo_n "(cached) " >&6
36794 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36798 for as_dir
in $PATH
36801 test -z "$as_dir" && as_dir
=.
36802 for ac_exec_ext
in '' $ac_executable_extensions; do
36803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36804 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36815 PYTHON
=$ac_cv_path_PYTHON
36816 if test -n "$PYTHON"; then
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36818 $as_echo "$PYTHON" >&6; }
36820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36821 $as_echo "no" >&6; }
36825 if test "x$PYTHON" = "x"; then
36831 if test "$wxUSE_MENUS" = "yes"; then
36832 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36837 if test "$wxUSE_MIMETYPE" = "yes"; then
36838 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36842 if test "$wxUSE_MINIFRAME" = "yes"; then
36843 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36847 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36848 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36852 if test "$wxUSE_TASKBARICON" = "yes"; then
36853 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36855 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36861 if test "$wxUSE_VALIDATORS" = "yes"; then
36862 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36867 if test "$wxUSE_PALETTE" = "yes" ; then
36868 if test "$wxUSE_DFB" = 1; then
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36870 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36873 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36878 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36879 LIBS
=" -lunicows $LIBS"
36883 if test "$wxUSE_RICHTEXT" = "yes"; then
36884 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36890 if test "$wxUSE_WEBVIEW" = "yes"; then
36891 USE_WEBVIEW_WEBKIT
=0
36892 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36893 if test "$wxUSE_GTK" = 1; then
36894 webkitgtk
=webkit
-1.0
36895 if test "$WXGTK3" = 1; then
36896 webkitgtk
=webkitgtk
-3.0
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36901 $as_echo_n "checking for WEBKIT... " >&6; }
36903 if test -n "$PKG_CONFIG"; then
36904 if test -n "$WEBKIT_CFLAGS"; then
36905 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36907 if test -n "$PKG_CONFIG" && \
36908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36909 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36912 test $ac_status = 0; }; then
36913 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36921 if test -n "$PKG_CONFIG"; then
36922 if test -n "$WEBKIT_LIBS"; then
36923 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36925 if test -n "$PKG_CONFIG" && \
36926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36927 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36930 test $ac_status = 0; }; then
36931 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36942 if test $pkg_failed = yes; then
36944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36945 _pkg_short_errors_supported
=yes
36947 _pkg_short_errors_supported
=no
36949 if test $_pkg_short_errors_supported = yes; then
36950 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36952 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36954 # Put the nasty error message in config.log where it belongs
36955 echo "$WEBKIT_PKG_ERRORS" >&5
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36959 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36961 elif test $pkg_failed = untried
; then
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36964 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36967 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36968 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36970 $as_echo "yes" >&6; }
36972 USE_WEBVIEW_WEBKIT
=1
36973 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36974 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36977 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36978 old_CPPFLAGS
="$CPPFLAGS"
36979 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36980 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36981 #include <Carbon/Carbon.h>
36982 #include <WebKit/WebKit.h>
36985 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36987 USE_WEBVIEW_WEBKIT
=1
36988 WEBKIT_LINK
="-framework WebKit"
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36993 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36998 CPPFLAGS
="$old_CPPFLAGS"
37003 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37004 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37005 wxUSE_WEBVIEW
="yes"
37006 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37010 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37012 elif test "$wxUSE_MSW" = 1; then
37013 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37014 wxUSE_WEBVIEW
="yes"
37015 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37021 if test "$wxUSE_WEBVIEW" = "yes"; then
37023 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
37031 if test "$wxUSE_IMAGE" = "yes" ; then
37032 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37035 if test "$wxUSE_GIF" = "yes" ; then
37036 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37040 if test "$wxUSE_PCX" = "yes" ; then
37041 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37045 if test "$wxUSE_TGA" = "yes" ; then
37046 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37050 if test "$wxUSE_IFF" = "yes" ; then
37051 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37055 if test "$wxUSE_PNM" = "yes" ; then
37056 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37060 if test "$wxUSE_XPM" = "yes" ; then
37061 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37065 if test "$wxUSE_ICO_CUR" = "yes" ; then
37066 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37072 if test "$wxUSE_ABOUTDLG" = "yes"; then
37073 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37077 if test "$wxUSE_CHOICEDLG" = "yes"; then
37078 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37082 if test "$wxUSE_COLOURDLG" = "yes"; then
37083 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37087 if test "$wxUSE_FILEDLG" = "yes"; then
37088 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37092 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37093 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37097 if test "$wxUSE_FONTDLG" = "yes"; then
37098 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37102 if test "$wxUSE_DIRDLG" = "yes"; then
37103 if test "$wxUSE_TREECTRL" != "yes"; then
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37105 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37107 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37112 if test "$wxUSE_MSGDLG" = "yes"; then
37113 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37117 if test "$wxUSE_NUMBERDLG" = "yes"; then
37118 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37122 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37123 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37127 if test "$wxUSE_SPLASH" = "yes"; then
37128 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37133 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37134 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37138 if test "$wxUSE_TEXTDLG" = "yes"; then
37139 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37143 if test "$wxUSE_WIZARDDLG" = "yes"; then
37144 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37150 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37151 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37152 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37158 if test "$wxUSE_MSW" = 1 ; then
37160 if test "$wxUSE_DC_CACHEING" = "yes"; then
37161 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37165 if test "$wxUSE_DIB" = "yes"; then
37166 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37170 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37171 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37175 if test "$wxUSE_UXTHEME" = "yes"; then
37176 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37182 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37183 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37187 if test "$USE_WIN32" = 1 ; then
37188 if test "$wxUSE_INICONF" = "yes"; then
37189 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37193 if test "$wxUSE_REGKEY" = "yes"; then
37194 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37200 if test "$wxUSE_MAC" = 1; then
37201 wxUSE_GRAPHICS_CONTEXT
="yes"
37204 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37206 if test "$wxUSE_MSW" = 1; then
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37208 $as_echo_n "checking if GDI+ is available... " >&6; }
37209 if ${wx_cv_lib_gdiplus+:} false
; then :
37210 $as_echo_n "(cached) " >&6
37214 ac_cpp
='$CXXCPP $CPPFLAGS'
37215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37220 /* end confdefs.h. */
37221 #include <windows.h>
37222 #include <gdiplus.h>
37227 using namespace Gdiplus;
37233 if ac_fn_cxx_try_compile
"$LINENO"; then :
37234 wx_cv_lib_gdiplus
=yes
37236 wx_cv_lib_gdiplus
=no
37239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37241 ac_cpp
='$CPP $CPPFLAGS'
37242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37250 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37251 if test "$wx_cv_lib_gdiplus" = "yes"; then
37254 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37258 $as_echo_n "checking for CAIRO... " >&6; }
37260 if test -n "$PKG_CONFIG"; then
37261 if test -n "$CAIRO_CFLAGS"; then
37262 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37264 if test -n "$PKG_CONFIG" && \
37265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37266 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37269 test $ac_status = 0; }; then
37270 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37278 if test -n "$PKG_CONFIG"; then
37279 if test -n "$CAIRO_LIBS"; then
37280 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37282 if test -n "$PKG_CONFIG" && \
37283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37284 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37287 test $ac_status = 0; }; then
37288 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37299 if test $pkg_failed = yes; then
37301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37302 _pkg_short_errors_supported
=yes
37304 _pkg_short_errors_supported
=no
37306 if test $_pkg_short_errors_supported = yes; then
37307 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37309 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37311 # Put the nasty error message in config.log where it belongs
37312 echo "$CAIRO_PKG_ERRORS" >&5
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37315 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37317 elif test $pkg_failed = untried
; then
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37319 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37322 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37323 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37325 $as_echo "yes" >&6; }
37328 if test "$wx_has_graphics" = 1; then
37330 LIBS
="$LIBS $CAIRO_LIBS"
37331 for ac_func
in cairo_push_group
37333 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37334 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37335 cat >>confdefs.h
<<_ACEOF
37336 #define HAVE_CAIRO_PUSH_GROUP 1
37343 if test "$ac_cv_func_cairo_push_group" = "no"; then
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37346 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37348 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37351 if test "$wxUSE_GTK" != 1; then
37352 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37361 if test "$wx_has_graphics" = 1; then
37362 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37366 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37373 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37376 if test "$wxUSE_GTK" = 1; then
37377 wxUSE_GSTREAMER
="no"
37379 GST_VERSION_MAJOR
=0
37380 GST_VERSION_MINOR
=10
37381 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37383 if test "$wxUSE_GSTREAMER8" = "no"; then
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37387 $as_echo_n "checking for GST... " >&6; }
37389 if test -n "$PKG_CONFIG"; then
37390 if test -n "$GST_CFLAGS"; then
37391 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37393 if test -n "$PKG_CONFIG" && \
37394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37395 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37398 test $ac_status = 0; }; then
37399 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37407 if test -n "$PKG_CONFIG"; then
37408 if test -n "$GST_LIBS"; then
37409 pkg_cv_GST_LIBS
="$GST_LIBS"
37411 if test -n "$PKG_CONFIG" && \
37412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37416 test $ac_status = 0; }; then
37417 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37428 if test $pkg_failed = yes; then
37430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37431 _pkg_short_errors_supported
=yes
37433 _pkg_short_errors_supported
=no
37435 if test $_pkg_short_errors_supported = yes; then
37436 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37438 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37440 # Put the nasty error message in config.log where it belongs
37441 echo "$GST_PKG_ERRORS" >&5
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37445 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37446 GST_VERSION_MINOR
=8
37449 elif test $pkg_failed = untried
; then
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37452 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37453 GST_VERSION_MINOR
=8
37457 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37458 GST_LIBS
=$pkg_cv_GST_LIBS
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37460 $as_echo "yes" >&6; }
37462 wxUSE_GSTREAMER
="yes"
37463 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37467 GST_VERSION_MINOR
=8
37470 if test $GST_VERSION_MINOR = "8"; then
37471 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37475 $as_echo_n "checking for GST... " >&6; }
37477 if test -n "$PKG_CONFIG"; then
37478 if test -n "$GST_CFLAGS"; then
37479 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37481 if test -n "$PKG_CONFIG" && \
37482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37483 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37486 test $ac_status = 0; }; then
37487 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37495 if test -n "$PKG_CONFIG"; then
37496 if test -n "$GST_LIBS"; then
37497 pkg_cv_GST_LIBS
="$GST_LIBS"
37499 if test -n "$PKG_CONFIG" && \
37500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37501 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37504 test $ac_status = 0; }; then
37505 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37516 if test $pkg_failed = yes; then
37518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37519 _pkg_short_errors_supported
=yes
37521 _pkg_short_errors_supported
=no
37523 if test $_pkg_short_errors_supported = yes; then
37524 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37526 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37528 # Put the nasty error message in config.log where it belongs
37529 echo "$GST_PKG_ERRORS" >&5
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37533 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37535 elif test $pkg_failed = untried
; then
37537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37538 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37541 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37542 GST_LIBS
=$pkg_cv_GST_LIBS
37543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37544 $as_echo "yes" >&6; }
37545 wxUSE_GSTREAMER
="yes"
37550 if test "$wxUSE_GSTREAMER" = "yes"; then
37551 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37552 EXTRALIBS_MEDIA
="$GST_LIBS"
37554 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37560 elif test "$wxUSE_MAC" = 1; then
37561 GST_LIBS
="-framework QTKit"
37564 if test $USE_MEDIA = 1; then
37565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37566 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37569 if test "$wxUSE_MEDIACTRL" = "yes"; then
37570 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37573 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37579 if test "$cross_compiling" != "no"; then
37582 OSINFO
=`uname -s -r -m`
37583 OSINFO
="\"$OSINFO\""
37586 cat >>confdefs.h
<<_ACEOF
37587 #define WXWIN_OS_DESCRIPTION $OSINFO
37592 if test "x$prefix" != "xNONE"; then
37595 wxPREFIX
=$ac_default_prefix
37598 cat >>confdefs.h
<<_ACEOF
37599 #define wxINSTALL_PREFIX "$wxPREFIX"
37605 STD_BASE_LIBS
="base"
37607 BUILT_WX_LIBS
="base"
37608 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37610 if test "$wxUSE_SOCKETS" = "yes" ; then
37611 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37612 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37614 if test "$wxUSE_XML" = "yes" ; then
37615 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37616 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37619 if test "$wxUSE_GUI" = "yes"; then
37620 STD_GUI_LIBS
="adv core"
37621 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37623 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37624 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37625 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37627 if test "$wxUSE_HTML" = "yes" ; then
37628 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37629 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37631 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37632 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37634 if test "$wxUSE_OPENGL" = "yes" ; then
37635 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37637 if test "$wxUSE_AUI" = "yes" ; then
37638 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37640 if test "$wxUSE_PROPGRID" = "yes" ; then
37641 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37643 if test "$wxUSE_RIBBON" = "yes" ; then
37644 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37646 if test "$wxUSE_RICHTEXT" = "yes" ; then
37647 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37649 if test "$wxUSE_STC" = "yes" ; then
37650 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37652 if test "$wxUSE_WEBVIEW" = "yes" ; then
37653 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37654 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37656 if test "$wxUSE_XRC" = "yes" ; then
37657 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37658 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37669 if test "$wxUSE_MAC" = 1 ; then
37670 if test "$USE_DARWIN" = 1; then
37671 if test "$wxUSE_OSX_IPHONE" = 1; then
37672 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37674 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37677 if test "$cross_compiling" != "no"; then
37678 wx_cv_target_x86_64
=no
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37681 $as_echo_n "checking if we target only x86_64... " >&6; }
37682 if ${wx_cv_target_x86_64+:} false
; then :
37683 $as_echo_n "(cached) " >&6
37685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37686 /* end confdefs.h. */
37687 int main() { return 0; }
37689 if ac_fn_c_try_link
"$LINENO"; then :
37690 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37691 wx_cv_target_x86_64
=no
37693 wx_cv_target_x86_64
=yes
37697 rm -f core conftest.err conftest.
$ac_objext \
37698 conftest
$ac_exeext conftest.
$ac_ext
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37702 $as_echo "$wx_cv_target_x86_64" >&6; }
37705 if test "$wx_cv_target_x86_64" != "yes"; then
37706 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37711 if test "$wxUSE_OLD_COCOA" = 1 ; then
37712 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37713 if test "$wxUSE_MEDIACTRL" = "yes"; then
37714 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37717 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37718 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37721 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37722 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37724 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37726 if test "$wxUSE_GUI" = "yes"; then
37729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37730 erase event exec font image minimal preferences render \
37731 shaped svg taborder vscroll widgets wrapsizer"
37733 if test "$wxUSE_MONOLITHIC" != "yes"; then
37734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37736 if test "$TOOLKIT" = "MSW"; then
37737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37738 if test "$wxUSE_UNIVERSAL" != "yes"; then
37739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37742 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37746 SAMPLES_SUBDIRS
="console"
37747 if test "$wxUSE_SOCKETS" = "yes" ; then
37748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37750 if test "$wxUSE_IPC" = "yes" ; then
37751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37756 if test "x$INTELCC" = "xyes" ; then
37757 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37758 elif test "$GCC" = yes ; then
37759 CWARNINGS
="-Wall -Wundef"
37762 if test "x$INTELCXX" = "xyes" ; then
37763 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37764 elif test "$GXX" = yes ; then
37765 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37767 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37768 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37769 $as_echo_n "(cached) " >&6
37771 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37774 ac_cpp
='$CXXCPP $CPPFLAGS'
37775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37779 ac_save_CXXFLAGS
="$CXXFLAGS"
37780 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37781 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37783 /* end confdefs.h. */
37793 if ac_fn_cxx_try_compile
"$LINENO"; then :
37794 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37798 CXXFLAGS
="$ac_save_CXXFLAGS"
37800 ac_cpp
='$CPP $CPPFLAGS'
37801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37808 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37809 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37813 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37814 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37815 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37818 test $ac_status = 0; }
37819 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37820 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37823 test $ac_status = 0; }
37824 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37830 if test "$wxUSE_MAC" = 1 ; then
37831 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37836 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37837 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37840 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37841 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37842 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37845 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37846 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37847 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37848 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37849 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37851 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37854 if test "x$MWCC" = "xyes"; then
37856 CC
="$CC -cwd source -I-"
37857 CXX
="$CXX -cwd source -I-"
37862 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37863 EXTRALIBS_XML
="$EXPAT_LINK"
37864 EXTRALIBS_HTML
="$MSPACK_LINK"
37865 EXTRALIBS_MEDIA
="$GST_LIBS"
37866 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37867 if test "$wxUSE_GUI" = "yes"; then
37868 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37870 if test "$wxUSE_OPENGL" = "yes"; then
37871 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37874 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37876 WXCONFIG_LIBS
="$LIBS"
37878 if test "$wxUSE_REGEX" = "builtin" ; then
37879 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37881 if test "$wxUSE_EXPAT" = "builtin" ; then
37882 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37884 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37885 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37887 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37888 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37890 if test "$wxUSE_LIBPNG" = "builtin" ; then
37891 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37893 if test "$wxUSE_ZLIB" = "builtin" ; then
37894 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37897 for i
in $wxconfig_3rdparty ; do
37898 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37902 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37905 case "$wxUNIV_THEMES" in
37907 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37912 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37913 cat >>confdefs.h
<<_ACEOF
37914 #define wxUSE_THEME_$t 1
37930 if test $wxUSE_MONOLITHIC = "yes" ; then
37936 if test $wxUSE_PLUGINS = "yes" ; then
37942 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37948 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37976 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37989 TOOLKIT_DESC
="GTK+"
37990 if test "$WXGTK2" = 1; then
37991 if test "$WXGTK3" = 1; then
37992 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37994 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37996 if test "$wxUSE_GTKPRINT" = "yes" ; then
37997 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37999 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38000 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
38002 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38003 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
38005 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38006 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
38008 if test "$wxUSE_LIBHILDON" = "yes"; then
38009 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38011 if test "$wxUSE_LIBHILDON2" = "yes"; then
38012 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38015 if test "$TOOLKIT_EXTRA" != ""; then
38016 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38022 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
38026 TOOLKIT_DESC
="base only"
38030 if test "$wxUSE_WINE" = "yes"; then
38031 BAKEFILE_FORCE_PLATFORM
=win32
38034 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38037 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38038 if ${wx_cv_gcc_pch_bug+:} false
; then :
38039 $as_echo_n "(cached) " >&6
38042 echo '#include <stdio.h>
38043 const wchar_t test_var[] = L"awidetest";' > conftest.h
38045 echo '#include "conftest.h"
38048 printf("%ls", test_var);
38052 wx_cv_gcc_pch_bug
="pch not supported"
38054 if $CXX conftest.h
>/dev
/null
2>&1
38058 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
38060 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
38061 grep awidetest
>/dev
/null
38063 wx_cv_gcc_pch_bug
=no
38065 wx_cv_gcc_pch_bug
=yes
38070 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
38073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38074 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38076 if test "$wx_cv_gcc_pch_bug" = yes; then
38081 # Find a good install program. We prefer a C program (faster),
38082 # so one script is as good as another. But avoid the broken or
38083 # incompatible versions:
38084 # SysV /etc/install, /usr/sbin/install
38085 # SunOS /usr/etc/install
38086 # IRIX /sbin/install
38088 # AmigaOS /C/install, which installs bootblocks on floppy discs
38089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38092 # OS/2's system install, which has a completely different semantic
38093 # ./install, which can be erroneously created by make from ./install.sh.
38094 # Reject install programs that cannot install multiple files.
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38096 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38097 if test -z "$INSTALL"; then
38098 if ${ac_cv_path_install+:} false
; then :
38099 $as_echo_n "(cached) " >&6
38101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38102 for as_dir
in $PATH
38105 test -z "$as_dir" && as_dir
=.
38106 # Account for people who put trailing slashes in PATH elements.
38107 case $as_dir/ in #((
38108 .
/ | .
// | /[cC
]/* | \
38109 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38110 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38113 # OSF1 and SCO ODT 3.0 have their own names for install.
38114 # Don't use installbsd from OSF since it installs stuff as root
38116 for ac_prog
in ginstall scoinst
install; do
38117 for ac_exec_ext
in '' $ac_executable_extensions; do
38118 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38119 if test $ac_prog = install &&
38120 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38121 # AIX install. It has an incompatible calling convention.
38123 elif test $ac_prog = install &&
38124 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38125 # program-specific install script used by HP pwplus--don't use.
38128 rm -rf conftest.one conftest.two conftest.dir
38129 echo one
> conftest.one
38130 echo two
> conftest.two
38132 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38133 test -s conftest.one
&& test -s conftest.two
&&
38134 test -s conftest.dir
/conftest.one
&&
38135 test -s conftest.dir
/conftest.two
38137 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38150 rm -rf conftest.one conftest.two conftest.dir
38153 if test "${ac_cv_path_install+set}" = set; then
38154 INSTALL
=$ac_cv_path_install
38156 # As a last resort, use the slow shell script. Don't cache a
38157 # value for INSTALL within a source directory, because that will
38158 # break other packages using the cache if that directory is
38159 # removed, or if the value is a relative name.
38160 INSTALL
=$ac_install_sh
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38164 $as_echo "$INSTALL" >&6; }
38166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38167 # It thinks the first close brace ends the variable substitution.
38168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38172 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38180 if test "x$BAKEFILE_HOST" = "x"; then
38181 if test "x${host}" = "x" ; then
38182 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38185 BAKEFILE_HOST
="${host}"
38188 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38190 if test -n "$ac_tool_prefix"; then
38191 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38192 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38194 $as_echo_n "checking for $ac_word... " >&6; }
38195 if ${ac_cv_prog_RANLIB+:} false
; then :
38196 $as_echo_n "(cached) " >&6
38198 if test -n "$RANLIB"; then
38199 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38202 for as_dir
in $PATH
38205 test -z "$as_dir" && as_dir
=.
38206 for ac_exec_ext
in '' $ac_executable_extensions; do
38207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38208 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38218 RANLIB
=$ac_cv_prog_RANLIB
38219 if test -n "$RANLIB"; then
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38221 $as_echo "$RANLIB" >&6; }
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38224 $as_echo "no" >&6; }
38229 if test -z "$ac_cv_prog_RANLIB"; then
38230 ac_ct_RANLIB
=$RANLIB
38231 # Extract the first word of "ranlib", so it can be a program name with args.
38232 set dummy ranlib
; ac_word
=$2
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38234 $as_echo_n "checking for $ac_word... " >&6; }
38235 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38236 $as_echo_n "(cached) " >&6
38238 if test -n "$ac_ct_RANLIB"; then
38239 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38242 for as_dir
in $PATH
38245 test -z "$as_dir" && as_dir
=.
38246 for ac_exec_ext
in '' $ac_executable_extensions; do
38247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38248 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38258 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38259 if test -n "$ac_ct_RANLIB"; then
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38261 $as_echo "$ac_ct_RANLIB" >&6; }
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38264 $as_echo "no" >&6; }
38267 if test "x$ac_ct_RANLIB" = x
; then
38270 case $cross_compiling:$ac_tool_warned in
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38274 ac_tool_warned
=yes ;;
38276 RANLIB
=$ac_ct_RANLIB
38279 RANLIB
="$ac_cv_prog_RANLIB"
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38284 $as_echo_n "checking whether ln -s works... " >&6; }
38286 if test "$LN_S" = "ln -s"; then
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38288 $as_echo "yes" >&6; }
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38291 $as_echo "no, using $LN_S" >&6; }
38295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38298 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38299 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38300 $as_echo_n "(cached) " >&6
38302 cat >conftest.
make <<\_ACEOF
38305 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38309 *@@@
%%%=?
*=@@@
%%%*)
38310 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38312 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38314 rm -f conftest.
make
38316 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38318 $as_echo "yes" >&6; }
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38322 $as_echo "no" >&6; }
38323 SET_MAKE
="MAKE=${MAKE-make}"
38328 if test "x$SUNCXX" = "xyes"; then
38330 AROPTIONS
="-xar -o"
38332 elif test "x$SGICC" = "xyes"; then
38337 if test -n "$ac_tool_prefix"; then
38338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38339 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38341 $as_echo_n "checking for $ac_word... " >&6; }
38342 if ${ac_cv_prog_AR+:} false
; then :
38343 $as_echo_n "(cached) " >&6
38345 if test -n "$AR"; then
38346 ac_cv_prog_AR
="$AR" # Let the user override the test.
38348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38349 for as_dir
in $PATH
38352 test -z "$as_dir" && as_dir
=.
38353 for ac_exec_ext
in '' $ac_executable_extensions; do
38354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38355 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38366 if test -n "$AR"; then
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38368 $as_echo "$AR" >&6; }
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38371 $as_echo "no" >&6; }
38376 if test -z "$ac_cv_prog_AR"; then
38378 # Extract the first word of "ar", so it can be a program name with args.
38379 set dummy
ar; ac_word
=$2
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38381 $as_echo_n "checking for $ac_word... " >&6; }
38382 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38383 $as_echo_n "(cached) " >&6
38385 if test -n "$ac_ct_AR"; then
38386 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38389 for as_dir
in $PATH
38392 test -z "$as_dir" && as_dir
=.
38393 for ac_exec_ext
in '' $ac_executable_extensions; do
38394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38395 ac_cv_prog_ac_ct_AR
="ar"
38396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38405 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38406 if test -n "$ac_ct_AR"; then
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38408 $as_echo "$ac_ct_AR" >&6; }
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38411 $as_echo "no" >&6; }
38414 if test "x$ac_ct_AR" = x
; then
38417 case $cross_compiling:$ac_tool_warned in
38419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38421 ac_tool_warned
=yes ;;
38426 AR
="$ac_cv_prog_AR"
38433 if test -n "$ac_tool_prefix"; then
38434 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38435 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38437 $as_echo_n "checking for $ac_word... " >&6; }
38438 if ${ac_cv_prog_STRIP+:} false
; then :
38439 $as_echo_n "(cached) " >&6
38441 if test -n "$STRIP"; then
38442 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38445 for as_dir
in $PATH
38448 test -z "$as_dir" && as_dir
=.
38449 for ac_exec_ext
in '' $ac_executable_extensions; do
38450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38451 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38461 STRIP
=$ac_cv_prog_STRIP
38462 if test -n "$STRIP"; then
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38464 $as_echo "$STRIP" >&6; }
38466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38467 $as_echo "no" >&6; }
38472 if test -z "$ac_cv_prog_STRIP"; then
38474 # Extract the first word of "strip", so it can be a program name with args.
38475 set dummy strip
; ac_word
=$2
38476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38477 $as_echo_n "checking for $ac_word... " >&6; }
38478 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38479 $as_echo_n "(cached) " >&6
38481 if test -n "$ac_ct_STRIP"; then
38482 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38485 for as_dir
in $PATH
38488 test -z "$as_dir" && as_dir
=.
38489 for ac_exec_ext
in '' $ac_executable_extensions; do
38490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38491 ac_cv_prog_ac_ct_STRIP
="strip"
38492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38501 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38502 if test -n "$ac_ct_STRIP"; then
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38504 $as_echo "$ac_ct_STRIP" >&6; }
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38507 $as_echo "no" >&6; }
38510 if test "x$ac_ct_STRIP" = x
; then
38513 case $cross_compiling:$ac_tool_warned in
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38517 ac_tool_warned
=yes ;;
38522 STRIP
="$ac_cv_prog_STRIP"
38525 if test -n "$ac_tool_prefix"; then
38526 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38527 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38529 $as_echo_n "checking for $ac_word... " >&6; }
38530 if ${ac_cv_prog_NM+:} false
; then :
38531 $as_echo_n "(cached) " >&6
38533 if test -n "$NM"; then
38534 ac_cv_prog_NM
="$NM" # Let the user override the test.
38536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38537 for as_dir
in $PATH
38540 test -z "$as_dir" && as_dir
=.
38541 for ac_exec_ext
in '' $ac_executable_extensions; do
38542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38543 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38554 if test -n "$NM"; then
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38556 $as_echo "$NM" >&6; }
38558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38559 $as_echo "no" >&6; }
38564 if test -z "$ac_cv_prog_NM"; then
38566 # Extract the first word of "nm", so it can be a program name with args.
38567 set dummy nm
; ac_word
=$2
38568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38569 $as_echo_n "checking for $ac_word... " >&6; }
38570 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38571 $as_echo_n "(cached) " >&6
38573 if test -n "$ac_ct_NM"; then
38574 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38577 for as_dir
in $PATH
38580 test -z "$as_dir" && as_dir
=.
38581 for ac_exec_ext
in '' $ac_executable_extensions; do
38582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38583 ac_cv_prog_ac_ct_NM
="nm"
38584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38593 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38594 if test -n "$ac_ct_NM"; then
38595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38596 $as_echo "$ac_ct_NM" >&6; }
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38599 $as_echo "no" >&6; }
38602 if test "x$ac_ct_NM" = x
; then
38605 case $cross_compiling:$ac_tool_warned in
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38609 ac_tool_warned
=yes ;;
38614 NM
="$ac_cv_prog_NM"
38618 INSTALL_DIR
="mkdir -p"
38622 case ${BAKEFILE_HOST} in
38623 *-*-cygwin* | *-*-mingw32* )
38624 LDFLAGS_GUI
="-mwindows"
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38631 $as_echo_n "checking if make is GNU make... " >&6; }
38632 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38633 $as_echo_n "(cached) " >&6
38636 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38637 egrep -s GNU
> /dev
/null
); then
38638 bakefile_cv_prog_makeisgnu
="yes"
38640 bakefile_cv_prog_makeisgnu
="no"
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38645 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38647 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38664 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38665 case "${BAKEFILE_HOST}" in
38672 *-pc-os2_emx | *-pc-os2-emx )
38682 powerpc
-apple-macos* )
38691 case "$BAKEFILE_FORCE_PLATFORM" in
38712 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38727 # Check whether --enable-omf was given.
38728 if test "${enable_omf+set}" = set; then :
38729 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38733 case "${BAKEFILE_HOST}" in
38735 if test "x$GCC" = "xyes"; then
38736 CFLAGS
="$CFLAGS -fno-common"
38737 CXXFLAGS
="$CXXFLAGS -fno-common"
38739 if test "x$XLCC" = "xyes"; then
38740 CFLAGS
="$CFLAGS -qnocommon"
38741 CXXFLAGS
="$CXXFLAGS -qnocommon"
38745 *-pc-os2_emx | *-pc-os2-emx )
38746 if test "x$bk_os2_use_omf" = "xyes" ; then
38749 LDFLAGS
="-Zomf $LDFLAGS"
38750 CFLAGS
="-Zomf $CFLAGS"
38751 CXXFLAGS
="-Zomf $CXXFLAGS"
38759 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38765 SO_SUFFIX_MODULE
="so"
38770 DLLPREFIX_MODULE
=""
38774 case "${BAKEFILE_HOST}" in
38779 SO_SUFFIX_MODULE
="sl"
38783 SO_SUFFIX_MODULE
="a"
38787 SO_SUFFIX_MODULE
="dll"
38788 DLLIMP_SUFFIX
="dll.a"
38795 SO_SUFFIX_MODULE
="dll"
38796 DLLIMP_SUFFIX
="dll.a"
38806 *-pc-os2_emx | *-pc-os2-emx )
38808 SO_SUFFIX_MODULE
="dll"
38809 DLLIMP_SUFFIX
=$OS2_LIBEXT
38813 LIBEXT
=".$OS2_LIBEXT"
38818 SO_SUFFIX_MODULE
="bundle"
38822 if test "x$DLLIMP_SUFFIX" = "x" ; then
38823 DLLIMP_SUFFIX
="$SO_SUFFIX"
38838 if test "x$GCC" = "xyes"; then
38842 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38843 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38846 case "${BAKEFILE_HOST}" in
38848 if test "x$GCC" != "xyes"; then
38849 LDFLAGS
="$LDFLAGS -L/usr/lib"
38851 SHARED_LD_CC
="${CC} -b -o"
38852 SHARED_LD_CXX
="${CXX} -b -o"
38858 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38860 elif test "x$SUNCXX" = "xyes"; then
38861 SHARED_LD_CC
="${CC} -G -o"
38862 SHARED_LD_CXX
="${CXX} -G -o"
38868 if test "x$SUNCXX" = xyes
; then
38869 SHARED_LD_CC
="${CC} -G -o"
38870 SHARED_LD_CXX
="${CXX} -G -o"
38878 cat <<EOF >shared-ld-sh
38880 #-----------------------------------------------------------------------------
38881 #-- Name: distrib/mac/shared-ld-sh
38882 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38883 #-- Author: Gilles Depeyrot
38884 #-- Copyright: (c) 2002 Gilles Depeyrot
38885 #-- Licence: any use permitted
38886 #-----------------------------------------------------------------------------
38891 linking_flag="-dynamiclib"
38892 ldargs="-r -keep_private_externs -nostdlib"
38894 if test "x${D}CXX" = "x"; then
38898 while test ${D}# -gt 0; do
38905 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38906 # collect these options and values
38907 args="${D}{args} ${D}1 ${D}2"
38912 # collect these options and values
38913 ldargs="${D}{ldargs} ${D}1 ${D}2"
38918 # collect these load args
38919 ldargs="${D}{ldargs} ${D}1"
38922 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38923 # collect these options
38924 args="${D}{args} ${D}1"
38927 -dynamiclib|-bundle)
38928 linking_flag="${D}1"
38932 echo "shared-ld: unhandled option '${D}1'"
38936 *.o | *.a | *.dylib)
38937 # collect object files
38938 objects="${D}{objects} ${D}1"
38942 echo "shared-ld: unhandled argument '${D}1'"
38953 # Link one module containing all the others
38955 if test ${D}{verbose} = 1; then
38956 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38958 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38962 # Link the shared library from the single module created, but only if the
38963 # previous command didn't fail:
38965 if test ${D}{status} = 0; then
38966 if test ${D}{verbose} = 1; then
38967 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38969 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38974 # Remove intermediate module
38976 rm -f master.${D}${D}.o
38981 chmod +x shared
-ld-sh
38983 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38984 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38988 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38989 if ${bakefile_cv_gcc31+:} false
; then :
38990 $as_echo_n "(cached) " >&6
38993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38994 /* end confdefs.h. */
39000 #if (__GNUC__ < 3) || \
39001 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39009 if ac_fn_c_try_compile
"$LINENO"; then :
39011 bakefile_cv_gcc31
=yes
39015 bakefile_cv_gcc31
=no
39019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39023 $as_echo "$bakefile_cv_gcc31" >&6; }
39024 if test "$bakefile_cv_gcc31" = "no"; then
39025 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39026 SHARED_LD_CXX
="$SHARED_LD_CC"
39028 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39029 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39032 if test "x$GCC" == "xyes"; then
39033 PIC_FLAG
="-dynamic -fPIC"
39035 if test "x$XLCC" = "xyes"; then
39036 PIC_FLAG
="-dynamic -DPIC"
39041 if test "x$GCC" = "xyes"; then
39044 case "${BAKEFILE_HOST}" in
39046 LD_EXPFULL
="-Wl,-bexpfull"
39050 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
39051 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
39053 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39054 set dummy makeC
++SharedLib
; ac_word
=$2
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39056 $as_echo_n "checking for $ac_word... " >&6; }
39057 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
39058 $as_echo_n "(cached) " >&6
39060 if test -n "$AIX_CXX_LD"; then
39061 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39064 for as_dir
in $PATH
39067 test -z "$as_dir" && as_dir
=.
39068 for ac_exec_ext
in '' $ac_executable_extensions; do
39069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39070 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39078 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39081 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39082 if test -n "$AIX_CXX_LD"; then
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39084 $as_echo "$AIX_CXX_LD" >&6; }
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39087 $as_echo "no" >&6; }
39091 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39092 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39097 SHARED_LD_CC
="${LD} -nostart -o"
39098 SHARED_LD_CXX
="${LD} -nostart -o"
39102 if test "x$GCC" != "xyes"; then
39107 *-*-cygwin* | *-*-mingw32* )
39109 SHARED_LD_CC
="\$(CC) -shared -o"
39110 SHARED_LD_CXX
="\$(CXX) -shared -o"
39114 *-pc-os2_emx | *-pc-os2-emx )
39115 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39116 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39120 cat <<EOF >dllar.sh
39123 # dllar - a tool to build both a .dll and an .a file
39124 # from a set of object (.o) files for EMX/OS2.
39126 # Written by Andrew Zabolotny, bit@freya.etu.ru
39127 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39129 # This script will accept a set of files on the command line.
39130 # All the public symbols from the .o files will be exported into
39131 # a .DEF file, then linker will be run (through gcc) against them to
39132 # build a shared library consisting of all given .o files. All libraries
39133 # (.a) will be first decompressed into component .o files then act as
39134 # described above. You can optionally give a description (-d "description")
39135 # which will be put into .DLL. To see the list of accepted options (as well
39136 # as command-line format) simply run this program without options. The .DLL
39137 # is built to be imported by name (there is no guarantee that new versions
39138 # of the library you build will have same ordinals for same symbols).
39140 # dllar is free software; you can redistribute it and/or modify
39141 # it under the terms of the GNU General Public License as published by
39142 # the Free Software Foundation; either version 2, or (at your option)
39143 # any later version.
39145 # dllar is distributed in the hope that it will be useful,
39146 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39147 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39148 # GNU General Public License for more details.
39150 # You should have received a copy of the GNU General Public License
39151 # along with dllar; see the file COPYING. If not, write to the Free
39152 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39155 # To successfuly run this program you will need:
39156 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39157 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39159 # (used to build the .dll)
39161 # (used to create .def file from .o files)
39163 # (used to create .a file from .def file)
39164 # - GNU text utilites (cat, sort, uniq)
39165 # used to process emxexp output
39166 # - GNU file utilities (mv, rm)
39168 # - lxlite (optional, see flag below)
39169 # (used for general .dll cleanup)
39176 # basnam, variant of basename, which does _not_ remove the path, _iff_
39177 # second argument (suffix to remove) is given
39181 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39184 echo ${D}1 | sed 's/'${D}2'${D}//'
39187 echo "error in basnam ${D}*"
39193 # Cleanup temporary files and output
39196 for i in ${D}inputFiles ; do
39199 rm -rf \`basnam ${D}i !\`
39206 # Kill result in case of failure as there is just to many stupid make/nmake
39207 # things out there which doesn't do this.
39208 if [ ${D}# -eq 0 ]; then
39209 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39213 # Print usage and exit script with rc=1.
39215 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39216 echo ' [-name-mangler-script script.sh]'
39217 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39218 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39219 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39220 echo ' [*.o] [*.a]'
39221 echo '*> "output_file" should have no extension.'
39222 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39223 echo ' The import library name is derived from this and is set to "name".a,'
39224 echo ' unless overridden by -import'
39225 echo '*> "importlib_name" should have no extension.'
39226 echo ' If it has the .o, or .a extension, it is automatically removed.'
39227 echo ' This name is used as the import library name and may be longer and'
39228 echo ' more descriptive than the DLL name which has to follow the old '
39229 echo ' 8.3 convention of FAT.'
39230 echo '*> "script.sh may be given to override the output_file name by a'
39231 echo ' different name. It is mainly useful if the regular make process'
39232 echo ' of some package does not take into account OS/2 restriction of'
39233 echo ' DLL name lengths. It takes the importlib name as input and is'
39234 echo ' supposed to procude a shorter name as output. The script should'
39235 echo ' expect to get importlib_name without extension and should produce'
39236 echo ' a (max.) 8 letter name without extension.'
39237 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39238 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39239 echo ' These flags will be put at the start of GCC command line.'
39240 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39241 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39242 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39243 echo ' If the last character of a symbol is "*", all symbols beginning'
39244 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39245 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39246 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39247 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39248 echo ' C runtime DLLs.'
39249 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39250 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39251 echo ' unchanged to GCC at the end of command line.'
39252 echo '*> If you create a DLL from a library and you do not specify -o,'
39253 echo ' the basename for DLL and import library will be set to library name,'
39254 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39255 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39256 echo ' library will be renamed into gcc_s.a.'
39259 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39260 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39265 # Execute a command.
39266 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39267 # @Uses Whatever CleanUp() uses.
39273 if [ ${D}rcCmd -ne 0 ]; then
39274 echo "command failed, exit code="${D}rcCmd
39289 CFLAGS="-s -Zcrtdll"
39291 EXPORT_BY_ORDINALS=0
39296 case ${D}curDirS in
39300 curDirS=${D}{curDirS}"/"
39303 # Parse commandline
39306 while [ ${D}1 ]; do
39309 EXPORT_BY_ORDINALS=1;
39319 -name-mangler-script)
39340 exclude_symbols=${D}{exclude_symbols}${D}1" "
39344 library_flags=${D}{library_flags}${D}1" "
39363 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39366 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39367 if [ ${D}omfLinking -eq 1 ]; then
39368 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39370 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39375 if [ ${D}libsToLink -ne 0 ]; then
39376 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39378 for file in ${D}1 ; do
39379 if [ -f ${D}file ]; then
39380 inputFiles="${D}{inputFiles} ${D}file"
39384 if [ ${D}found -eq 0 ]; then
39385 echo "ERROR: No file(s) found: "${D}1
39392 done # iterate cmdline words
39395 if [ -z "${D}inputFiles" ]; then
39396 echo "dllar: no input files"
39400 # Now extract all .o files from .a files
39402 for file in ${D}inputFiles ; do
39413 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39418 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39420 if [ ${D}? -ne 0 ]; then
39421 echo "Failed to create subdirectory ./${D}dirname"
39425 # Append '!' to indicate archive
39426 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39427 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39430 for subfile in ${D}dirname/*.o* ; do
39431 if [ -f ${D}subfile ]; then
39433 if [ -s ${D}subfile ]; then
39434 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39435 newInputFiles="${D}newInputFiles ${D}subfile"
39439 if [ ${D}found -eq 0 ]; then
39440 echo "WARNING: there are no files in archive \\'${D}file\\'"
39444 newInputFiles="${D}{newInputFiles} ${D}file"
39448 inputFiles="${D}newInputFiles"
39450 # Output filename(s).
39452 if [ -z ${D}outFile ]; then
39454 set outFile ${D}inputFiles; outFile=${D}2
39457 # If it is an archive, remove the '!' and the '_%' suffixes
39458 case ${D}outFile in
39460 outFile=\`basnam ${D}outFile _%!\`
39465 case ${D}outFile in
39467 outFile=\`basnam ${D}outFile .dll\`
39470 outFile=\`basnam ${D}outFile .DLL\`
39473 outFile=\`basnam ${D}outFile .o\`
39476 outFile=\`basnam ${D}outFile .obj\`
39479 outFile=\`basnam ${D}outFile .a\`
39482 outFile=\`basnam ${D}outFile .lib\`
39487 case ${D}outimpFile in
39489 outimpFile=\`basnam ${D}outimpFile .a\`
39492 outimpFile=\`basnam ${D}outimpFile .lib\`
39497 if [ -z ${D}outimpFile ]; then
39498 outimpFile=${D}outFile
39500 defFile="${D}{outFile}.def"
39501 arcFile="${D}{outimpFile}.a"
39502 arcFile2="${D}{outimpFile}.lib"
39504 #create ${D}dllFile as something matching 8.3 restrictions,
39505 if [ -z ${D}renameScript ] ; then
39506 dllFile="${D}outFile"
39508 dllFile=\`${D}renameScript ${D}outimpFile\`
39511 if [ ${D}do_backup -ne 0 ] ; then
39512 if [ -f ${D}arcFile ] ; then
39513 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39515 if [ -f ${D}arcFile2 ] ; then
39516 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39520 # Extract public symbols from all the object files.
39521 tmpdefFile=${D}{defFile}_%
39522 rm -f ${D}tmpdefFile
39523 for file in ${D}inputFiles ; do
39528 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39533 # Create the def file.
39535 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39536 dllFile="${D}{dllFile}.dll"
39537 if [ ! -z ${D}description ]; then
39538 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39540 echo "EXPORTS" >> ${D}defFile
39542 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39543 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39545 # Checks if the export is ok or not.
39546 for word in ${D}exclude_symbols; do
39547 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39548 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39552 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39553 sed "=" < ${D}tmpdefFile | \\
39557 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39559 ' > ${D}{tmpdefFile}%
39560 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39562 rm -f ${D}{tmpdefFile}%
39564 cat ${D}tmpdefFile >> ${D}defFile
39565 rm -f ${D}tmpdefFile
39567 # Do linking, create implib, and apply lxlite.
39569 for file in ${D}inputFiles ; do
39574 gccCmdl="${D}gccCmdl ${D}file"
39578 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39579 touch "${D}{outFile}.dll"
39581 doCommand "emximp -o ${D}arcFile ${D}defFile"
39582 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39584 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39587 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39589 doCommand "emxomf -s -l ${D}arcFile"
39599 powerpc
-apple-macos* | \
39600 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39610 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39613 if test "x$PIC_FLAG" != "x" ; then
39614 PIC_FLAG
="$PIC_FLAG -DPIC"
39617 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39618 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39620 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39621 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39636 USE_SOTWOSYMLINKS
=0
39640 case "${BAKEFILE_HOST}" in
39641 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39642 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39643 if test "x$SUNCXX" = "xyes"; then
39646 SONAME_FLAG
="-Wl,-soname,"
39650 USE_SOTWOSYMLINKS
=1
39662 USE_SOTWOSYMLINKS
=1
39680 # Check whether --enable-dependency-tracking was given.
39681 if test "${enable_dependency_tracking+set}" = set; then :
39682 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39687 $as_echo_n "checking for dependency tracking method... " >&6; }
39690 if test "x$bk_use_trackdeps" = "xno" ; then
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39693 $as_echo "disabled" >&6; }
39697 if test "x$GCC" = "xyes"; then
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39701 $as_echo "gcc" >&6; }
39702 elif test "x$MWCC" = "xyes"; then
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39706 $as_echo "mwcc" >&6; }
39707 elif test "x$SUNCC" = "xyes"; then
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39711 $as_echo "Sun cc" >&6; }
39712 elif test "x$SGICC" = "xyes"; then
39715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39716 $as_echo "SGI cc" >&6; }
39717 elif test "x$HPCC" = "xyes"; then
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39721 $as_echo "HP cc" >&6; }
39722 elif test "x$COMPAQCC" = "xyes"; then
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39726 $as_echo "Compaq cc" >&6; }
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39730 $as_echo "none" >&6; }
39733 if test $DEPS_TRACKING = 1 ; then
39739 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39740 # script. It is used to track C/C++ files dependencies in portable way.
39742 # Permission is given to use this file in any way.
39744 DEPSMODE=${DEPSMODE}
39745 DEPSFLAG="${DEPSFLAG}"
39748 if test ${D}DEPSMODE = gcc ; then
39749 ${D}* ${D}{DEPSFLAG}
39752 # determine location of created files:
39753 while test ${D}# -gt 0; do
39767 objfilebase=\`basename ${D}objfile\`
39768 builddir=\`dirname ${D}objfile\`
39769 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39770 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39771 depsdir=${D}builddir/${D}DEPSDIRBASE
39772 mkdir -p ${D}depsdir
39774 # if the compiler failed, we're done:
39775 if test ${D}{status} != 0 ; then
39780 # move created file to the location we want it in:
39781 if test -f ${D}depfile ; then
39782 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39785 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39786 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39787 if test ! -f ${D}depfile ; then
39788 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39789 depfile="${D}objfile.d"
39791 if test -f ${D}depfile ; then
39792 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39798 elif test ${D}DEPSMODE = mwcc ; then
39799 ${D}* || exit ${D}?
39800 # Run mwcc again with -MM and redirect into the dep file we want
39801 # NOTE: We can't use shift here because we need ${D}* to be valid
39803 for arg in ${D}* ; do
39804 if test "${D}prevarg" = "-o"; then
39818 objfilebase=\`basename ${D}objfile\`
39819 builddir=\`dirname ${D}objfile\`
39820 depsdir=${D}builddir/${D}DEPSDIRBASE
39821 mkdir -p ${D}depsdir
39823 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39826 elif test ${D}DEPSMODE = unixcc; then
39827 ${D}* || exit ${D}?
39828 # Run compiler again with deps flag and redirect into the dep file.
39829 # It doesn't work if the '-o FILE' option is used, but without it the
39830 # dependency file will contain the wrong name for the object. So it is
39831 # removed from the command line, and the dep file is fixed with sed.
39833 while test ${D}# -gt 0; do
39840 eval arg${D}#=\\${D}1
39841 cmd="${D}cmd \\${D}arg${D}#"
39847 objfilebase=\`basename ${D}objfile\`
39848 builddir=\`dirname ${D}objfile\`
39849 depsdir=${D}builddir/${D}DEPSDIRBASE
39850 mkdir -p ${D}depsdir
39852 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39862 BK_DEPS
="`pwd`/bk-deps"
39870 case ${BAKEFILE_HOST} in
39871 *-*-cygwin* | *-*-mingw32* )
39872 if test -n "$ac_tool_prefix"; then
39873 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39874 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39876 $as_echo_n "checking for $ac_word... " >&6; }
39877 if ${ac_cv_prog_WINDRES+:} false
; then :
39878 $as_echo_n "(cached) " >&6
39880 if test -n "$WINDRES"; then
39881 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39884 for as_dir
in $PATH
39887 test -z "$as_dir" && as_dir
=.
39888 for ac_exec_ext
in '' $ac_executable_extensions; do
39889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39890 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39900 WINDRES
=$ac_cv_prog_WINDRES
39901 if test -n "$WINDRES"; then
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39903 $as_echo "$WINDRES" >&6; }
39905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39906 $as_echo "no" >&6; }
39911 if test -z "$ac_cv_prog_WINDRES"; then
39912 ac_ct_WINDRES
=$WINDRES
39913 # Extract the first word of "windres", so it can be a program name with args.
39914 set dummy windres
; ac_word
=$2
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39916 $as_echo_n "checking for $ac_word... " >&6; }
39917 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39918 $as_echo_n "(cached) " >&6
39920 if test -n "$ac_ct_WINDRES"; then
39921 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39924 for as_dir
in $PATH
39927 test -z "$as_dir" && as_dir
=.
39928 for ac_exec_ext
in '' $ac_executable_extensions; do
39929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39930 ac_cv_prog_ac_ct_WINDRES
="windres"
39931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39940 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39941 if test -n "$ac_ct_WINDRES"; then
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39943 $as_echo "$ac_ct_WINDRES" >&6; }
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39946 $as_echo "no" >&6; }
39949 if test "x$ac_ct_WINDRES" = x
; then
39952 case $cross_compiling:$ac_tool_warned in
39954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39956 ac_tool_warned
=yes ;;
39958 WINDRES
=$ac_ct_WINDRES
39961 WINDRES
="$ac_cv_prog_WINDRES"
39966 *-*-darwin* | powerpc
-apple-macos* )
39967 # Extract the first word of "Rez", so it can be a program name with args.
39968 set dummy Rez
; ac_word
=$2
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39970 $as_echo_n "checking for $ac_word... " >&6; }
39971 if ${ac_cv_prog_REZ+:} false
; then :
39972 $as_echo_n "(cached) " >&6
39974 if test -n "$REZ"; then
39975 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39978 for as_dir
in $PATH
39981 test -z "$as_dir" && as_dir
=.
39982 for ac_exec_ext
in '' $ac_executable_extensions; do
39983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39984 ac_cv_prog_REZ
="Rez"
39985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39992 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39995 REZ
=$ac_cv_prog_REZ
39996 if test -n "$REZ"; then
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39998 $as_echo "$REZ" >&6; }
40000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40001 $as_echo "no" >&6; }
40005 # Extract the first word of "SetFile", so it can be a program name with args.
40006 set dummy SetFile
; ac_word
=$2
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40008 $as_echo_n "checking for $ac_word... " >&6; }
40009 if ${ac_cv_prog_SETFILE+:} false
; then :
40010 $as_echo_n "(cached) " >&6
40012 if test -n "$SETFILE"; then
40013 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40016 for as_dir
in $PATH
40019 test -z "$as_dir" && as_dir
=.
40020 for ac_exec_ext
in '' $ac_executable_extensions; do
40021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40022 ac_cv_prog_SETFILE
="SetFile"
40023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40030 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40033 SETFILE
=$ac_cv_prog_SETFILE
40034 if test -n "$SETFILE"; then
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40036 $as_echo "$SETFILE" >&6; }
40038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40039 $as_echo "no" >&6; }
40054 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
40057 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
40061 # Check whether --enable-precomp-headers was given.
40062 if test "${enable_precomp_headers+set}" = set; then :
40063 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
40072 case ${BAKEFILE_HOST} in
40078 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40079 if test "x$GCC" = "xyes"; then
40080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40081 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40090 There is no PCH support
40093 There is no PCH support
40095 #if (__GNUC__ == 3) && \
40096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40098 ( defined(__INTEL_COMPILER) )
40099 There is no PCH support
40106 if ac_fn_c_try_compile
"$LINENO"; then :
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40109 $as_echo "yes" >&6; }
40114 if test "$INTELCXX8" = "yes"; then
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40116 $as_echo "yes" >&6; }
40118 if test "$INTELCXX10" = "yes"; then
40119 ICC_PCH_CREATE_SWITCH
="-pch-create"
40120 ICC_PCH_USE_SWITCH
="-pch-use"
40122 ICC_PCH_CREATE_SWITCH
="-create-pch"
40123 ICC_PCH_USE_SWITCH
="-use-pch"
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40127 $as_echo "no" >&6; }
40131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40132 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40136 cat <<EOF >bk-make-pch
40139 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40140 # script. It is used to generated precompiled headers.
40142 # Permission is given to use this file in any way.
40149 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40154 while test ${D}{#} -gt 0; do
40158 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40159 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40160 headerfile="${D}{incdir}/${D}{header}"
40163 -use-pch|-use_pch|-pch-use )
40168 if test ${D}add_to_cmdline = 1 ; then
40169 compiler="${D}{compiler} ${D}{1}"
40174 if test "x${D}{headerfile}" = "x" ; then
40175 echo "error: can't find header ${D}{header} in include paths" >&2
40177 if test -f ${D}{outfile} ; then
40178 rm -f ${D}{outfile}
40180 mkdir -p \`dirname ${D}{outfile}\`
40182 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40183 mkdir -p ${D}{builddir}/.deps
40184 if test "x${GCC_PCH}" = "x1" ; then
40185 # can do this because gcc is >= 3.4:
40186 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40187 elif test "x${ICC_PCH}" = "x1" ; then
40188 filename=pch_gen-${D}${D}
40189 file=${D}{filename}.c
40190 dfile=${D}{filename}.d
40191 cat > ${D}file <<EOT
40192 #include "${D}header"
40194 # using -MF icc complains about differing command lines in creation/use
40195 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40196 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40197 rm -f ${D}file ${D}dfile ${D}{filename}.o
40203 chmod +x bk
-make-pch
40204 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40215 COND_BUILD_debug
="#"
40216 if test "x$BUILD" = "xdebug" ; then
40217 COND_BUILD_debug
=""
40220 COND_BUILD_debug_DEBUG_INFO_default
="#"
40221 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40222 COND_BUILD_debug_DEBUG_INFO_default
=""
40225 COND_BUILD_release
="#"
40226 if test "x$BUILD" = "xrelease" ; then
40227 COND_BUILD_release
=""
40230 COND_BUILD_release_DEBUG_INFO_default
="#"
40231 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40232 COND_BUILD_release_DEBUG_INFO_default
=""
40235 COND_DEBUG_FLAG_0
="#"
40236 if test "x$DEBUG_FLAG" = "x0" ; then
40237 COND_DEBUG_FLAG_0
=""
40240 COND_DEBUG_INFO_0
="#"
40241 if test "x$DEBUG_INFO" = "x0" ; then
40242 COND_DEBUG_INFO_0
=""
40245 COND_DEBUG_INFO_1
="#"
40246 if test "x$DEBUG_INFO" = "x1" ; then
40247 COND_DEBUG_INFO_1
=""
40250 COND_DEPS_TRACKING_0
="#"
40251 if test "x$DEPS_TRACKING" = "x0" ; then
40252 COND_DEPS_TRACKING_0
=""
40255 COND_DEPS_TRACKING_1
="#"
40256 if test "x$DEPS_TRACKING" = "x1" ; then
40257 COND_DEPS_TRACKING_1
=""
40261 if test "x$GCC_PCH" = "x1" ; then
40266 if test "x$ICC_PCH" = "x1" ; then
40270 COND_MONOLITHIC_0
="#"
40271 if test "x$MONOLITHIC" = "x0" ; then
40272 COND_MONOLITHIC_0
=""
40275 COND_MONOLITHIC_0_SHARED_0
="#"
40276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40277 COND_MONOLITHIC_0_SHARED_0
=""
40280 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40282 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40285 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40290 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40295 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40297 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40300 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40307 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40310 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40312 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40315 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40317 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40320 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40322 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40325 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40327 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40330 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40332 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40335 COND_MONOLITHIC_0_SHARED_1
="#"
40336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40337 COND_MONOLITHIC_0_SHARED_1
=""
40340 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40342 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40345 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40355 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40357 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40360 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40366 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40370 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40371 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40372 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40375 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40377 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40380 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40382 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40385 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40387 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40390 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40392 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40395 COND_MONOLITHIC_0_USE_AUI_1
="#"
40396 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40397 COND_MONOLITHIC_0_USE_AUI_1
=""
40400 COND_MONOLITHIC_0_USE_GUI_1
="#"
40401 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40402 COND_MONOLITHIC_0_USE_GUI_1
=""
40405 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40406 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40407 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40410 COND_MONOLITHIC_0_USE_HTML_1
="#"
40411 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40412 COND_MONOLITHIC_0_USE_HTML_1
=""
40415 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40416 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40417 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40420 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40421 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40422 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40425 COND_MONOLITHIC_0_USE_QA_1
="#"
40426 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40427 COND_MONOLITHIC_0_USE_QA_1
=""
40430 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40431 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40432 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40435 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40436 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40437 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40440 COND_MONOLITHIC_0_USE_STC_1
="#"
40441 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40442 COND_MONOLITHIC_0_USE_STC_1
=""
40445 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40446 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40447 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40450 COND_MONOLITHIC_0_USE_XRC_1
="#"
40451 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40452 COND_MONOLITHIC_0_USE_XRC_1
=""
40455 COND_MONOLITHIC_1
="#"
40456 if test "x$MONOLITHIC" = "x1" ; then
40457 COND_MONOLITHIC_1
=""
40460 COND_MONOLITHIC_1_SHARED_0
="#"
40461 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40462 COND_MONOLITHIC_1_SHARED_0
=""
40465 COND_MONOLITHIC_1_SHARED_1
="#"
40466 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40467 COND_MONOLITHIC_1_SHARED_1
=""
40470 COND_MONOLITHIC_1_USE_STC_1
="#"
40471 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40472 COND_MONOLITHIC_1_USE_STC_1
=""
40475 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40476 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40477 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40480 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40481 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40482 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40485 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40486 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40487 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40490 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40491 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40492 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40495 COND_PLATFORM_MACOSX_1
="#"
40496 if test "x$PLATFORM_MACOSX" = "x1" ; then
40497 COND_PLATFORM_MACOSX_1
=""
40500 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40502 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40505 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40507 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40510 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40512 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40515 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40516 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40517 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40520 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40521 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40522 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40525 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40526 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40527 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40530 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40532 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40535 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40537 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40540 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40542 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40545 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40547 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40550 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40552 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40555 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40556 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40557 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40560 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40562 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40565 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40567 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40570 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40572 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40575 COND_PLATFORM_MAC_0
="#"
40576 if test "x$PLATFORM_MAC" = "x0" ; then
40577 COND_PLATFORM_MAC_0
=""
40580 COND_PLATFORM_MAC_1
="#"
40581 if test "x$PLATFORM_MAC" = "x1" ; then
40582 COND_PLATFORM_MAC_1
=""
40585 COND_PLATFORM_MSDOS_0
="#"
40586 if test "x$PLATFORM_MSDOS" = "x0" ; then
40587 COND_PLATFORM_MSDOS_0
=""
40590 COND_PLATFORM_MSDOS_1
="#"
40591 if test "x$PLATFORM_MSDOS" = "x1" ; then
40592 COND_PLATFORM_MSDOS_1
=""
40595 COND_PLATFORM_OS2_1
="#"
40596 if test "x$PLATFORM_OS2" = "x1" ; then
40597 COND_PLATFORM_OS2_1
=""
40600 COND_PLATFORM_UNIX_0
="#"
40601 if test "x$PLATFORM_UNIX" = "x0" ; then
40602 COND_PLATFORM_UNIX_0
=""
40605 COND_PLATFORM_UNIX_1
="#"
40606 if test "x$PLATFORM_UNIX" = "x1" ; then
40607 COND_PLATFORM_UNIX_1
=""
40610 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40611 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40612 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40615 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40616 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40617 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40620 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40621 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40622 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40625 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40626 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40627 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40630 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40631 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40632 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40635 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40636 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40637 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40640 COND_PLATFORM_WIN32_0
="#"
40641 if test "x$PLATFORM_WIN32" = "x0" ; then
40642 COND_PLATFORM_WIN32_0
=""
40645 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40646 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40647 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40650 COND_PLATFORM_WIN32_1
="#"
40651 if test "x$PLATFORM_WIN32" = "x1" ; then
40652 COND_PLATFORM_WIN32_1
=""
40655 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40656 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40657 COND_PLATFORM_WIN32_1_SHARED_0
=""
40660 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40661 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40662 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40665 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40666 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40667 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40670 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40671 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40672 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40675 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40676 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40677 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40681 if test "x$SHARED" = "x0" ; then
40685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40686 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40687 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40691 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40692 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40696 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40697 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40701 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40702 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40705 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40706 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40707 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40710 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40711 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40712 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40715 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40716 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40720 COND_SHARED_0_USE_STC_1
="#"
40721 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40722 COND_SHARED_0_USE_STC_1
=""
40725 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40726 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40727 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40730 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40731 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40732 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40735 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40736 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40737 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40741 if test "x$SHARED" = "x1" ; then
40745 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40746 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40747 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40751 if test "x$TOOLKIT" = "x" ; then
40755 COND_TOOLKIT_COCOA
="#"
40756 if test "x$TOOLKIT" = "xCOCOA" ; then
40757 COND_TOOLKIT_COCOA
=""
40760 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40761 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40762 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40765 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40766 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40767 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40770 COND_TOOLKIT_DFB
="#"
40771 if test "x$TOOLKIT" = "xDFB" ; then
40772 COND_TOOLKIT_DFB
=""
40775 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40776 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40777 COND_TOOLKIT_DFB_USE_GUI_1
=""
40780 COND_TOOLKIT_GTK
="#"
40781 if test "x$TOOLKIT" = "xGTK" ; then
40782 COND_TOOLKIT_GTK
=""
40785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40786 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40791 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40796 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40801 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40806 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40810 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40811 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40815 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40816 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40817 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40820 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40821 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40822 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40826 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40827 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40830 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40831 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40832 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40835 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40836 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40837 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40840 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40841 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40842 COND_TOOLKIT_GTK_USE_GUI_1
=""
40845 COND_TOOLKIT_MAC
="#"
40846 if test "x$TOOLKIT" = "xMAC" ; then
40847 COND_TOOLKIT_MAC
=""
40850 COND_TOOLKIT_MOTIF
="#"
40851 if test "x$TOOLKIT" = "xMOTIF" ; then
40852 COND_TOOLKIT_MOTIF
=""
40855 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40856 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40857 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40860 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40861 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40862 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40865 COND_TOOLKIT_MSW
="#"
40866 if test "x$TOOLKIT" = "xMSW" ; then
40867 COND_TOOLKIT_MSW
=""
40870 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40871 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40872 COND_TOOLKIT_MSW_USE_GUI_1
=""
40875 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40876 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40877 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40880 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40881 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40882 COND_TOOLKIT_MSW_WXUNIV_0
=""
40885 COND_TOOLKIT_OSX_CARBON
="#"
40886 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40887 COND_TOOLKIT_OSX_CARBON
=""
40890 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40891 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40892 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40895 COND_TOOLKIT_OSX_COCOA
="#"
40896 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40897 COND_TOOLKIT_OSX_COCOA
=""
40900 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40901 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40902 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40905 COND_TOOLKIT_OSX_IPHONE
="#"
40906 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40907 COND_TOOLKIT_OSX_IPHONE
=""
40910 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40911 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40912 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40915 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40916 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40917 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40920 COND_TOOLKIT_PM
="#"
40921 if test "x$TOOLKIT" = "xPM" ; then
40925 COND_TOOLKIT_PM_USE_GUI_1
="#"
40926 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40927 COND_TOOLKIT_PM_USE_GUI_1
=""
40930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40931 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40935 COND_TOOLKIT_WINCE
="#"
40936 if test "x$TOOLKIT" = "xWINCE" ; then
40937 COND_TOOLKIT_WINCE
=""
40940 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40941 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40942 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40945 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40946 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40947 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40950 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40951 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40952 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40955 COND_TOOLKIT_X11
="#"
40956 if test "x$TOOLKIT" = "xX11" ; then
40957 COND_TOOLKIT_X11
=""
40960 COND_TOOLKIT_X11_USE_GUI_1
="#"
40961 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40962 COND_TOOLKIT_X11_USE_GUI_1
=""
40966 if test "x$UNICODE" = "x1" ; then
40970 COND_USE_CAIRO_1
="#"
40971 if test "x$USE_CAIRO" = "x1" ; then
40972 COND_USE_CAIRO_1
=""
40975 COND_USE_EXCEPTIONS_0
="#"
40976 if test "x$USE_EXCEPTIONS" = "x0" ; then
40977 COND_USE_EXCEPTIONS_0
=""
40980 COND_USE_EXCEPTIONS_1
="#"
40981 if test "x$USE_EXCEPTIONS" = "x1" ; then
40982 COND_USE_EXCEPTIONS_1
=""
40986 if test "x$USE_GUI" = "x0" ; then
40991 if test "x$USE_GUI" = "x1" ; then
40995 COND_USE_GUI_1_USE_OPENGL_1
="#"
40996 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40997 COND_USE_GUI_1_USE_OPENGL_1
=""
41000 COND_USE_GUI_1_WXUNIV_0
="#"
41001 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41002 COND_USE_GUI_1_WXUNIV_0
=""
41005 COND_USE_GUI_1_WXUNIV_1
="#"
41006 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41007 COND_USE_GUI_1_WXUNIV_1
=""
41010 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
41011 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41012 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
41015 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
41016 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41017 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
41020 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
41021 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41022 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
41025 COND_USE_OPENGL_1
="#"
41026 if test "x$USE_OPENGL" = "x1" ; then
41027 COND_USE_OPENGL_1
=""
41031 if test "x$USE_PCH" = "x1" ; then
41035 COND_USE_PLUGINS_0
="#"
41036 if test "x$USE_PLUGINS" = "x0" ; then
41037 COND_USE_PLUGINS_0
=""
41040 COND_USE_RTTI_0
="#"
41041 if test "x$USE_RTTI" = "x0" ; then
41045 COND_USE_RTTI_1
="#"
41046 if test "x$USE_RTTI" = "x1" ; then
41050 COND_USE_SOTWOSYMLINKS_1
="#"
41051 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41052 COND_USE_SOTWOSYMLINKS_1
=""
41055 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41056 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41057 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41060 COND_USE_SOVERLINUX_1
="#"
41061 if test "x$USE_SOVERLINUX" = "x1" ; then
41062 COND_USE_SOVERLINUX_1
=""
41065 COND_USE_SOVERSION_0
="#"
41066 if test "x$USE_SOVERSION" = "x0" ; then
41067 COND_USE_SOVERSION_0
=""
41070 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41071 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41072 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41075 COND_USE_SOVERSOLARIS_1
="#"
41076 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41077 COND_USE_SOVERSOLARIS_1
=""
41081 if test "x$USE_STC" = "x1" ; then
41085 COND_USE_THREADS_0
="#"
41086 if test "x$USE_THREADS" = "x0" ; then
41087 COND_USE_THREADS_0
=""
41090 COND_USE_THREADS_1
="#"
41091 if test "x$USE_THREADS" = "x1" ; then
41092 COND_USE_THREADS_1
=""
41096 if test "x$USE_XRC" = "x1" ; then
41100 COND_WINDOWS_IMPLIB_1
="#"
41101 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41102 COND_WINDOWS_IMPLIB_1
=""
41105 COND_WITH_PLUGIN_SDL_1
="#"
41106 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41107 COND_WITH_PLUGIN_SDL_1
=""
41111 if test "x$WXUNIV" = "x0" ; then
41116 if test "x$WXUNIV" = "x1" ; then
41120 COND_wxUSE_EXPAT_builtin
="#"
41121 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41122 COND_wxUSE_EXPAT_builtin
=""
41125 COND_wxUSE_LIBJPEG_builtin
="#"
41126 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41127 COND_wxUSE_LIBJPEG_builtin
=""
41130 COND_wxUSE_LIBPNG_builtin
="#"
41131 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41132 COND_wxUSE_LIBPNG_builtin
=""
41135 COND_wxUSE_LIBTIFF_builtin
="#"
41136 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41137 COND_wxUSE_LIBTIFF_builtin
=""
41140 COND_wxUSE_REGEX_builtin
="#"
41141 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41142 COND_wxUSE_REGEX_builtin
=""
41145 COND_wxUSE_ZLIB_builtin
="#"
41146 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41147 COND_wxUSE_ZLIB_builtin
=""
41152 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41153 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
41156 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41157 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
41164 ?
:* ) # Drive letter, considered as absolute.
41167 INSTALL
=`pwd`/${INSTALL} ;;
41170 if test "$wxUSE_GUI" = "yes"; then
41172 if test "$wxUSE_MSW" = 1 ; then
41173 if test "x$WINDRES" = "x"; then
41174 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41180 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41181 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41182 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41184 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41186 # Extract the first word of "DeRez", so it can be a program name with args.
41187 set dummy DeRez
; ac_word
=$2
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41189 $as_echo_n "checking for $ac_word... " >&6; }
41190 if ${ac_cv_prog_DEREZ+:} false
; then :
41191 $as_echo_n "(cached) " >&6
41193 if test -n "$DEREZ"; then
41194 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41197 for as_dir
in $PATH
41200 test -z "$as_dir" && as_dir
=.
41201 for ac_exec_ext
in '' $ac_executable_extensions; do
41202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41203 ac_cv_prog_DEREZ
="DeRez"
41204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41211 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41214 DEREZ
=$ac_cv_prog_DEREZ
41215 if test -n "$DEREZ"; then
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41217 $as_echo "$DEREZ" >&6; }
41219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41220 $as_echo "no" >&6; }
41225 MACSETFILE
="\$(SETFILE)"
41227 if test "$wxUSE_OSX_CARBON" = 1; then
41228 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41230 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41232 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41233 RESCOMP
="cat /dev/null \| $REZ"
41234 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41240 if test "$wxUSE_PM" = 1; then
41242 WXCONFIG_RESFLAGS
="-ep"
41244 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41246 POSTLINK_COMMAND
="@true"
41253 if test $GCC_PCH = 1
41255 if test "$wx_cv_gcc_pch_bug" = yes; then
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41257 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41259 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41261 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41264 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41265 # the headers that benefit from precompilation are mostly C++ headers.
41266 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41267 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41268 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41272 if test "$wxUSE_MAC" = 1 ; then
41273 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41274 if test "x$disable_macosx_deps" = "xyes"; then
41275 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41282 if test "$wxUSE_SHARED" = "yes"; then
41284 *-pc-os2_emx | *-pc-os2-emx )
41285 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41286 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41287 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41288 cp -p ${srcdir}/src
/os
2/dllar.sh .
41292 if test "$wxUSE_OMF" = "yes"; then
41294 *-pc-os2_emx | *-pc-os2-emx )
41295 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41296 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41297 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41302 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41307 if test "$GCC" = yes; then
41308 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41309 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41310 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41315 if test "x$SUNCXX" = xyes
; then
41316 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41317 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41318 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41323 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41324 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41325 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41326 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41328 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41388 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41389 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41390 $as_echo_n "(cached) " >&6
41392 cat >conftest.
make <<\_ACEOF
41395 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41399 *@@@
%%%=?
*=@@@
%%%*)
41400 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41402 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41404 rm -f conftest.
make
41406 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41408 $as_echo "yes" >&6; }
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41412 $as_echo "no" >&6; }
41413 SET_MAKE
="MAKE=${MAKE-make}"
41418 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41421 if test "$USE_WIN32" = 1; then
41422 ac_config_commands
="$ac_config_commands rcdefs.h"
41426 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41429 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41432 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41435 if test "$wx_cv_version_script" = "yes"; then
41436 ac_config_files
="$ac_config_files version-script"
41439 ac_config_files
="$ac_config_files Makefile"
41442 ac_config_commands
="$ac_config_commands wx-config"
41446 if test "$wxWITH_SUBDIRS" != "no"; then
41447 if test "$wxUSE_GUI" = "yes"; then
41448 SUBDIRS
="samples demos utils"
41450 SUBDIRS
="samples utils"
41455 # Check whether --with-cppunit-prefix was given.
41456 if test "${with_cppunit_prefix+set}" = set; then :
41457 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41459 cppunit_config_prefix
=""
41463 # Check whether --with-cppunit-exec-prefix was given.
41464 if test "${with_cppunit_exec_prefix+set}" = set; then :
41465 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41467 cppunit_config_exec_prefix
=""
41471 if test x
$cppunit_config_exec_prefix != x
; then
41472 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41473 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41474 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41477 if test x
$cppunit_config_prefix != x
; then
41478 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41479 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41480 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41484 # Extract the first word of "cppunit-config", so it can be a program name with args.
41485 set dummy cppunit
-config; ac_word
=$2
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41487 $as_echo_n "checking for $ac_word... " >&6; }
41488 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41489 $as_echo_n "(cached) " >&6
41491 case $CPPUNIT_CONFIG in
41493 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41497 for as_dir
in $PATH
41500 test -z "$as_dir" && as_dir
=.
41501 for ac_exec_ext
in '' $ac_executable_extensions; do
41502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41503 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41511 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41515 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41516 if test -n "$CPPUNIT_CONFIG"; then
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41518 $as_echo "$CPPUNIT_CONFIG" >&6; }
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41521 $as_echo "no" >&6; }
41525 cppunit_version_min
=1.8.0
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41528 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41530 if test "$CPPUNIT_CONFIG" = "no" ; then
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41532 $as_echo "no" >&6; }
41535 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41536 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41537 cppunit_version
=`$CPPUNIT_CONFIG --version`
41539 cppunit_major_version
=`echo $cppunit_version | \
41540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41541 cppunit_minor_version
=`echo $cppunit_version | \
41542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41543 cppunit_micro_version
=`echo $cppunit_version | \
41544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41546 cppunit_major_min
=`echo $cppunit_version_min | \
41547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41548 cppunit_minor_min
=`echo $cppunit_version_min | \
41549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41550 cppunit_micro_min
=`echo $cppunit_version_min | \
41551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41553 cppunit_version_proper
=`expr \
41554 $cppunit_major_version \> $cppunit_major_min \| \
41555 $cppunit_major_version \= $cppunit_major_min \& \
41556 $cppunit_minor_version \> $cppunit_minor_min \| \
41557 $cppunit_major_version \= $cppunit_major_min \& \
41558 $cppunit_minor_version \= $cppunit_minor_min \& \
41559 $cppunit_micro_version \>= $cppunit_micro_min `
41561 if test "$cppunit_version_proper" = "1" ; then
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41563 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41566 $as_echo "no" >&6; }
41571 if test "x$no_cppunit" = x
; then
41572 SUBDIRS
="$SUBDIRS tests"
41583 for subdir
in $SUBDIRS; do
41584 if test -d ${srcdir}/${subdir} ; then
41585 if test "$wxUSE_GUI" = "yes"; then
41586 if test ${subdir} = "samples"; then
41587 makefiles
="samples/Makefile.in $makefiles"
41588 for sample
in $SAMPLES_SUBDIRS; do
41589 if test -d $srcdir/samples
/$sample; then
41590 makefiles
="samples/$sample/Makefile.in $makefiles"
41594 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41595 eval "disabled=\$$disabled_var"
41596 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41597 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41600 if test ${subdir} = "samples"; then
41601 makefiles
="samples/Makefile.in $makefiles"
41602 for sample
in `echo $SAMPLES_SUBDIRS`; do
41603 if test -d $srcdir/samples
/$sample; then
41604 makefiles
="samples/$sample/Makefile.in $makefiles"
41607 elif test ${subdir} = "utils"; then
41609 for util
in ifacecheck
; do
41610 if test -d $srcdir/utils
/$util ; then
41611 makefiles
="utils/$util/src/Makefile.in \
41616 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41620 for mkin
in $makefiles ; do
41621 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41622 ac_config_files
="$ac_config_files $mk"
41628 cat >confcache
<<\_ACEOF
41629 # This file is a shell script that caches the results of configure
41630 # tests run on this system so they can be shared between configure
41631 # scripts and configure runs, see configure's option --config-cache.
41632 # It is not useful on other systems. If it contains results you don't
41633 # want to keep, you may remove or edit it.
41635 # config.status only pays attention to the cache file if you give it
41636 # the --recheck option to rerun configure.
41638 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41639 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41640 # following values.
41644 # The following way of writing the cache mishandles newlines in values,
41645 # but we know of no workaround that is simple, portable, and efficient.
41646 # So, we kill variables containing newlines.
41647 # Ultrix sh set writes to stderr and can't be redirected directly,
41648 # and sets the high bit in the cache file unless we assign to the vars.
41650 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41651 eval ac_val
=\$
$ac_var
41655 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41656 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41659 _
| IFS
| as_nl
) ;; #(
41660 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41661 *) { eval $ac_var=; unset $ac_var;} ;;
41667 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41668 *${as_nl}ac_space
=\
*)
41669 # `set' does not quote correctly, so add quotes: double-quote
41670 # substitution turns \\\\ into \\, and sed turns \\ into \.
41673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41676 # `set' quotes correctly as required by POSIX, so do not add quotes.
41677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41688 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41690 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41691 if test -w "$cache_file"; then
41692 if test "x$cache_file" != "x/dev/null"; then
41693 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41694 $as_echo "$as_me: updating cache $cache_file" >&6;}
41695 if test ! -f "$cache_file" || test -h "$cache_file"; then
41696 cat confcache
>"$cache_file"
41698 case $cache_file in #(
41700 mv -f confcache
"$cache_file"$$
&&
41701 mv -f "$cache_file"$$
"$cache_file" ;; #(
41703 mv -f confcache
"$cache_file" ;;
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41709 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41714 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41715 # Let make expand exec_prefix.
41716 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41718 DEFS
=-DHAVE_CONFIG_H
41723 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41724 # 1. Remove the extension, and $U if already installed.
41725 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41726 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41727 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41728 # will be set to the directory where LIBOBJS objects are built.
41729 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41730 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41732 LIBOBJS
=$ac_libobjs
41734 LTLIBOBJS
=$ac_ltlibobjs
41738 : "${CONFIG_STATUS=./config.status}"
41740 ac_clean_files_save
=$ac_clean_files
41741 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41743 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41745 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41747 # Generated by $as_me.
41748 # Run this file to recreate the current configuration.
41749 # Compiler output produced by configure, useful for debugging
41750 # configure, is in config.log if it exists.
41753 ac_cs_recheck=false
41756 SHELL=\${CONFIG_SHELL-$SHELL}
41759 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41760 ## -------------------- ##
41761 ## M4sh Initialization. ##
41762 ## -------------------- ##
41764 # Be more Bourne compatible
41765 DUALCASE
=1; export DUALCASE
# for MKS sh
41766 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41769 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41770 # is contrary to our usage. Disable this feature.
41771 alias -g '${1+"$@"}'='"$@"'
41772 setopt NO_GLOB_SUBST
41774 case `(set -o) 2>/dev/null` in #(
41786 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41787 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41789 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41790 # Prefer a ksh shell builtin over an external printf program on Solaris,
41791 # but without wasting forks for bash or zsh.
41792 if test -z "$BASH_VERSION$ZSH_VERSION" \
41793 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41794 as_echo='print
-r --'
41795 as_echo_n='print
-rn --'
41796 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41797 as_echo='printf %s
\n'
41798 as_echo_n='printf %s
'
41800 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41801 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41802 as_echo_n='/usr
/ucb
/echo -n'
41804 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41805 as_echo_n_body='eval
41809 expr "X$arg" : "X\\(.*\\)$as_nl";
41810 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41812 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41814 export as_echo_n_body
41815 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41817 export as_echo_body
41818 as_echo='sh
-c $as_echo_body as_echo
'
41821 # The user is always right.
41822 if test "${PATH_SEPARATOR+set}" != set; then
41824 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41825 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41832 # We need space, tab and new line, in precisely that order. Quoting is
41833 # there to prevent editors from complaining about space-tab.
41834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41835 # splitting by setting IFS to empty value.)
41838 # Find who we are. Look in the path if we contain no directory separator.
41841 *[\\/]* ) as_myself=$0 ;;
41842 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41843 for as_dir in $PATH
41846 test -z "$as_dir" && as_dir=.
41847 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41853 # We did not find ourselves, most probably we were run as `sh COMMAND'
41854 # in which case we are not to be found in the path.
41855 if test "x$as_myself" = x
; then
41858 if test ! -f "$as_myself"; then
41859 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41863 # Unset variables that we do not need and which cause bugs (e.g. in
41864 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41865 # suppresses any "Segmentation fault" message there. '((' could
41866 # trigger a bug in pdksh 5.2.14.
41867 for as_var
in BASH_ENV ENV MAIL MAILPATH
41868 do eval test x\
${$as_var+set} = xset \
41869 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41882 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41885 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41886 # ----------------------------------------
41887 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41888 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41889 # script with STATUS, using 1 if that was 0.
41892 as_status
=$1; test $as_status -eq 0 && as_status
=1
41894 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41895 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41897 $as_echo "$as_me: error: $2" >&2
41898 as_fn_exit
$as_status
41902 # as_fn_set_status STATUS
41903 # -----------------------
41904 # Set $? to STATUS, without forking.
41905 as_fn_set_status
()
41908 } # as_fn_set_status
41910 # as_fn_exit STATUS
41911 # -----------------
41912 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41916 as_fn_set_status
$1
41922 # Portably unset VAR.
41925 { eval $1=; unset $1;}
41927 as_unset
=as_fn_unset
41928 # as_fn_append VAR VALUE
41929 # ----------------------
41930 # Append the text in VALUE to the end of the definition contained in VAR. Take
41931 # advantage of any shell optimizations that allow amortized linear growth over
41932 # repeated appends, instead of the typical quadratic growth present in naive
41934 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41935 eval 'as_fn_append ()
41946 # as_fn_arith ARG...
41947 # ------------------
41948 # Perform arithmetic evaluation on the ARGs, and store the result in the
41949 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41950 # must be portable across $(()) and expr.
41951 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41952 eval 'as_fn_arith ()
41959 as_val
=`expr "$@" || test $? -eq 1`
41964 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41965 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41971 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41972 as_basename
=basename
41977 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41983 as_me
=`$as_basename -- "$0" ||
41984 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41985 X"$0" : 'X\(//\)$' \| \
41986 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41988 sed '/^.*\/\([^/][^/]*\)\/*$/{
42002 # Avoid depending upon Character Ranges.
42003 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42004 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42005 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42006 as_cr_digits
='0123456789'
42007 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42009 ECHO_C
= ECHO_N
= ECHO_T
=
42010 case `echo -n x` in #(((((
42012 case `echo 'xy\c'` in
42013 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42015 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42022 rm -f conf$$ conf$$.exe conf$$.
file
42023 if test -d conf$$.dir
; then
42024 rm -f conf$$.dir
/conf$$.
file
42027 mkdir conf$$.dir
2>/dev
/null
42029 if (echo >conf$$.
file) 2>/dev
/null
; then
42030 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42032 # ... but there are two gotchas:
42033 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42034 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42035 # In both cases, we have to default to `cp -pR'.
42036 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42038 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42046 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42047 rmdir conf$$.dir
2>/dev
/null
42052 # Create "$as_dir" as a directory, including parents if necessary.
42057 -*) as_dir
=.
/$as_dir;;
42059 test -d "$as_dir" || eval $as_mkdir_p || {
42063 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42064 *) as_qdir
=$as_dir;;
42066 as_dirs
="'$as_qdir' $as_dirs"
42067 as_dir
=`$as_dirname -- "$as_dir" ||
42068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42069 X"$as_dir" : 'X\(//\)[^/]' \| \
42070 X"$as_dir" : 'X\(//\)$' \| \
42071 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42072 $as_echo X"$as_dir" |
42073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42077 /^X\(\/\/\)[^/].*/{
42090 test -d "$as_dir" && break
42092 test -z "$as_dirs" || eval "mkdir $as_dirs"
42093 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42097 if mkdir -p .
2>/dev
/null
; then
42098 as_mkdir_p
='mkdir -p "$as_dir"'
42100 test -d .
/-p && rmdir .
/-p
42105 # as_fn_executable_p FILE
42106 # -----------------------
42107 # Test if FILE is an executable regular file.
42108 as_fn_executable_p
()
42110 test -f "$1" && test -x "$1"
42111 } # as_fn_executable_p
42112 as_test_x
='test -x'
42113 as_executable_p
=as_fn_executable_p
42115 # Sed expression to map a string onto a valid CPP name.
42116 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42118 # Sed expression to map a string onto a valid variable name.
42119 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42123 ## ----------------------------------- ##
42124 ## Main body of $CONFIG_STATUS script. ##
42125 ## ----------------------------------- ##
42127 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42129 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42130 # Save the log message, to keep $0 and so on meaningful, and to
42131 # report actual input values of CONFIG_FILES etc. instead of their
42132 # values after options handling.
42134 This file was extended by wxWidgets $as_me 2.9.5, which was
42135 generated by GNU Autoconf 2.69. Invocation command line was
42137 CONFIG_FILES = $CONFIG_FILES
42138 CONFIG_HEADERS = $CONFIG_HEADERS
42139 CONFIG_LINKS = $CONFIG_LINKS
42140 CONFIG_COMMANDS = $CONFIG_COMMANDS
42143 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42148 case $ac_config_files in *"
42149 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42152 case $ac_config_headers in *"
42153 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42158 # Files that config.status was made for.
42159 config_files="$ac_config_files"
42160 config_headers="$ac_config_headers"
42161 config_commands="$ac_config_commands"
42165 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42167 \`$as_me' instantiates files and other configuration actions
42168 from templates according to the current configuration. Unless the files
42169 and actions are specified as TAGs, all are instantiated by default.
42171 Usage: $0 [OPTION]... [TAG]...
42173 -h, --help print this help, then exit
42174 -V, --version print version number and configuration settings, then exit
42175 --config print configuration, then exit
42176 -q, --quiet, --silent
42177 do not print progress messages
42178 -d, --debug don't remove temporary files
42179 --recheck update $as_me by reconfiguring in the same conditions
42180 --file=FILE[:TEMPLATE]
42181 instantiate the configuration file FILE
42182 --header=FILE[:TEMPLATE]
42183 instantiate the configuration header FILE
42185 Configuration files:
42188 Configuration headers:
42191 Configuration commands:
42194 Report bugs to <wx-dev@lists.wxwidgets.org>."
42197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42198 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42200 wxWidgets config.status 2.9.5
42201 configured by $0, generated by GNU Autoconf 2.69,
42202 with options \\"\$ac_cs_config\\"
42204 Copyright (C) 2012 Free Software Foundation, Inc.
42205 This config.status script is free software; the Free Software Foundation
42206 gives unlimited permission to copy, distribute and modify it."
42211 test -n "\$AWK" || AWK=awk
42214 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42215 # The default lists apply if the user does not specify any file.
42221 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42222 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42226 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42238 # Handling of the options.
42239 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42241 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42242 $as_echo "$ac_cs_version"; exit ;;
42243 --config | --confi | --conf | --con | --co | --c )
42244 $as_echo "$ac_cs_config"; exit ;;
42245 --debug | --debu | --deb | --de | --d | -d )
42247 --file | --fil | --fi | --f )
42250 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42251 '') as_fn_error $?
"missing file argument" ;;
42253 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42254 ac_need_defaults
=false
;;
42255 --header | --heade | --head | --hea )
42258 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42260 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42261 ac_need_defaults
=false
;;
42263 # Conflict between --help and --header
42264 as_fn_error $?
"ambiguous option: \`$1'
42265 Try \`$0 --help' for more information.";;
42266 --help | --hel | -h )
42267 $as_echo "$ac_cs_usage"; exit ;;
42268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42269 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42272 # This is an error.
42273 -*) as_fn_error $?
"unrecognized option: \`$1'
42274 Try \`$0 --help' for more information." ;;
42276 *) as_fn_append ac_config_targets
" $1"
42277 ac_need_defaults
=false
;;
42283 ac_configure_extra_args
=
42285 if $ac_cs_silent; then
42287 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42292 if \$ac_cs_recheck; then
42293 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42295 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42296 CONFIG_SHELL='$SHELL'
42297 export CONFIG_SHELL
42302 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42307 ## Running $as_me. ##
42313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42319 infile="$srcdir/include/wx/msw/genrcdefs.h"
42320 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42323 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42324 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42325 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42331 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42333 # Handling of arguments.
42334 for ac_config_target
in $ac_config_targets
42336 case $ac_config_target in
42337 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42338 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42339 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42340 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42341 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42342 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42343 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42344 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42345 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42347 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42352 # If the user did not use the arguments to specify the items to instantiate,
42353 # then the envvar interface is used. Set only those that are not.
42354 # We use the long form for the default assignment because of an extremely
42355 # bizarre bug on SunOS 4.1.3.
42356 if $ac_need_defaults; then
42357 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42358 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42359 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42362 # Have a temporary directory for convenience. Make it in the build tree
42363 # simply because there is no reason against having it here, and in addition,
42364 # creating and moving files from /tmp can sometimes cause problems.
42365 # Hook for its removal unless debugging.
42366 # Note that there is a small window in which the directory will not be cleaned:
42367 # after its creation but before its name has been assigned to `$tmp'.
42371 trap 'exit_status=$?
42372 : "${ac_tmp:=$tmp}"
42373 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42375 trap 'as_fn_exit 1' 1 2 13 15
42377 # Create a (secure) tmp directory for tmp files.
42380 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42384 tmp
=.
/conf$$
-$RANDOM
42385 (umask 077 && mkdir "$tmp")
42386 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42389 # Set up the scripts for CONFIG_FILES section.
42390 # No need to generate them if there are no CONFIG_FILES.
42391 # This happens for instance with `./config.status config.h'.
42392 if test -n "$CONFIG_FILES"; then
42395 ac_cr
=`echo X | tr X '\015'`
42396 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42397 # But we know of no other shell where ac_cr would be empty at this
42398 # point, so we can use a bashism as a fallback.
42399 if test "x$ac_cr" = x
; then
42400 eval ac_cr
=\$
\'\\r
\'
42402 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42403 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42406 ac_cs_awk_cr
=$ac_cr
42409 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42414 echo "cat >conf$$subs.awk <<_ACEOF" &&
42415 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42417 } >conf$$subs.sh ||
42418 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42419 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42421 for ac_last_try in false false false false false :; do
42422 . ./conf$$subs.sh ||
42423 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42425 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42426 if test $ac_delim_n = $ac_delim_num; then
42428 elif $ac_last_try; then
42429 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42431 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42434 rm -f conf$$subs.sh
42436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42437 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42441 s/^/S["/; s
/!.
*/"]=/
42451 s/\(.\{148\}\)..*/\1/
42453 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42465 s/\(.\{148\}\)..*/\1/
42467 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42471 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42476 ' <conf$$subs.awk | sed '
42481 ' >>$CONFIG_STATUS || ac_write_fail=1
42482 rm -f conf$$subs.awk
42483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42485 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42486 for (key in S) S_is_set[key] = 1
42492 nfields = split(line, field, "@
")
42494 len = length(field[1])
42495 for (i = 2; i < nfields; i++) {
42497 keylen = length(key)
42498 if (S_is_set[key]) {
42500 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42501 len += length(value) + length(field[++i])
42512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42513 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42514 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42517 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42518 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42521 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42522 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42523 # trailing colons and then remove the whole line if VPATH becomes empty
42524 # (actually we leave an empty line to preserve line numbers).
42525 if test "x
$srcdir" = x.; then
42526 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42545 fi # test -n "$CONFIG_FILES"
42547 # Set up the scripts for CONFIG_HEADERS section.
42548 # No need to generate them if there are no CONFIG_HEADERS.
42549 # This happens for instance with `./config.status Makefile'.
42550 if test -n "$CONFIG_HEADERS"; then
42551 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42555 # Transform confdefs.h into an awk script `defines.awk', embedded as
42556 # here-document in config.status, that substitutes the proper values into
42557 # config.h.in to produce config.h.
42559 # Create a delimiter string that does not exist in confdefs.h, to ease
42560 # handling of long lines.
42562 for ac_last_try in false false :; do
42563 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42564 if test -z "$ac_tt"; then
42566 elif $ac_last_try; then
42567 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42569 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42573 # For the awk script, D is an array of macro values keyed by name,
42574 # likewise P contains macro parameters if any. Preserve backslash
42575 # newline sequences.
42577 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42579 s/.\{148\}/&'"$ac_delim"'/g
42582 s/^[ ]*#[ ]*define[ ][ ]*/ /
42589 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42591 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42595 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42596 D["\
1"]=" \
3\\\\\\n
"\\/p
42598 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42603 s/.\{148\}/&'"$ac_delim"'/g
42608 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42611 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42613 ' <confdefs.h | sed '
42614 s/'"$ac_delim"'/"\\\
42615 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42618 for (key in D) D_is_set[key] = 1
42621 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42623 split(line, arg, " ")
42624 if (arg[1] == "#") {
42628 defundef
= substr
(arg
[1], 2)
42631 split(mac1
, mac2
, "(") #)
42633 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42634 if (D_is_set
[macro
]) {
42635 # Preserve the white space surrounding the "#".
42636 print prefix
"define", macro P
[macro
] D
[macro
]
42639 # Replace #undef with comments. This is necessary, for example,
42640 # in the case of _POSIX_SOURCE, which is predefined and required
42641 # on some systems where configure will not decide to define it.
42642 if (defundef
== "undef") {
42643 print
"/*", prefix defundef
, macro
, "*/"
42651 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42652 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42653 fi # test -n "$CONFIG_HEADERS"
42656 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42661 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42663 case $ac_mode$ac_tag in
42665 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42666 :[FH
]-) ac_tag
=-:-;;
42667 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42684 -) ac_f
="$ac_tmp/stdin";;
42685 *) # Look for the file first in the build tree, then in the source tree
42686 # (if the path is not absolute). The absolute path cannot be DOS-style,
42687 # because $ac_f cannot contain `:'.
42691 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42693 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42695 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42696 as_fn_append ac_file_inputs
" '$ac_f'"
42699 # Let's still pretend it is `configure' which instantiates (i.e., don't
42700 # use $as_me), people would be surprised to read:
42701 # /* config.h. Generated by config.status. */
42702 configure_input
='Generated from '`
42703 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42705 if test x
"$ac_file" != x
-; then
42706 configure_input
="$ac_file. $configure_input"
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42708 $as_echo "$as_me: creating $ac_file" >&6;}
42710 # Neutralize special characters interpreted by sed in replacement strings.
42711 case $configure_input in #(
42712 *\
&* | *\
|* | *\\* )
42713 ac_sed_conf_input
=`$as_echo "$configure_input" |
42714 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42715 *) ac_sed_conf_input
=$configure_input;;
42719 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42720 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42725 ac_dir
=`$as_dirname -- "$ac_file" ||
42726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42727 X"$ac_file" : 'X\(//\)[^/]' \| \
42728 X"$ac_file" : 'X\(//\)$' \| \
42729 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42730 $as_echo X"$ac_file" |
42731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42735 /^X\(\/\/\)[^/].*/{
42748 as_dir
="$ac_dir"; as_fn_mkdir_p
42752 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42754 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42755 # A ".." for each directory in $ac_dir_suffix.
42756 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42757 case $ac_top_builddir_sub in
42758 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42759 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42762 ac_abs_top_builddir
=$ac_pwd
42763 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42764 # for backward compatibility:
42765 ac_top_builddir
=$ac_top_build_prefix
42768 .
) # We are building in place.
42770 ac_top_srcdir
=$ac_top_builddir_sub
42771 ac_abs_top_srcdir
=$ac_pwd ;;
42772 [\\/]* | ?
:[\\/]* ) # Absolute name.
42773 ac_srcdir
=$srcdir$ac_dir_suffix;
42774 ac_top_srcdir
=$srcdir
42775 ac_abs_top_srcdir
=$srcdir ;;
42776 *) # Relative name.
42777 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42778 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42779 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42781 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42791 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42792 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42796 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42797 # If the template does not know about datarootdir, expand it.
42798 # FIXME: This hack should be removed a few years after 2.60.
42799 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42810 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42811 *datarootdir
*) ac_datarootdir_seen
=yes;;
42812 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42814 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42817 ac_datarootdir_hack='
42818 s&@datadir@&$datadir&g
42819 s&@docdir@&$docdir&g
42820 s&@infodir@&$infodir&g
42821 s&@localedir@&$localedir&g
42822 s&@mandir@&$mandir&g
42823 s&\\\${datarootdir}&$datarootdir&g' ;;
42827 # Neutralize VPATH when `$srcdir' = `.'.
42828 # Shell code in configure.ac might set extrasub.
42829 # FIXME: do we really want to maintain this feature?
42830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42831 ac_sed_extra="$ac_vpsub
42834 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42836 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42837 s
|@configure_input@
|$ac_sed_conf_input|;t t
42838 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42839 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42840 s
&@srcdir@
&$ac_srcdir&;t t
42841 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42842 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42843 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42844 s
&@builddir@
&$ac_builddir&;t t
42845 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42846 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42847 s
&@INSTALL@
&$ac_INSTALL&;t t
42848 $ac_datarootdir_hack
42850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42851 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42856 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42858 which seems to be undefined. Please make sure it is defined" >&5
42859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42860 which seems to be undefined. Please make sure it is defined" >&2;}
42862 rm -f "$ac_tmp/stdin"
42864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42873 if test x"$ac_file" != x-; then
42875 $as_echo "/* $configure_input */" \
42876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42877 } >"$ac_tmp/config.h" \
42878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42879 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42881 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42884 mv "$ac_tmp/config.h" "$ac_file" \
42885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42888 $as_echo "/* $configure_input */" \
42889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42890 || as_fn_error $? "could not create -" "$LINENO" 5
42894 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42895 $as_echo "$as_me: executing $ac_file commands" >&6;}
42900 case $ac_file$ac_mode in
42902 mkdir -p $outdir &&
42903 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42905 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42906 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42907 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42908 "wx-config":C
) rm -f wx
-config
42909 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42918 ac_clean_files
=$ac_clean_files_save
42920 test $ac_write_fail = 0 ||
42921 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42924 # configure is writing to config.log, and then calls config.status.
42925 # config.status does its own redirection, appending to config.log.
42926 # Unfortunately, on DOS this fails, as config.log is still kept open
42927 # by configure, so config.status won't be able to write to it; its
42928 # output is simply discarded. So we exec the FD to /dev/null,
42929 # effectively closing config.log, so it can be properly (re)opened and
42930 # appended to by config.status. When coming back to configure, we
42931 # need to make the FD available again.
42932 if test "$no_create" != yes; then
42934 ac_config_status_args
=
42935 test "$silent" = yes &&
42936 ac_config_status_args
="$ac_config_status_args --quiet"
42938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42941 # would make configure fail if this is the last instruction.
42942 $ac_cs_success || as_fn_exit
1
42946 # CONFIG_SUBDIRS section.
42948 if test "$no_recursion" != yes; then
42950 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42951 # so they do not pile up.
42952 ac_sub_configure_args
=
42954 eval "set x $ac_configure_args"
42958 if test -n "$ac_prev"; then
42963 -cache-file | --cache-file | --cache-fil | --cache-fi \
42964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42965 ac_prev
=cache_file
;;
42966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42970 --config-cache | -C)
42972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42980 --disable-option-checking)
42984 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42986 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42990 # Always prepend --prefix to ensure using the same prefix
42991 # in subdir configurations.
42992 ac_arg
="--prefix=$prefix"
42994 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42996 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42999 if test "$silent" = yes; then
43000 ac_sub_configure_args
="--silent $ac_sub_configure_args"
43003 # Always prepend --disable-option-checking to silence warnings, since
43004 # different subdirs can have different --enable and --with options.
43005 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43008 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43010 # Do not complain, so a configure script can configure whichever
43011 # parts of a large source tree are present.
43012 test -d "$srcdir/$ac_dir" || continue
43014 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43015 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43016 $as_echo "$ac_msg" >&6
43017 as_dir
="$ac_dir"; as_fn_mkdir_p
43021 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43023 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43024 # A ".." for each directory in $ac_dir_suffix.
43025 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43026 case $ac_top_builddir_sub in
43027 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43028 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43031 ac_abs_top_builddir
=$ac_pwd
43032 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43033 # for backward compatibility:
43034 ac_top_builddir
=$ac_top_build_prefix
43037 .
) # We are building in place.
43039 ac_top_srcdir
=$ac_top_builddir_sub
43040 ac_abs_top_srcdir
=$ac_pwd ;;
43041 [\\/]* | ?
:[\\/]* ) # Absolute name.
43042 ac_srcdir
=$srcdir$ac_dir_suffix;
43043 ac_top_srcdir
=$srcdir
43044 ac_abs_top_srcdir
=$srcdir ;;
43045 *) # Relative name.
43046 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43047 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43048 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43050 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43055 # Check for guested configure; otherwise get Cygnus style configure.
43056 if test -f "$ac_srcdir/configure.gnu"; then
43057 ac_sub_configure
=$ac_srcdir/configure.gnu
43058 elif test -f "$ac_srcdir/configure"; then
43059 ac_sub_configure
=$ac_srcdir/configure
43060 elif test -f "$ac_srcdir/configure.in"; then
43061 # This should be Cygnus configure.
43062 ac_sub_configure
=$ac_aux_dir/configure
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43065 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43069 # The recursion is here.
43070 if test -n "$ac_sub_configure"; then
43071 # Make the cache file name correct relative to the subdirectory.
43072 case $cache_file in
43073 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43074 *) # Relative name.
43075 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43078 { $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
43079 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43080 # The eval makes quoting arguments work.
43081 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43082 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43083 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43096 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43098 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43099 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43100 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43101 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43102 if test "$wxUSE_UNICODE" = "yes"; then
43103 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43104 echo " (using UTF-8)"
43106 echo " (using wchar_t)"
43112 echo " What level of wxWidgets compatibility should be enabled?"
43113 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43114 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43116 echo " Which libraries should wxWidgets use?"
43117 echo " STL ${wxUSE_STL}"
43118 echo " jpeg ${wxUSE_LIBJPEG-none}"
43119 echo " png ${wxUSE_LIBPNG-none}"
43120 echo " regex ${wxUSE_REGEX}"
43121 echo " tiff ${wxUSE_LIBTIFF-none}"
43122 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43123 echo " xpm ${wxUSE_LIBXPM-none}"
43125 echo " zlib ${wxUSE_ZLIB}"
43126 echo " expat ${wxUSE_EXPAT}"
43127 echo " libmspack ${wxUSE_LIBMSPACK}"
43128 echo " sdl ${wxUSE_LIBSDL}"