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_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
707 COND_TOOLKIT_X11_USE_GUI_1
709 COND_TOOLKIT_WINCE_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_WINCE_USE_GUI_1
713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
714 COND_TOOLKIT_PM_USE_GUI_1
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
717 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE
719 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
720 COND_TOOLKIT_OSX_COCOA
721 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
722 COND_TOOLKIT_OSX_CARBON
723 COND_TOOLKIT_MSW_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_MSW_USE_GUI_1
727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_MOTIF_USE_GUI_1
731 COND_TOOLKIT_GTK_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
746 COND_TOOLKIT_DFB_USE_GUI_1
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
855 COND_BUILD_release_DEBUG_INFO_default
857 COND_BUILD_debug_DEBUG_INFO_default
861 ICC_PCH_CREATE_SWITCH
969 LIBGNOMEPRINTUI_CFLAGS
1060 program_transform_name
1073 enable_option_checking
1079 enable_official_build
1123 with_macosx_version_min
1132 enable_std_containers
1133 enable_std_iostreams
1135 enable_std_string_conv_in_wxstring
1140 enable_extended_rtti
1145 enable_no_exceptions
1148 enable_vararg_macros
1149 enable_universal_binary
1154 enable_objc_uniquifying
1183 enable_dynamicloader
1200 enable_printfposparam
1215 enable_protocol_http
1217 enable_protocol_file
1268 enable_commandlinkbutton
1296 enable_rearrangectrl
1345 enable_accessibility
1348 enable_webviewwebkit
1368 with_gtk_exec_prefix
1370 with_libiconv_prefix
1372 with_sdl_exec_prefix
1374 enable_dependency_tracking
1375 enable_precomp_headers
1377 with_cppunit_exec_prefix
1379 ac_precious_vars
='build_alias
1416 LIBGNOMEPRINTUI_CFLAGS
1417 LIBGNOMEPRINTUI_LIBS
1432 ac_subdirs_all
='src/tiff
1435 # Initialize some variables set by options.
1437 ac_init_version
=false
1438 ac_unrecognized_opts
=
1439 ac_unrecognized_sep
=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file
=/dev
/null
1449 program_transform_name
=s
,x
,x
,
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir
='${exec_prefix}/bin'
1464 sbindir
='${exec_prefix}/sbin'
1465 libexecdir
='${exec_prefix}/libexec'
1466 datarootdir
='${prefix}/share'
1467 datadir
='${datarootdir}'
1468 sysconfdir
='${prefix}/etc'
1469 sharedstatedir
='${prefix}/com'
1470 localstatedir
='${prefix}/var'
1471 includedir
='${prefix}/include'
1472 oldincludedir
='/usr/include'
1473 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir
='${datarootdir}/info'
1479 libdir
='${exec_prefix}/lib'
1480 localedir
='${datarootdir}/locale'
1481 mandir
='${datarootdir}/man'
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\
$ac_option
1495 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1502 case $ac_dashdash$ac_option in
1506 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1508 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509 bindir
=$ac_optarg ;;
1511 -build | --build | --buil | --bui | --bu)
1512 ac_prev
=build_alias
;;
1513 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514 build_alias
=$ac_optarg ;;
1516 -cache-file | --cache-file | --cache-fil | --cache-fi \
1517 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518 ac_prev
=cache_file
;;
1519 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521 cache_file
=$ac_optarg ;;
1523 --config-cache | -C)
1524 cache_file
=config.cache
;;
1526 -datadir | --datadir | --datadi | --datad)
1528 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529 datadir
=$ac_optarg ;;
1531 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532 | --dataroo | --dataro | --datar)
1533 ac_prev
=datarootdir
;;
1534 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536 datarootdir
=$ac_optarg ;;
1538 -disable-* | --disable-*)
1539 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1542 as_fn_error $?
"invalid feature name: $ac_useropt"
1543 ac_useropt_orig
=$ac_useropt
1544 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1547 "enable_
$ac_useropt"
1549 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep
=', ';;
1552 eval enable_
$ac_useropt=no
;;
1554 -docdir | --docdir | --docdi | --doc | --do)
1556 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557 docdir
=$ac_optarg ;;
1559 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1561 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562 dvidir
=$ac_optarg ;;
1564 -enable-* | --enable-*)
1565 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1568 as_fn_error $?
"invalid feature name: $ac_useropt"
1569 ac_useropt_orig
=$ac_useropt
1570 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1573 "enable_
$ac_useropt"
1575 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep
=', ';;
1578 eval enable_
$ac_useropt=\
$ac_optarg ;;
1580 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582 | --exec | --exe | --ex)
1583 ac_prev
=exec_prefix
;;
1584 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586 | --exec=* | --exe=* | --ex=*)
1587 exec_prefix
=$ac_optarg ;;
1589 -gas | --gas | --ga | --g)
1590 # Obsolete; use --with-gas.
1593 -help | --help | --hel | --he | -h)
1594 ac_init_help
=long
;;
1595 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1596 ac_init_help
=recursive
;;
1597 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1598 ac_init_help
=short
;;
1600 -host | --host | --hos | --ho)
1601 ac_prev
=host_alias
;;
1602 -host=* | --host=* | --hos=* | --ho=*)
1603 host_alias
=$ac_optarg ;;
1605 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1607 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1609 htmldir
=$ac_optarg ;;
1611 -includedir | --includedir | --includedi | --included | --include \
1612 | --includ | --inclu | --incl | --inc)
1613 ac_prev
=includedir
;;
1614 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615 | --includ=* | --inclu=* | --incl=* | --inc=*)
1616 includedir
=$ac_optarg ;;
1618 -infodir | --infodir | --infodi | --infod | --info | --inf)
1620 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621 infodir
=$ac_optarg ;;
1623 -libdir | --libdir | --libdi | --libd)
1625 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626 libdir
=$ac_optarg ;;
1628 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629 | --libexe | --libex | --libe)
1630 ac_prev
=libexecdir
;;
1631 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632 | --libexe=* | --libex=* | --libe=*)
1633 libexecdir
=$ac_optarg ;;
1635 -localedir | --localedir | --localedi | --localed | --locale)
1636 ac_prev
=localedir
;;
1637 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638 localedir
=$ac_optarg ;;
1640 -localstatedir | --localstatedir | --localstatedi | --localstated \
1641 | --localstate | --localstat | --localsta | --localst | --locals)
1642 ac_prev
=localstatedir
;;
1643 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645 localstatedir
=$ac_optarg ;;
1647 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1649 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650 mandir
=$ac_optarg ;;
1652 -nfp | --nfp | --nf)
1653 # Obsolete; use --without-fp.
1656 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657 | --no-cr | --no-c | -n)
1660 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1664 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666 | --oldin | --oldi | --old | --ol | --o)
1667 ac_prev
=oldincludedir
;;
1668 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671 oldincludedir
=$ac_optarg ;;
1673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676 prefix
=$ac_optarg ;;
1678 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679 | --program-pre | --program-pr | --program-p)
1680 ac_prev
=program_prefix
;;
1681 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683 program_prefix
=$ac_optarg ;;
1685 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686 | --program-suf | --program-su | --program-s)
1687 ac_prev
=program_suffix
;;
1688 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690 program_suffix
=$ac_optarg ;;
1692 -program-transform-name | --program-transform-name \
1693 | --program-transform-nam | --program-transform-na \
1694 | --program-transform-n | --program-transform- \
1695 | --program-transform | --program-transfor \
1696 | --program-transfo | --program-transf \
1697 | --program-trans | --program-tran \
1698 | --progr-tra | --program-tr | --program-t)
1699 ac_prev
=program_transform_name
;;
1700 -program-transform-name=* | --program-transform-name=* \
1701 | --program-transform-nam=* | --program-transform-na=* \
1702 | --program-transform-n=* | --program-transform-=* \
1703 | --program-transform=* | --program-transfor=* \
1704 | --program-transfo=* | --program-transf=* \
1705 | --program-trans=* | --program-tran=* \
1706 | --progr-tra=* | --program-tr=* | --program-t=*)
1707 program_transform_name
=$ac_optarg ;;
1709 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1711 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712 pdfdir
=$ac_optarg ;;
1714 -psdir | --psdir | --psdi | --psd | --ps)
1716 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720 | -silent | --silent | --silen | --sile | --sil)
1723 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1725 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1727 sbindir
=$ac_optarg ;;
1729 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731 | --sharedst | --shareds | --shared | --share | --shar \
1733 ac_prev
=sharedstatedir
;;
1734 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1738 sharedstatedir
=$ac_optarg ;;
1740 -site | --site | --sit)
1742 -site=* | --site=* | --sit=*)
1745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748 srcdir
=$ac_optarg ;;
1750 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751 | --syscon | --sysco | --sysc | --sys | --sy)
1752 ac_prev
=sysconfdir
;;
1753 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755 sysconfdir
=$ac_optarg ;;
1757 -target | --target | --targe | --targ | --tar | --ta | --t)
1758 ac_prev
=target_alias
;;
1759 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760 target_alias
=$ac_optarg ;;
1762 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1765 -version | --version | --versio | --versi | --vers | -V)
1766 ac_init_version
=: ;;
1769 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1772 as_fn_error $?
"invalid package name: $ac_useropt"
1773 ac_useropt_orig
=$ac_useropt
1774 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1779 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep
=', ';;
1782 eval with_
$ac_useropt=\
$ac_optarg ;;
1784 -without-* | --without-*)
1785 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1788 as_fn_error $?
"invalid package name: $ac_useropt"
1789 ac_useropt_orig
=$ac_useropt
1790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep
=', ';;
1798 eval with_
$ac_useropt=no
;;
1801 # Obsolete; use --with-x.
1804 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805 | --x-incl | --x-inc | --x-in | --x-i)
1806 ac_prev
=x_includes
;;
1807 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809 x_includes
=$ac_optarg ;;
1811 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813 ac_prev
=x_libraries
;;
1814 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816 x_libraries
=$ac_optarg ;;
1818 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1823 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' | [0-9]* | *[!_$as_cr_alnum]* )
1827 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1829 eval $ac_envvar=\
$ac_optarg
1830 export $ac_envvar ;;
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1843 if test -n "$ac_prev"; then
1844 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $?
"missing argument to $ac_option"
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1851 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1856 # Check all directory arguments for consistency.
1857 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1862 eval ac_val
=\$
$ac_var
1863 # Remove trailing slashes.
1866 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\
$ac_val;;
1869 # Be sure to have absolute directory names.
1871 [\\/$
]* | ?
:[\\/]* ) continue;;
1872 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1874 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1882 target
=$target_alias
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x
; then
1886 if test "x$build_alias" = x
; then
1887 cross_compiling
=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1894 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1896 test "$silent" = yes && exec 6>/dev
/null
1899 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di
=`ls -di .` &&
1901 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $?
"working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $?
"pwd does not report name of working directory"
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted
=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir
=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1939 ac_srcdir_defaulted
=no
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1943 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1945 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1957 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1959 for ac_var
in $ac_precious_vars; do
1960 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1961 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1962 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1963 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1967 # Report the --help message.
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1973 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1980 Defaults for the options are specified in brackets.
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2004 For better control, use the options below.
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2031 --x-includes=DIR X include files are
in DIR
2032 --x-libraries=DIR X library files are
in DIR
2035 --build=BUILD configure
for building on BUILD
[guessed
]
2036 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2047 --disable-option-checking ignore unrecognized
--enable/--with options
2048 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2049 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2050 --disable-gui don
't build GUI parts of the library
2051 --enable-monolithic build wxWidgets as single library
2052 --enable-plugins build parts of wxWidgets as loadable components
2053 --enable-official_build official build of wxWidgets (win32 DLL only)
2054 --enable-vendor=VENDOR vendor name (win32 DLL only)
2055 --disable-all-features disable all optional features to build minimal library
2056 --enable-universal use wxWidgets GUI controls instead of native ones
2057 --enable-nanox use NanoX
2058 --enable-gpe use GNOME PDA Environment features if possible
2059 --enable-debug build library for debugging
2060 --disable-debug_flag disable all debugging support
2061 --enable-debug_info generate debug information
2062 --enable-debug_gdb create code with extra GDB debugging information
2063 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2064 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2065 --disable-shared create static library instead of shared
2066 --enable-stl use standard C++ classes for everything
2067 --enable-std_containers use standard C++ container classes
2068 --enable-std_iostreams use standard C++ stream classes
2069 --enable-std_string use standard C++ string classes
2070 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2071 --disable-unicode compile without Unicode support
2072 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2073 --enable-utf8 use UTF-8 representation for strings (Unix only)
2074 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2075 --enable-extended_rtti use extended RTTI (XTI)
2076 --enable-omf use OMF object format
2077 --disable-optimise compile without optimisations
2078 --enable-profile create code with profiling information
2079 --enable-no_rtti create code without RTTI information
2080 --enable-no_exceptions create code without C++ exceptions handling
2081 --enable-permissive compile code disregarding strict ANSI
2082 --enable-no_deps create code without dependency information
2083 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2084 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2085 --enable-macosx_arch=ARCH build
for just the specified architecture
2086 --enable-compat26 enable wxWidgets
2.6 compatibility
2087 --disable-compat28 disable wxWidgets
2.8 compatibility
2088 --disable-rpath disable use of rpath
for uninstalled builds
2089 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2090 --disable-visibility disable use of ELF symbols visibility even
if supported
2091 --disable-tls disable use of compiler TLS support
2092 --enable-intl use internationalization system
2093 --enable-xlocale use x
-locale support
(requires wxLocale
)
2094 --enable-config use wxConfig
(and derived
) classes
2095 --enable-protocols use wxProtocol and derived classes
2096 --enable-ftp use wxFTP
(requires wxProtocol
2097 --enable-http use wxHTTP
(requires wxProtocol
2098 --enable-fileproto use wxFileProto class
(requires wxProtocol
2099 --enable-sockets use socket
/network classes
2100 --enable-ipv6 enable IPv6 support
in wxSocket
2101 --enable-ole use OLE classes
(Win32 only
)
2102 --enable-dataobj use data object classes
2103 --enable-ipc use interprocess communication
(wxSocket etc.
)
2104 --enable-baseevtloop use event loop
in console programs too
2105 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2106 --enable-selectloop use wxSelectDispatcher class
2107 --enable-any use wxAny class
2108 --enable-apple_ieee use the Apple IEEE codec
2109 --enable-arcstream use wxArchive streams
2110 --enable-base64 use base64 encoding
/decoding functions
2111 --enable-backtrace use wxStackWalker class
for getting backtraces
2112 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2113 --enable-cmdline use wxCmdLineParser class
2114 --enable-datetime use wxDateTime class
2115 --enable-debugreport use wxDebugReport class
2116 --enable-dialupman use dialup network classes
2117 --enable-dynlib use wxLibrary class
for DLL loading
2118 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2119 --enable-exceptions build exception
-safe library
2120 --enable-ffile use wxFFile class
2121 --enable-file use wxFile class
2122 --enable-filehistory use wxFileHistory class
2123 --enable-filesystem use virtual
file systems classes
2124 --enable-fontenum use wxFontEnumerator class
2125 --enable-fontmap use font encodings conversion classes
2126 --enable-fs_archive use virtual archive filesystems
2127 --enable-fs_inet use virtual HTTP
/FTP filesystems
2128 --enable-fs_zip now replaced by fs_archive
2129 --enable-fsvolume use wxFSVolume class
2130 --enable-fswatcher use wxFileSystemWatcher class
2131 --enable-geometry use geometry class
2132 --enable-log use logging system
2133 --enable-longlong use wxLongLong class
2134 --enable-mimetype use wxMimeTypesManager
2135 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2136 --enable-snglinst use wxSingleInstanceChecker class
2137 --enable-sound use wxSound class
2138 --enable-stdpaths use wxStandardPaths class
2139 --enable-stopwatch use wxStopWatch class
2140 --enable-streams use wxStream etc classes
2141 --enable-sysoptions use wxSystemOptions
2142 --enable-tarstream use wxTar streams
2143 --enable-textbuf use wxTextBuffer class
2144 --enable-textfile use wxTextFile class
2145 --enable-timer use wxTimer class
2146 --enable-variant use wxVariant class
2147 --enable-zipstream use wxZip streams
2148 --enable-url use wxURL class
2149 --enable-protocol use wxProtocol class
2150 --enable-protocol-http HTTP support
in wxProtocol
2151 --enable-protocol-ftp FTP support
in wxProtocol
2152 --enable-protocol-file FILE support
in wxProtocol
2153 --enable-threads use threads
2154 --enable-iniconf use wxIniConfig
(Win32 only
)
2155 --enable-regkey use wxRegKey class
(Win32 only
)
2156 --enable-docview use document view architecture
2157 --enable-help use
help subsystem
2158 --enable-mshtmlhelp use MS HTML Help
(win32
)
2159 --enable-html use wxHTML sub
-library
2160 --enable-htmlhelp use wxHTML
-based help
2161 --enable-xrc use XRC resources sub
-library
2162 --enable-aui use AUI docking library
2163 --enable-propgrid use wxPropertyGrid library
2164 --enable-ribbon use wxRibbon library
2165 --enable-stc use wxStyledTextCtrl library
2166 --enable-constraints use layout
-constraints system
2167 --enable-loggui use standard GUI logger
2168 --enable-logwin use wxLogWindow
2169 --enable-logdialog use wxLogDialog
2170 --enable-mdi use multiple document interface architecture
2171 --enable-mdidoc use docview architecture with MDI
2172 --enable-mediactrl use wxMediaCtrl class
2173 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2174 --enable-richtext use wxRichTextCtrl
2175 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2176 --enable-printarch use printing architecture
2177 --enable-svg use wxSVGFileDC device context
2178 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2179 --enable-webview use wxWebView library
2180 --enable-graphics_ctx use graphics context
2D drawing API
2181 --enable-clipboard use wxClipboard class
2182 --enable-dnd use Drag
'n'Drop classes
2183 --disable-controls disable compilation of all standard controls
2184 --enable-markup support wxControl
::SetLabelMarkup
2185 --enable-accel use accelerators
2186 --enable-animatectrl use wxAnimationCtrl class
2187 --enable-bannerwindow use wxBannerWindow class
2188 --enable-artstd use standard XPM icons
in wxArtProvider
2189 --enable-arttango use Tango icons
in wxArtProvider
2190 --enable-bmpbutton use wxBitmapButton class
2191 --enable-bmpcombobox use wxBitmapComboBox class
2192 --enable-button use wxButton class
2193 --enable-calendar use wxCalendarCtrl class
2194 --enable-caret use wxCaret class
2195 --enable-checkbox use wxCheckBox class
2196 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2197 --enable-choice use wxChoice class
2198 --enable-choicebook use wxChoicebook class
2199 --enable-collpane use wxCollapsiblePane class
2200 --enable-colourpicker use wxColourPickerCtrl class
2201 --enable-combobox use wxComboBox class
2202 --enable-comboctrl use wxComboCtrl class
2203 --enable-commandlinkbutton use wxCommmandLinkButton class
2204 --enable-dataviewctrl use wxDataViewCtrl class
2205 --enable-datepick use wxDatePickerCtrl class
2206 --enable-detect_sm use code to detect X11 session manager
2207 --enable-dirpicker use wxDirPickerCtrl class
2208 --enable-display use wxDisplay class
2209 --enable-editablebox use wxEditableListBox class
2210 --enable-filectrl use wxFileCtrl class
2211 --enable-filepicker use wxFilePickerCtrl class
2212 --enable-fontpicker use wxFontPickerCtrl class
2213 --enable-gauge use wxGauge class
2214 --enable-grid use wxGrid class
2215 --enable-headerctrl use wxHeaderCtrl class
2216 --enable-hyperlink use wxHyperlinkCtrl class
2217 --enable-imaglist use wxImageList class
2218 --enable-infobar use wxInfoBar class
2219 --enable-listbook use wxListbook class
2220 --enable-listbox use wxListBox class
2221 --enable-listctrl use wxListCtrl class
2222 --enable-notebook use wxNotebook class
2223 --enable-notifmsg use wxNotificationMessage class
2224 --enable-odcombobox use wxOwnerDrawnComboBox class
2225 --enable-popupwin use wxPopUpWindow class
2226 --enable-prefseditor use wxPreferencesEditor class
2227 --enable-radiobox use wxRadioBox class
2228 --enable-radiobtn use wxRadioButton class
2229 --enable-richmsgdlg use wxRichMessageDialog class
2230 --enable-richtooltip use wxRichToolTip class
2231 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2232 --enable-sash use wxSashWindow class
2233 --enable-scrollbar use wxScrollBar class and scrollable windows
2234 --enable-searchctrl use wxSearchCtrl class
2235 --enable-slider use wxSlider class
2236 --enable-spinbtn use wxSpinButton class
2237 --enable-spinctrl use wxSpinCtrl class
2238 --enable-splitter use wxSplitterWindow class
2239 --enable-statbmp use wxStaticBitmap class
2240 --enable-statbox use wxStaticBox class
2241 --enable-statline use wxStaticLine class
2242 --enable-stattext use wxStaticText class
2243 --enable-statusbar use wxStatusBar class
2244 --enable-taskbaricon use wxTaskBarIcon class
2245 --enable-tbarnative use native wxToolBar class
2246 --enable-textctrl use wxTextCtrl class
2247 --enable-timepick use wxTimePickerCtrl class
2248 --enable-tipwindow use wxTipWindow class
2249 --enable-togglebtn use wxToggleButton class
2250 --enable-toolbar use wxToolBar class
2251 --enable-toolbook use wxToolbook class
2252 --enable-treebook use wxTreebook class
2253 --enable-treectrl use wxTreeCtrl class
2254 --enable-treelist use wxTreeListCtrl class
2255 --enable-commondlg use all common dialogs
2256 --enable-aboutdlg use wxAboutBox
2257 --enable-choicedlg use wxChoiceDialog
2258 --enable-coldlg use wxColourDialog
2259 --enable-filedlg use wxFileDialog
2260 --enable-finddlg use wxFindReplaceDialog
2261 --enable-fontdlg use wxFontDialog
2262 --enable-dirdlg use wxDirDialog
2263 --enable-msgdlg use wxMessageDialog
2264 --enable-numberdlg use wxNumberEntryDialog
2265 --enable-splash use wxSplashScreen
2266 --enable-textdlg use wxTextDialog
2267 --enable-tipdlg use startup tips
2268 --enable-progressdlg use wxProgressDialog
2269 --enable-wizarddlg use wxWizard
2270 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2271 --enable-miniframe use wxMiniFrame class
2272 --enable-tooltips use wxToolTip class
2273 --enable-splines use spline drawing code
2274 --enable-mousewheel use mousewheel
2275 --enable-validators use wxValidator and derived classes
2276 --enable-busyinfo use wxBusyInfo
2277 --enable-hotkey use wxWindow
::RegisterHotKey
()
2278 --enable-joystick use wxJoystick
2279 --enable-metafiles use wxMetaFile
2280 --enable-dragimage use wxDragImage
2281 --enable-accessibility enable accessibility support
2282 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2283 --enable-dctransform use wxDC
::SetTransformMatrix and related
2284 --enable-webviewwebkit use wxWebView WebKit backend
2285 --enable-palette use wxPalette class
2286 --enable-image use wxImage class
2287 --enable-gif use gif images
(GIF
file format
)
2288 --enable-pcx use pcx images
(PCX
file format
)
2289 --enable-tga use tga images
(TGA
file format
)
2290 --enable-iff use iff images
(IFF
file format
)
2291 --enable-pnm use pnm images
(PNM
file format
)
2292 --enable-xpm use xpm images
(XPM
file format
)
2293 --enable-ico_cur use Windows ICO and CUR formats
2294 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2295 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2296 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2297 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2298 --enable-wxdib use wxDIB class
(Win32 only
)
2299 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2300 --enable-autoidman use automatic ids management
2301 --disable-largefile omit support
for large files
2302 --disable-gtktest do not try to compile and run a
test GTK
+ program
2303 --disable-gtktest Do not try to compile and run a
test GTK program
2304 --disable-sdltest Do not try to compile and run a
test SDL program
2305 --enable-omf use OMF object format
(OS
/2)
2306 --disable-dependency-tracking
2307 don
't use dependency tracking even if the compiler
2309 --disable-precomp-headers
2310 don't use precompiled headers even
if compiler can
2313 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2314 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2315 --without-subdirs don
't generate makefiles for samples/demos/...
2316 --with-flavour=NAME specify a name to identify this build
2317 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2318 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2319 --with-motif use Motif/Lesstif
2320 --with-osx_carbon use Mac OS X (Carbon)
2321 --with-osx_cocoa use Mac OS X (Cocoa)
2322 --with-osx_iphone use iPhone OS X port
2323 --with-osx use Mac OS X (default port, currently Carbon)
2324 --with-carbon same as --with-osx_carbon
2325 --with-cocoa same as --with-osx_cocoa
2326 --with-iphone same as --with-osx_iphone
2327 --with-mac same as --with-osx
2328 --with-old_cocoa use old, deprecated, Cocoa port
2329 --with-wine use Wine
2330 --with-msw use MS-Windows
2331 --with-pm use OS/2 Presentation Manager
2332 --with-directfb use DirectFB
2333 --with-microwin use MicroWindows
2335 --with-libpng use libpng (PNG image format)
2336 --with-libjpeg use libjpeg (JPEG file format)
2337 --with-libtiff use libtiff (TIFF file format)
2338 --without-libjbig don't use libjbig
in libtiff even
if available
)
2339 --without-liblzma don
't use liblzma in libtiff even if available)
2340 --with-libxpm use libxpm (XPM file format)
2341 --with-libiconv use libiconv (character conversion)
2342 --with-libmspack use libmspack (CHM help files loading)
2343 --without-gtkprint don't use GTK printing support
2344 --without-gnomeprint don
't use GNOME printing libraries
2345 --with-gnomevfs use GNOME VFS for associating MIME types
2346 --with-libnotify use libnotify for notifications
2347 --with-hildon use Hildon framework for Nokia 770/800/810
2348 --with-opengl use OpenGL (or Mesa)
2349 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2350 --with-sdl use SDL for audio on Unix
2351 --with-regex enable support for wxRegEx class
2352 --with-zlib use zlib for LZW compression
2353 --with-expat enable XML support using expat parser
2354 --with-macosx-sdk=PATH use an OS X SDK at PATH
2355 --with-macosx-version-min=VER build binaries which require at least this OS X version
2356 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2358 --with-x use the X Window System
2359 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2360 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2361 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2362 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2363 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2365 Some influential environment variables:
2366 CC C compiler command
2367 CFLAGS C compiler flags
2368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2369 nonstandard directory <lib dir>
2370 LIBS libraries to pass to the linker, e.g. -l<library>
2371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372 you have headers in a nonstandard directory <include dir>
2374 CXX C++ compiler command
2375 CXXFLAGS C++ compiler flags
2376 CXXCPP C++ preprocessor
2377 PKG_CONFIG path to pkg-config utility
2379 C compiler flags for DIRECTFB, overriding pkg-config
2381 linker flags for DIRECTFB, overriding pkg-config
2382 XMKMF Path to xmkmf, Makefile generator for X Window System
2384 C compiler flags for PANGOX, overriding pkg-config
2385 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2387 C compiler flags for PANGOFT2, overriding pkg-config
2389 linker flags for PANGOFT2, overriding pkg-config
2391 C compiler flags for PANGOXFT, overriding pkg-config
2393 linker flags for PANGOXFT, overriding pkg-config
2395 C compiler flags for Xinerama, overriding pkg-config
2397 linker flags for Xinerama, overriding pkg-config
2399 C compiler flags for Xxf86vm, overriding pkg-config
2401 linker flags for Xxf86vm, overriding pkg-config
2402 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2403 SM_LIBS linker flags for SM, overriding pkg-config
2404 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2405 GL_LIBS linker flags for GL, overriding pkg-config
2406 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2407 GLU_LIBS linker flags for GLU, overriding pkg-config
2409 C compiler flags for MesaGL, overriding pkg-config
2410 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2412 C compiler flags for GTKPRINT, overriding pkg-config
2414 linker flags for GTKPRINT, overriding pkg-config
2415 LIBGNOMEPRINTUI_CFLAGS
2416 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2417 LIBGNOMEPRINTUI_LIBS
2418 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2420 C compiler flags for GNOMEVFS, overriding pkg-config
2422 linker flags for GNOMEVFS, overriding pkg-config
2424 C compiler flags for LIBNOTIFY, overriding pkg-config
2426 linker flags for LIBNOTIFY, overriding pkg-config
2428 C compiler flags for HILDON, overriding pkg-config
2429 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2431 C compiler flags for HILDON2, overriding pkg-config
2433 linker flags for HILDON2, overriding pkg-config
2435 C compiler flags for WEBKIT, overriding pkg-config
2436 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2438 C compiler flags for CAIRO, overriding pkg-config
2439 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2440 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2441 GST_LIBS linker flags for GST, overriding pkg-config
2443 Use these variables to override the choices made by `configure' or to
help
2444 it to
find libraries and programs with nonstandard names
/locations.
2446 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2451 if test "$ac_init_help" = "recursive"; then
2452 # If there are subdirs, report their specific --help.
2453 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2454 test -d "$ac_dir" ||
2455 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2462 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2463 # A ".." for each directory in $ac_dir_suffix.
2464 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2465 case $ac_top_builddir_sub in
2466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2470 ac_abs_top_builddir
=$ac_pwd
2471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2472 # for backward compatibility:
2473 ac_top_builddir
=$ac_top_build_prefix
2476 .
) # We are building in place.
2478 ac_top_srcdir
=$ac_top_builddir_sub
2479 ac_abs_top_srcdir
=$ac_pwd ;;
2480 [\\/]* | ?
:[\\/]* ) # Absolute name.
2481 ac_srcdir
=$srcdir$ac_dir_suffix;
2482 ac_top_srcdir
=$srcdir
2483 ac_abs_top_srcdir
=$srcdir ;;
2485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2491 cd "$ac_dir" || { ac_status
=$?
; continue; }
2492 # Check for guested configure.
2493 if test -f "$ac_srcdir/configure.gnu"; then
2495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2496 elif test -f "$ac_srcdir/configure"; then
2498 $SHELL "$ac_srcdir/configure" --help=recursive
2500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2502 cd "$ac_pwd" || { ac_status
=$?
; break; }
2506 test -n "$ac_init_help" && exit $ac_status
2507 if $ac_init_version; then
2509 wxWidgets configure
2.9.5
2510 generated by GNU Autoconf
2.69
2512 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2513 This configure
script is free software
; the Free Software Foundation
2514 gives unlimited permission to copy
, distribute and modify it.
2519 ## ------------------------ ##
2520 ## Autoconf initialization. ##
2521 ## ------------------------ ##
2523 # ac_fn_c_try_compile LINENO
2524 # --------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_compile
()
2528 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2529 rm -f conftest.
$ac_objext
2530 if { { ac_try
="$ac_compile"
2532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compile") 2>conftest.err
2539 if test -s conftest.err; then
2540 grep -v '^ *+' conftest.err >conftest.er1
2541 cat conftest.er1 >&5
2542 mv -f conftest.er1 conftest.err
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; } && {
2546 test -z "$ac_c_werror_flag" ||
2547 test ! -s conftest.err
2548 } && test -s conftest.$ac_objext; then :
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 as_fn_set_status $ac_retval
2559 } # ac_fn_c_try_compile
2561 # ac_fn_c_try_cpp LINENO
2562 # ----------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_cpp conftest.$ac_ext"
2569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2570 *) ac_try_echo
=$ac_try;;
2572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2576 if test -s conftest.err
; then
2577 grep -v '^ *+' conftest.err
>conftest.er1
2578 cat conftest.er1
>&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } > conftest.i
&& {
2583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status
$ac_retval
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 rm -f conftest.
$ac_objext
2605 if { { ac_try
="$ac_compile"
2607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.$ac_objext; then :
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status $ac_retval
2634 } # ac_fn_cxx_try_compile
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 rm -f conftest.$ac_objext conftest$ac_exeext
2643 if { { ac_try="$ac_link"
2645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2646 *) ac_try_echo
=$ac_try;;
2648 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2652 if test -s conftest.err
; then
2653 grep -v '^ *+' conftest.err
>conftest.er1
2654 cat conftest.er1
>&5
2655 mv -f conftest.er1 conftest.err
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest
$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest
$ac_exeext
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status
$ac_retval
2680 } # ac_fn_c_try_link
2682 # ac_fn_cxx_try_link LINENO
2683 # -------------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_link
()
2687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2688 rm -f conftest.
$ac_objext conftest
$ac_exeext
2689 if { { ac_try
="$ac_link"
2691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>conftest.err
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest$ac_exeext && {
2708 test "$cross_compiling" = yes ||
2709 test -x conftest$ac_exeext
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2718 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2719 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2720 # interfere with the next link command; also delete a directory that is
2721 # left behind by Apple's compiler. We do this before executing the actions.
2722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 as_fn_set_status $ac_retval
2726 } # ac_fn_cxx_try_link
2728 # ac_fn_c_try_run LINENO
2729 # ----------------------
2730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731 # that executables *can* be run.
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 if { { ac_try="$ac_link"
2737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2746 { { case "(($ac_try" in
2747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_try") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }; }; then :
2758 $as_echo "$as_me: program exited with status $ac_status" >&5
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_retval=$ac_status
2764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists and can be compiled using the include files in
2773 # INCLUDES, setting the cache variable VAR accordingly.
2774 ac_fn_c_check_header_compile ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2787 if ac_fn_c_try_compile "$LINENO"; then :
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_header_compile
2801 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2802 # ---------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_cxx_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \${$3+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */
2818 if ac_fn_cxx_try_compile "$LINENO"; then :
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_cxx_check_header_compile
2832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2833 # --------------------------------------------
2834 # Tries to find the compile-time value of EXPR in a program that includes
2835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2837 ac_fn_c_compute_int ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 if test "$cross_compiling" = yes; then
2841 # Depending upon the size, compute the lo and hi bounds.
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2848 static int test_array [1 - 2 * !(($2) >= 0)];
2850 return test_array [0];
2856 if ac_fn_c_try_compile "$LINENO"; then :
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2867 return test_array [0];
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 ac_hi=$ac_mid; break
2876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2877 if test $ac_lo -le $ac_mid; then
2881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2892 static int test_array [1 - 2 * !(($2) < 0)];
2894 return test_array [0];
2900 if ac_fn_c_try_compile "$LINENO"; then :
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2911 return test_array [0];
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_lo=$ac_mid; break
2920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2921 if test $ac_mid -le $ac_hi; then
2925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 # Binary search between lo and hi bounds.
2936 while test "x$ac_lo" != "x$ac_hi"; do
2937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2946 return test_array [0];
2952 if ac_fn_c_try_compile "$LINENO"; then :
2955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2967 static long int longval () { return $2; }
2968 static unsigned long int ulongval () { return $2; }
2975 FILE *f = fopen ("conftest.val", "w");
2980 long int i = longval ();
2983 fprintf (f, "%ld", i);
2987 unsigned long int i = ulongval ();
2990 fprintf (f, "%lu", i);
2992 /* Do not output a trailing newline, as this causes \r\n confusion
2993 on some platforms. */
2994 return ferror (f) || fclose (f) != 0;
3000 if ac_fn_c_try_run "$LINENO"; then :
3001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3006 conftest.$ac_objext conftest.beam conftest.$ac_ext
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_c_compute_int
3015 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3016 # ---------------------------------------------
3017 # Tests whether TYPE exists after having included INCLUDES, setting cache
3018 # variable VAR accordingly.
3019 ac_fn_cxx_check_type ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025 $as_echo_n "(cached) " >&6
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3040 if ac_fn_cxx_try_compile "$LINENO"; then :
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3053 if ac_fn_cxx_try_compile "$LINENO"; then :
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_cxx_check_type
3069 # ac_fn_cxx_try_cpp LINENO
3070 # ------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_cxx_try_cpp ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3078 *) ac_try_echo
=$ac_try;;
3080 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084 if test -s conftest.err
; then
3085 grep -v '^ *+' conftest.err
>conftest.er1
3086 cat conftest.er1
>&5
3087 mv -f conftest.er1 conftest.err
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; } > conftest.i
&& {
3091 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3092 test ! -s conftest.err
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 as_fn_set_status
$ac_retval
3104 } # ac_fn_cxx_try_cpp
3106 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ---------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3111 ac_fn_cxx_check_header_mongrel
()
3113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3114 if eval \
${$3+:} false
; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \
${$3+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3124 # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3132 if ac_fn_cxx_try_compile
"$LINENO"; then :
3133 ac_header_compiler
=yes
3135 ac_header_compiler
=no
3137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3149 ac_header_preproc
=yes
3151 ac_header_preproc
=no
3153 rm -f conftest.err conftest.i conftest.
$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3157 # So? What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ----------------------------------------- ##
3177 ## Report this to wx-dev@lists.wxwidgets.org ##
3178 ## ----------------------------------------- ##"
3179 ) | sed "s/^/$as_me: WARNING: /" >&2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \
${$3+:} false
; then :
3185 $as_echo_n "(cached) " >&6
3187 eval "$3=\$ac_header_compiler"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3195 } # ac_fn_cxx_check_header_mongrel
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func
()
3202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \
${$3+:} false
; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3212 #define $2 innocuous_$2
3214 /* System header to define __stub macros and hopefully few prototypes,
3215 which can conflict with char $2 (); below.
3216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 <limits.h> exists even on freestanding compilers. */
3220 # include <limits.h>
3222 # include <assert.h>
3227 /* Override any GCC internal prototype to avoid an error.
3228 Use char because int might match the return type of a GCC
3229 builtin and then its argument prototype would still apply. */
3234 /* The GNU C library defines this for functions which it implements
3235 to always fail with ENOSYS. Some functions are actually named
3236 something starting with __ and the normal name is an alias. */
3237 #if defined __stub_$2 || defined __stub___$2
3249 if ac_fn_c_try_link
"$LINENO"; then :
3254 rm -f core conftest.err conftest.
$ac_objext \
3255 conftest
$ac_exeext conftest.
$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 } # ac_fn_c_check_func
3264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3265 # -------------------------------------------
3266 # Tests whether TYPE exists after having included INCLUDES, setting cache
3267 # variable VAR accordingly.
3268 ac_fn_c_check_type
()
3270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \
${$3+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3289 if ac_fn_c_try_compile
"$LINENO"; then :
3290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3302 if ac_fn_c_try_compile
"$LINENO"; then :
3307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3316 } # ac_fn_c_check_type
3318 # ac_fn_cxx_try_run LINENO
3319 # ------------------------
3320 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3321 # that executables *can* be run.
3322 ac_fn_cxx_try_run
()
3324 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3325 if { { ac_try
="$ac_link"
3327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3336 { { case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3338 *) ac_try_echo
=$ac_try;;
3340 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_try") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; }; then :
3348 $as_echo "$as_me: program exited with status $ac_status" >&5
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 ac_retval
=$ac_status
3354 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 as_fn_set_status
$ac_retval
3358 } # ac_fn_cxx_try_run
3359 cat >config.log
<<_ACEOF
3360 This file contains any messages produced by compilers while
3361 running configure, to aid debugging if configure makes a mistake.
3363 It was created by wxWidgets $as_me 2.9.5, which was
3364 generated by GNU Autoconf 2.69. Invocation command line was
3376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3383 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3385 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3386 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3388 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3389 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3390 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3391 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir
=.
3400 $as_echo "PATH: $as_dir"
3416 # Keep a trace of the command line.
3417 # Strip out --no-create and --no-recursion so they do not pile up.
3418 # Strip out --silent because we don't want to record it for future runs.
3419 # Also quote any args containing shell meta-characters.
3420 # Make two passes to allow for proper duplicate-argument suppression.
3424 ac_must_keep_next
=false
3430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432 | -silent | --silent | --silen | --sile | --sil)
3435 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3438 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3440 as_fn_append ac_configure_args1
" '$ac_arg'"
3441 if test $ac_must_keep_next = true
; then
3442 ac_must_keep_next
=false
# Got value, back to normal.
3445 *=* | --config-cache | -C | -disable-* | --disable-* \
3446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3448 | -with-* | --with-* | -without-* | --without-* | --x)
3449 case "$ac_configure_args0 " in
3450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3453 -* ) ac_must_keep_next
=true
;;
3456 as_fn_append ac_configure_args
" '$ac_arg'"
3461 { ac_configure_args0
=; unset ac_configure_args0
;}
3462 { ac_configure_args1
=; unset ac_configure_args1
;}
3464 # When interrupted or exit'd, cleanup temporary files, and complete
3465 # config.log. We remove comments because anyway the quotes in there
3466 # would cause problems or look ugly.
3467 # WARNING: Use '\'' to represent an apostrophe within the trap.
3468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3469 trap 'exit_status=$?
3470 # Save into config.log some information that might help in debugging.
3474 $as_echo "## ---------------- ##
3475 ## Cache variables. ##
3476 ## ---------------- ##"
3478 # The following way of writing the cache mishandles newlines in values,
3480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3481 eval ac_val=\$$ac_var
3485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3489 _ | IFS | as_nl) ;; #(
3490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3491 *) { eval $ac_var=; unset $ac_var;} ;;
3496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3497 *${as_nl}ac_space=\ *)
3499 "s/'\''/'\''\\\\'\'''\''/g;
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3510 $as_echo "## ----------------- ##
3511 ## Output variables. ##
3512 ## ----------------- ##"
3514 for ac_var in $ac_subst_vars
3516 eval ac_val=\$$ac_var
3518 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3520 $as_echo "$ac_var='\''$ac_val'\''"
3524 if test -n "$ac_subst_files"; then
3525 $as_echo "## ------------------- ##
3526 ## File substitutions. ##
3527 ## ------------------- ##"
3529 for ac_var
in $ac_subst_files
3531 eval ac_val
=\$
$ac_var
3533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535 $as_echo "$ac_var='\''$ac_val'\''"
3540 if test -s confdefs.h; then
3541 $as_echo "## ----------- ##
3548 test "$ac_signal" != 0 &&
3549 $as_echo "$as_me: caught signal $ac_signal"
3550 $as_echo "$as_me: exit $exit_status"
3552 rm -f core *.core core.conftest.* &&
3553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3556 for ac_signal
in 1 2 13 15; do
3557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3562 rm -f -r conftest
* confdefs.h
3564 $as_echo "/* confdefs.h */" > confdefs.h
3566 # Predefined preprocessor variables.
3568 cat >>confdefs.h
<<_ACEOF
3569 #define PACKAGE_NAME "$PACKAGE_NAME"
3572 cat >>confdefs.h
<<_ACEOF
3573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3576 cat >>confdefs.h
<<_ACEOF
3577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3580 cat >>confdefs.h
<<_ACEOF
3581 #define PACKAGE_STRING "$PACKAGE_STRING"
3584 cat >>confdefs.h
<<_ACEOF
3585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3588 cat >>confdefs.h
<<_ACEOF
3589 #define PACKAGE_URL "$PACKAGE_URL"
3593 # Let the site file select an alternate cache file if it wants to.
3594 # Prefer an explicitly selected file to automatically selected ones.
3597 if test -n "$CONFIG_SITE"; then
3598 # We do not want a PATH search for config.site.
3599 case $CONFIG_SITE in #((
3600 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3601 */*) ac_site_file1
=$CONFIG_SITE;;
3602 *) ac_site_file1
=.
/$CONFIG_SITE;;
3604 elif test "x$prefix" != xNONE
; then
3605 ac_site_file1
=$prefix/share
/config.site
3606 ac_site_file2
=$prefix/etc
/config.site
3608 ac_site_file1
=$ac_default_prefix/share
/config.site
3609 ac_site_file2
=$ac_default_prefix/etc
/config.site
3611 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3613 test "x$ac_site_file" = xNONE
&& continue
3614 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3617 sed 's/^/| /' "$ac_site_file" >&5
3619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"failed to load site script $ac_site_file
3622 See \`config.log' for more details" "$LINENO" 5; }
3626 if test -r "$cache_file"; then
3627 # Some versions of bash will fail to source /dev/null (special files
3628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3629 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3631 $as_echo "$as_me: loading cache $cache_file" >&6;}
3633 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3634 *) .
"./$cache_file";;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3639 $as_echo "$as_me: creating cache $cache_file" >&6;}
3643 # Check that the precious variables saved in the cache have kept the same
3645 ac_cache_corrupted
=false
3646 for ac_var
in $ac_precious_vars; do
3647 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3648 eval ac_new_set
=\
$ac_env_${ac_var}_set
3649 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3650 eval ac_new_val
=\
$ac_env_${ac_var}_value
3651 case $ac_old_set,$ac_new_set in
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3655 ac_cache_corrupted
=: ;;
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3659 ac_cache_corrupted
=: ;;
3662 if test "x$ac_old_val" != "x$ac_new_val"; then
3663 # differences in whitespace do not lead to failure.
3664 ac_old_val_w
=`echo x $ac_old_val`
3665 ac_new_val_w
=`echo x $ac_new_val`
3666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3669 ac_cache_corrupted
=:
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3673 eval $ac_var=\
$ac_old_val
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3676 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3681 # Pass precious variables to config.status.
3682 if test "$ac_new_set" = set; then
3684 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3685 *) ac_arg
=$ac_var=$ac_new_val ;;
3687 case " $ac_configure_args " in
3688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3689 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3693 if $ac_cache_corrupted; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3698 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3700 ## -------------------- ##
3701 ## Main body of script. ##
3702 ## -------------------- ##
3705 ac_cpp
='$CPP $CPPFLAGS'
3706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3715 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3716 if test -f "$ac_dir/install-sh"; then
3718 ac_install_sh
="$ac_aux_dir/install-sh -c"
3720 elif test -f "$ac_dir/install.sh"; then
3722 ac_install_sh
="$ac_aux_dir/install.sh -c"
3724 elif test -f "$ac_dir/shtool"; then
3726 ac_install_sh
="$ac_aux_dir/shtool install -c"
3730 if test -z "$ac_aux_dir"; then
3731 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3734 # These three variables are undocumented and unsupported,
3735 # and are intended to be withdrawn in a future Autoconf release.
3736 # They can cause serious problems if a builder's source tree is in a directory
3737 # whose full name contains unusual characters.
3738 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3739 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3740 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3743 # Make sure we can run config.sub.
3744 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3745 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3748 $as_echo_n "checking build system type... " >&6; }
3749 if ${ac_cv_build+:} false
; then :
3750 $as_echo_n "(cached) " >&6
3752 ac_build_alias
=$build_alias
3753 test "x$ac_build_alias" = x
&&
3754 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3755 test "x$ac_build_alias" = x
&&
3756 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3757 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3758 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3762 $as_echo "$ac_cv_build" >&6; }
3763 case $ac_cv_build in
3765 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3768 ac_save_IFS
=$IFS; IFS
='-'
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3778 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3782 $as_echo_n "checking host system type... " >&6; }
3783 if ${ac_cv_host+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test "x$host_alias" = x
; then
3787 ac_cv_host
=$ac_cv_build
3789 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 $as_echo "$ac_cv_host" >&6; }
3798 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3801 ac_save_IFS
=$IFS; IFS
='-'
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3811 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3815 if test "$cross_compiling" != "no"; then
3816 HOST_PREFIX
="${host_alias}-"
3817 HOST_SUFFIX
="-$host_alias"
3824 wx_major_version_number
=2
3825 wx_minor_version_number
=9
3827 wx_subrelease_number
=0
3829 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3830 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3831 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3833 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3836 wx_top_builddir
="`pwd`"
3849 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3855 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3863 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3865 DEFAULT_wxUSE_OLD_COCOA
=0
3867 DEFAULT_wxUSE_OSX_CARBON
=0
3868 DEFAULT_wxUSE_OSX_COCOA
=0
3869 DEFAULT_wxUSE_OSX_IPHONE
=0
3870 DEFAULT_wxUSE_MICROWIN
=0
3871 DEFAULT_wxUSE_MOTIF
=0
3877 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3878 DEFAULT_DEFAULT_wxUSE_GTK
=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3882 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3883 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3884 DEFAULT_DEFAULT_wxUSE_MSW
=0
3885 DEFAULT_DEFAULT_wxUSE_PM
=0
3886 DEFAULT_DEFAULT_wxUSE_X11
=0
3887 DEFAULT_DEFAULT_wxUSE_DFB
=0
3891 DYLIB_RPATH_INSTALL
=
3892 DYLIB_RPATH_POSTLINK
=
3894 DEFAULT_STD_FLAG
=yes
3899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3900 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3901 $as_echo "#define __HPUX__ 1" >>confdefs.h
3904 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3908 $as_echo "#define __LINUX__ 1" >>confdefs.h
3911 if test "x$TMP" = "xalpha"; then
3913 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3916 DEFAULT_DEFAULT_wxUSE_GTK
=1
3918 *-*-gnu* | *-*-k*bsd
*-gnu )
3921 if test "x$TMP" = "xalpha"; then
3923 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3926 DEFAULT_DEFAULT_wxUSE_GTK
=1
3928 *-*-irix5* | *-*-irix6* )
3931 $as_echo "#define __SGI__ 1" >>confdefs.h
3933 $as_echo "#define __SVR4__ 1" >>confdefs.h
3935 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3939 $as_echo "#define __QNX__ 1" >>confdefs.h
3941 DEFAULT_DEFAULT_wxUSE_X11
=1
3947 $as_echo "#define __SUN__ 1" >>confdefs.h
3949 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3951 $as_echo "#define __SVR4__ 1" >>confdefs.h
3953 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3954 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3960 $as_echo "#define __SUN__ 1" >>confdefs.h
3962 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3964 $as_echo "#define __BSD__ 1" >>confdefs.h
3966 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3971 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3973 $as_echo "#define __BSD__ 1" >>confdefs.h
3975 DEFAULT_DEFAULT_wxUSE_GTK
=1
3977 *-*-openbsd*|*-*-mirbsd*)
3980 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3982 $as_echo "#define __BSD__ 1" >>confdefs.h
3984 DEFAULT_DEFAULT_wxUSE_GTK
=1
3989 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3991 $as_echo "#define __BSD__ 1" >>confdefs.h
3993 DEFAULT_DEFAULT_wxUSE_GTK
=1
3994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3996 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4001 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4003 $as_echo "#define __OSF__ 1" >>confdefs.h
4005 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4006 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4011 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013 $as_echo "#define __SVR4__ 1" >>confdefs.h
4015 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4020 $as_echo "#define __SYSV__ 1" >>confdefs.h
4022 $as_echo "#define __SVR4__ 1" >>confdefs.h
4024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4030 $as_echo "#define __AIX__ 1" >>confdefs.h
4032 $as_echo "#define __SYSV__ 1" >>confdefs.h
4034 $as_echo "#define __SVR4__ 1" >>confdefs.h
4036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4043 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4047 *-*-cygwin* | *-*-mingw32* )
4049 DEFAULT_DEFAULT_wxUSE_MSW
=1
4055 $as_echo "#define __DOS__ 1" >>confdefs.h
4060 *-pc-os2_emx | *-pc-os2-emx )
4061 $as_echo "#define __EMX__ 1" >>confdefs.h
4064 $as_echo "#define __OS2__ 1" >>confdefs.h
4067 DEFAULT_DEFAULT_wxUSE_PM
=1
4069 LDFLAGS
="$LDFLAGS -Zcrtdll"
4070 ac_executable_extensions
=".exe"
4071 export ac_executable_extensions
4075 for ac_dir
in $PATH; do
4077 if test -z "$ac_TEMP_PATH"; then
4078 ac_TEMP_PATH
="$ac_dir"
4080 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4083 export PATH
="$ac_TEMP_PATH"
4091 $as_echo "#define __BSD__ 1" >>confdefs.h
4093 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4095 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4101 $as_echo "#define __BSD__ 1" >>confdefs.h
4103 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4107 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=1
4112 $as_echo "#define __BEOS__ 1" >>confdefs.h
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4118 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4120 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4122 DEFAULT_DEFAULT_wxUSE_X11
=1
4123 DEFAULT_wxUSE_SHARED
=no
4128 DEFAULT_wxUSE_ALL_FEATURES
=yes
4130 DEFAULT_wxUSE_STD_CONTAINERS
=no
4131 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4134 DEFAULT_wxUSE_DMALLOC
=no
4135 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4136 DEFAULT_wxUSE_LIBHILDON
=no
4137 DEFAULT_wxUSE_LIBHILDON2
=no
4138 DEFAULT_wxUSE_LIBMSPACK
=no
4139 DEFAULT_wxUSE_LIBSDL
=no
4141 DEFAULT_wxUSE_ACCESSIBILITY
=no
4142 DEFAULT_wxUSE_IPV6
=no
4143 DEFAULT_wxUSE_GSTREAMER8
=no
4144 DEFAULT_wxUSE_UNICODE_UTF8
=no
4145 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4147 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4148 DEFAULT_wxUSE_OPENGL
=auto
4149 DEFAULT_wxUSE_MEDIACTRL
=auto
4150 DEFAULT_wxUSE_COMPILER_TLS
=auto
4151 DEFAULT_wxUSE_HOTKEY
=auto
4152 DEFAULT_wxUSE_METAFILE
=auto
4154 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4155 DEFAULT_wxUSE_MAC_ARCH
=no
4157 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4159 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4165 enablestring
=disable
4167 if test -z "$defaultval"; then
4168 if test x
"$enablestring" = xdisable
; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4176 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4177 # Check whether --enable-gui was given.
4178 if test "${enable_gui+set}" = set; then :
4179 enableval
=$enable_gui;
4180 if test "$enableval" = yes; then
4181 wx_cv_use_gui
='wxUSE_GUI=yes'
4183 wx_cv_use_gui
='wxUSE_GUI=no'
4188 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4193 eval "$wx_cv_use_gui"
4195 if test x"$enablestring" = xdisable; then
4196 if test $wxUSE_GUI = no; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4206 $as_echo "$result" >&6; }
4211 if test -z "$defaultval"; then
4212 if test x"$enablestring" = xdisable; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4220 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4221 # Check whether --enable-monolithic was given.
4222 if test "${enable_monolithic+set}" = set; then :
4223 enableval=$enable_monolithic;
4224 if test "$enableval" = yes; then
4225 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4237 eval "$wx_cv_use_monolithic"
4239 if test x"$enablestring" = xdisable; then
4240 if test $wxUSE_MONOLITHIC = no; then
4246 result=$wxUSE_MONOLITHIC
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4250 $as_echo "$result" >&6; }
4255 if test -z "$defaultval"; then
4256 if test x"$enablestring" = xdisable; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4264 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4265 # Check whether --enable-plugins was given.
4266 if test "${enable_plugins+set}" = set; then :
4267 enableval=$enable_plugins;
4268 if test "$enableval" = yes; then
4269 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4271 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4276 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4281 eval "$wx_cv_use_plugins"
4283 if test x
"$enablestring" = xdisable
; then
4284 if test $wxUSE_PLUGINS = no
; then
4290 result
=$wxUSE_PLUGINS
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4294 $as_echo "$result" >&6; }
4298 defaultval
=$wxUSE_ALL_FEATURES
4299 if test -z "$defaultval"; then
4300 if test x
"$withstring" = xwithout
; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4307 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4309 # Check whether --with-subdirs was given.
4310 if test "${with_subdirs+set}" = set; then :
4311 withval
=$with_subdirs;
4312 if test "$withval" = yes; then
4313 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4315 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4320 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4325 eval "$wx_cv_use_subdirs"
4327 if test x"$withstring" = xwithout; then
4328 if test $wxWITH_SUBDIRS = yes; then
4334 result=$wxWITH_SUBDIRS
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4338 $as_echo "$result" >&6; }
4341 # Check whether --with-flavour was given.
4342 if test "${with_flavour+set}" = set; then :
4343 withval=$with_flavour; WX_FLAVOUR="$withval"
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4358 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4359 # Check whether --enable-official_build was given.
4360 if test "${enable_official_build+set}" = set; then :
4361 enableval=$enable_official_build;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4375 eval "$wx_cv_use_official_build"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_OFFICIAL_BUILD = no; then
4384 result=$wxUSE_OFFICIAL_BUILD
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4388 $as_echo "$result" >&6; }
4390 # Check whether --enable-vendor was given.
4391 if test "${enable_vendor+set}" = set; then :
4392 enableval=$enable_vendor; VENDOR="$enableval"
4395 if test "x
$VENDOR" = "x
"; then
4400 enablestring=disable
4402 if test -z "$defaultval"; then
4403 if test x"$enablestring" = xdisable; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4411 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4412 # Check whether --enable-all-features was given.
4413 if test "${enable_all_features+set}" = set; then :
4414 enableval=$enable_all_features;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4428 eval "$wx_cv_use_all_features"
4430 if test x
"$enablestring" = xdisable
; then
4431 if test $wxUSE_ALL_FEATURES = no
; then
4437 result
=$wxUSE_ALL_FEATURES
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4441 $as_echo "$result" >&6; }
4444 if test "$wxUSE_ALL_FEATURES" = "no"; then
4445 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4446 DEFAULT_wxUSE_MEDIACTRL
=no
4450 if test "$wxUSE_GUI" = "yes"; then
4455 if test -z "$defaultval"; then
4456 if test x
"$enablestring" = xdisable
; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4464 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4465 # Check whether --enable-universal was given.
4466 if test "${enable_universal+set}" = set; then :
4467 enableval
=$enable_universal;
4468 if test "$enableval" = yes; then
4469 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4471 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4476 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4481 eval "$wx_cv_use_universal"
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_UNIVERSAL = no; then
4490 result=$wxUSE_UNIVERSAL
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4494 $as_echo "$result" >&6; }
4496 if test "$wxUSE_UNIVERSAL" = "yes"; then
4498 # Check whether --with-themes was given.
4499 if test "${with_themes+set}" = set; then :
4500 withval=$with_themes; wxUNIV_THEMES="$withval"
4506 # Check whether --with-gtk was given.
4507 if test "${with_gtk+set}" = set; then :
4508 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4512 # Check whether --with-motif was given.
4513 if test "${with_motif+set}" = set; then :
4514 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4518 # Check whether --with-osx_carbon was given.
4519 if test "${with_osx_carbon+set}" = set; then :
4520 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4524 # Check whether --with-osx_cocoa was given.
4525 if test "${with_osx_cocoa+set}" = set; then :
4526 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4530 # Check whether --with-osx_iphone was given.
4531 if test "${with_osx_iphone+set}" = set; then :
4532 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4536 # Check whether --with-osx was given.
4537 if test "${with_osx+set}" = set; then :
4538 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4542 # Check whether --with-carbon was given.
4543 if test "${with_carbon+set}" = set; then :
4544 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4548 # Check whether --with-cocoa was given.
4549 if test "${with_cocoa+set}" = set; then :
4550 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4554 # Check whether --with-iphone was given.
4555 if test "${with_iphone+set}" = set; then :
4556 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4560 # Check whether --with-mac was given.
4561 if test "${with_mac+set}" = set; then :
4562 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4566 # Check whether --with-old_cocoa was given.
4567 if test "${with_old_cocoa+set}" = set; then :
4568 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4572 # Check whether --with-wine was given.
4573 if test "${with_wine+set}" = set; then :
4574 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4578 # Check whether --with-msw was given.
4579 if test "${with_msw+set}" = set; then :
4580 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4584 # Check whether --with-pm was given.
4585 if test "${with_pm+set}" = set; then :
4586 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4590 # Check whether --with-directfb was given.
4591 if test "${with_directfb+set}" = set; then :
4592 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4596 # Check whether --with-microwin was given.
4597 if test "${with_microwin+set}" = set; then :
4598 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4602 # Check whether --with-x11 was given.
4603 if test "${with_x11+set}" = set; then :
4604 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4619 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4620 # Check whether --enable-nanox was given.
4621 if test "${enable_nanox+set}" = set; then :
4622 enableval=$enable_nanox;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4626 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4631 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4636 eval "$wx_cv_use_nanox"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_NANOX = no; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4649 $as_echo "$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4663 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4664 # Check whether --enable-gpe was given.
4665 if test "${enable_gpe+set}" = set; then :
4666 enableval=$enable_gpe;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_gpe='wxUSE_GPE=yes'
4670 wx_cv_use_gpe='wxUSE_GPE=no'
4675 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4680 eval "$wx_cv_use_gpe"
4682 if test x
"$enablestring" = xdisable
; then
4683 if test $wxUSE_GPE = no
; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4693 $as_echo "$result" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4698 $as_echo_n "checking for toolkit... " >&6; }
4702 # In Wine, we need to default to MSW, not GTK or MOTIF
4703 if test "$wxUSE_WINE" = "yes"; then
4704 DEFAULT_DEFAULT_wxUSE_GTK
=0
4705 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4706 DEFAULT_DEFAULT_wxUSE_MSW
=1
4713 if test "$wxUSE_GUI" = "yes"; then
4715 if test "$USE_BEOS" = 1; then
4716 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4719 if test "$TOOLKIT_GIVEN" = 1; then
4720 for toolkit
in $ALL_TOOLKITS; do
4722 eval "value=\$${var}"
4723 if test "x$value" = "xno"; then
4725 elif test "x$value" != "x"; then
4729 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4730 eval "wx${toolkit}_VERSION=$value"
4734 for toolkit
in $ALL_TOOLKITS; do
4735 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4736 eval "wxUSE_$toolkit=\$${var}"
4740 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4741 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4742 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4745 *-pc-os2_emx | *-pc-os2-emx )
4746 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4749 case "$NUM_TOOLKITS" in
4753 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4756 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4759 for toolkit
in $ALL_TOOLKITS; do
4761 eval "value=\$${var}"
4762 if test "$value" = 1; then
4763 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4765 $as_echo "$toolkit_echo" >&6; }
4769 if test "x$host_alias" != "x"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4771 $as_echo "base ($host_alias hosted) only" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4774 $as_echo "base only" >&6; }
4779 if test "$wxUSE_OSX_CARBON" = 1 \
4780 -o "$wxUSE_OSX_COCOA" = 1 \
4781 -o "$wxUSE_OSX_IPHONE" = 1; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4788 $as_echo_n "checking for --with-libpng... " >&6; }
4790 # Check whether --with-libpng was given.
4791 if test "${with_libpng+set}" = set; then :
4792 withval
=$with_libpng;
4793 if test "$withval" = yes; then
4794 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4795 elif test "$withval" = no
; then
4796 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4797 elif test "$withval" = sys
; then
4798 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4799 elif test "$withval" = builtin; then
4800 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4802 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4807 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4812 eval "$wx_cv_use_libpng"
4814 if test "$wxUSE_LIBPNG" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 elif test "$wxUSE_LIBPNG" = no; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 elif test "$wxUSE_LIBPNG" = sys; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4822 $as_echo "system version" >&6; }
4823 elif test "$wxUSE_LIBPNG" = builtin; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4825 $as_echo "builtin version" >&6; }
4827 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4832 $as_echo_n "checking for --with-libjpeg... " >&6; }
4834 # Check whether --with-libjpeg was given.
4835 if test "${with_libjpeg+set}" = set; then :
4836 withval=$with_libjpeg;
4837 if test "$withval" = yes; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4839 elif test "$withval" = no; then
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4841 elif test "$withval" = sys; then
4842 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4843 elif test "$withval" = builtin; then
4844 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4846 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4856 eval "$wx_cv_use_libjpeg"
4858 if test "$wxUSE_LIBJPEG" = yes; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4860 $as_echo "yes" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = no; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4863 $as_echo "no
" >&6; }
4864 elif test "$wxUSE_LIBJPEG" = sys; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4866 $as_echo "system version
" >&6; }
4867 elif test "$wxUSE_LIBJPEG" = builtin; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4869 $as_echo "builtin version
" >&6; }
4871 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4876 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4878 # Check whether --with-libtiff was given.
4879 if test "${with_libtiff+set}" = set; then :
4880 withval=$with_libtiff;
4881 if test "$withval" = yes; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4883 elif test "$withval" = no; then
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4885 elif test "$withval" = sys; then
4886 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4887 elif test "$withval" = builtin; then
4888 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4890 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4900 eval "$wx_cv_use_libtiff"
4902 if test "$wxUSE_LIBTIFF" = yes; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = no
; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 elif test "$wxUSE_LIBTIFF" = sys
; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4910 $as_echo "system version" >&6; }
4911 elif test "$wxUSE_LIBTIFF" = builtin; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4913 $as_echo "builtin version" >&6; }
4915 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4920 defaultval
=$wxUSE_ALL_FEATURES
4921 if test -z "$defaultval"; then
4922 if test x
"$withstring" = xwithout
; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4929 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4931 # Check whether --with-libjbig was given.
4932 if test "${with_libjbig+set}" = set; then :
4933 withval
=$with_libjbig;
4934 if test "$withval" = yes; then
4935 wx_cv_use_libjbig
='wxUSE_LIBJBIG=yes'
4937 wx_cv_use_libjbig
='wxUSE_LIBJBIG=no'
4942 wx_cv_use_libjbig
='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4947 eval "$wx_cv_use_libjbig"
4949 if test x"$withstring" = xwithout; then
4950 if test $wxUSE_LIBJBIG = yes; then
4956 result=$wxUSE_LIBJBIG
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4960 $as_echo "$result" >&6; }
4964 defaultval=$wxUSE_ALL_FEATURES
4965 if test -z "$defaultval"; then
4966 if test x"$withstring" = xwithout; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4973 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4975 # Check whether --with-liblzma was given.
4976 if test "${with_liblzma+set}" = set; then :
4977 withval=$with_liblzma;
4978 if test "$withval" = yes; then
4979 wx_cv_use_liblzma='wxUSE_LIBLZMA
=yes'
4981 wx_cv_use_liblzma='wxUSE_LIBLZMA
=no
'
4986 wx_cv_use_liblzma='wxUSE_LIBLZMA
=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4991 eval "$wx_cv_use_liblzma"
4993 if test x"$withstring" = xwithout; then
4994 if test $wxUSE_LIBLZMA = yes; then
5000 result=$wxUSE_LIBLZMA
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5004 $as_echo "$result" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libxpm" >&5
5008 $as_echo_n "checking
for --with-libxpm...
" >&6; }
5010 # Check whether --with-libxpm was given.
5011 if test "${with_libxpm+set}" = set; then :
5012 withval=$with_libxpm;
5013 if test "$withval" = yes; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5015 elif test "$withval" = no; then
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5017 elif test "$withval" = sys; then
5018 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5019 elif test "$withval" = builtin; then
5020 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5022 as_fn_error $? "Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5027 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5032 eval "$wx_cv_use_libxpm"
5034 if test "$wxUSE_LIBXPM" = yes; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 elif test "$wxUSE_LIBXPM" = no
; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 elif test "$wxUSE_LIBXPM" = sys
; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5042 $as_echo "system version" >&6; }
5043 elif test "$wxUSE_LIBXPM" = builtin; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5045 $as_echo "builtin version" >&6; }
5047 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5052 defaultval
=$wxUSE_ALL_FEATURES
5053 if test -z "$defaultval"; then
5054 if test x
"$withstring" = xwithout
; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5061 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5063 # Check whether --with-libiconv was given.
5064 if test "${with_libiconv+set}" = set; then :
5065 withval
=$with_libiconv;
5066 if test "$withval" = yes; then
5067 wx_cv_use_libiconv
='wxUSE_LIBICONV=yes'
5069 wx_cv_use_libiconv
='wxUSE_LIBICONV=no'
5074 wx_cv_use_libiconv
='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5079 eval "$wx_cv_use_libiconv"
5081 if test x"$withstring" = xwithout; then
5082 if test $wxUSE_LIBICONV = yes; then
5088 result=$wxUSE_LIBICONV
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5092 $as_echo "$result" >&6; }
5096 defaultval=$wxUSE_ALL_FEATURES
5097 if test -z "$defaultval"; then
5098 if test x"$withstring" = xwithout; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5105 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5107 # Check whether --with-libmspack was given.
5108 if test "${with_libmspack+set}" = set; then :
5109 withval=$with_libmspack;
5110 if test "$withval" = yes; then
5111 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
5113 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
5118 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5123 eval "$wx_cv_use_libmspack"
5125 if test x"$withstring" = xwithout; then
5126 if test $wxUSE_LIBMSPACK = yes; then
5132 result=$wxUSE_LIBMSPACK
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5136 $as_echo "$result" >&6; }
5140 defaultval=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x"$withstring" = xwithout; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gtkprint" >&5
5149 $as_echo_n "checking
for --${withstring:-with}-gtkprint...
" >&6; }
5151 # Check whether --with-gtkprint was given.
5152 if test "${with_gtkprint+set}" = set; then :
5153 withval=$with_gtkprint;
5154 if test "$withval" = yes; then
5155 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5157 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5162 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5167 eval "$wx_cv_use_gtkprint"
5169 if test x
"$withstring" = xwithout
; then
5170 if test $wxUSE_GTKPRINT = yes; then
5176 result
=$wxUSE_GTKPRINT
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5180 $as_echo "$result" >&6; }
5184 defaultval
=$wxUSE_ALL_FEATURES
5185 if test -z "$defaultval"; then
5186 if test x
"$withstring" = xwithout
; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5193 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5195 # Check whether --with-gnomeprint was given.
5196 if test "${with_gnomeprint+set}" = set; then :
5197 withval
=$with_gnomeprint;
5198 if test "$withval" = yes; then
5199 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
5201 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
5206 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5211 eval "$wx_cv_use_gnomeprint"
5213 if test x"$withstring" = xwithout; then
5214 if test $wxUSE_LIBGNOMEPRINT = yes; then
5220 result=$wxUSE_LIBGNOMEPRINT
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5224 $as_echo "$result" >&6; }
5228 defaultval=$wxUSE_ALL_FEATURES
5229 if test -z "$defaultval"; then
5230 if test x"$withstring" = xwithout; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5237 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5239 # Check whether --with-gnomevfs was given.
5240 if test "${with_gnomevfs+set}" = set; then :
5241 withval=$with_gnomevfs;
5242 if test "$withval" = yes; then
5243 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
5245 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
5250 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5255 eval "$wx_cv_use_gnomevfs"
5257 if test x"$withstring" = xwithout; then
5258 if test $wxUSE_LIBGNOMEVFS = yes; then
5264 result=$wxUSE_LIBGNOMEVFS
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5268 $as_echo "$result" >&6; }
5272 defaultval=$wxUSE_ALL_FEATURES
5273 if test -z "$defaultval"; then
5274 if test x"$withstring" = xwithout; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libnotify" >&5
5281 $as_echo_n "checking
for --${withstring:-with}-libnotify...
" >&6; }
5283 # Check whether --with-libnotify was given.
5284 if test "${with_libnotify+set}" = set; then :
5285 withval=$with_libnotify;
5286 if test "$withval" = yes; then
5287 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5289 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5294 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5299 eval "$wx_cv_use_libnotify"
5301 if test x
"$withstring" = xwithout
; then
5302 if test $wxUSE_LIBNOTIFY = yes; then
5308 result
=$wxUSE_LIBNOTIFY
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5312 $as_echo "$result" >&6; }
5316 defaultval
=$wxUSE_ALL_FEATURES
5317 if test -z "$defaultval"; then
5318 if test x
"$withstring" = xwithout
; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5325 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5327 # Check whether --with-hildon was given.
5328 if test "${with_hildon+set}" = set; then :
5329 withval
=$with_hildon;
5330 if test "$withval" = yes; then
5331 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5333 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5338 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5343 eval "$wx_cv_use_hildon"
5345 if test x"$withstring" = xwithout; then
5346 if test $wxUSE_LIBHILDON = yes; then
5352 result=$wxUSE_LIBHILDON
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5356 $as_echo "$result" >&6; }
5360 defaultval=$wxUSE_ALL_FEATURES
5361 if test -z "$defaultval"; then
5362 if test x"$withstring" = xwithout; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5369 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5371 # Check whether --with-opengl was given.
5372 if test "${with_opengl+set}" = set; then :
5373 withval=$with_opengl;
5374 if test "$withval" = yes; then
5375 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5377 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5382 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5387 eval "$wx_cv_use_opengl"
5389 if test x"$withstring" = xwithout; then
5390 if test $wxUSE_OPENGL = yes; then
5396 result=$wxUSE_OPENGL
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5400 $as_echo "$result" >&6; }
5407 defaultval=$wxUSE_ALL_FEATURES
5408 if test -z "$defaultval"; then
5409 if test x"$withstring" = xwithout; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5416 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5418 # Check whether --with-dmalloc was given.
5419 if test "${with_dmalloc+set}" = set; then :
5420 withval=$with_dmalloc;
5421 if test "$withval" = yes; then
5422 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5424 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5429 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5434 eval "$wx_cv_use_dmalloc"
5436 if test x
"$withstring" = xwithout
; then
5437 if test $wxUSE_DMALLOC = yes; then
5443 result
=$wxUSE_DMALLOC
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5447 $as_echo "$result" >&6; }
5451 defaultval
=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x
"$withstring" = xwithout
; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5460 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5462 # Check whether --with-sdl was given.
5463 if test "${with_sdl+set}" = set; then :
5465 if test "$withval" = yes; then
5466 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5468 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5473 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5478 eval "$wx_cv_use_sdl"
5480 if test x"$withstring" = xwithout; then
5481 if test $wxUSE_LIBSDL = yes; then
5487 result=$wxUSE_LIBSDL
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5491 $as_echo "$result" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5495 $as_echo_n "checking for --with-regex... " >&6; }
5497 # Check whether --with-regex was given.
5498 if test "${with_regex+set}" = set; then :
5499 withval=$with_regex;
5500 if test "$withval" = yes; then
5501 wx_cv_use_regex='wxUSE_REGEX
=yes'
5502 elif test "$withval" = no; then
5503 wx_cv_use_regex='wxUSE_REGEX
=no
'
5504 elif test "$withval" = sys; then
5505 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5506 elif test "$withval" = builtin; then
5507 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5509 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5514 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5519 eval "$wx_cv_use_regex"
5521 if test "$wxUSE_REGEX" = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5523 $as_echo "yes" >&6; }
5524 elif test "$wxUSE_REGEX" = no; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5527 elif test "$wxUSE_REGEX" = sys; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5529 $as_echo "system version
" >&6; }
5530 elif test "$wxUSE_REGEX" = builtin; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5532 $as_echo "builtin version
" >&6; }
5534 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5539 $as_echo_n "checking
for --with-zlib...
" >&6; }
5541 # Check whether --with-zlib was given.
5542 if test "${with_zlib+set}" = set; then :
5544 if test "$withval" = yes; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5546 elif test "$withval" = no; then
5547 wx_cv_use_zlib='wxUSE_ZLIB=no'
5548 elif test "$withval" = sys; then
5549 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5550 elif test "$withval" = builtin; then
5551 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5553 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5558 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5563 eval "$wx_cv_use_zlib"
5565 if test "$wxUSE_ZLIB" = yes; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 elif test "$wxUSE_ZLIB" = no
; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 elif test "$wxUSE_ZLIB" = sys
; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5573 $as_echo "system version" >&6; }
5574 elif test "$wxUSE_ZLIB" = builtin; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5576 $as_echo "builtin version" >&6; }
5578 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5583 $as_echo_n "checking for --with-expat... " >&6; }
5585 # Check whether --with-expat was given.
5586 if test "${with_expat+set}" = set; then :
5587 withval
=$with_expat;
5588 if test "$withval" = yes; then
5589 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5590 elif test "$withval" = no
; then
5591 wx_cv_use_expat
='wxUSE_EXPAT=no'
5592 elif test "$withval" = sys
; then
5593 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5594 elif test "$withval" = builtin; then
5595 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5597 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5602 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5607 eval "$wx_cv_use_expat"
5609 if test "$wxUSE_EXPAT" = yes; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5612 elif test "$wxUSE_EXPAT" = no; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 elif test "$wxUSE_EXPAT" = sys; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5617 $as_echo "system version" >&6; }
5618 elif test "$wxUSE_EXPAT" = builtin; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5620 $as_echo "builtin version" >&6; }
5622 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5627 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5629 # Check whether --with-macosx-sdk was given.
5630 if test "${with_macosx_sdk+set}" = set; then :
5631 withval=$with_macosx_sdk;
5632 wxUSE_MACOSX_SDK=$withval
5633 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5638 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5641 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5643 # Check whether --with-macosx-version-min was given.
5644 if test "${with_macosx_version_min+set}" = set; then :
5645 withval=$with_macosx_version_min;
5646 wxUSE_MACOSX_VERSION_MIN=$withval
5647 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5652 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5656 $as_echo_n "checking for --enable-debug... " >&6; }
5657 # Check whether --enable-debug was given.
5658 if test "${enable_debug+set}" = set; then :
5659 enableval=$enable_debug;
5660 if test "$enableval" = yes; then
5662 elif test "$enableval" = no; then
5664 elif test "$enableval" = max; then
5666 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5668 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5677 $as_echo "${enable_debug-default}" >&6; }
5679 case "$wxUSE_DEBUG" in
5681 DEFAULT_wxUSE_DEBUG_FLAG=yes
5682 DEFAULT_wxUSE_DEBUG_INFO=yes
5684 DEFAULT_wxUSE_OPTIMISE=no
5688 DEFAULT_wxUSE_DEBUG_FLAG=no
5689 DEFAULT_wxUSE_DEBUG_INFO=no
5693 DEFAULT_wxUSE_DEBUG_FLAG=yes
5694 DEFAULT_wxUSE_DEBUG_INFO=no
5699 enablestring=disable
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5710 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5711 # Check whether --enable-debug_flag was given.
5712 if test "${enable_debug_flag+set}" = set; then :
5713 enableval=$enable_debug_flag;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5717 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5722 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5727 eval "$wx_cv_use_debug_flag"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_DEBUG_FLAG = no; then
5736 result=$wxUSE_DEBUG_FLAG
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5740 $as_echo "$result" >&6; }
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5754 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5755 # Check whether --enable-debug_info was given.
5756 if test "${enable_debug_info+set}" = set; then :
5757 enableval=$enable_debug_info;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5761 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5766 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5771 eval "$wx_cv_use_debug_info"
5773 if test x
"$enablestring" = xdisable
; then
5774 if test $wxUSE_DEBUG_INFO = no
; then
5780 result
=$wxUSE_DEBUG_INFO
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5784 $as_echo "$result" >&6; }
5791 if test -z "$defaultval"; then
5792 if test x
"$enablestring" = xdisable
; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5800 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5801 # Check whether --enable-debug_gdb was given.
5802 if test "${enable_debug_gdb+set}" = set; then :
5803 enableval
=$enable_debug_gdb;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5807 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5812 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5817 eval "$wx_cv_use_debug_gdb"
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_DEBUG_GDB = no; then
5826 result=$wxUSE_DEBUG_GDB
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5830 $as_echo "$result" >&6; }
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5844 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5845 # Check whether --enable-debug_cntxt was given.
5846 if test "${enable_debug_cntxt+set}" = set; then :
5847 enableval=$enable_debug_cntxt;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5856 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5861 eval "$wx_cv_use_debug_cntxt"
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_DEBUG_CONTEXT = no; then
5870 result=$wxUSE_DEBUG_CONTEXT
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5874 $as_echo "$result" >&6; }
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5888 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5889 # Check whether --enable-mem_tracing was given.
5890 if test "${enable_mem_tracing+set}" = set; then :
5891 enableval=$enable_mem_tracing;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5895 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5900 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5905 eval "$wx_cv_use_mem_tracing"
5907 if test x
"$enablestring" = xdisable
; then
5908 if test $wxUSE_MEM_TRACING = no
; then
5914 result
=$wxUSE_MEM_TRACING
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5918 $as_echo "$result" >&6; }
5923 enablestring
=disable
5925 if test -z "$defaultval"; then
5926 if test x
"$enablestring" = xdisable
; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5935 # Check whether --enable-shared was given.
5936 if test "${enable_shared+set}" = set; then :
5937 enableval
=$enable_shared;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_shared
='wxUSE_SHARED=yes'
5941 wx_cv_use_shared
='wxUSE_SHARED=no'
5946 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5951 eval "$wx_cv_use_shared"
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_SHARED = no; then
5960 result=$wxUSE_SHARED
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5979 # Check whether --enable-stl was given.
5980 if test "${enable_stl+set}" = set; then :
5981 enableval=$enable_stl;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_stl='wxUSE_STL
=yes'
5985 wx_cv_use_stl='wxUSE_STL
=no
'
5990 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5995 eval "$wx_cv_use_stl"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STL = no; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6008 $as_echo "$result" >&6; }
6010 if test "$wxUSE_STL" = "yes"; then
6011 DEFAULT_wxUSE_STD_CONTAINERS=yes
6012 DEFAULT_wxUSE_STD_IOSTREAM=yes
6013 DEFAULT_wxUSE_STD_STRING=yes
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
6027 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
6028 # Check whether --enable-std_containers was given.
6029 if test "${enable_std_containers+set}" = set; then :
6030 enableval=$enable_std_containers;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6034 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6039 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6044 eval "$wx_cv_use_std_containers"
6046 if test x
"$enablestring" = xdisable
; then
6047 if test $wxUSE_STD_CONTAINERS = no
; then
6053 result
=$wxUSE_STD_CONTAINERS
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6057 $as_echo "$result" >&6; }
6062 if test -z "$defaultval"; then
6063 if test x
"$enablestring" = xdisable
; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6071 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6072 # Check whether --enable-std_iostreams was given.
6073 if test "${enable_std_iostreams+set}" = set; then :
6074 enableval
=$enable_std_iostreams;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6078 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6083 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6088 eval "$wx_cv_use_std_iostreams"
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_STD_IOSTREAM = no; then
6097 result=$wxUSE_STD_IOSTREAM
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6101 $as_echo "$result" >&6; }
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6115 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6116 # Check whether --enable-std_string was given.
6117 if test "${enable_std_string+set}" = set; then :
6118 enableval=$enable_std_string;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
6122 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6127 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6132 eval "$wx_cv_use_std_string"
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_STD_STRING = no; then
6141 result=$wxUSE_STD_STRING
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6145 $as_echo "$result" >&6; }
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6159 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6160 # Check whether --enable-std_string_conv_in_wxstring was given.
6161 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6162 enableval=$enable_std_string_conv_in_wxstring;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6166 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6171 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6176 eval "$wx_cv_use_std_string_conv_in_wxstring"
6178 if test x
"$enablestring" = xdisable
; then
6179 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6185 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6192 enablestring
=disable
6194 if test -z "$defaultval"; then
6195 if test x
"$enablestring" = xdisable
; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6204 # Check whether --enable-unicode was given.
6205 if test "${enable_unicode+set}" = set; then :
6206 enableval
=$enable_unicode;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6210 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6215 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6220 eval "$wx_cv_use_unicode"
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_UNICODE = no; then
6229 result=$wxUSE_UNICODE
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6247 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6248 # Check whether --enable-mslu was given.
6249 if test "${enable_mslu+set}" = set; then :
6250 enableval=$enable_mslu;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6254 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6259 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6264 eval "$wx_cv_use_mslu"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_UNICODE_MSLU = no; then
6273 result=$wxUSE_UNICODE_MSLU
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6277 $as_echo "$result" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6282 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6283 # Check whether --enable-utf8 was given.
6284 if test "${enable_utf8+set}" = set; then :
6285 enableval=$enable_utf8;
6286 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6290 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6295 eval "$wx_cv_use_utf8"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6298 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6303 if test -z "$defaultval"; then
6304 if test x"$enablestring" = xdisable; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6312 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6313 # Check whether --enable-utf8only was given.
6314 if test "${enable_utf8only+set}" = set; then :
6315 enableval=$enable_utf8only;
6316 if test "$enableval" = yes; then
6317 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6319 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6324 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6329 eval "$wx_cv_use_utf8only"
6331 if test x
"$enablestring" = xdisable
; then
6332 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6338 result
=$wxUSE_UNICODE_UTF8_LOCALE
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6342 $as_echo "$result" >&6; }
6347 if test -z "$defaultval"; then
6348 if test x
"$enablestring" = xdisable
; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6356 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6357 # Check whether --enable-extended_rtti was given.
6358 if test "${enable_extended_rtti+set}" = set; then :
6359 enableval
=$enable_extended_rtti;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6363 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6368 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6373 eval "$wx_cv_use_extended_rtti"
6375 if test x"$enablestring" = xdisable; then
6376 if test $wxUSE_EXTENDED_RTTI = no; then
6382 result=$wxUSE_EXTENDED_RTTI
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6386 $as_echo "$result" >&6; }
6388 if test "$USE_OS2" = 1; then
6389 DEFAULT_wxUSE_OMF=no
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6402 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6403 # Check whether --enable-omf was given.
6404 if test "${enable_omf+set}" = set; then :
6405 enableval=$enable_omf;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_omf='wxUSE_OMF
=yes'
6409 wx_cv_use_omf='wxUSE_OMF
=no
'
6414 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6419 eval "$wx_cv_use_omf"
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OMF = no; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6432 $as_echo "$result" >&6; }
6437 enablestring=disable
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6448 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6449 # Check whether --enable-optimise was given.
6450 if test "${enable_optimise+set}" = set; then :
6451 enableval=$enable_optimise;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6455 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6460 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6465 eval "$wx_cv_use_optimise"
6467 if test x
"$enablestring" = xdisable
; then
6468 if test $wxUSE_OPTIMISE = no
; then
6474 result
=$wxUSE_OPTIMISE
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6478 $as_echo "$result" >&6; }
6484 if test -z "$defaultval"; then
6485 if test x
"$enablestring" = xdisable
; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6493 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6494 # Check whether --enable-profile was given.
6495 if test "${enable_profile+set}" = set; then :
6496 enableval
=$enable_profile;
6497 if test "$enableval" = yes; then
6498 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6500 wx_cv_use_profile
='wxUSE_PROFILE=no'
6505 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6510 eval "$wx_cv_use_profile"
6512 if test x"$enablestring" = xdisable; then
6513 if test $wxUSE_PROFILE = no; then
6519 result=$wxUSE_PROFILE
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6523 $as_echo "$result" >&6; }
6528 if test -z "$defaultval"; then
6529 if test x"$enablestring" = xdisable; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6537 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6538 # Check whether --enable-no_rtti was given.
6539 if test "${enable_no_rtti+set}" = set; then :
6540 enableval=$enable_no_rtti;
6541 if test "$enableval" = yes; then
6542 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6544 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6549 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6554 eval "$wx_cv_use_no_rtti"
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_NO_RTTI = no; then
6563 result=$wxUSE_NO_RTTI
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6567 $as_echo "$result" >&6; }
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6581 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6582 # Check whether --enable-no_exceptions was given.
6583 if test "${enable_no_exceptions+set}" = set; then :
6584 enableval=$enable_no_exceptions;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6588 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6593 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6598 eval "$wx_cv_use_no_exceptions"
6600 if test x
"$enablestring" = xdisable
; then
6601 if test $wxUSE_NO_EXCEPTIONS = no
; then
6607 result
=$wxUSE_NO_EXCEPTIONS
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6611 $as_echo "$result" >&6; }
6616 if test -z "$defaultval"; then
6617 if test x
"$enablestring" = xdisable
; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6625 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6626 # Check whether --enable-permissive was given.
6627 if test "${enable_permissive+set}" = set; then :
6628 enableval
=$enable_permissive;
6629 if test "$enableval" = yes; then
6630 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6632 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6637 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6642 eval "$wx_cv_use_permissive"
6644 if test x"$enablestring" = xdisable; then
6645 if test $wxUSE_PERMISSIVE = no; then
6651 result=$wxUSE_PERMISSIVE
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6655 $as_echo "$result" >&6; }
6660 if test -z "$defaultval"; then
6661 if test x"$enablestring" = xdisable; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6669 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6670 # Check whether --enable-no_deps was given.
6671 if test "${enable_no_deps+set}" = set; then :
6672 enableval=$enable_no_deps;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6676 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6681 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6686 eval "$wx_cv_use_no_deps"
6688 if test x"$enablestring" = xdisable; then
6689 if test $wxUSE_NO_DEPS = no; then
6695 result=$wxUSE_NO_DEPS
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6699 $as_echo "$result" >&6; }
6702 enablestring=disable
6704 if test -z "$defaultval"; then
6705 if test x"$enablestring" = xdisable; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6713 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6714 # Check whether --enable-vararg_macros was given.
6715 if test "${enable_vararg_macros+set}" = set; then :
6716 enableval=$enable_vararg_macros;
6717 if test "$enableval" = yes; then
6718 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6720 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6725 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6730 eval "$wx_cv_use_vararg_macros"
6732 if test x
"$enablestring" = xdisable
; then
6733 if test $wxUSE_VARARG_MACROS = no
; then
6739 result
=$wxUSE_VARARG_MACROS
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6743 $as_echo "$result" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6749 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6750 # Check whether --enable-universal_binary was given.
6751 if test "${enable_universal_binary+set}" = set; then :
6752 enableval
=$enable_universal_binary;
6753 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6757 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6762 eval "$wx_cv_use_universal_binary"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6765 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6770 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6771 # Check whether --enable-macosx_arch was given.
6772 if test "${enable_macosx_arch+set}" = set; then :
6773 enableval
=$enable_macosx_arch;
6774 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6778 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6783 eval "$wx_cv_use_macosx_arch"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6786 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6792 if test -z "$defaultval"; then
6793 if test x
"$enablestring" = xdisable
; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6801 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6802 # Check whether --enable-compat26 was given.
6803 if test "${enable_compat26+set}" = set; then :
6804 enableval
=$enable_compat26;
6805 if test "$enableval" = yes; then
6806 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6808 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6813 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6818 eval "$wx_cv_use_compat26"
6820 if test x"$enablestring" = xdisable; then
6821 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6827 result=$WXWIN_COMPATIBILITY_2_6
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6831 $as_echo "$result" >&6; }
6834 enablestring=disable
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6845 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6846 # Check whether --enable-compat28 was given.
6847 if test "${enable_compat28+set}" = set; then :
6848 enableval=$enable_compat28;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6852 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6857 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6862 eval "$wx_cv_use_compat28"
6864 if test x"$enablestring" = xdisable; then
6865 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6871 result=$WXWIN_COMPATIBILITY_2_8
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6875 $as_echo "$result" >&6; }
6879 enablestring=disable
6881 if test -z "$defaultval"; then
6882 if test x"$enablestring" = xdisable; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6890 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6891 # Check whether --enable-rpath was given.
6892 if test "${enable_rpath+set}" = set; then :
6893 enableval=$enable_rpath;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_rpath='wxUSE_RPATH=yes'
6897 wx_cv_use_rpath='wxUSE_RPATH=no'
6902 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6907 eval "$wx_cv_use_rpath"
6909 if test x
"$enablestring" = xdisable
; then
6910 if test $wxUSE_RPATH = no
; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6920 $as_echo "$result" >&6; }
6926 if test -z "$defaultval"; then
6927 if test x
"$enablestring" = xdisable
; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6935 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6936 # Check whether --enable-objc_uniquifying was given.
6937 if test "${enable_objc_uniquifying+set}" = set; then :
6938 enableval
=$enable_objc_uniquifying;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6942 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6947 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6952 eval "$wx_cv_use_objc_uniquifying"
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6961 result=$wxUSE_OBJC_UNIQUIFYING
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6965 $as_echo "$result" >&6; }
6969 enablestring=disable
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6980 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6981 # Check whether --enable-visibility was given.
6982 if test "${enable_visibility+set}" = set; then :
6983 enableval=$enable_visibility;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6987 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6992 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6997 eval "$wx_cv_use_visibility"
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_VISIBILITY = no; then
7006 result=$wxUSE_VISIBILITY
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7010 $as_echo "$result" >&6; }
7013 enablestring=disable
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
7024 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
7025 # Check whether --enable-tls was given.
7026 if test "${enable_tls+set}" = set; then :
7027 enableval=$enable_tls;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7031 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7036 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7041 eval "$wx_cv_use_tls"
7043 if test x
"$enablestring" = xdisable
; then
7044 if test $wxUSE_COMPILER_TLS = no
; then
7050 result
=$wxUSE_COMPILER_TLS
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7054 $as_echo "$result" >&6; }
7060 defaultval
=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x
"$enablestring" = xdisable
; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7070 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7071 # Check whether --enable-intl was given.
7072 if test "${enable_intl+set}" = set; then :
7073 enableval
=$enable_intl;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_intl
='wxUSE_INTL=yes'
7077 wx_cv_use_intl
='wxUSE_INTL=no'
7082 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7087 eval "$wx_cv_use_intl"
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_INTL = no; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7100 $as_echo "$result" >&6; }
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7114 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7115 # Check whether --enable-xlocale was given.
7116 if test "${enable_xlocale+set}" = set; then :
7117 enableval=$enable_xlocale;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
7121 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
7126 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7131 eval "$wx_cv_use_xlocale"
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_XLOCALE = no; then
7140 result=$wxUSE_XLOCALE
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7144 $as_echo "$result" >&6; }
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7158 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7159 # Check whether --enable-config was given.
7160 if test "${enable_config+set}" = set; then :
7161 enableval=$enable_config;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_config='wxUSE_CONFIG=yes'
7165 wx_cv_use_config='wxUSE_CONFIG=no'
7170 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7175 eval "$wx_cv_use_config"
7177 if test x
"$enablestring" = xdisable
; then
7178 if test $wxUSE_CONFIG = no
; then
7184 result
=$wxUSE_CONFIG
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7188 $as_echo "$result" >&6; }
7193 defaultval
=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x
"$enablestring" = xdisable
; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7203 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7204 # Check whether --enable-protocols was given.
7205 if test "${enable_protocols+set}" = set; then :
7206 enableval
=$enable_protocols;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7210 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7215 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7220 eval "$wx_cv_use_protocols"
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_PROTOCOL = no; then
7229 result=$wxUSE_PROTOCOL
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7233 $as_echo "$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7247 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7248 # Check whether --enable-ftp was given.
7249 if test "${enable_ftp+set}" = set; then :
7250 enableval=$enable_ftp;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7254 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7259 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7264 eval "$wx_cv_use_ftp"
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_PROTOCOL_FTP = no; then
7273 result=$wxUSE_PROTOCOL_FTP
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7277 $as_echo "$result" >&6; }
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7291 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7292 # Check whether --enable-http was given.
7293 if test "${enable_http+set}" = set; then :
7294 enableval=$enable_http;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7298 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7303 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7308 eval "$wx_cv_use_http"
7310 if test x
"$enablestring" = xdisable
; then
7311 if test $wxUSE_PROTOCOL_HTTP = no
; then
7317 result
=$wxUSE_PROTOCOL_HTTP
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7321 $as_echo "$result" >&6; }
7325 defaultval
=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x
"$enablestring" = xdisable
; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7335 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7336 # Check whether --enable-fileproto was given.
7337 if test "${enable_fileproto+set}" = set; then :
7338 enableval
=$enable_fileproto;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7342 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7347 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7352 eval "$wx_cv_use_fileproto"
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_PROTOCOL_FILE = no; then
7361 result=$wxUSE_PROTOCOL_FILE
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7365 $as_echo "$result" >&6; }
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7379 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7380 # Check whether --enable-sockets was given.
7381 if test "${enable_sockets+set}" = set; then :
7382 enableval=$enable_sockets;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7386 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7391 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7396 eval "$wx_cv_use_sockets"
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_SOCKETS = no; then
7405 result=$wxUSE_SOCKETS
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7409 $as_echo "$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7423 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7424 # Check whether --enable-ipv6 was given.
7425 if test "${enable_ipv6+set}" = set; then :
7426 enableval=$enable_ipv6;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7430 wx_cv_use_ipv6='wxUSE_IPV6=no'
7435 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7440 eval "$wx_cv_use_ipv6"
7442 if test x
"$enablestring" = xdisable
; then
7443 if test $wxUSE_IPV6 = no
; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7453 $as_echo "$result" >&6; }
7457 defaultval
=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x
"$enablestring" = xdisable
; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7467 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7468 # Check whether --enable-ole was given.
7469 if test "${enable_ole+set}" = set; then :
7470 enableval
=$enable_ole;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_ole
='wxUSE_OLE=yes'
7474 wx_cv_use_ole
='wxUSE_OLE=no'
7479 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7484 eval "$wx_cv_use_ole"
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_OLE = no; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7497 $as_echo "$result" >&6; }
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7511 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7512 # Check whether --enable-dataobj was given.
7513 if test "${enable_dataobj+set}" = set; then :
7514 enableval=$enable_dataobj;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7518 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7523 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7528 eval "$wx_cv_use_dataobj"
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_DATAOBJ = no; then
7537 result=$wxUSE_DATAOBJ
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7541 $as_echo "$result" >&6; }
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7556 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7557 # Check whether --enable-ipc was given.
7558 if test "${enable_ipc+set}" = set; then :
7559 enableval=$enable_ipc;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_ipc='wxUSE_IPC=yes'
7563 wx_cv_use_ipc='wxUSE_IPC=no'
7568 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7573 eval "$wx_cv_use_ipc"
7575 if test x
"$enablestring" = xdisable
; then
7576 if test $wxUSE_IPC = no
; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7586 $as_echo "$result" >&6; }
7591 defaultval
=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x
"$enablestring" = xdisable
; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7601 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7602 # Check whether --enable-baseevtloop was given.
7603 if test "${enable_baseevtloop+set}" = set; then :
7604 enableval
=$enable_baseevtloop;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7608 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7613 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7618 eval "$wx_cv_use_baseevtloop"
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7627 result=$wxUSE_CONSOLE_EVENTLOOP
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7631 $as_echo "$result" >&6; }
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7645 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7646 # Check whether --enable-epollloop was given.
7647 if test "${enable_epollloop+set}" = set; then :
7648 enableval=$enable_epollloop;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7652 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7657 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7662 eval "$wx_cv_use_epollloop"
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_EPOLL_DISPATCHER = no; then
7671 result=$wxUSE_EPOLL_DISPATCHER
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7675 $as_echo "$result" >&6; }
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7689 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7690 # Check whether --enable-selectloop was given.
7691 if test "${enable_selectloop+set}" = set; then :
7692 enableval=$enable_selectloop;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7696 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7701 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7706 eval "$wx_cv_use_selectloop"
7708 if test x
"$enablestring" = xdisable
; then
7709 if test $wxUSE_SELECT_DISPATCHER = no
; then
7715 result
=$wxUSE_SELECT_DISPATCHER
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7719 $as_echo "$result" >&6; }
7724 defaultval
=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x
"$enablestring" = xdisable
; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7734 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7735 # Check whether --enable-any was given.
7736 if test "${enable_any+set}" = set; then :
7737 enableval
=$enable_any;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_any
='wxUSE_ANY=yes'
7741 wx_cv_use_any
='wxUSE_ANY=no'
7746 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7751 eval "$wx_cv_use_any"
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_ANY = no; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7764 $as_echo "$result" >&6; }
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7778 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7779 # Check whether --enable-apple_ieee was given.
7780 if test "${enable_apple_ieee+set}" = set; then :
7781 enableval=$enable_apple_ieee;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7785 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7790 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7795 eval "$wx_cv_use_apple_ieee"
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_APPLE_IEEE = no; then
7804 result=$wxUSE_APPLE_IEEE
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7808 $as_echo "$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7822 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7823 # Check whether --enable-arcstream was given.
7824 if test "${enable_arcstream+set}" = set; then :
7825 enableval=$enable_arcstream;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7829 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7834 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7839 eval "$wx_cv_use_arcstream"
7841 if test x
"$enablestring" = xdisable
; then
7842 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7848 result
=$wxUSE_ARCHIVE_STREAMS
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7852 $as_echo "$result" >&6; }
7856 defaultval
=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x
"$enablestring" = xdisable
; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7866 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7867 # Check whether --enable-base64 was given.
7868 if test "${enable_base64+set}" = set; then :
7869 enableval
=$enable_base64;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_base64
='wxUSE_BASE64=yes'
7873 wx_cv_use_base64
='wxUSE_BASE64=no'
7878 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7883 eval "$wx_cv_use_base64"
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_BASE64 = no; then
7892 result=$wxUSE_BASE64
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7896 $as_echo "$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7910 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7911 # Check whether --enable-backtrace was given.
7912 if test "${enable_backtrace+set}" = set; then :
7913 enableval=$enable_backtrace;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7917 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7922 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7927 eval "$wx_cv_use_backtrace"
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STACKWALKER = no; then
7936 result=$wxUSE_STACKWALKER
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7940 $as_echo "$result" >&6; }
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7954 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7955 # Check whether --enable-catch_segvs was given.
7956 if test "${enable_catch_segvs+set}" = set; then :
7957 enableval=$enable_catch_segvs;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7961 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7966 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7971 eval "$wx_cv_use_catch_segvs"
7973 if test x
"$enablestring" = xdisable
; then
7974 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7980 result
=$wxUSE_ON_FATAL_EXCEPTION
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7984 $as_echo "$result" >&6; }
7988 defaultval
=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x
"$enablestring" = xdisable
; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7998 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7999 # Check whether --enable-cmdline was given.
8000 if test "${enable_cmdline+set}" = set; then :
8001 enableval
=$enable_cmdline;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
8005 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
8010 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8015 eval "$wx_cv_use_cmdline"
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_CMDLINE_PARSER = no; then
8024 result=$wxUSE_CMDLINE_PARSER
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8028 $as_echo "$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8042 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8043 # Check whether --enable-datetime was given.
8044 if test "${enable_datetime+set}" = set; then :
8045 enableval=$enable_datetime;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
8049 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
8054 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8059 eval "$wx_cv_use_datetime"
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_DATETIME = no; then
8068 result=$wxUSE_DATETIME
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8072 $as_echo "$result" >&6; }
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
8086 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
8087 # Check whether --enable-debugreport was given.
8088 if test "${enable_debugreport+set}" = set; then :
8089 enableval=$enable_debugreport;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8093 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8098 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8103 eval "$wx_cv_use_debugreport"
8105 if test x
"$enablestring" = xdisable
; then
8106 if test $wxUSE_DEBUGREPORT = no
; then
8112 result
=$wxUSE_DEBUGREPORT
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8116 $as_echo "$result" >&6; }
8120 defaultval
=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x
"$enablestring" = xdisable
; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8130 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8131 # Check whether --enable-dialupman was given.
8132 if test "${enable_dialupman+set}" = set; then :
8133 enableval
=$enable_dialupman;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8137 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8142 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8147 eval "$wx_cv_use_dialupman"
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_DIALUP_MANAGER = no; then
8156 result=$wxUSE_DIALUP_MANAGER
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8160 $as_echo "$result" >&6; }
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8174 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8175 # Check whether --enable-dynlib was given.
8176 if test "${enable_dynlib+set}" = set; then :
8177 enableval=$enable_dynlib;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8181 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8186 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8191 eval "$wx_cv_use_dynlib"
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_DYNLIB_CLASS = no; then
8200 result=$wxUSE_DYNLIB_CLASS
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8204 $as_echo "$result" >&6; }
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8218 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8219 # Check whether --enable-dynamicloader was given.
8220 if test "${enable_dynamicloader+set}" = set; then :
8221 enableval=$enable_dynamicloader;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8225 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8230 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8235 eval "$wx_cv_use_dynamicloader"
8237 if test x
"$enablestring" = xdisable
; then
8238 if test $wxUSE_DYNAMIC_LOADER = no
; then
8244 result
=$wxUSE_DYNAMIC_LOADER
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8248 $as_echo "$result" >&6; }
8252 defaultval
=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x
"$enablestring" = xdisable
; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8262 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8263 # Check whether --enable-exceptions was given.
8264 if test "${enable_exceptions+set}" = set; then :
8265 enableval
=$enable_exceptions;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8269 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8274 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8279 eval "$wx_cv_use_exceptions"
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_EXCEPTIONS = no; then
8288 result=$wxUSE_EXCEPTIONS
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8292 $as_echo "$result" >&6; }
8296 defaultval=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x"$enablestring" = xdisable; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8306 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8307 # Check whether --enable-ffile was given.
8308 if test "${enable_ffile+set}" = set; then :
8309 enableval=$enable_ffile;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8313 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8318 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8323 eval "$wx_cv_use_ffile"
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_FFILE = no; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8336 $as_echo "$result" >&6; }
8340 defaultval=$wxUSE_ALL_FEATURES
8341 if test -z "$defaultval"; then
8342 if test x"$enablestring" = xdisable; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8350 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8351 # Check whether --enable-file was given.
8352 if test "${enable_file+set}" = set; then :
8353 enableval=$enable_file;
8354 if test "$enableval" = yes; then
8355 wx_cv_use_file='wxUSE_FILE=yes'
8357 wx_cv_use_file='wxUSE_FILE=no'
8362 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8367 eval "$wx_cv_use_file"
8369 if test x
"$enablestring" = xdisable
; then
8370 if test $wxUSE_FILE = no
; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8380 $as_echo "$result" >&6; }
8384 defaultval
=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x
"$enablestring" = xdisable
; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8394 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8395 # Check whether --enable-filehistory was given.
8396 if test "${enable_filehistory+set}" = set; then :
8397 enableval
=$enable_filehistory;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8401 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8406 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8411 eval "$wx_cv_use_filehistory"
8413 if test x"$enablestring" = xdisable; then
8414 if test $wxUSE_FILE_HISTORY = no; then
8420 result=$wxUSE_FILE_HISTORY
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8424 $as_echo "$result" >&6; }
8428 defaultval=$wxUSE_ALL_FEATURES
8429 if test -z "$defaultval"; then
8430 if test x"$enablestring" = xdisable; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8438 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8439 # Check whether --enable-filesystem was given.
8440 if test "${enable_filesystem+set}" = set; then :
8441 enableval=$enable_filesystem;
8442 if test "$enableval" = yes; then
8443 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8445 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8450 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8455 eval "$wx_cv_use_filesystem"
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_FILESYSTEM = no; then
8464 result=$wxUSE_FILESYSTEM
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8468 $as_echo "$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8482 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8483 # Check whether --enable-fontenum was given.
8484 if test "${enable_fontenum+set}" = set; then :
8485 enableval=$enable_fontenum;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8489 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8494 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8499 eval "$wx_cv_use_fontenum"
8501 if test x
"$enablestring" = xdisable
; then
8502 if test $wxUSE_FONTENUM = no
; then
8508 result
=$wxUSE_FONTENUM
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8512 $as_echo "$result" >&6; }
8516 defaultval
=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x
"$enablestring" = xdisable
; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8526 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8527 # Check whether --enable-fontmap was given.
8528 if test "${enable_fontmap+set}" = set; then :
8529 enableval
=$enable_fontmap;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8533 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8538 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8543 eval "$wx_cv_use_fontmap"
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_FONTMAP = no; then
8552 result=$wxUSE_FONTMAP
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8556 $as_echo "$result" >&6; }
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8570 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8571 # Check whether --enable-fs_archive was given.
8572 if test "${enable_fs_archive+set}" = set; then :
8573 enableval=$enable_fs_archive;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8577 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8582 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8587 eval "$wx_cv_use_fs_archive"
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_FS_ARCHIVE = no; then
8596 result=$wxUSE_FS_ARCHIVE
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8600 $as_echo "$result" >&6; }
8604 defaultval=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x"$enablestring" = xdisable; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8614 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8615 # Check whether --enable-fs_inet was given.
8616 if test "${enable_fs_inet+set}" = set; then :
8617 enableval=$enable_fs_inet;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8621 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8626 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8631 eval "$wx_cv_use_fs_inet"
8633 if test x
"$enablestring" = xdisable
; then
8634 if test $wxUSE_FS_INET = no
; then
8640 result
=$wxUSE_FS_INET
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8644 $as_echo "$result" >&6; }
8648 defaultval
=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x
"$enablestring" = xdisable
; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8658 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8659 # Check whether --enable-fs_zip was given.
8660 if test "${enable_fs_zip+set}" = set; then :
8661 enableval
=$enable_fs_zip;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8665 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8670 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8675 eval "$wx_cv_use_fs_zip"
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_FS_ZIP = no; then
8684 result=$wxUSE_FS_ZIP
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8688 $as_echo "$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8702 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8703 # Check whether --enable-fsvolume was given.
8704 if test "${enable_fsvolume+set}" = set; then :
8705 enableval=$enable_fsvolume;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=yes'
8709 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=no
'
8714 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8719 eval "$wx_cv_use_fsvolume"
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_FSVOLUME = no; then
8728 result=$wxUSE_FSVOLUME
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8732 $as_echo "$result" >&6; }
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8746 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8747 # Check whether --enable-fswatcher was given.
8748 if test "${enable_fswatcher+set}" = set; then :
8749 enableval=$enable_fswatcher;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8753 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8758 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8763 eval "$wx_cv_use_fswatcher"
8765 if test x
"$enablestring" = xdisable
; then
8766 if test $wxUSE_FSWATCHER = no
; then
8772 result
=$wxUSE_FSWATCHER
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8776 $as_echo "$result" >&6; }
8780 defaultval
=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x
"$enablestring" = xdisable
; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8790 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8791 # Check whether --enable-geometry was given.
8792 if test "${enable_geometry+set}" = set; then :
8793 enableval
=$enable_geometry;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8797 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8802 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8807 eval "$wx_cv_use_geometry"
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_GEOMETRY = no; then
8816 result=$wxUSE_GEOMETRY
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8820 $as_echo "$result" >&6; }
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8834 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8835 # Check whether --enable-log was given.
8836 if test "${enable_log+set}" = set; then :
8837 enableval=$enable_log;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_log='wxUSE_LOG
=yes'
8841 wx_cv_use_log='wxUSE_LOG
=no
'
8846 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8851 eval "$wx_cv_use_log"
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_LOG = no; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8864 $as_echo "$result" >&6; }
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8878 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8879 # Check whether --enable-longlong was given.
8880 if test "${enable_longlong+set}" = set; then :
8881 enableval=$enable_longlong;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8890 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8895 eval "$wx_cv_use_longlong"
8897 if test x
"$enablestring" = xdisable
; then
8898 if test $wxUSE_LONGLONG = no
; then
8904 result
=$wxUSE_LONGLONG
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8908 $as_echo "$result" >&6; }
8912 defaultval
=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x
"$enablestring" = xdisable
; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8922 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8923 # Check whether --enable-mimetype was given.
8924 if test "${enable_mimetype+set}" = set; then :
8925 enableval
=$enable_mimetype;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8929 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8934 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8939 eval "$wx_cv_use_mimetype"
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_MIMETYPE = no; then
8948 result=$wxUSE_MIMETYPE
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8952 $as_echo "$result" >&6; }
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8966 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8967 # Check whether --enable-printfposparam was given.
8968 if test "${enable_printfposparam+set}" = set; then :
8969 enableval=$enable_printfposparam;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8973 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8978 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8983 eval "$wx_cv_use_printfposparam"
8985 if test x"$enablestring" = xdisable; then
8986 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8992 result=$wxUSE_PRINTF_POS_PARAMS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8996 $as_echo "$result" >&6; }
9000 defaultval=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x"$enablestring" = xdisable; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
9010 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
9011 # Check whether --enable-snglinst was given.
9012 if test "${enable_snglinst+set}" = set; then :
9013 enableval=$enable_snglinst;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9017 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9022 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9027 eval "$wx_cv_use_snglinst"
9029 if test x
"$enablestring" = xdisable
; then
9030 if test $wxUSE_SNGLINST_CHECKER = no
; then
9036 result
=$wxUSE_SNGLINST_CHECKER
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9040 $as_echo "$result" >&6; }
9044 defaultval
=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x
"$enablestring" = xdisable
; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9054 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9055 # Check whether --enable-sound was given.
9056 if test "${enable_sound+set}" = set; then :
9057 enableval
=$enable_sound;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_sound
='wxUSE_SOUND=yes'
9061 wx_cv_use_sound
='wxUSE_SOUND=no'
9066 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9071 eval "$wx_cv_use_sound"
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_SOUND = no; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9084 $as_echo "$result" >&6; }
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9098 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9099 # Check whether --enable-stdpaths was given.
9100 if test "${enable_stdpaths+set}" = set; then :
9101 enableval=$enable_stdpaths;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
9105 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
9110 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9115 eval "$wx_cv_use_stdpaths"
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_STDPATHS = no; then
9124 result=$wxUSE_STDPATHS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9128 $as_echo "$result" >&6; }
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9142 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9143 # Check whether --enable-stopwatch was given.
9144 if test "${enable_stopwatch+set}" = set; then :
9145 enableval=$enable_stopwatch;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9149 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9154 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9159 eval "$wx_cv_use_stopwatch"
9161 if test x
"$enablestring" = xdisable
; then
9162 if test $wxUSE_STOPWATCH = no
; then
9168 result
=$wxUSE_STOPWATCH
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9172 $as_echo "$result" >&6; }
9176 defaultval
=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x
"$enablestring" = xdisable
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9186 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9187 # Check whether --enable-streams was given.
9188 if test "${enable_streams+set}" = set; then :
9189 enableval
=$enable_streams;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9193 wx_cv_use_streams
='wxUSE_STREAMS=no'
9198 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9203 eval "$wx_cv_use_streams"
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_STREAMS = no; then
9212 result=$wxUSE_STREAMS
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9216 $as_echo "$result" >&6; }
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9230 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9231 # Check whether --enable-sysoptions was given.
9232 if test "${enable_sysoptions+set}" = set; then :
9233 enableval=$enable_sysoptions;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9237 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9242 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9247 eval "$wx_cv_use_sysoptions"
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_SYSTEM_OPTIONS = no; then
9256 result=$wxUSE_SYSTEM_OPTIONS
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9260 $as_echo "$result" >&6; }
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9274 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9275 # Check whether --enable-tarstream was given.
9276 if test "${enable_tarstream+set}" = set; then :
9277 enableval=$enable_tarstream;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9281 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9286 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9291 eval "$wx_cv_use_tarstream"
9293 if test x
"$enablestring" = xdisable
; then
9294 if test $wxUSE_TARSTREAM = no
; then
9300 result
=$wxUSE_TARSTREAM
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9304 $as_echo "$result" >&6; }
9308 defaultval
=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x
"$enablestring" = xdisable
; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9318 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9319 # Check whether --enable-textbuf was given.
9320 if test "${enable_textbuf+set}" = set; then :
9321 enableval
=$enable_textbuf;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9325 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9330 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9335 eval "$wx_cv_use_textbuf"
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_TEXTBUFFER = no; then
9344 result=$wxUSE_TEXTBUFFER
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9348 $as_echo "$result" >&6; }
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9362 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9363 # Check whether --enable-textfile was given.
9364 if test "${enable_textfile+set}" = set; then :
9365 enableval=$enable_textfile;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9369 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9374 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9379 eval "$wx_cv_use_textfile"
9381 if test x"$enablestring" = xdisable; then
9382 if test $wxUSE_TEXTFILE = no; then
9388 result=$wxUSE_TEXTFILE
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9392 $as_echo "$result" >&6; }
9396 defaultval=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x"$enablestring" = xdisable; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9406 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9407 # Check whether --enable-timer was given.
9408 if test "${enable_timer+set}" = set; then :
9409 enableval=$enable_timer;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_timer='wxUSE_TIMER=yes'
9413 wx_cv_use_timer='wxUSE_TIMER=no'
9418 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9423 eval "$wx_cv_use_timer"
9425 if test x
"$enablestring" = xdisable
; then
9426 if test $wxUSE_TIMER = no
; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9436 $as_echo "$result" >&6; }
9440 defaultval
=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x
"$enablestring" = xdisable
; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9450 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9451 # Check whether --enable-variant was given.
9452 if test "${enable_variant+set}" = set; then :
9453 enableval
=$enable_variant;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9457 wx_cv_use_variant
='wxUSE_VARIANT=no'
9462 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9467 eval "$wx_cv_use_variant"
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_VARIANT = no; then
9476 result=$wxUSE_VARIANT
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9480 $as_echo "$result" >&6; }
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9494 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9495 # Check whether --enable-zipstream was given.
9496 if test "${enable_zipstream+set}" = set; then :
9497 enableval=$enable_zipstream;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9501 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9506 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9511 eval "$wx_cv_use_zipstream"
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ZIPSTREAM = no; then
9520 result=$wxUSE_ZIPSTREAM
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9524 $as_echo "$result" >&6; }
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9539 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9540 # Check whether --enable-url was given.
9541 if test "${enable_url+set}" = set; then :
9542 enableval=$enable_url;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_url='wxUSE_URL=yes'
9546 wx_cv_use_url='wxUSE_URL=no'
9551 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9556 eval "$wx_cv_use_url"
9558 if test x
"$enablestring" = xdisable
; then
9559 if test $wxUSE_URL = no
; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9569 $as_echo "$result" >&6; }
9573 defaultval
=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x
"$enablestring" = xdisable
; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9583 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9584 # Check whether --enable-protocol was given.
9585 if test "${enable_protocol+set}" = set; then :
9586 enableval
=$enable_protocol;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9590 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9595 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9600 eval "$wx_cv_use_protocol"
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_PROTOCOL = no; then
9609 result=$wxUSE_PROTOCOL
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9613 $as_echo "$result" >&6; }
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9627 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9628 # Check whether --enable-protocol_http was given.
9629 if test "${enable_protocol_http+set}" = set; then :
9630 enableval=$enable_protocol_http;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9634 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9639 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9644 eval "$wx_cv_use_protocol_http"
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_PROTOCOL_HTTP = no; then
9653 result=$wxUSE_PROTOCOL_HTTP
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9657 $as_echo "$result" >&6; }
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9671 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9672 # Check whether --enable-protocol_ftp was given.
9673 if test "${enable_protocol_ftp+set}" = set; then :
9674 enableval=$enable_protocol_ftp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9678 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9683 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9688 eval "$wx_cv_use_protocol_ftp"
9690 if test x
"$enablestring" = xdisable
; then
9691 if test $wxUSE_PROTOCOL_FTP = no
; then
9697 result
=$wxUSE_PROTOCOL_FTP
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9701 $as_echo "$result" >&6; }
9705 defaultval
=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x
"$enablestring" = xdisable
; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9715 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9716 # Check whether --enable-protocol_file was given.
9717 if test "${enable_protocol_file+set}" = set; then :
9718 enableval
=$enable_protocol_file;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9722 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9727 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9732 eval "$wx_cv_use_protocol_file"
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_PROTOCOL_FILE = no; then
9741 result=$wxUSE_PROTOCOL_FILE
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9745 $as_echo "$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9760 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9761 # Check whether --enable-threads was given.
9762 if test "${enable_threads+set}" = set; then :
9763 enableval=$enable_threads;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_threads='wxUSE_THREADS
=yes'
9767 wx_cv_use_threads='wxUSE_THREADS
=no
'
9772 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9777 eval "$wx_cv_use_threads"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_THREADS = no; then
9786 result=$wxUSE_THREADS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9790 $as_echo "$result" >&6; }
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9805 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9806 # Check whether --enable-iniconf was given.
9807 if test "${enable_iniconf+set}" = set; then :
9808 enableval=$enable_iniconf;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9812 wx_cv_use_iniconf='wxUSE_INICONF=no'
9817 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9822 eval "$wx_cv_use_iniconf"
9824 if test x
"$enablestring" = xdisable
; then
9825 if test $wxUSE_INICONF = no
; then
9831 result
=$wxUSE_INICONF
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9835 $as_echo "$result" >&6; }
9839 defaultval
=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x
"$enablestring" = xdisable
; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9849 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9850 # Check whether --enable-regkey was given.
9851 if test "${enable_regkey+set}" = set; then :
9852 enableval
=$enable_regkey;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9856 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9861 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9866 eval "$wx_cv_use_regkey"
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_REGKEY = no; then
9875 result=$wxUSE_REGKEY
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9879 $as_echo "$result" >&6; }
9882 if test "$wxUSE_GUI" = "yes"; then
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9897 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9898 # Check whether --enable-docview was given.
9899 if test "${enable_docview+set}" = set; then :
9900 enableval=$enable_docview;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9904 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9909 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9914 eval "$wx_cv_use_docview"
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9923 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9927 $as_echo "$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9941 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9942 # Check whether --enable-help was given.
9943 if test "${enable_help+set}" = set; then :
9944 enableval=$enable_help;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_help='wxUSE_HELP=yes'
9948 wx_cv_use_help='wxUSE_HELP=no'
9953 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9958 eval "$wx_cv_use_help"
9960 if test x
"$enablestring" = xdisable
; then
9961 if test $wxUSE_HELP = no
; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9971 $as_echo "$result" >&6; }
9975 defaultval
=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x
"$enablestring" = xdisable
; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9985 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9986 # Check whether --enable-mshtmlhelp was given.
9987 if test "${enable_mshtmlhelp+set}" = set; then :
9988 enableval
=$enable_mshtmlhelp;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9992 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9997 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
10002 eval "$wx_cv_use_mshtmlhelp"
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_MS_HTML_HELP = no; then
10011 result=$wxUSE_MS_HTML_HELP
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10015 $as_echo "$result" >&6; }
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10029 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10030 # Check whether --enable-html was given.
10031 if test "${enable_html+set}" = set; then :
10032 enableval=$enable_html;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_html='wxUSE_HTML
=yes'
10036 wx_cv_use_html='wxUSE_HTML
=no
'
10041 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10046 eval "$wx_cv_use_html"
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_HTML = no; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10059 $as_echo "$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
10073 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
10074 # Check whether --enable-htmlhelp was given.
10075 if test "${enable_htmlhelp+set}" = set; then :
10076 enableval=$enable_htmlhelp;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10080 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10085 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10090 eval "$wx_cv_use_htmlhelp"
10092 if test x
"$enablestring" = xdisable
; then
10093 if test $wxUSE_WXHTML_HELP = no
; then
10099 result
=$wxUSE_WXHTML_HELP
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10103 $as_echo "$result" >&6; }
10107 defaultval
=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x
"$enablestring" = xdisable
; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10117 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10118 # Check whether --enable-xrc was given.
10119 if test "${enable_xrc+set}" = set; then :
10120 enableval
=$enable_xrc;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_xrc
='wxUSE_XRC=yes'
10124 wx_cv_use_xrc
='wxUSE_XRC=no'
10129 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10134 eval "$wx_cv_use_xrc"
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_XRC = no; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10147 $as_echo "$result" >&6; }
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10161 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10162 # Check whether --enable-aui was given.
10163 if test "${enable_aui+set}" = set; then :
10164 enableval=$enable_aui;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_aui='wxUSE_AUI
=yes'
10168 wx_cv_use_aui='wxUSE_AUI
=no
'
10173 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10178 eval "$wx_cv_use_aui"
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_AUI = no; then
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10191 $as_echo "$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10205 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10206 # Check whether --enable-propgrid was given.
10207 if test "${enable_propgrid+set}" = set; then :
10208 enableval=$enable_propgrid;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10212 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10217 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10222 eval "$wx_cv_use_propgrid"
10224 if test x
"$enablestring" = xdisable
; then
10225 if test $wxUSE_PROPGRID = no
; then
10231 result
=$wxUSE_PROPGRID
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10235 $as_echo "$result" >&6; }
10239 defaultval
=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x
"$enablestring" = xdisable
; then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10249 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10250 # Check whether --enable-ribbon was given.
10251 if test "${enable_ribbon+set}" = set; then :
10252 enableval
=$enable_ribbon;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10256 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10261 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10266 eval "$wx_cv_use_ribbon"
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_RIBBON = no; then
10275 result=$wxUSE_RIBBON
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10279 $as_echo "$result" >&6; }
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10293 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10294 # Check whether --enable-stc was given.
10295 if test "${enable_stc+set}" = set; then :
10296 enableval=$enable_stc;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_stc='wxUSE_STC
=yes'
10300 wx_cv_use_stc='wxUSE_STC
=no
'
10305 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10310 eval "$wx_cv_use_stc"
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_STC = no; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10323 $as_echo "$result" >&6; }
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10337 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10338 # Check whether --enable-constraints was given.
10339 if test "${enable_constraints+set}" = set; then :
10340 enableval=$enable_constraints;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10344 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10349 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10354 eval "$wx_cv_use_constraints"
10356 if test x
"$enablestring" = xdisable
; then
10357 if test $wxUSE_CONSTRAINTS = no
; then
10363 result
=$wxUSE_CONSTRAINTS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10367 $as_echo "$result" >&6; }
10371 defaultval
=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x
"$enablestring" = xdisable
; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10381 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10382 # Check whether --enable-loggui was given.
10383 if test "${enable_loggui+set}" = set; then :
10384 enableval
=$enable_loggui;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10388 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10393 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10398 eval "$wx_cv_use_loggui"
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_LOGGUI = no; then
10407 result=$wxUSE_LOGGUI
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10411 $as_echo "$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10425 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10426 # Check whether --enable-logwin was given.
10427 if test "${enable_logwin+set}" = set; then :
10428 enableval=$enable_logwin;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10432 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10437 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10442 eval "$wx_cv_use_logwin"
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_LOGWINDOW = no; then
10451 result=$wxUSE_LOGWINDOW
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10455 $as_echo "$result" >&6; }
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10469 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10470 # Check whether --enable-logdialog was given.
10471 if test "${enable_logdialog+set}" = set; then :
10472 enableval=$enable_logdialog;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10476 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10481 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10486 eval "$wx_cv_use_logdialog"
10488 if test x
"$enablestring" = xdisable
; then
10489 if test $wxUSE_LOGDIALOG = no
; then
10495 result
=$wxUSE_LOGDIALOG
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10499 $as_echo "$result" >&6; }
10503 defaultval
=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x
"$enablestring" = xdisable
; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10513 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10514 # Check whether --enable-mdi was given.
10515 if test "${enable_mdi+set}" = set; then :
10516 enableval
=$enable_mdi;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_mdi
='wxUSE_MDI=yes'
10520 wx_cv_use_mdi
='wxUSE_MDI=no'
10525 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10530 eval "$wx_cv_use_mdi"
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_MDI = no; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10543 $as_echo "$result" >&6; }
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10557 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10558 # Check whether --enable-mdidoc was given.
10559 if test "${enable_mdidoc+set}" = set; then :
10560 enableval=$enable_mdidoc;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10564 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10569 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10574 eval "$wx_cv_use_mdidoc"
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_MDI_ARCHITECTURE = no; then
10583 result=$wxUSE_MDI_ARCHITECTURE
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10587 $as_echo "$result" >&6; }
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10601 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10602 # Check whether --enable-mediactrl was given.
10603 if test "${enable_mediactrl+set}" = set; then :
10604 enableval=$enable_mediactrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10608 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10613 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10618 eval "$wx_cv_use_mediactrl"
10620 if test x
"$enablestring" = xdisable
; then
10621 if test $wxUSE_MEDIACTRL = no
; then
10627 result
=$wxUSE_MEDIACTRL
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10631 $as_echo "$result" >&6; }
10635 defaultval
=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x
"$enablestring" = xdisable
; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10645 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10646 # Check whether --enable-gstreamer8 was given.
10647 if test "${enable_gstreamer8+set}" = set; then :
10648 enableval
=$enable_gstreamer8;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10652 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10657 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10662 eval "$wx_cv_use_gstreamer8"
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_GSTREAMER8 = no; then
10671 result=$wxUSE_GSTREAMER8
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10675 $as_echo "$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10689 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10690 # Check whether --enable-richtext was given.
10691 if test "${enable_richtext+set}" = set; then :
10692 enableval=$enable_richtext;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10696 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10701 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10706 eval "$wx_cv_use_richtext"
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_RICHTEXT = no; then
10715 result=$wxUSE_RICHTEXT
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10719 $as_echo "$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10733 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10734 # Check whether --enable-postscript was given.
10735 if test "${enable_postscript+set}" = set; then :
10736 enableval=$enable_postscript;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10740 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10745 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10750 eval "$wx_cv_use_postscript"
10752 if test x
"$enablestring" = xdisable
; then
10753 if test $wxUSE_POSTSCRIPT = no
; then
10759 result
=$wxUSE_POSTSCRIPT
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10763 $as_echo "$result" >&6; }
10767 defaultval
=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x
"$enablestring" = xdisable
; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10777 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10778 # Check whether --enable-printarch was given.
10779 if test "${enable_printarch+set}" = set; then :
10780 enableval
=$enable_printarch;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10784 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10789 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10794 eval "$wx_cv_use_printarch"
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10803 result=$wxUSE_PRINTING_ARCHITECTURE
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10807 $as_echo "$result" >&6; }
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10821 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10822 # Check whether --enable-svg was given.
10823 if test "${enable_svg+set}" = set; then :
10824 enableval=$enable_svg;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_svg='wxUSE_SVG
=yes'
10828 wx_cv_use_svg='wxUSE_SVG
=no
'
10833 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10838 eval "$wx_cv_use_svg"
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_SVG = no; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10851 $as_echo "$result" >&6; }
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10865 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10866 # Check whether --enable-webkit was given.
10867 if test "${enable_webkit+set}" = set; then :
10868 enableval=$enable_webkit;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10872 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10877 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10882 eval "$wx_cv_use_webkit"
10884 if test x
"$enablestring" = xdisable
; then
10885 if test $wxUSE_WEBKIT = no
; then
10891 result
=$wxUSE_WEBKIT
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10895 $as_echo "$result" >&6; }
10899 defaultval
=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x
"$enablestring" = xdisable
; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10910 # Check whether --enable-webview was given.
10911 if test "${enable_webview+set}" = set; then :
10912 enableval
=$enable_webview;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10916 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10921 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10926 eval "$wx_cv_use_webview"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_WEBVIEW = no; then
10935 result=$wxUSE_WEBVIEW
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10942 if test "$wxUSE_MAC" != 1; then
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10955 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10956 # Check whether --enable-graphics_ctx was given.
10957 if test "${enable_graphics_ctx+set}" = set; then :
10958 enableval=$enable_graphics_ctx;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10962 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10967 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10972 eval "$wx_cv_use_graphics_ctx"
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10981 result=$wxUSE_GRAPHICS_CONTEXT
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10985 $as_echo "$result" >&6; }
10992 defaultval=$wxUSE_ALL_FEATURES
10993 if test -z "$defaultval"; then
10994 if test x"$enablestring" = xdisable; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
11002 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
11003 # Check whether --enable-clipboard was given.
11004 if test "${enable_clipboard+set}" = set; then :
11005 enableval=$enable_clipboard;
11006 if test "$enableval" = yes; then
11007 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11009 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11019 eval "$wx_cv_use_clipboard"
11021 if test x
"$enablestring" = xdisable
; then
11022 if test $wxUSE_CLIPBOARD = no
; then
11028 result
=$wxUSE_CLIPBOARD
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11032 $as_echo "$result" >&6; }
11036 defaultval
=$wxUSE_ALL_FEATURES
11037 if test -z "$defaultval"; then
11038 if test x
"$enablestring" = xdisable
; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11046 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11047 # Check whether --enable-dnd was given.
11048 if test "${enable_dnd+set}" = set; then :
11049 enableval
=$enable_dnd;
11050 if test "$enableval" = yes; then
11051 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
11053 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
11058 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11063 eval "$wx_cv_use_dnd"
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_DRAG_AND_DROP = no; then
11072 result=$wxUSE_DRAG_AND_DROP
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11076 $as_echo "$result" >&6; }
11080 DEFAULT_wxUSE_CONTROLS=none
11082 enablestring=disable
11084 if test -z "$defaultval"; then
11085 if test x"$enablestring" = xdisable; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11094 # Check whether --enable-controls was given.
11095 if test "${enable_controls+set}" = set; then :
11096 enableval=$enable_controls;
11097 if test "$enableval" = yes; then
11098 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
11100 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
11105 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11110 eval "$wx_cv_use_controls"
11112 if test x"$enablestring" = xdisable; then
11113 if test $wxUSE_CONTROLS = no; then
11119 result=$wxUSE_CONTROLS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11123 $as_echo "$result" >&6; }
11126 if test "$wxUSE_CONTROLS" = "no
"; then
11127 DEFAULT_wxUSE_ACCEL=no
11128 DEFAULT_wxUSE_ANIMATIONCTRL=no
11129 DEFAULT_wxUSE_BANNERWINDOW=no
11130 DEFAULT_wxUSE_BMPBUTTON=no
11131 DEFAULT_wxUSE_BUTTON=no
11132 DEFAULT_wxUSE_CALCTRL=no
11133 DEFAULT_wxUSE_CARET=no
11134 DEFAULT_wxUSE_CHECKBOX=no
11135 DEFAULT_wxUSE_CHECKLISTBOX=no
11136 DEFAULT_wxUSE_CHOICE=no
11137 DEFAULT_wxUSE_CHOICEBOOK=no
11138 DEFAULT_wxUSE_COLLPANE=no
11139 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMBOBOX=no
11142 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11143 DEFAULT_wxUSE_DATAVIEWCTRL=no
11144 DEFAULT_wxUSE_DATEPICKCTRL=no
11145 DEFAULT_wxUSE_DETECT_SM=no
11146 DEFAULT_wxUSE_DIRPICKERCTRL=no
11147 DEFAULT_wxUSE_DISPLAY=no
11148 DEFAULT_wxUSE_FILECTRL=no
11149 DEFAULT_wxUSE_FILEPICKERCTRL=no
11150 DEFAULT_wxUSE_FONTPICKERCTRL=no
11151 DEFAULT_wxUSE_GAUGE=no
11152 DEFAULT_wxUSE_GRID=no
11153 DEFAULT_wxUSE_HEADERCTRL=no
11154 DEFAULT_wxUSE_HYPERLINKCTRL=no
11155 DEFAULT_wxUSE_IMAGLIST=no
11156 DEFAULT_wxUSE_LISTBOOK=no
11157 DEFAULT_wxUSE_LISTBOX=no
11158 DEFAULT_wxUSE_LISTCTRL=no
11159 DEFAULT_wxUSE_MARKUP=no
11160 DEFAULT_wxUSE_NOTEBOOK=no
11161 DEFAULT_wxUSE_POPUPWIN=no
11162 DEFAULT_wxUSE_RADIOBOX=no
11163 DEFAULT_wxUSE_RADIOBTN=no
11164 DEFAULT_wxUSE_RICHMSGDLG=no
11165 DEFAULT_wxUSE_RICHTOOLTIP=no
11166 DEFAULT_wxUSE_REARRANGECTRL=no
11167 DEFAULT_wxUSE_SASH=no
11168 DEFAULT_wxUSE_SCROLLBAR=no
11169 DEFAULT_wxUSE_SEARCHCTRL=no
11170 DEFAULT_wxUSE_SLIDER=no
11171 DEFAULT_wxUSE_SPINBTN=no
11172 DEFAULT_wxUSE_SPINCTRL=no
11173 DEFAULT_wxUSE_SPLITTER=no
11174 DEFAULT_wxUSE_STATBMP=no
11175 DEFAULT_wxUSE_STATBOX=no
11176 DEFAULT_wxUSE_STATLINE=no
11177 DEFAULT_wxUSE_STATUSBAR=no
11178 DEFAULT_wxUSE_TIMEPICKCTRL=no
11179 DEFAULT_wxUSE_TIPWINDOW=no
11180 DEFAULT_wxUSE_TOGGLEBTN=no
11181 DEFAULT_wxUSE_TOOLBAR=no
11182 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11183 DEFAULT_wxUSE_TOOLBOOK=no
11184 DEFAULT_wxUSE_TOOLTIPS=no
11185 DEFAULT_wxUSE_TREEBOOK=no
11186 DEFAULT_wxUSE_TREECTRL=no
11187 DEFAULT_wxUSE_TREELISTCTRL=no
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11202 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11203 # Check whether --enable-markup was given.
11204 if test "${enable_markup+set}" = set; then :
11205 enableval=$enable_markup;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_markup='wxUSE_MARKUP=yes'
11209 wx_cv_use_markup='wxUSE_MARKUP=no'
11214 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11219 eval "$wx_cv_use_markup"
11221 if test x
"$enablestring" = xdisable
; then
11222 if test $wxUSE_MARKUP = no
; then
11228 result
=$wxUSE_MARKUP
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11232 $as_echo "$result" >&6; }
11237 defaultval
=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x
"$enablestring" = xdisable
; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11247 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11248 # Check whether --enable-accel was given.
11249 if test "${enable_accel+set}" = set; then :
11250 enableval
=$enable_accel;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11254 wx_cv_use_accel
='wxUSE_ACCEL=no'
11259 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11264 eval "$wx_cv_use_accel"
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_ACCEL = no; then
11273 result=$wxUSE_ACCEL
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11277 $as_echo "$result" >&6; }
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11291 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11292 # Check whether --enable-animatectrl was given.
11293 if test "${enable_animatectrl+set}" = set; then :
11294 enableval=$enable_animatectrl;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11298 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11303 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11308 eval "$wx_cv_use_animatectrl"
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_ANIMATIONCTRL = no; then
11317 result=$wxUSE_ANIMATIONCTRL
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11321 $as_echo "$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11335 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11336 # Check whether --enable-bannerwindow was given.
11337 if test "${enable_bannerwindow+set}" = set; then :
11338 enableval=$enable_bannerwindow;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11342 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11347 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11352 eval "$wx_cv_use_bannerwindow"
11354 if test x
"$enablestring" = xdisable
; then
11355 if test $wxUSE_BANNERWINDOW = no
; then
11361 result
=$wxUSE_BANNERWINDOW
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11365 $as_echo "$result" >&6; }
11369 defaultval
=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x
"$enablestring" = xdisable
; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11379 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11380 # Check whether --enable-artstd was given.
11381 if test "${enable_artstd+set}" = set; then :
11382 enableval
=$enable_artstd;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11386 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11391 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11396 eval "$wx_cv_use_artstd"
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_ARTPROVIDER_STD = no; then
11405 result=$wxUSE_ARTPROVIDER_STD
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11409 $as_echo "$result" >&6; }
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11423 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11424 # Check whether --enable-arttango was given.
11425 if test "${enable_arttango+set}" = set; then :
11426 enableval=$enable_arttango;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11430 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11435 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11440 eval "$wx_cv_use_arttango"
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11449 result=$wxUSE_ARTPROVIDER_TANGO
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11453 $as_echo "$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11467 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11468 # Check whether --enable-bmpbutton was given.
11469 if test "${enable_bmpbutton+set}" = set; then :
11470 enableval=$enable_bmpbutton;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11474 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11479 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11484 eval "$wx_cv_use_bmpbutton"
11486 if test x
"$enablestring" = xdisable
; then
11487 if test $wxUSE_BMPBUTTON = no
; then
11493 result
=$wxUSE_BMPBUTTON
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11497 $as_echo "$result" >&6; }
11501 defaultval
=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x
"$enablestring" = xdisable
; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11511 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11512 # Check whether --enable-bmpcombobox was given.
11513 if test "${enable_bmpcombobox+set}" = set; then :
11514 enableval
=$enable_bmpcombobox;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11518 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11523 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11528 eval "$wx_cv_use_bmpcombobox"
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_BITMAPCOMBOBOX = no; then
11537 result=$wxUSE_BITMAPCOMBOBOX
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11541 $as_echo "$result" >&6; }
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11555 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11556 # Check whether --enable-button was given.
11557 if test "${enable_button+set}" = set; then :
11558 enableval=$enable_button;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_button='wxUSE_BUTTON
=yes'
11562 wx_cv_use_button='wxUSE_BUTTON
=no
'
11567 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11572 eval "$wx_cv_use_button"
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_BUTTON = no; then
11581 result=$wxUSE_BUTTON
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11585 $as_echo "$result" >&6; }
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11599 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11600 # Check whether --enable-calendar was given.
11601 if test "${enable_calendar+set}" = set; then :
11602 enableval=$enable_calendar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11606 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11611 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11616 eval "$wx_cv_use_calendar"
11618 if test x
"$enablestring" = xdisable
; then
11619 if test $wxUSE_CALCTRL = no
; then
11625 result
=$wxUSE_CALCTRL
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11629 $as_echo "$result" >&6; }
11633 defaultval
=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x
"$enablestring" = xdisable
; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11643 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11644 # Check whether --enable-caret was given.
11645 if test "${enable_caret+set}" = set; then :
11646 enableval
=$enable_caret;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_caret
='wxUSE_CARET=yes'
11650 wx_cv_use_caret
='wxUSE_CARET=no'
11655 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11660 eval "$wx_cv_use_caret"
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_CARET = no; then
11669 result=$wxUSE_CARET
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11673 $as_echo "$result" >&6; }
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11687 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11688 # Check whether --enable-checkbox was given.
11689 if test "${enable_checkbox+set}" = set; then :
11690 enableval=$enable_checkbox;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11694 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11699 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11704 eval "$wx_cv_use_checkbox"
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_CHECKBOX = no; then
11713 result=$wxUSE_CHECKBOX
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11717 $as_echo "$result" >&6; }
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11731 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11732 # Check whether --enable-checklst was given.
11733 if test "${enable_checklst+set}" = set; then :
11734 enableval=$enable_checklst;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11738 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11743 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11748 eval "$wx_cv_use_checklst"
11750 if test x
"$enablestring" = xdisable
; then
11751 if test $wxUSE_CHECKLST = no
; then
11757 result
=$wxUSE_CHECKLST
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11761 $as_echo "$result" >&6; }
11765 defaultval
=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x
"$enablestring" = xdisable
; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11775 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11776 # Check whether --enable-choice was given.
11777 if test "${enable_choice+set}" = set; then :
11778 enableval
=$enable_choice;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11782 wx_cv_use_choice
='wxUSE_CHOICE=no'
11787 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11792 eval "$wx_cv_use_choice"
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_CHOICE = no; then
11801 result=$wxUSE_CHOICE
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11805 $as_echo "$result" >&6; }
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11819 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11820 # Check whether --enable-choicebook was given.
11821 if test "${enable_choicebook+set}" = set; then :
11822 enableval=$enable_choicebook;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11826 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11831 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11836 eval "$wx_cv_use_choicebook"
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_CHOICEBOOK = no; then
11845 result=$wxUSE_CHOICEBOOK
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11849 $as_echo "$result" >&6; }
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11863 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11864 # Check whether --enable-collpane was given.
11865 if test "${enable_collpane+set}" = set; then :
11866 enableval=$enable_collpane;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11870 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11875 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11880 eval "$wx_cv_use_collpane"
11882 if test x
"$enablestring" = xdisable
; then
11883 if test $wxUSE_COLLPANE = no
; then
11889 result
=$wxUSE_COLLPANE
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11893 $as_echo "$result" >&6; }
11897 defaultval
=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x
"$enablestring" = xdisable
; then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11907 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11908 # Check whether --enable-colourpicker was given.
11909 if test "${enable_colourpicker+set}" = set; then :
11910 enableval
=$enable_colourpicker;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11914 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11919 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11924 eval "$wx_cv_use_colourpicker"
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_COLOURPICKERCTRL = no; then
11933 result=$wxUSE_COLOURPICKERCTRL
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11937 $as_echo "$result" >&6; }
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11951 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11952 # Check whether --enable-combobox was given.
11953 if test "${enable_combobox+set}" = set; then :
11954 enableval=$enable_combobox;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11958 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11963 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11968 eval "$wx_cv_use_combobox"
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_COMBOBOX = no; then
11977 result=$wxUSE_COMBOBOX
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11981 $as_echo "$result" >&6; }
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11995 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11996 # Check whether --enable-comboctrl was given.
11997 if test "${enable_comboctrl+set}" = set; then :
11998 enableval=$enable_comboctrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12002 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12007 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12012 eval "$wx_cv_use_comboctrl"
12014 if test x
"$enablestring" = xdisable
; then
12015 if test $wxUSE_COMBOCTRL = no
; then
12021 result
=$wxUSE_COMBOCTRL
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12025 $as_echo "$result" >&6; }
12029 defaultval
=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x
"$enablestring" = xdisable
; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12039 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12040 # Check whether --enable-commandlinkbutton was given.
12041 if test "${enable_commandlinkbutton+set}" = set; then :
12042 enableval
=$enable_commandlinkbutton;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
12046 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
12051 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12056 eval "$wx_cv_use_commandlinkbutton"
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_COMMANDLINKBUTTON = no; then
12065 result=$wxUSE_COMMANDLINKBUTTON
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12069 $as_echo "$result" >&6; }
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12083 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12084 # Check whether --enable-dataviewctrl was given.
12085 if test "${enable_dataviewctrl+set}" = set; then :
12086 enableval=$enable_dataviewctrl;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12090 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12095 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12100 eval "$wx_cv_use_dataviewctrl"
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_DATAVIEWCTRL = no; then
12109 result=$wxUSE_DATAVIEWCTRL
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12113 $as_echo "$result" >&6; }
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12127 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12128 # Check whether --enable-datepick was given.
12129 if test "${enable_datepick+set}" = set; then :
12130 enableval=$enable_datepick;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12134 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12139 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12144 eval "$wx_cv_use_datepick"
12146 if test x
"$enablestring" = xdisable
; then
12147 if test $wxUSE_DATEPICKCTRL = no
; then
12153 result
=$wxUSE_DATEPICKCTRL
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12157 $as_echo "$result" >&6; }
12161 defaultval
=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x
"$enablestring" = xdisable
; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12171 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12172 # Check whether --enable-detect_sm was given.
12173 if test "${enable_detect_sm+set}" = set; then :
12174 enableval
=$enable_detect_sm;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12178 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12183 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12188 eval "$wx_cv_use_detect_sm"
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_DETECT_SM = no; then
12197 result=$wxUSE_DETECT_SM
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12201 $as_echo "$result" >&6; }
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12215 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12216 # Check whether --enable-dirpicker was given.
12217 if test "${enable_dirpicker+set}" = set; then :
12218 enableval=$enable_dirpicker;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12222 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12232 eval "$wx_cv_use_dirpicker"
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_DIRPICKERCTRL = no; then
12241 result=$wxUSE_DIRPICKERCTRL
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12245 $as_echo "$result" >&6; }
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12259 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12260 # Check whether --enable-display was given.
12261 if test "${enable_display+set}" = set; then :
12262 enableval=$enable_display;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_display='wxUSE_DISPLAY=yes'
12266 wx_cv_use_display='wxUSE_DISPLAY=no'
12271 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12276 eval "$wx_cv_use_display"
12278 if test x
"$enablestring" = xdisable
; then
12279 if test $wxUSE_DISPLAY = no
; then
12285 result
=$wxUSE_DISPLAY
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12289 $as_echo "$result" >&6; }
12293 defaultval
=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x
"$enablestring" = xdisable
; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12303 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12304 # Check whether --enable-editablebox was given.
12305 if test "${enable_editablebox+set}" = set; then :
12306 enableval
=$enable_editablebox;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12310 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12315 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12320 eval "$wx_cv_use_editablebox"
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_EDITABLELISTBOX = no; then
12329 result=$wxUSE_EDITABLELISTBOX
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12333 $as_echo "$result" >&6; }
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12347 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12348 # Check whether --enable-filectrl was given.
12349 if test "${enable_filectrl+set}" = set; then :
12350 enableval=$enable_filectrl;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12354 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12359 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12364 eval "$wx_cv_use_filectrl"
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_FILECTRL = no; then
12373 result=$wxUSE_FILECTRL
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12377 $as_echo "$result" >&6; }
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12391 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12392 # Check whether --enable-filepicker was given.
12393 if test "${enable_filepicker+set}" = set; then :
12394 enableval=$enable_filepicker;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12398 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12403 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12408 eval "$wx_cv_use_filepicker"
12410 if test x
"$enablestring" = xdisable
; then
12411 if test $wxUSE_FILEPICKERCTRL = no
; then
12417 result
=$wxUSE_FILEPICKERCTRL
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12421 $as_echo "$result" >&6; }
12425 defaultval
=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x
"$enablestring" = xdisable
; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12435 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12436 # Check whether --enable-fontpicker was given.
12437 if test "${enable_fontpicker+set}" = set; then :
12438 enableval
=$enable_fontpicker;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12442 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12447 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12452 eval "$wx_cv_use_fontpicker"
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_FONTPICKERCTRL = no; then
12461 result=$wxUSE_FONTPICKERCTRL
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12465 $as_echo "$result" >&6; }
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12479 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12480 # Check whether --enable-gauge was given.
12481 if test "${enable_gauge+set}" = set; then :
12482 enableval=$enable_gauge;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12486 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12491 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12496 eval "$wx_cv_use_gauge"
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_GAUGE = no; then
12505 result=$wxUSE_GAUGE
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12509 $as_echo "$result" >&6; }
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12523 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12524 # Check whether --enable-grid was given.
12525 if test "${enable_grid+set}" = set; then :
12526 enableval=$enable_grid;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_grid='wxUSE_GRID=yes'
12530 wx_cv_use_grid='wxUSE_GRID=no'
12535 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12540 eval "$wx_cv_use_grid"
12542 if test x
"$enablestring" = xdisable
; then
12543 if test $wxUSE_GRID = no
; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12553 $as_echo "$result" >&6; }
12557 defaultval
=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x
"$enablestring" = xdisable
; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12567 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12568 # Check whether --enable-headerctrl was given.
12569 if test "${enable_headerctrl+set}" = set; then :
12570 enableval
=$enable_headerctrl;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12574 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12579 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12584 eval "$wx_cv_use_headerctrl"
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_HEADERCTRL = no; then
12593 result=$wxUSE_HEADERCTRL
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12597 $as_echo "$result" >&6; }
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12611 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12612 # Check whether --enable-hyperlink was given.
12613 if test "${enable_hyperlink+set}" = set; then :
12614 enableval=$enable_hyperlink;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12618 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12623 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12628 eval "$wx_cv_use_hyperlink"
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_HYPERLINKCTRL = no; then
12637 result=$wxUSE_HYPERLINKCTRL
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12641 $as_echo "$result" >&6; }
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12655 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12656 # Check whether --enable-imaglist was given.
12657 if test "${enable_imaglist+set}" = set; then :
12658 enableval=$enable_imaglist;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12662 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12667 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12672 eval "$wx_cv_use_imaglist"
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_IMAGLIST = no
; then
12681 result
=$wxUSE_IMAGLIST
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12685 $as_echo "$result" >&6; }
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12699 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12700 # Check whether --enable-infobar was given.
12701 if test "${enable_infobar+set}" = set; then :
12702 enableval
=$enable_infobar;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12706 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12711 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12716 eval "$wx_cv_use_infobar"
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_INFOBAR = no; then
12725 result=$wxUSE_INFOBAR
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12729 $as_echo "$result" >&6; }
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12743 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12744 # Check whether --enable-listbook was given.
12745 if test "${enable_listbook+set}" = set; then :
12746 enableval=$enable_listbook;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12750 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12755 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12760 eval "$wx_cv_use_listbook"
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_LISTBOOK = no; then
12769 result=$wxUSE_LISTBOOK
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12773 $as_echo "$result" >&6; }
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12787 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12788 # Check whether --enable-listbox was given.
12789 if test "${enable_listbox+set}" = set; then :
12790 enableval=$enable_listbox;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12794 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12799 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12804 eval "$wx_cv_use_listbox"
12806 if test x
"$enablestring" = xdisable
; then
12807 if test $wxUSE_LISTBOX = no
; then
12813 result
=$wxUSE_LISTBOX
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12817 $as_echo "$result" >&6; }
12821 defaultval
=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x
"$enablestring" = xdisable
; then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12831 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12832 # Check whether --enable-listctrl was given.
12833 if test "${enable_listctrl+set}" = set; then :
12834 enableval
=$enable_listctrl;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12838 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12843 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12848 eval "$wx_cv_use_listctrl"
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_LISTCTRL = no; then
12857 result=$wxUSE_LISTCTRL
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12861 $as_echo "$result" >&6; }
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12875 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12876 # Check whether --enable-notebook was given.
12877 if test "${enable_notebook+set}" = set; then :
12878 enableval=$enable_notebook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12882 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12887 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12892 eval "$wx_cv_use_notebook"
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_NOTEBOOK = no; then
12901 result=$wxUSE_NOTEBOOK
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12905 $as_echo "$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12919 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12920 # Check whether --enable-notifmsg was given.
12921 if test "${enable_notifmsg+set}" = set; then :
12922 enableval=$enable_notifmsg;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12926 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12931 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12936 eval "$wx_cv_use_notifmsg"
12938 if test x
"$enablestring" = xdisable
; then
12939 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12945 result
=$wxUSE_NOTIFICATION_MESSAGE
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12949 $as_echo "$result" >&6; }
12953 defaultval
=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x
"$enablestring" = xdisable
; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12963 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12964 # Check whether --enable-odcombobox was given.
12965 if test "${enable_odcombobox+set}" = set; then :
12966 enableval
=$enable_odcombobox;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12970 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12975 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12980 eval "$wx_cv_use_odcombobox"
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_ODCOMBOBOX = no; then
12989 result=$wxUSE_ODCOMBOBOX
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12993 $as_echo "$result" >&6; }
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13007 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13008 # Check whether --enable-popupwin was given.
13009 if test "${enable_popupwin+set}" = set; then :
13010 enableval=$enable_popupwin;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
13014 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
13019 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13024 eval "$wx_cv_use_popupwin"
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_POPUPWIN = no; then
13033 result=$wxUSE_POPUPWIN
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13037 $as_echo "$result" >&6; }
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-prefseditor" >&5
13051 $as_echo_n "checking
for --${enablestring:-enable}-prefseditor...
" >&6; }
13052 # Check whether --enable-prefseditor was given.
13053 if test "${enable_prefseditor+set}" = set; then :
13054 enableval=$enable_prefseditor;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13058 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13063 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13068 eval "$wx_cv_use_prefseditor"
13070 if test x
"$enablestring" = xdisable
; then
13071 if test $wxUSE_PREFERENCES_EDITOR = no
; then
13077 result
=$wxUSE_PREFERENCES_EDITOR
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13081 $as_echo "$result" >&6; }
13085 defaultval
=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x
"$enablestring" = xdisable
; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13096 # Check whether --enable-radiobox was given.
13097 if test "${enable_radiobox+set}" = set; then :
13098 enableval
=$enable_radiobox;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
13102 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
13107 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13112 eval "$wx_cv_use_radiobox"
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_RADIOBOX = no; then
13121 result=$wxUSE_RADIOBOX
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13125 $as_echo "$result" >&6; }
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13140 # Check whether --enable-radiobtn was given.
13141 if test "${enable_radiobtn+set}" = set; then :
13142 enableval=$enable_radiobtn;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
13146 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
13151 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13156 eval "$wx_cv_use_radiobtn"
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_RADIOBTN = no; then
13165 result=$wxUSE_RADIOBTN
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13169 $as_echo "$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richmsgdlg" >&5
13183 $as_echo_n "checking
for --${enablestring:-enable}-richmsgdlg...
" >&6; }
13184 # Check whether --enable-richmsgdlg was given.
13185 if test "${enable_richmsgdlg+set}" = set; then :
13186 enableval=$enable_richmsgdlg;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13190 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13195 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13200 eval "$wx_cv_use_richmsgdlg"
13202 if test x
"$enablestring" = xdisable
; then
13203 if test $wxUSE_RICHMSGDLG = no
; then
13209 result
=$wxUSE_RICHMSGDLG
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13213 $as_echo "$result" >&6; }
13217 defaultval
=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x
"$enablestring" = xdisable
; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13228 # Check whether --enable-richtooltip was given.
13229 if test "${enable_richtooltip+set}" = set; then :
13230 enableval
=$enable_richtooltip;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=yes'
13234 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=no'
13239 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13244 eval "$wx_cv_use_richtooltip"
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_RICHTOOLTIP = no; then
13253 result=$wxUSE_RICHTOOLTIP
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13257 $as_echo "$result" >&6; }
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13272 # Check whether --enable-rearrangectrl was given.
13273 if test "${enable_rearrangectrl+set}" = set; then :
13274 enableval=$enable_rearrangectrl;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
13278 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
13283 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13288 eval "$wx_cv_use_rearrangectrl"
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_REARRANGECTRL = no; then
13297 result=$wxUSE_REARRANGECTRL
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13301 $as_echo "$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sash" >&5
13315 $as_echo_n "checking
for --${enablestring:-enable}-sash...
" >&6; }
13316 # Check whether --enable-sash was given.
13317 if test "${enable_sash+set}" = set; then :
13318 enableval=$enable_sash;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_sash='wxUSE_SASH=yes'
13322 wx_cv_use_sash='wxUSE_SASH=no'
13327 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13332 eval "$wx_cv_use_sash"
13334 if test x
"$enablestring" = xdisable
; then
13335 if test $wxUSE_SASH = no
; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13345 $as_echo "$result" >&6; }
13349 defaultval
=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x
"$enablestring" = xdisable
; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13360 # Check whether --enable-scrollbar was given.
13361 if test "${enable_scrollbar+set}" = set; then :
13362 enableval
=$enable_scrollbar;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13366 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13371 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13376 eval "$wx_cv_use_scrollbar"
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_SCROLLBAR = no; then
13385 result=$wxUSE_SCROLLBAR
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13389 $as_echo "$result" >&6; }
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13404 # Check whether --enable-searchctrl was given.
13405 if test "${enable_searchctrl+set}" = set; then :
13406 enableval=$enable_searchctrl;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13410 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13415 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13420 eval "$wx_cv_use_searchctrl"
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_SEARCHCTRL = no; then
13429 result=$wxUSE_SEARCHCTRL
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13433 $as_echo "$result" >&6; }
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-slider" >&5
13447 $as_echo_n "checking
for --${enablestring:-enable}-slider...
" >&6; }
13448 # Check whether --enable-slider was given.
13449 if test "${enable_slider+set}" = set; then :
13450 enableval=$enable_slider;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_slider='wxUSE_SLIDER=yes'
13454 wx_cv_use_slider='wxUSE_SLIDER=no'
13459 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13464 eval "$wx_cv_use_slider"
13466 if test x
"$enablestring" = xdisable
; then
13467 if test $wxUSE_SLIDER = no
; then
13473 result
=$wxUSE_SLIDER
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13477 $as_echo "$result" >&6; }
13481 defaultval
=$wxUSE_ALL_FEATURES
13482 if test -z "$defaultval"; then
13483 if test x
"$enablestring" = xdisable
; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13492 # Check whether --enable-spinbtn was given.
13493 if test "${enable_spinbtn+set}" = set; then :
13494 enableval
=$enable_spinbtn;
13495 if test "$enableval" = yes; then
13496 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13498 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13503 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13508 eval "$wx_cv_use_spinbtn"
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_SPINBTN = no; then
13517 result=$wxUSE_SPINBTN
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13521 $as_echo "$result" >&6; }
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13536 # Check whether --enable-spinctrl was given.
13537 if test "${enable_spinctrl+set}" = set; then :
13538 enableval=$enable_spinctrl;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13542 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13547 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13552 eval "$wx_cv_use_spinctrl"
13554 if test x"$enablestring" = xdisable; then
13555 if test $wxUSE_SPINCTRL = no; then
13561 result=$wxUSE_SPINCTRL
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13565 $as_echo "$result" >&6; }
13569 defaultval=$wxUSE_ALL_FEATURES
13570 if test -z "$defaultval"; then
13571 if test x"$enablestring" = xdisable; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splitter" >&5
13579 $as_echo_n "checking
for --${enablestring:-enable}-splitter...
" >&6; }
13580 # Check whether --enable-splitter was given.
13581 if test "${enable_splitter+set}" = set; then :
13582 enableval=$enable_splitter;
13583 if test "$enableval" = yes; then
13584 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13586 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13591 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13596 eval "$wx_cv_use_splitter"
13598 if test x
"$enablestring" = xdisable
; then
13599 if test $wxUSE_SPLITTER = no
; then
13605 result
=$wxUSE_SPLITTER
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13609 $as_echo "$result" >&6; }
13613 defaultval
=$wxUSE_ALL_FEATURES
13614 if test -z "$defaultval"; then
13615 if test x
"$enablestring" = xdisable
; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13624 # Check whether --enable-statbmp was given.
13625 if test "${enable_statbmp+set}" = set; then :
13626 enableval
=$enable_statbmp;
13627 if test "$enableval" = yes; then
13628 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13630 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13635 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13640 eval "$wx_cv_use_statbmp"
13642 if test x"$enablestring" = xdisable; then
13643 if test $wxUSE_STATBMP = no; then
13649 result=$wxUSE_STATBMP
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13653 $as_echo "$result" >&6; }
13657 defaultval=$wxUSE_ALL_FEATURES
13658 if test -z "$defaultval"; then
13659 if test x"$enablestring" = xdisable; then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13668 # Check whether --enable-statbox was given.
13669 if test "${enable_statbox+set}" = set; then :
13670 enableval=$enable_statbox;
13671 if test "$enableval" = yes; then
13672 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13674 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13679 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13684 eval "$wx_cv_use_statbox"
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_STATBOX = no; then
13693 result=$wxUSE_STATBOX
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13697 $as_echo "$result" >&6; }
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statline" >&5
13711 $as_echo_n "checking
for --${enablestring:-enable}-statline...
" >&6; }
13712 # Check whether --enable-statline was given.
13713 if test "${enable_statline+set}" = set; then :
13714 enableval=$enable_statline;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_statline='wxUSE_STATLINE=yes'
13718 wx_cv_use_statline='wxUSE_STATLINE=no'
13723 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13728 eval "$wx_cv_use_statline"
13730 if test x
"$enablestring" = xdisable
; then
13731 if test $wxUSE_STATLINE = no
; then
13737 result
=$wxUSE_STATLINE
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13741 $as_echo "$result" >&6; }
13745 defaultval
=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x
"$enablestring" = xdisable
; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13756 # Check whether --enable-stattext was given.
13757 if test "${enable_stattext+set}" = set; then :
13758 enableval
=$enable_stattext;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13762 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13767 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13772 eval "$wx_cv_use_stattext"
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_STATTEXT = no; then
13781 result=$wxUSE_STATTEXT
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13785 $as_echo "$result" >&6; }
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13800 # Check whether --enable-statusbar was given.
13801 if test "${enable_statusbar+set}" = set; then :
13802 enableval=$enable_statusbar;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13806 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13811 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13816 eval "$wx_cv_use_statusbar"
13818 if test x"$enablestring" = xdisable; then
13819 if test $wxUSE_STATUSBAR = no; then
13825 result=$wxUSE_STATUSBAR
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13829 $as_echo "$result" >&6; }
13833 defaultval=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x"$enablestring" = xdisable; then
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-taskbaricon" >&5
13843 $as_echo_n "checking
for --${enablestring:-enable}-taskbaricon...
" >&6; }
13844 # Check whether --enable-taskbaricon was given.
13845 if test "${enable_taskbaricon+set}" = set; then :
13846 enableval=$enable_taskbaricon;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13850 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13855 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13860 eval "$wx_cv_use_taskbaricon"
13862 if test x
"$enablestring" = xdisable
; then
13863 if test $wxUSE_TASKBARICON = no
; then
13869 result
=$wxUSE_TASKBARICON
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13873 $as_echo "$result" >&6; }
13877 defaultval
=$wxUSE_ALL_FEATURES
13878 if test -z "$defaultval"; then
13879 if test x
"$enablestring" = xdisable
; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13888 # Check whether --enable-tbarnative was given.
13889 if test "${enable_tbarnative+set}" = set; then :
13890 enableval
=$enable_tbarnative;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13894 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13899 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13904 eval "$wx_cv_use_tbarnative"
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TOOLBAR_NATIVE = no; then
13913 result=$wxUSE_TOOLBAR_NATIVE
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13917 $as_echo "$result" >&6; }
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13932 # Check whether --enable-textctrl was given.
13933 if test "${enable_textctrl+set}" = set; then :
13934 enableval=$enable_textctrl;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13938 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13943 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13948 eval "$wx_cv_use_textctrl"
13950 if test x"$enablestring" = xdisable; then
13951 if test $wxUSE_TEXTCTRL = no; then
13957 result=$wxUSE_TEXTCTRL
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13961 $as_echo "$result" >&6; }
13965 defaultval=$wxUSE_ALL_FEATURES
13966 if test -z "$defaultval"; then
13967 if test x"$enablestring" = xdisable; then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
13975 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
13976 # Check whether --enable-datepick was given.
13977 if test "${enable_datepick+set}" = set; then :
13978 enableval=$enable_datepick;
13979 if test "$enableval" = yes; then
13980 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13982 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13987 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13992 eval "$wx_cv_use_datepick"
13994 if test x
"$enablestring" = xdisable
; then
13995 if test $wxUSE_TIMEPICKCTRL = no
; then
14001 result
=$wxUSE_TIMEPICKCTRL
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14005 $as_echo "$result" >&6; }
14009 defaultval
=$wxUSE_ALL_FEATURES
14010 if test -z "$defaultval"; then
14011 if test x
"$enablestring" = xdisable
; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
14020 # Check whether --enable-tipwindow was given.
14021 if test "${enable_tipwindow+set}" = set; then :
14022 enableval
=$enable_tipwindow;
14023 if test "$enableval" = yes; then
14024 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
14026 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
14031 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14036 eval "$wx_cv_use_tipwindow"
14038 if test x"$enablestring" = xdisable; then
14039 if test $wxUSE_TIPWINDOW = no; then
14045 result=$wxUSE_TIPWINDOW
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14049 $as_echo "$result" >&6; }
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14064 # Check whether --enable-togglebtn was given.
14065 if test "${enable_togglebtn+set}" = set; then :
14066 enableval=$enable_togglebtn;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
14070 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
14075 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14080 eval "$wx_cv_use_togglebtn"
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_TOGGLEBTN = no; then
14089 result=$wxUSE_TOGGLEBTN
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14093 $as_echo "$result" >&6; }
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbar" >&5
14107 $as_echo_n "checking
for --${enablestring:-enable}-toolbar...
" >&6; }
14108 # Check whether --enable-toolbar was given.
14109 if test "${enable_toolbar+set}" = set; then :
14110 enableval=$enable_toolbar;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14114 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14119 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14124 eval "$wx_cv_use_toolbar"
14126 if test x
"$enablestring" = xdisable
; then
14127 if test $wxUSE_TOOLBAR = no
; then
14133 result
=$wxUSE_TOOLBAR
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14137 $as_echo "$result" >&6; }
14141 defaultval
=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x
"$enablestring" = xdisable
; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14152 # Check whether --enable-toolbook was given.
14153 if test "${enable_toolbook+set}" = set; then :
14154 enableval
=$enable_toolbook;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14158 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14163 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14168 eval "$wx_cv_use_toolbook"
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_TOOLBOOK = no; then
14177 result=$wxUSE_TOOLBOOK
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14181 $as_echo "$result" >&6; }
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14196 # Check whether --enable-treebook was given.
14197 if test "${enable_treebook+set}" = set; then :
14198 enableval=$enable_treebook;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
14202 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
14207 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14212 eval "$wx_cv_use_treebook"
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_TREEBOOK = no; then
14221 result=$wxUSE_TREEBOOK
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14225 $as_echo "$result" >&6; }
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treectrl" >&5
14239 $as_echo_n "checking
for --${enablestring:-enable}-treectrl...
" >&6; }
14240 # Check whether --enable-treectrl was given.
14241 if test "${enable_treectrl+set}" = set; then :
14242 enableval=$enable_treectrl;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14246 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14251 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14256 eval "$wx_cv_use_treectrl"
14258 if test x
"$enablestring" = xdisable
; then
14259 if test $wxUSE_TREECTRL = no
; then
14265 result
=$wxUSE_TREECTRL
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14273 defaultval
=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x
"$enablestring" = xdisable
; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14284 # Check whether --enable-treelist was given.
14285 if test "${enable_treelist+set}" = set; then :
14286 enableval
=$enable_treelist;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=yes'
14290 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=no'
14295 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14300 eval "$wx_cv_use_treelist"
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_TREELISTCTRL = no; then
14309 result=$wxUSE_TREELISTCTRL
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14319 defaultval=$wxUSE_ALL_FEATURES
14320 if test -z "$defaultval"; then
14321 if test x"$enablestring" = xdisable; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14330 # Check whether --enable-commondlg was given.
14331 if test "${enable_commondlg+set}" = set; then :
14332 enableval=$enable_commondlg;
14333 if test "$enableval" = yes; then
14334 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14336 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14341 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14346 eval "$wx_cv_use_commondlg"
14348 if test x"$enablestring" = xdisable; then
14349 if test $wxUSE_COMMONDLGS = no; then
14355 result=$wxUSE_COMMONDLGS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14359 $as_echo "$result" >&6; }
14363 defaultval=$wxUSE_ALL_FEATURES
14364 if test -z "$defaultval"; then
14365 if test x"$enablestring" = xdisable; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aboutdlg" >&5
14373 $as_echo_n "checking
for --${enablestring:-enable}-aboutdlg...
" >&6; }
14374 # Check whether --enable-aboutdlg was given.
14375 if test "${enable_aboutdlg+set}" = set; then :
14376 enableval=$enable_aboutdlg;
14377 if test "$enableval" = yes; then
14378 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14380 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14385 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14390 eval "$wx_cv_use_aboutdlg"
14392 if test x
"$enablestring" = xdisable
; then
14393 if test $wxUSE_ABOUTDLG = no
; then
14399 result
=$wxUSE_ABOUTDLG
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14403 $as_echo "$result" >&6; }
14407 defaultval
=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x
"$enablestring" = xdisable
; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14418 # Check whether --enable-choicedlg was given.
14419 if test "${enable_choicedlg+set}" = set; then :
14420 enableval
=$enable_choicedlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14424 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14429 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14434 eval "$wx_cv_use_choicedlg"
14436 if test x"$enablestring" = xdisable; then
14437 if test $wxUSE_CHOICEDLG = no; then
14443 result=$wxUSE_CHOICEDLG
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14447 $as_echo "$result" >&6; }
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14462 # Check whether --enable-coldlg was given.
14463 if test "${enable_coldlg+set}" = set; then :
14464 enableval=$enable_coldlg;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14468 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14473 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14478 eval "$wx_cv_use_coldlg"
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_COLOURDLG = no; then
14487 result=$wxUSE_COLOURDLG
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14491 $as_echo "$result" >&6; }
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filedlg" >&5
14505 $as_echo_n "checking
for --${enablestring:-enable}-filedlg...
" >&6; }
14506 # Check whether --enable-filedlg was given.
14507 if test "${enable_filedlg+set}" = set; then :
14508 enableval=$enable_filedlg;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14512 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14517 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14522 eval "$wx_cv_use_filedlg"
14524 if test x
"$enablestring" = xdisable
; then
14525 if test $wxUSE_FILEDLG = no
; then
14531 result
=$wxUSE_FILEDLG
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14535 $as_echo "$result" >&6; }
14539 defaultval
=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x
"$enablestring" = xdisable
; then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14550 # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then :
14552 enableval
=$enable_finddlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14556 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14561 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14566 eval "$wx_cv_use_finddlg"
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_FINDREPLDLG = no; then
14575 result=$wxUSE_FINDREPLDLG
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14579 $as_echo "$result" >&6; }
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14594 # Check whether --enable-fontdlg was given.
14595 if test "${enable_fontdlg+set}" = set; then :
14596 enableval=$enable_fontdlg;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14600 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14605 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14610 eval "$wx_cv_use_fontdlg"
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_FONTDLG = no; then
14619 result=$wxUSE_FONTDLG
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14623 $as_echo "$result" >&6; }
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirdlg" >&5
14637 $as_echo_n "checking
for --${enablestring:-enable}-dirdlg...
" >&6; }
14638 # Check whether --enable-dirdlg was given.
14639 if test "${enable_dirdlg+set}" = set; then :
14640 enableval=$enable_dirdlg;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14644 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14649 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14654 eval "$wx_cv_use_dirdlg"
14656 if test x
"$enablestring" = xdisable
; then
14657 if test $wxUSE_DIRDLG = no
; then
14663 result
=$wxUSE_DIRDLG
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14667 $as_echo "$result" >&6; }
14671 defaultval
=$wxUSE_ALL_FEATURES
14672 if test -z "$defaultval"; then
14673 if test x
"$enablestring" = xdisable
; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14682 # Check whether --enable-msgdlg was given.
14683 if test "${enable_msgdlg+set}" = set; then :
14684 enableval
=$enable_msgdlg;
14685 if test "$enableval" = yes; then
14686 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14688 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14693 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14698 eval "$wx_cv_use_msgdlg"
14700 if test x"$enablestring" = xdisable; then
14701 if test $wxUSE_MSGDLG = no; then
14707 result=$wxUSE_MSGDLG
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14711 $as_echo "$result" >&6; }
14715 defaultval=$wxUSE_ALL_FEATURES
14716 if test -z "$defaultval"; then
14717 if test x"$enablestring" = xdisable; then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14726 # Check whether --enable-numberdlg was given.
14727 if test "${enable_numberdlg+set}" = set; then :
14728 enableval=$enable_numberdlg;
14729 if test "$enableval" = yes; then
14730 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14732 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14737 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14742 eval "$wx_cv_use_numberdlg"
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = no; then
14751 result=$wxUSE_NUMBERDLG
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14755 $as_echo "$result" >&6; }
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splash" >&5
14769 $as_echo_n "checking
for --${enablestring:-enable}-splash...
" >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then :
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH=yes'
14776 wx_cv_use_splash='wxUSE_SPLASH=no'
14781 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14786 eval "$wx_cv_use_splash"
14788 if test x
"$enablestring" = xdisable
; then
14789 if test $wxUSE_SPLASH = no
; then
14795 result
=$wxUSE_SPLASH
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14799 $as_echo "$result" >&6; }
14803 defaultval
=$wxUSE_ALL_FEATURES
14804 if test -z "$defaultval"; then
14805 if test x
"$enablestring" = xdisable
; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14814 # Check whether --enable-textdlg was given.
14815 if test "${enable_textdlg+set}" = set; then :
14816 enableval
=$enable_textdlg;
14817 if test "$enableval" = yes; then
14818 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14820 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14825 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14830 eval "$wx_cv_use_textdlg"
14832 if test x"$enablestring" = xdisable; then
14833 if test $wxUSE_TEXTDLG = no; then
14839 result=$wxUSE_TEXTDLG
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14843 $as_echo "$result" >&6; }
14847 defaultval=$wxUSE_ALL_FEATURES
14848 if test -z "$defaultval"; then
14849 if test x"$enablestring" = xdisable; then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14858 # Check whether --enable-tipdlg was given.
14859 if test "${enable_tipdlg+set}" = set; then :
14860 enableval=$enable_tipdlg;
14861 if test "$enableval" = yes; then
14862 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14864 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14869 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14874 eval "$wx_cv_use_tipdlg"
14876 if test x"$enablestring" = xdisable; then
14877 if test $wxUSE_STARTUP_TIPS = no; then
14883 result=$wxUSE_STARTUP_TIPS
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14887 $as_echo "$result" >&6; }
14891 defaultval=$wxUSE_ALL_FEATURES
14892 if test -z "$defaultval"; then
14893 if test x"$enablestring" = xdisable; then
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-progressdlg" >&5
14901 $as_echo_n "checking
for --${enablestring:-enable}-progressdlg...
" >&6; }
14902 # Check whether --enable-progressdlg was given.
14903 if test "${enable_progressdlg+set}" = set; then :
14904 enableval=$enable_progressdlg;
14905 if test "$enableval" = yes; then
14906 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14908 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14913 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14918 eval "$wx_cv_use_progressdlg"
14920 if test x
"$enablestring" = xdisable
; then
14921 if test $wxUSE_PROGRESSDLG = no
; then
14927 result
=$wxUSE_PROGRESSDLG
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14935 defaultval
=$wxUSE_ALL_FEATURES
14936 if test -z "$defaultval"; then
14937 if test x
"$enablestring" = xdisable
; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14946 # Check whether --enable-wizarddlg was given.
14947 if test "${enable_wizarddlg+set}" = set; then :
14948 enableval
=$enable_wizarddlg;
14949 if test "$enableval" = yes; then
14950 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14952 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14957 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14962 eval "$wx_cv_use_wizarddlg"
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_WIZARDDLG = no; then
14971 result=$wxUSE_WIZARDDLG
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14981 defaultval=$wxUSE_ALL_FEATURES
14982 if test -z "$defaultval"; then
14983 if test x"$enablestring" = xdisable; then
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14992 # Check whether --enable-menus was given.
14993 if test "${enable_menus+set}" = set; then :
14994 enableval=$enable_menus;
14995 if test "$enableval" = yes; then
14996 wx_cv_use_menus='wxUSE_MENUS
=yes'
14998 wx_cv_use_menus='wxUSE_MENUS
=no
'
15003 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15008 eval "$wx_cv_use_menus"
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_MENUS = no; then
15017 result=$wxUSE_MENUS
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15021 $as_echo "$result" >&6; }
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-miniframe" >&5
15035 $as_echo_n "checking
for --${enablestring:-enable}-miniframe...
" >&6; }
15036 # Check whether --enable-miniframe was given.
15037 if test "${enable_miniframe+set}" = set; then :
15038 enableval=$enable_miniframe;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15042 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15047 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15052 eval "$wx_cv_use_miniframe"
15054 if test x
"$enablestring" = xdisable
; then
15055 if test $wxUSE_MINIFRAME = no
; then
15061 result
=$wxUSE_MINIFRAME
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15065 $as_echo "$result" >&6; }
15069 defaultval
=$wxUSE_ALL_FEATURES
15070 if test -z "$defaultval"; then
15071 if test x
"$enablestring" = xdisable
; then
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15080 # Check whether --enable-tooltips was given.
15081 if test "${enable_tooltips+set}" = set; then :
15082 enableval
=$enable_tooltips;
15083 if test "$enableval" = yes; then
15084 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15086 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15091 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15096 eval "$wx_cv_use_tooltips"
15098 if test x"$enablestring" = xdisable; then
15099 if test $wxUSE_TOOLTIPS = no; then
15105 result=$wxUSE_TOOLTIPS
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15109 $as_echo "$result" >&6; }
15113 defaultval=$wxUSE_ALL_FEATURES
15114 if test -z "$defaultval"; then
15115 if test x"$enablestring" = xdisable; then
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15124 # Check whether --enable-splines was given.
15125 if test "${enable_splines+set}" = set; then :
15126 enableval=$enable_splines;
15127 if test "$enableval" = yes; then
15128 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15130 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15135 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15140 eval "$wx_cv_use_splines"
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_SPLINES = no; then
15149 result=$wxUSE_SPLINES
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15153 $as_echo "$result" >&6; }
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mousewheel" >&5
15167 $as_echo_n "checking
for --${enablestring:-enable}-mousewheel...
" >&6; }
15168 # Check whether --enable-mousewheel was given.
15169 if test "${enable_mousewheel+set}" = set; then :
15170 enableval=$enable_mousewheel;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15174 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15179 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15184 eval "$wx_cv_use_mousewheel"
15186 if test x
"$enablestring" = xdisable
; then
15187 if test $wxUSE_MOUSEWHEEL = no
; then
15193 result
=$wxUSE_MOUSEWHEEL
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15197 $as_echo "$result" >&6; }
15201 defaultval
=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x
"$enablestring" = xdisable
; then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15212 # Check whether --enable-validators was given.
15213 if test "${enable_validators+set}" = set; then :
15214 enableval
=$enable_validators;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15218 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15223 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15228 eval "$wx_cv_use_validators"
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_VALIDATORS = no; then
15237 result=$wxUSE_VALIDATORS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15241 $as_echo "$result" >&6; }
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15256 # Check whether --enable-busyinfo was given.
15257 if test "${enable_busyinfo+set}" = set; then :
15258 enableval=$enable_busyinfo;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15262 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15267 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15272 eval "$wx_cv_use_busyinfo"
15274 if test x"$enablestring" = xdisable; then
15275 if test $wxUSE_BUSYINFO = no; then
15281 result=$wxUSE_BUSYINFO
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15285 $as_echo "$result" >&6; }
15289 defaultval=$wxUSE_ALL_FEATURES
15290 if test -z "$defaultval"; then
15291 if test x"$enablestring" = xdisable; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hotkey" >&5
15299 $as_echo_n "checking
for --${enablestring:-enable}-hotkey...
" >&6; }
15300 # Check whether --enable-hotkey was given.
15301 if test "${enable_hotkey+set}" = set; then :
15302 enableval=$enable_hotkey;
15303 if test "$enableval" = yes; then
15304 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15306 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15311 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15316 eval "$wx_cv_use_hotkey"
15318 if test x
"$enablestring" = xdisable
; then
15319 if test $wxUSE_HOTKEY = no
; then
15325 result
=$wxUSE_HOTKEY
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15329 $as_echo "$result" >&6; }
15333 defaultval
=$wxUSE_ALL_FEATURES
15334 if test -z "$defaultval"; then
15335 if test x
"$enablestring" = xdisable
; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15344 # Check whether --enable-joystick was given.
15345 if test "${enable_joystick+set}" = set; then :
15346 enableval
=$enable_joystick;
15347 if test "$enableval" = yes; then
15348 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
15350 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
15355 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15360 eval "$wx_cv_use_joystick"
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_JOYSTICK = no; then
15369 result=$wxUSE_JOYSTICK
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15373 $as_echo "$result" >&6; }
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15388 # Check whether --enable-metafile was given.
15389 if test "${enable_metafile+set}" = set; then :
15390 enableval=$enable_metafile;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
15394 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
15399 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15404 eval "$wx_cv_use_metafile"
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_METAFILE = no; then
15413 result=$wxUSE_METAFILE
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15417 $as_echo "$result" >&6; }
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dragimage" >&5
15431 $as_echo_n "checking
for --${enablestring:-enable}-dragimage...
" >&6; }
15432 # Check whether --enable-dragimage was given.
15433 if test "${enable_dragimage+set}" = set; then :
15434 enableval=$enable_dragimage;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15438 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15443 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15448 eval "$wx_cv_use_dragimage"
15450 if test x
"$enablestring" = xdisable
; then
15451 if test $wxUSE_DRAGIMAGE = no
; then
15457 result
=$wxUSE_DRAGIMAGE
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15461 $as_echo "$result" >&6; }
15465 defaultval
=$wxUSE_ALL_FEATURES
15466 if test -z "$defaultval"; then
15467 if test x
"$enablestring" = xdisable
; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15476 # Check whether --enable-accessibility was given.
15477 if test "${enable_accessibility+set}" = set; then :
15478 enableval
=$enable_accessibility;
15479 if test "$enableval" = yes; then
15480 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
15482 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
15487 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15492 eval "$wx_cv_use_accessibility"
15494 if test x"$enablestring" = xdisable; then
15495 if test $wxUSE_ACCESSIBILITY = no; then
15501 result=$wxUSE_ACCESSIBILITY
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15505 $as_echo "$result" >&6; }
15509 defaultval=$wxUSE_ALL_FEATURES
15510 if test -z "$defaultval"; then
15511 if test x"$enablestring" = xdisable; then
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15520 # Check whether --enable-uiactionsim was given.
15521 if test "${enable_uiactionsim+set}" = set; then :
15522 enableval=$enable_uiactionsim;
15523 if test "$enableval" = yes; then
15524 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
15526 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
15531 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15536 eval "$wx_cv_use_uiactionsim"
15538 if test x"$enablestring" = xdisable; then
15539 if test $wxUSE_UIACTIONSIMULATOR = no; then
15545 result=$wxUSE_UIACTIONSIMULATOR
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15549 $as_echo "$result" >&6; }
15553 defaultval=$wxUSE_ALL_FEATURES
15554 if test -z "$defaultval"; then
15555 if test x"$enablestring" = xdisable; then
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dctransform" >&5
15563 $as_echo_n "checking
for --${enablestring:-enable}-dctransform...
" >&6; }
15564 # Check whether --enable-dctransform was given.
15565 if test "${enable_dctransform+set}" = set; then :
15566 enableval=$enable_dctransform;
15567 if test "$enableval" = yes; then
15568 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15570 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15575 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15580 eval "$wx_cv_use_dctransform"
15582 if test x
"$enablestring" = xdisable
; then
15583 if test $wxUSE_DC_TRANSFORM_MATRIX = no
; then
15589 result
=$wxUSE_DC_TRANSFORM_MATRIX
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15597 defaultval
=$wxUSE_ALL_FEATURES
15598 if test -z "$defaultval"; then
15599 if test x
"$enablestring" = xdisable
; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15608 # Check whether --enable-webviewwebkit was given.
15609 if test "${enable_webviewwebkit+set}" = set; then :
15610 enableval
=$enable_webviewwebkit;
15611 if test "$enableval" = yes; then
15612 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=yes'
15614 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=no'
15619 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15624 eval "$wx_cv_use_webviewwebkit"
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15633 result=$wxUSE_WEBVIEW_WEBKIT
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15654 # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then :
15656 enableval=$enable_palette;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_palette='wxUSE_PALETTE
=yes'
15660 wx_cv_use_palette='wxUSE_PALETTE
=no
'
15665 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15670 eval "$wx_cv_use_palette"
15672 if test x"$enablestring" = xdisable; then
15673 if test $wxUSE_PALETTE = no; then
15679 result=$wxUSE_PALETTE
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15683 $as_echo "$result" >&6; }
15687 defaultval=$wxUSE_ALL_FEATURES
15688 if test -z "$defaultval"; then
15689 if test x"$enablestring" = xdisable; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-image" >&5
15697 $as_echo_n "checking
for --${enablestring:-enable}-image...
" >&6; }
15698 # Check whether --enable-image was given.
15699 if test "${enable_image+set}" = set; then :
15700 enableval=$enable_image;
15701 if test "$enableval" = yes; then
15702 wx_cv_use_image='wxUSE_IMAGE=yes'
15704 wx_cv_use_image='wxUSE_IMAGE=no'
15709 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15714 eval "$wx_cv_use_image"
15716 if test x
"$enablestring" = xdisable
; then
15717 if test $wxUSE_IMAGE = no
; then
15723 result
=$wxUSE_IMAGE
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15727 $as_echo "$result" >&6; }
15731 defaultval
=$wxUSE_ALL_FEATURES
15732 if test -z "$defaultval"; then
15733 if test x
"$enablestring" = xdisable
; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15742 # Check whether --enable-gif was given.
15743 if test "${enable_gif+set}" = set; then :
15744 enableval
=$enable_gif;
15745 if test "$enableval" = yes; then
15746 wx_cv_use_gif
='wxUSE_GIF=yes'
15748 wx_cv_use_gif
='wxUSE_GIF=no'
15753 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15758 eval "$wx_cv_use_gif"
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_GIF = no; then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15771 $as_echo "$result" >&6; }
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15786 # Check whether --enable-pcx was given.
15787 if test "${enable_pcx+set}" = set; then :
15788 enableval=$enable_pcx;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_pcx='wxUSE_PCX
=yes'
15792 wx_cv_use_pcx='wxUSE_PCX
=no
'
15797 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15802 eval "$wx_cv_use_pcx"
15804 if test x"$enablestring" = xdisable; then
15805 if test $wxUSE_PCX = no; then
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15815 $as_echo "$result" >&6; }
15819 defaultval=$wxUSE_ALL_FEATURES
15820 if test -z "$defaultval"; then
15821 if test x"$enablestring" = xdisable; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tga" >&5
15829 $as_echo_n "checking
for --${enablestring:-enable}-tga...
" >&6; }
15830 # Check whether --enable-tga was given.
15831 if test "${enable_tga+set}" = set; then :
15832 enableval=$enable_tga;
15833 if test "$enableval" = yes; then
15834 wx_cv_use_tga='wxUSE_TGA=yes'
15836 wx_cv_use_tga='wxUSE_TGA=no'
15841 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15846 eval "$wx_cv_use_tga"
15848 if test x
"$enablestring" = xdisable
; then
15849 if test $wxUSE_TGA = no
; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15859 $as_echo "$result" >&6; }
15863 defaultval
=$wxUSE_ALL_FEATURES
15864 if test -z "$defaultval"; then
15865 if test x
"$enablestring" = xdisable
; then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15874 # Check whether --enable-iff was given.
15875 if test "${enable_iff+set}" = set; then :
15876 enableval
=$enable_iff;
15877 if test "$enableval" = yes; then
15878 wx_cv_use_iff
='wxUSE_IFF=yes'
15880 wx_cv_use_iff
='wxUSE_IFF=no'
15885 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15890 eval "$wx_cv_use_iff"
15892 if test x"$enablestring" = xdisable; then
15893 if test $wxUSE_IFF = no; then
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15903 $as_echo "$result" >&6; }
15907 defaultval=$wxUSE_ALL_FEATURES
15908 if test -z "$defaultval"; then
15909 if test x"$enablestring" = xdisable; then
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15918 # Check whether --enable-pnm was given.
15919 if test "${enable_pnm+set}" = set; then :
15920 enableval=$enable_pnm;
15921 if test "$enableval" = yes; then
15922 wx_cv_use_pnm='wxUSE_PNM
=yes'
15924 wx_cv_use_pnm='wxUSE_PNM
=no
'
15929 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15934 eval "$wx_cv_use_pnm"
15936 if test x"$enablestring" = xdisable; then
15937 if test $wxUSE_PNM = no; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15947 $as_echo "$result" >&6; }
15951 defaultval=$wxUSE_ALL_FEATURES
15952 if test -z "$defaultval"; then
15953 if test x"$enablestring" = xdisable; then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xpm" >&5
15961 $as_echo_n "checking
for --${enablestring:-enable}-xpm...
" >&6; }
15962 # Check whether --enable-xpm was given.
15963 if test "${enable_xpm+set}" = set; then :
15964 enableval=$enable_xpm;
15965 if test "$enableval" = yes; then
15966 wx_cv_use_xpm='wxUSE_XPM=yes'
15968 wx_cv_use_xpm='wxUSE_XPM=no'
15973 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15978 eval "$wx_cv_use_xpm"
15980 if test x
"$enablestring" = xdisable
; then
15981 if test $wxUSE_XPM = no
; then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15995 defaultval
=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x
"$enablestring" = xdisable
; then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
16006 # Check whether --enable-ico_cur was given.
16007 if test "${enable_ico_cur+set}" = set; then :
16008 enableval
=$enable_ico_cur;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
16012 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
16017 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16022 eval "$wx_cv_use_ico_cur"
16024 if test x"$enablestring" = xdisable; then
16025 if test $wxUSE_ICO_CUR = no; then
16031 result=$wxUSE_ICO_CUR
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16052 # Check whether --enable-dccache was given.
16053 if test "${enable_dccache+set}" = set; then :
16054 enableval=$enable_dccache;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
16058 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
16063 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16068 eval "$wx_cv_use_dccache"
16070 if test x"$enablestring" = xdisable; then
16071 if test $wxUSE_DC_CACHEING = no; then
16077 result=$wxUSE_DC_CACHEING
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16081 $as_echo "$result" >&6; }
16085 defaultval=$wxUSE_ALL_FEATURES
16086 if test -z "$defaultval"; then
16087 if test x"$enablestring" = xdisable; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ps-in-msw" >&5
16095 $as_echo_n "checking
for --${enablestring:-enable}-ps-in-msw...
" >&6; }
16096 # Check whether --enable-ps-in-msw was given.
16097 if test "${enable_ps_in_msw+set}" = set; then :
16098 enableval=$enable_ps_in_msw;
16099 if test "$enableval" = yes; then
16100 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16102 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16107 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16112 eval "$wx_cv_use_ps_in_msw"
16114 if test x
"$enablestring" = xdisable
; then
16115 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
16121 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16125 $as_echo "$result" >&6; }
16129 defaultval
=$wxUSE_ALL_FEATURES
16130 if test -z "$defaultval"; then
16131 if test x
"$enablestring" = xdisable
; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16140 # Check whether --enable-ownerdrawn was given.
16141 if test "${enable_ownerdrawn+set}" = set; then :
16142 enableval
=$enable_ownerdrawn;
16143 if test "$enableval" = yes; then
16144 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
16146 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
16151 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16156 eval "$wx_cv_use_ownerdrawn"
16158 if test x"$enablestring" = xdisable; then
16159 if test $wxUSE_OWNER_DRAWN = no; then
16165 result=$wxUSE_OWNER_DRAWN
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16169 $as_echo "$result" >&6; }
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16184 # Check whether --enable-uxtheme was given.
16185 if test "${enable_uxtheme+set}" = set; then :
16186 enableval=$enable_uxtheme;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
16190 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
16195 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16200 eval "$wx_cv_use_uxtheme"
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_UXTHEME = no; then
16209 result=$wxUSE_UXTHEME
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16213 $as_echo "$result" >&6; }
16217 defaultval=$wxUSE_ALL_FEATURES
16218 if test -z "$defaultval"; then
16219 if test x"$enablestring" = xdisable; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wxdib" >&5
16227 $as_echo_n "checking
for --${enablestring:-enable}-wxdib...
" >&6; }
16228 # Check whether --enable-wxdib was given.
16229 if test "${enable_wxdib+set}" = set; then :
16230 enableval=$enable_wxdib;
16231 if test "$enableval" = yes; then
16232 wx_cv_use_wxdib='wxUSE_DIB=yes'
16234 wx_cv_use_wxdib='wxUSE_DIB=no'
16239 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16244 eval "$wx_cv_use_wxdib"
16246 if test x
"$enablestring" = xdisable
; then
16247 if test $wxUSE_DIB = no
; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16261 defaultval
=$wxUSE_ALL_FEATURES
16262 if test -z "$defaultval"; then
16263 if test x
"$enablestring" = xdisable
; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16271 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16272 # Check whether --enable-webviewie was given.
16273 if test "${enable_webviewie+set}" = set; then :
16274 enableval
=$enable_webviewie;
16275 if test "$enableval" = yes; then
16276 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=yes'
16278 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=no'
16283 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16288 eval "$wx_cv_use_webviewie"
16290 if test x"$enablestring" = xdisable; then
16291 if test $wxUSE_WEBVIEW_IE = no; then
16297 result=$wxUSE_WEBVIEW_IE
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16301 $as_echo "$result" >&6; }
16304 if test "$wxUSE_MSW" != 1; then
16305 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16310 defaultval=$wxUSE_ALL_FEATURES
16311 if test -z "$defaultval"; then
16312 if test x"$enablestring" = xdisable; then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16320 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16321 # Check whether --enable-autoidman was given.
16322 if test "${enable_autoidman+set}" = set; then :
16323 enableval=$enable_autoidman;
16324 if test "$enableval" = yes; then
16325 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
16327 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
16332 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16337 eval "$wx_cv_use_autoidman"
16339 if test x"$enablestring" = xdisable; then
16340 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16346 result=$wxUSE_AUTOID_MANAGEMENT
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16350 $as_echo "$result" >&6; }
16356 cat >confcache <<\_ACEOF
16357 # This file is a shell script that caches the results of configure
16358 # tests run on this system so they can be shared between configure
16359 # scripts and configure runs, see configure's option --config-cache.
16360 # It is not useful on other systems. If it contains results you don't
16361 # want to keep, you may remove or edit it.
16363 # config.status only pays attention to the cache file if you give it
16364 # the --recheck option to rerun configure.
16366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16368 # following values.
16372 # The following way of writing the cache mishandles newlines in values,
16373 # but we know of no workaround that is simple, portable, and efficient.
16374 # So, we kill variables containing newlines.
16375 # Ultrix sh set writes to stderr and can't be redirected directly,
16376 # and sets the high bit in the cache file unless we assign to the vars.
16378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16379 eval ac_val=\$$ac_var
16383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16384 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16387 _ | IFS | as_nl) ;; #(
16388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16389 *) { eval $ac_var=; unset $ac_var;} ;;
16395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16396 *${as_nl}ac_space=\ *)
16397 # `set' does not quote correctly, so add quotes: double-quote
16398 # substitution turns \\\\ into \\, and sed turns \\ into \.
16401 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16404 # `set' quotes correctly as required by POSIX, so do not add quotes.
16405 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16419 if test -w "$cache_file"; then
16420 if test "x
$cache_file" != "x
/dev
/null
"; then
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16422 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16423 if test ! -f "$cache_file" || test -h "$cache_file"; then
16424 cat confcache >"$cache_file"
16426 case $cache_file in #(
16428 mv -f confcache "$cache_file"$$ &&
16429 mv -f "$cache_file"$$ "$cache_file" ;; #(
16431 mv -f confcache "$cache_file" ;;
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16437 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16444 ac_cpp='$CPP $CPPFLAGS'
16445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 if test -n "$ac_tool_prefix"; then
16449 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16452 $as_echo_n "checking
for $ac_word...
" >&6; }
16453 if ${ac_cv_prog_CC+:} false; then :
16454 $as_echo_n "(cached
) " >&6
16456 if test -n "$CC"; then
16457 ac_cv_prog_CC="$CC" # Let the user override the test.
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16463 test -z "$as_dir" && as_dir=.
16464 for ac_exec_ext in '' $ac_executable_extensions; do
16465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16466 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16477 if test -n "$CC"; then
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16479 $as_echo "$CC" >&6; }
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16482 $as_echo "no
" >&6; }
16487 if test -z "$ac_cv_prog_CC"; then
16489 # Extract the first word of "gcc
", so it can be a program name with args.
16490 set dummy gcc; ac_word=$2
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16492 $as_echo_n "checking
for $ac_word...
" >&6; }
16493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16494 $as_echo_n "(cached
) " >&6
16496 if test -n "$ac_ct_CC"; then
16497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16503 test -z "$as_dir" && as_dir=.
16504 for ac_exec_ext in '' $ac_executable_extensions; do
16505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_prog_ac_ct_CC="gcc
"
16507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16517 if test -n "$ac_ct_CC"; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16519 $as_echo "$ac_ct_CC" >&6; }
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16522 $as_echo "no
" >&6; }
16525 if test "x
$ac_ct_CC" = x; then
16528 case $cross_compiling:$ac_tool_warned in
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16532 ac_tool_warned=yes ;;
16537 CC="$ac_cv_prog_CC"
16540 if test -z "$CC"; then
16541 if test -n "$ac_tool_prefix"; then
16542 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}cc; ac_word=$2
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16545 $as_echo_n "checking
for $ac_word...
" >&6; }
16546 if ${ac_cv_prog_CC+:} false; then :
16547 $as_echo_n "(cached
) " >&6
16549 if test -n "$CC"; then
16550 ac_cv_prog_CC="$CC" # Let the user override the test.
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16559 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16570 if test -n "$CC"; then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16572 $as_echo "$CC" >&6; }
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16575 $as_echo "no
" >&6; }
16581 if test -z "$CC"; then
16582 # Extract the first word of "cc
", so it can be a program name with args.
16583 set dummy cc; ac_word=$2
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16585 $as_echo_n "checking
for $ac_word...
" >&6; }
16586 if ${ac_cv_prog_CC+:} false; then :
16587 $as_echo_n "(cached
) " >&6
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC="$CC" # Let the user override the test.
16592 ac_prog_rejected=no
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16600 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16601 ac_prog_rejected=yes
16605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16612 if test $ac_prog_rejected = yes; then
16613 # We found a bogon in the path, so make sure we never use it.
16614 set dummy $ac_cv_prog_CC
16616 if test $# != 0; then
16617 # We chose a different compiler from the bogus one.
16618 # However, it has the same basename, so the bogon will be chosen
16619 # first if we set CC to just the basename; use the full file name.
16621 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16627 if test -n "$CC"; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16629 $as_echo "$CC" >&6; }
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16632 $as_echo "no
" >&6; }
16637 if test -z "$CC"; then
16638 if test -n "$ac_tool_prefix"; then
16639 for ac_prog in cl.exe
16641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16644 $as_echo_n "checking
for $ac_word...
" >&6; }
16645 if ${ac_cv_prog_CC+:} false; then :
16646 $as_echo_n "(cached
) " >&6
16648 if test -n "$CC"; then
16649 ac_cv_prog_CC="$CC" # Let the user override the test.
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $PATH
16655 test -z "$as_dir" && as_dir=.
16656 for ac_exec_ext in '' $ac_executable_extensions; do
16657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16669 if test -n "$CC"; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16671 $as_echo "$CC" >&6; }
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16674 $as_echo "no
" >&6; }
16678 test -n "$CC" && break
16681 if test -z "$CC"; then
16683 for ac_prog in cl.exe
16685 # Extract the first word of "$ac_prog", so it can be a program name with args.
16686 set dummy $ac_prog; ac_word=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16688 $as_echo_n "checking
for $ac_word...
" >&6; }
16689 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16690 $as_echo_n "(cached
) " >&6
16692 if test -n "$ac_ct_CC"; then
16693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16696 for as_dir in $PATH
16699 test -z "$as_dir" && as_dir=.
16700 for ac_exec_ext in '' $ac_executable_extensions; do
16701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16702 ac_cv_prog_ac_ct_CC="$ac_prog"
16703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16713 if test -n "$ac_ct_CC"; then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16715 $as_echo "$ac_ct_CC" >&6; }
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16718 $as_echo "no
" >&6; }
16722 test -n "$ac_ct_CC" && break
16725 if test "x
$ac_ct_CC" = x; then
16728 case $cross_compiling:$ac_tool_warned in
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16731 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16732 ac_tool_warned=yes ;;
16741 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "no acceptable C compiler found in \$PATH
16744 See \`config.log' for more details
" "$LINENO" 5; }
16746 # Provide some information about the compiler.
16747 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
16750 for ac_option in --version -v -V -qversion; do
16751 { { ac_try="$ac_compiler $ac_option >&5"
16752 case "(($ac_try" in
16753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16754 *) ac_try_echo=$ac_try;;
16756 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16757 $as_echo "$ac_try_echo"; } >&5
16758 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16760 if test -s conftest.err; then
16762 ... rest of stderr output deleted ...
16763 10q' conftest.err >conftest.er1
16764 cat conftest.er1 >&5
16766 rm -f conftest.er1 conftest.err
16767 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16768 test $ac_status = 0; }
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16782 ac_clean_files_save=$ac_clean_files
16783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
16784 # Try to create an executable without -o first, disregard a.out.
16785 # It will help us diagnose broken compilers, and finding out an intuition
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
16788 $as_echo_n "checking whether the C compiler works...
" >&6; }
16789 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16791 # The possible output files:
16792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
16795 for ac_file in $ac_files
16798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16804 if { { ac_try="$ac_link_default"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16809 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811 (eval "$ac_link_default") 2>&5
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16814 test $ac_status = 0; }; then :
16815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16818 # so that the user can short-circuit this test for compilers unknown to
16820 for ac_file in $ac_files ''
16822 test -f "$ac_file" || continue
16824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16827 # We found the default executable, but exeext='' is most
16831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16835 # We set ac_cv_exeext here because the later test for it is not
16836 # safe: cross compilers may not add the suffix if given an `-o'
16837 # argument, so we may need to know it at that point already.
16838 # Even if this section looks crufty: it has the advantage of
16839 # actually working.
16845 test "$ac_cv_exeext" = no && ac_cv_exeext=
16850 if test -z "$ac_file"; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16852 $as_echo "no
" >&6; }
16853 $as_echo "$as_me: failed program was
:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16858 as_fn_error 77 "C compiler cannot create executables
16859 See \`config.log' for more details
" "$LINENO" 5; }
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16862 $as_echo "yes" >&6; }
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
16865 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
16867 $as_echo "$ac_file" >&6; }
16868 ac_exeext=$ac_cv_exeext
16870 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16871 ac_clean_files=$ac_clean_files_save
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
16873 $as_echo_n "checking
for suffix of executables...
" >&6; }
16874 if { { ac_try="$ac_link"
16875 case "(($ac_try" in
16876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16879 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16880 $as_echo "$ac_try_echo"; } >&5
16881 (eval "$ac_link") 2>&5
16883 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16884 test $ac_status = 0; }; then :
16885 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16886 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16887 # work properly (i.e., refer to `conftest.exe'), while it won't with
16889 for ac_file in conftest.exe conftest conftest.*; do
16890 test -f "$ac_file" || continue
16892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16893 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16901 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16902 See \`config.log' for more details
" "$LINENO" 5; }
16904 rm -f conftest conftest$ac_cv_exeext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
16906 $as_echo "$ac_cv_exeext" >&6; }
16908 rm -f conftest.$ac_ext
16909 EXEEXT=$ac_cv_exeext
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16917 FILE *f = fopen ("conftest.out
", "w
");
16918 return ferror (f) || fclose (f) != 0;
16924 ac_clean_files="$ac_clean_files conftest.out
"
16925 # Check that the compiler produces executables we can run. If not, either
16926 # the compiler is broken, or we cross compile.
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
16928 $as_echo_n "checking whether we are cross compiling...
" >&6; }
16929 if test "$cross_compiling" != yes; then
16930 { { ac_try="$ac_link"
16931 case "(($ac_try" in
16932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16935 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16936 $as_echo "$ac_try_echo"; } >&5
16937 (eval "$ac_link") 2>&5
16939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16940 test $ac_status = 0; }
16941 if { ac_try='./conftest$ac_cv_exeext'
16942 { { case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948 (eval "$ac_try") 2>&5
16950 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16951 test $ac_status = 0; }; }; then
16954 if test "$cross_compiling" = maybe; then
16955 cross_compiling=yes
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error $? "cannot run C compiled programs.
16960 If you meant to cross compile, use \`--host'.
16961 See \
`config.log' for more details" "$LINENO" 5; }
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16966 $as_echo "$cross_compiling" >&6; }
16968 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16969 ac_clean_files=$ac_clean_files_save
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16971 $as_echo_n "checking for suffix of object files... " >&6; }
16972 if ${ac_cv_objext+:} false; then :
16973 $as_echo_n "(cached) " >&6
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16986 rm -f conftest.o conftest.obj
16987 if { { ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16990 *) ac_try_echo
=$ac_try;;
16992 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16993 $as_echo "$ac_try_echo"; } >&5
16994 (eval "$ac_compile") 2>&5
16996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16997 test $ac_status = 0; }; then :
16998 for ac_file
in conftest.o conftest.obj conftest.
*; do
16999 test -f "$ac_file" || continue;
17001 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
17002 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
17007 $as_echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.
$ac_ext >&5
17010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17012 as_fn_error $?
"cannot compute suffix of object files: cannot compile
17013 See \`config.log' for more details" "$LINENO" 5; }
17015 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
17018 $as_echo "$ac_cv_objext" >&6; }
17019 OBJEXT
=$ac_cv_objext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17023 if ${ac_cv_c_compiler_gnu+:} false
; then :
17024 $as_echo_n "(cached) " >&6
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17040 if ac_fn_c_try_compile
"$LINENO"; then :
17041 ac_compiler_gnu
=yes
17045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17046 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17051 if test $ac_compiler_gnu = yes; then
17056 ac_test_CFLAGS
=${CFLAGS+set}
17057 ac_save_CFLAGS
=$CFLAGS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17060 if ${ac_cv_prog_cc_g+:} false
; then :
17061 $as_echo_n "(cached) " >&6
17063 ac_save_c_werror_flag
=$ac_c_werror_flag
17064 ac_c_werror_flag
=yes
17067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17078 if ac_fn_c_try_compile
"$LINENO"; then :
17079 ac_cv_prog_cc_g
=yes
17082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17093 if ac_fn_c_try_compile
"$LINENO"; then :
17096 ac_c_werror_flag
=$ac_save_c_werror_flag
17098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17109 if ac_fn_c_try_compile
"$LINENO"; then :
17110 ac_cv_prog_cc_g
=yes
17112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17117 ac_c_werror_flag
=$ac_save_c_werror_flag
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17120 $as_echo "$ac_cv_prog_cc_g" >&6; }
17121 if test "$ac_test_CFLAGS" = set; then
17122 CFLAGS
=$ac_save_CFLAGS
17123 elif test $ac_cv_prog_cc_g = yes; then
17124 if test "$GCC" = yes; then
17130 if test "$GCC" = yes; then
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17138 if ${ac_cv_prog_cc_c89+:} false
; then :
17139 $as_echo_n "(cached) " >&6
17141 ac_cv_prog_cc_c89
=no
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <stdarg.h>
17148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17149 struct buf { int x; };
17150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17151 static char *e (p, i)
17157 static char *f (char * (*g) (char **, int), char **p, ...)
17162 s = g (p, va_arg (v,int));
17167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17168 function prototypes and stuff, but not '\xHH' hex character constants.
17169 These don't provoke an error unfortunately, instead are silently treated
17170 as 'x'. The following induces an error, until -std is added to get
17171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17172 array size at least. It's necessary to write '\x00'==0 to get something
17173 that's true only with -std. */
17174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17177 inside strings and character constants. */
17179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17181 int test (int i, double x);
17182 struct s1 {int (*f) (int a);};
17183 struct s2 {int (*f) (double a);};
17184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17195 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
17196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17198 CC
="$ac_save_CC $ac_arg"
17199 if ac_fn_c_try_compile
"$LINENO"; then :
17200 ac_cv_prog_cc_c89
=$ac_arg
17202 rm -f core conftest.err conftest.
$ac_objext
17203 test "x$ac_cv_prog_cc_c89" != "xno" && break
17205 rm -f conftest.
$ac_ext
17210 case "x$ac_cv_prog_cc_c89" in
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17213 $as_echo "none needed" >&6; } ;;
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17216 $as_echo "unsupported" >&6; } ;;
17218 CC
="$CC $ac_cv_prog_cc_c89"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17222 if test "x$ac_cv_prog_cc_c89" != xno
; then :
17227 ac_cpp
='$CPP $CPPFLAGS'
17228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17240 ac_cpp
='$CPP $CPPFLAGS'
17241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17246 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false
; then :
17248 $as_echo_n "(cached) " >&6
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17257 #ifndef __INTEL_COMPILER
17265 if ac_fn_c_try_compile
"$LINENO"; then :
17266 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
17268 bakefile_cv_c_compiler___INTEL_COMPILER
=no
17271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17277 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17283 ac_cpp
='$CPP $CPPFLAGS'
17284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17291 if test "$INTELCC" = "yes"; then
17295 ac_cpp
='$CPP $CPPFLAGS'
17296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17301 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17302 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17312 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17320 if ac_fn_c_try_compile
"$LINENO"; then :
17321 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=yes
17323 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=no
17326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17331 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17332 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17338 ac_cpp
='$CPP $CPPFLAGS'
17339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17348 ac_cpp
='$CPP $CPPFLAGS'
17349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17354 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17355 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false
; then :
17356 $as_echo_n "(cached) " >&6
17358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17365 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17373 if ac_fn_c_try_compile
"$LINENO"; then :
17374 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=yes
17376 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=no
17379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17384 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17385 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17391 ac_cpp
='$CPP $CPPFLAGS'
17392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17400 if test "x$GCC" != "xyes"; then
17401 if test "xCC" = "xC"; then
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17403 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17404 if ${bakefile_cv_c_exto+:} false
; then :
17405 $as_echo_n "(cached) " >&6
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17418 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17420 (eval $ac_compile) 2>&5
17422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17423 test $ac_status = 0; }; then :
17424 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17426 conftest.
$ac_ext.o
)
17427 bakefile_cv_c_exto
="-ext o"
17434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436 as_fn_error $?
"cannot figure out if compiler needs -ext o: cannot compile
17437 See \`config.log' for more details" "$LINENO" 5; }
17440 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17444 $as_echo "$bakefile_cv_c_exto" >&6; }
17445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17446 if test "c" = "c"; then
17447 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17449 if test "c" = "cxx"; then
17450 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17455 unset ac_cv_prog_cc_g
17456 ac_test_CFLAGS
=${CFLAGS+set}
17457 ac_save_CFLAGS
=$CFLAGS
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17460 if ${ac_cv_prog_cc_g+:} false
; then :
17461 $as_echo_n "(cached) " >&6
17463 ac_save_c_werror_flag
=$ac_c_werror_flag
17464 ac_c_werror_flag
=yes
17467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17478 if ac_fn_c_try_compile
"$LINENO"; then :
17479 ac_cv_prog_cc_g
=yes
17482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17493 if ac_fn_c_try_compile
"$LINENO"; then :
17496 ac_c_werror_flag
=$ac_save_c_werror_flag
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17509 if ac_fn_c_try_compile
"$LINENO"; then :
17510 ac_cv_prog_cc_g
=yes
17512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17517 ac_c_werror_flag
=$ac_save_c_werror_flag
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17520 $as_echo "$ac_cv_prog_cc_g" >&6; }
17521 if test "$ac_test_CFLAGS" = set; then
17522 CFLAGS
=$ac_save_CFLAGS
17523 elif test $ac_cv_prog_cc_g = yes; then
17524 if test "$GCC" = yes; then
17530 if test "$GCC" = yes; then
17544 ac_cpp
='$CPP $CPPFLAGS'
17545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17550 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17551 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17552 $as_echo_n "(cached) " >&6
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17569 if ac_fn_c_try_compile
"$LINENO"; then :
17570 bakefile_cv_c_compiler___xlC__
=yes
17572 bakefile_cv_c_compiler___xlC__
=no
17575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17580 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17581 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17587 ac_cpp
='$CPP $CPPFLAGS'
17588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17600 ac_cpp
='$CPP $CPPFLAGS'
17601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17606 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17607 if ${bakefile_cv_c_compiler___MWERKS__+:} false
; then :
17608 $as_echo_n "(cached) " >&6
17610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17625 if ac_fn_c_try_compile
"$LINENO"; then :
17626 bakefile_cv_c_compiler___MWERKS__
=yes
17628 bakefile_cv_c_compiler___MWERKS__
=no
17631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17636 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17637 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17643 ac_cpp
='$CPP $CPPFLAGS'
17644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17650 if test "$MWCC" != "yes"; then
17654 ac_cpp
='$CPP $CPPFLAGS'
17655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17660 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17661 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17662 $as_echo_n "(cached) " >&6
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17679 if ac_fn_c_try_compile
"$LINENO"; then :
17680 bakefile_cv_c_compiler___xlC__
=yes
17682 bakefile_cv_c_compiler___xlC__
=no
17685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17690 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17691 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17697 ac_cpp
='$CPP $CPPFLAGS'
17698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17711 ac_cpp
='$CPP $CPPFLAGS'
17712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17717 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17718 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false
; then :
17719 $as_echo_n "(cached) " >&6
17721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17728 #ifndef _SGI_COMPILER_VERSION
17736 if ac_fn_c_try_compile
"$LINENO"; then :
17737 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
17739 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
17742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17747 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17748 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17754 ac_cpp
='$CPP $CPPFLAGS'
17755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17764 if test "$INTELCC" != "yes"; then
17768 ac_cpp
='$CPP $CPPFLAGS'
17769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17774 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17775 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17776 $as_echo_n "(cached) " >&6
17778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17793 if ac_fn_c_try_compile
"$LINENO"; then :
17794 bakefile_cv_c_compiler___SUNPRO_C
=yes
17796 bakefile_cv_c_compiler___SUNPRO_C
=no
17799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17804 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17805 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17811 ac_cpp
='$CPP $CPPFLAGS'
17812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17825 ac_cpp
='$CPP $CPPFLAGS'
17826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17831 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___HP_cc+:} false
; then :
17833 $as_echo_n "(cached) " >&6
17835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17850 if ac_fn_c_try_compile
"$LINENO"; then :
17851 bakefile_cv_c_compiler___HP_cc
=yes
17853 bakefile_cv_c_compiler___HP_cc
=no
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17861 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17862 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17868 ac_cpp
='$CPP $CPPFLAGS'
17869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17881 ac_cpp
='$CPP $CPPFLAGS'
17882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17887 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17888 if ${bakefile_cv_c_compiler___DECC+:} false
; then :
17889 $as_echo_n "(cached) " >&6
17891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17906 if ac_fn_c_try_compile
"$LINENO"; then :
17907 bakefile_cv_c_compiler___DECC
=yes
17909 bakefile_cv_c_compiler___DECC
=no
17912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17917 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17918 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17924 ac_cpp
='$CPP $CPPFLAGS'
17925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17937 ac_cpp
='$CPP $CPPFLAGS'
17938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17943 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17944 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17945 $as_echo_n "(cached) " >&6
17947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17962 if ac_fn_c_try_compile
"$LINENO"; then :
17963 bakefile_cv_c_compiler___SUNPRO_C
=yes
17965 bakefile_cv_c_compiler___SUNPRO_C
=no
17968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17973 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17974 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17980 ac_cpp
='$CPP $CPPFLAGS'
17981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17994 ac_cpp
='$CPP $CPPFLAGS'
17995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17999 $as_echo_n "checking how to run the C preprocessor... " >&6; }
18000 # On Suns, sometimes $CPP names a directory.
18001 if test -n "$CPP" && test -d "$CPP"; then
18004 if test -z "$CPP"; then
18005 if ${ac_cv_prog_CPP+:} false
; then :
18006 $as_echo_n "(cached) " >&6
18008 # Double quotes because CPP needs to be expanded
18009 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18011 ac_preproc_ok
=false
18012 for ac_c_preproc_warn_flag
in '' yes
18014 # Use a header file that comes with gcc, so configuring glibc
18015 # with a fresh cross-compiler works.
18016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18017 # <limits.h> exists even on freestanding compilers.
18018 # On the NeXT, cc -E runs the code through the compiler's parser,
18019 # not just through cpp. "Syntax error" is here to catch this case.
18020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 # include <limits.h>
18025 # include <assert.h>
18029 if ac_fn_c_try_cpp
"$LINENO"; then :
18032 # Broken: fails on valid input.
18035 rm -f conftest.err conftest.i conftest.
$ac_ext
18037 # OK, works on sane cases. Now check whether nonexistent headers
18038 # can be detected and how.
18039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <ac_nonexistent.h>
18043 if ac_fn_c_try_cpp
"$LINENO"; then :
18044 # Broken: success on invalid input.
18047 # Passes both tests.
18051 rm -f conftest.err conftest.i conftest.
$ac_ext
18054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18055 rm -f conftest.i conftest.err conftest.
$ac_ext
18056 if $ac_preproc_ok; then :
18061 ac_cv_prog_CPP
=$CPP
18064 CPP
=$ac_cv_prog_CPP
18066 ac_cv_prog_CPP
=$CPP
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18069 $as_echo "$CPP" >&6; }
18070 ac_preproc_ok
=false
18071 for ac_c_preproc_warn_flag
in '' yes
18073 # Use a header file that comes with gcc, so configuring glibc
18074 # with a fresh cross-compiler works.
18075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18076 # <limits.h> exists even on freestanding compilers.
18077 # On the NeXT, cc -E runs the code through the compiler's parser,
18078 # not just through cpp. "Syntax error" is here to catch this case.
18079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 # include <limits.h>
18084 # include <assert.h>
18088 if ac_fn_c_try_cpp
"$LINENO"; then :
18091 # Broken: fails on valid input.
18094 rm -f conftest.err conftest.i conftest.
$ac_ext
18096 # OK, works on sane cases. Now check whether nonexistent headers
18097 # can be detected and how.
18098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <ac_nonexistent.h>
18102 if ac_fn_c_try_cpp
"$LINENO"; then :
18103 # Broken: success on invalid input.
18106 # Passes both tests.
18110 rm -f conftest.err conftest.i conftest.
$ac_ext
18113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18114 rm -f conftest.i conftest.err conftest.
$ac_ext
18115 if $ac_preproc_ok; then :
18118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18120 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18121 See \`config.log' for more details" "$LINENO" 5; }
18125 ac_cpp
='$CPP $CPPFLAGS'
18126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18132 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18133 if ${ac_cv_path_GREP+:} false
; then :
18134 $as_echo_n "(cached) " >&6
18136 if test -z "$GREP"; then
18137 ac_path_GREP_found
=false
18138 # Loop through the user's path and test for each of PROGNAME-LIST
18139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18140 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18143 test -z "$as_dir" && as_dir
=.
18144 for ac_prog
in grep ggrep
; do
18145 for ac_exec_ext
in '' $ac_executable_extensions; do
18146 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18147 as_fn_executable_p
"$ac_path_GREP" || continue
18148 # Check for GNU ac_path_GREP and select it if it is found.
18149 # Check for GNU $ac_path_GREP
18150 case `"$ac_path_GREP" --version 2>&1` in
18152 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18155 $as_echo_n 0123456789 >"conftest.in"
18158 cat "conftest.in" "conftest.in" >"conftest.tmp"
18159 mv "conftest.tmp" "conftest.in"
18160 cp "conftest.in" "conftest.nl"
18161 $as_echo 'GREP' >> "conftest.nl"
18162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18164 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18165 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18166 # Best one so far, save it but keep looking for a better one
18167 ac_cv_path_GREP
="$ac_path_GREP"
18168 ac_path_GREP_max
=$ac_count
18170 # 10*(2^10) chars as input seems more than enough
18171 test $ac_count -gt 10 && break
18173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18176 $ac_path_GREP_found && break 3
18181 if test -z "$ac_cv_path_GREP"; then
18182 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18185 ac_cv_path_GREP
=$GREP
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18190 $as_echo "$ac_cv_path_GREP" >&6; }
18191 GREP
="$ac_cv_path_GREP"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18195 $as_echo_n "checking for egrep... " >&6; }
18196 if ${ac_cv_path_EGREP+:} false
; then :
18197 $as_echo_n "(cached) " >&6
18199 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18200 then ac_cv_path_EGREP
="$GREP -E"
18202 if test -z "$EGREP"; then
18203 ac_path_EGREP_found
=false
18204 # Loop through the user's path and test for each of PROGNAME-LIST
18205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18206 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18209 test -z "$as_dir" && as_dir
=.
18210 for ac_prog
in egrep; do
18211 for ac_exec_ext
in '' $ac_executable_extensions; do
18212 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18213 as_fn_executable_p
"$ac_path_EGREP" || continue
18214 # Check for GNU ac_path_EGREP and select it if it is found.
18215 # Check for GNU $ac_path_EGREP
18216 case `"$ac_path_EGREP" --version 2>&1` in
18218 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18221 $as_echo_n 0123456789 >"conftest.in"
18224 cat "conftest.in" "conftest.in" >"conftest.tmp"
18225 mv "conftest.tmp" "conftest.in"
18226 cp "conftest.in" "conftest.nl"
18227 $as_echo 'EGREP' >> "conftest.nl"
18228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18229 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18230 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18232 # Best one so far, save it but keep looking for a better one
18233 ac_cv_path_EGREP
="$ac_path_EGREP"
18234 ac_path_EGREP_max
=$ac_count
18236 # 10*(2^10) chars as input seems more than enough
18237 test $ac_count -gt 10 && break
18239 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18242 $ac_path_EGREP_found && break 3
18247 if test -z "$ac_cv_path_EGREP"; then
18248 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18251 ac_cv_path_EGREP
=$EGREP
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18257 $as_echo "$ac_cv_path_EGREP" >&6; }
18258 EGREP
="$ac_cv_path_EGREP"
18261 if test $ac_cv_c_compiler_gnu = yes; then
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18263 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18264 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18265 $as_echo_n "(cached) " >&6
18267 ac_pattern
="Autoconf.*'x'"
18268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18274 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18275 ac_cv_prog_gcc_traditional
=yes
18277 ac_cv_prog_gcc_traditional
=no
18282 if test $ac_cv_prog_gcc_traditional = no
; then
18283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #include <termio.h>
18288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18289 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18290 ac_cv_prog_gcc_traditional
=yes
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18297 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18298 if test $ac_cv_prog_gcc_traditional = yes; then
18299 CC
="$CC -traditional"
18304 CXXFLAGS
=${CXXFLAGS:=}
18306 ac_cpp
='$CXXCPP $CPPFLAGS'
18307 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311 if test -n "$CCC"; then
18314 if test -n "$ac_tool_prefix"; then
18315 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18320 $as_echo_n "checking for $ac_word... " >&6; }
18321 if ${ac_cv_prog_CXX+:} false
; then :
18322 $as_echo_n "(cached) " >&6
18324 if test -n "$CXX"; then
18325 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18328 for as_dir
in $PATH
18331 test -z "$as_dir" && as_dir
=.
18332 for ac_exec_ext
in '' $ac_executable_extensions; do
18333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18334 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18344 CXX
=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18347 $as_echo "$CXX" >&6; }
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18354 test -n "$CXX" && break
18357 if test -z "$CXX"; then
18359 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18361 # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy
$ac_prog; ac_word
=$2
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18364 $as_echo_n "checking for $ac_word... " >&6; }
18365 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18366 $as_echo_n "(cached) " >&6
18368 if test -n "$ac_ct_CXX"; then
18369 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18372 for as_dir
in $PATH
18375 test -z "$as_dir" && as_dir
=.
18376 for ac_exec_ext
in '' $ac_executable_extensions; do
18377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18378 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18388 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18391 $as_echo "$ac_ct_CXX" >&6; }
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18398 test -n "$ac_ct_CXX" && break
18401 if test "x$ac_ct_CXX" = x
; then
18404 case $cross_compiling:$ac_tool_warned in
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18408 ac_tool_warned
=yes ;;
18416 # Provide some information about the compiler.
18417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18420 for ac_option
in --version -v -V -qversion; do
18421 { { ac_try
="$ac_compiler $ac_option >&5"
18422 case "(($ac_try" in
18423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18427 $as_echo "$ac_try_echo"; } >&5
18428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18430 if test -s conftest.err; then
18432 ... rest of stderr output deleted ...
18433 10q' conftest.err >conftest.er1
18434 cat conftest.er1 >&5
18436 rm -f conftest.er1 conftest.err
18437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18438 test $ac_status = 0; }
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18444 $as_echo_n "(cached) " >&6
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_compiler_gnu=yes
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18471 if test $ac_compiler_gnu = yes; then
18476 ac_test_CXXFLAGS=${CXXFLAGS+set}
18477 ac_save_CXXFLAGS=$CXXFLAGS
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18480 if ${ac_cv_prog_cxx_g+:} false; then :
18481 $as_echo_n "(cached) " >&6
18483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18484 ac_cxx_werror_flag=yes
18485 ac_cv_prog_cxx_g=no
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18498 if ac_fn_cxx_try_compile "$LINENO"; then :
18499 ac_cv_prog_cxx_g=yes
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18529 if ac_fn_cxx_try_compile "$LINENO"; then :
18530 ac_cv_prog_cxx_g=yes
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18541 if test "$ac_test_CXXFLAGS" = set; then
18542 CXXFLAGS=$ac_save_CXXFLAGS
18543 elif test $ac_cv_prog_cxx_g = yes; then
18544 if test "$GXX" = yes; then
18550 if test "$GXX" = yes; then
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18576 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18578 $as_echo_n "(cached) " >&6
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18587 #ifndef __INTEL_COMPILER
18595 if ac_fn_cxx_try_compile "$LINENO"; then :
18596 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18598 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18621 if test "$INTELCXX" = "yes"; then
18625 ac_cpp='$CXXCPP $CPPFLAGS'
18626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18631 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18632 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18633 $as_echo_n "(cached) " >&6
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18642 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18653 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18661 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18662 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18684 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18685 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18686 $as_echo_n "(cached) " >&6
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18695 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18706 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18714 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18715 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18721 ac_cpp='$CPP $CPPFLAGS'
18722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730 if test "x$GCXX" != "xyes"; then
18731 if test "xCXX" = "xC"; then
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18733 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18734 if ${bakefile_cv_c_exto+:} false; then :
18735 $as_echo_n "(cached) " >&6
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18748 rm -f conftest.$ac_objext conftest.$ac_ext.o
18749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18750 (eval $ac_compile) 2>&5
18752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18753 test $ac_status = 0; }; then :
18754 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18756 conftest.$ac_ext.o)
18757 bakefile_cv_c_exto="-ext o"
18764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18766 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18767 See \
`config.log' for more details" "$LINENO" 5; }
18770 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18774 $as_echo "$bakefile_cv_c_exto" >&6; }
18775 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18776 if test "c" = "c"; then
18777 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18779 if test "c" = "cxx"; then
18780 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18784 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18785 unset ac_cv_prog_cc_g
18786 ac_test_CFLAGS=${CFLAGS+set}
18787 ac_save_CFLAGS=$CFLAGS
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18790 if ${ac_cv_prog_cc_g+:} false; then :
18791 $as_echo_n "(cached) " >&6
18793 ac_save_c_werror_flag=$ac_c_werror_flag
18794 ac_c_werror_flag=yes
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809 ac_cv_prog_cc_g=yes
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18823 if ac_fn_c_try_compile "$LINENO"; then :
18826 ac_c_werror_flag=$ac_save_c_werror_flag
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18839 if ac_fn_c_try_compile "$LINENO"; then :
18840 ac_cv_prog_cc_g=yes
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 ac_c_werror_flag=$ac_save_c_werror_flag
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18850 $as_echo "$ac_cv_prog_cc_g" >&6; }
18851 if test "$ac_test_CFLAGS" = set; then
18852 CFLAGS=$ac_save_CFLAGS
18853 elif test $ac_cv_prog_cc_g = yes; then
18854 if test "$GCC" = yes; then
18860 if test "$GCC" = yes; then
18874 ac_cpp='$CXXCPP $CPPFLAGS'
18875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18880 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18881 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18882 $as_echo_n "(cached) " >&6
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 bakefile_cv_cxx_compiler___xlC__=yes
18902 bakefile_cv_cxx_compiler___xlC__=no
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18910 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18911 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18917 ac_cpp='$CPP $CPPFLAGS'
18918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18936 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18937 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18938 $as_echo_n "(cached) " >&6
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18955 if ac_fn_cxx_try_compile "$LINENO"; then :
18956 bakefile_cv_cxx_compiler___MWERKS__=yes
18958 bakefile_cv_cxx_compiler___MWERKS__=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18966 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18967 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18973 ac_cpp='$CPP $CPPFLAGS'
18974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980 if test "$MWCXX" != "yes"; then
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18990 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18991 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18992 $as_echo_n "(cached) " >&6
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 bakefile_cv_cxx_compiler___xlC__=yes
19012 bakefile_cv_cxx_compiler___xlC__=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19020 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
19021 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19041 ac_cpp='$CXXCPP $CPPFLAGS'
19042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19047 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19048 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19049 $as_echo_n "(cached) " >&6
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19058 #ifndef _SGI_COMPILER_VERSION
19066 if ac_fn_cxx_try_compile "$LINENO"; then :
19067 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19069 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19077 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19078 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19094 if test "$INTELCXX" != "yes"; then
19098 ac_cpp='$CXXCPP $CPPFLAGS'
19099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19104 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19105 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19106 $as_echo_n "(cached) " >&6
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19115 #ifndef __SUNPRO_CC
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19126 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19134 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19135 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19141 ac_cpp='$CPP $CPPFLAGS'
19142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19163 $as_echo_n "(cached) " >&6
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 bakefile_cv_cxx_compiler___HP_aCC=yes
19183 bakefile_cv_cxx_compiler___HP_aCC=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19192 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19217 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19218 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19219 $as_echo_n "(cached) " >&6
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237 bakefile_cv_cxx_compiler___DECCXX=yes
19239 bakefile_cv_cxx_compiler___DECCXX=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19247 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19248 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19254 ac_cpp='$CPP $CPPFLAGS'
19255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19267 ac_cpp='$CXXCPP $CPPFLAGS'
19268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19273 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19274 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19275 $as_echo_n "(cached) " >&6
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19284 #ifndef __SUNPRO_CC
19292 if ac_fn_cxx_try_compile "$LINENO"; then :
19293 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19295 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19303 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19304 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19324 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19327 if test "x$SUNCXX" != xyes; then
19328 if test -n "$ac_tool_prefix"; then
19329 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19330 set dummy ${ac_tool_prefix}ar; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if ${ac_cv_prog_AR+:} false; then :
19334 $as_echo_n "(cached) " >&6
19336 if test -n "$AR"; then
19337 ac_cv_prog_AR="$AR" # Let the user override the test.
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19343 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19346 ac_cv_prog_AR="${ac_tool_prefix}ar"
19347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19357 if test -n "$AR"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19359 $as_echo "$AR" >&6; }
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19362 $as_echo "no" >&6; }
19367 if test -z "$ac_cv_prog_AR"; then
19369 # Extract the first word of "ar", so it can be a program name with args.
19370 set dummy ar; ac_word=$2
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19372 $as_echo_n "checking for $ac_word... " >&6; }
19373 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19374 $as_echo_n "(cached) " >&6
19376 if test -n "$ac_ct_AR"; then
19377 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19383 test -z "$as_dir" && as_dir=.
19384 for ac_exec_ext in '' $ac_executable_extensions; do
19385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19386 ac_cv_prog_ac_ct_AR="ar"
19387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19396 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19397 if test -n "$ac_ct_AR"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19399 $as_echo "$ac_ct_AR" >&6; }
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19405 if test "x$ac_ct_AR" = x; then
19408 case $cross_compiling:$ac_tool_warned in
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19412 ac_tool_warned=yes ;;
19417 AR="$ac_cv_prog_AR"
19420 if test "x$AR" = "x" ; then
19421 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19426 if test "$wxUSE_MAC" = 1; then
19428 retest_macosx_linking=no
19432 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19433 if test "x$wxUSE_MAC_ARCH" != xno; then
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19435 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19438 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19439 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19440 else OSX_ARCH_OPTS="ppc,i386"
19441 if test "$wxUSE_OSX_COCOA" = 1; then
19442 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19447 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19449 $as_echo "$OSX_ARCH_OPTS" >&6; }
19451 retest_macosx_linking=yes
19453 if test "x$wxUSE_MAC_ARCH" != xno; then
19454 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19458 if test "x$OSX_ARCH_OPTS" != "x"; then
19459 if echo $OSX_ARCH_OPTS | grep -q ","; then
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19461 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19462 disable_macosx_deps=yes
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19465 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19469 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19471 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19472 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19473 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19474 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19475 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19478 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19480 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19481 # TODO: Search for most recent SDK and use it.
19482 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19486 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19488 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19489 if ! test -d "$wxUSE_MACOSX_SDK"; then
19490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "not found
19493 See \
`config.log' for more details" "$LINENO" 5; }
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19496 $as_echo "exists" >&6; }
19498 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19499 retest_macosx_linking=yes
19502 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19503 wxUSE_MACOSX_VERSION_MIN=
19504 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19505 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19507 $as_echo_n "checking SDK deployment version... " >&6; }
19509 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/'`
19511 # If that failed, try again with the new key
19512 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19514 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/'`
19518 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19519 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19524 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19525 wxUSE_MACOSX_VERSION_MIN=
19528 wxUSE_MACOSX_VERSION_MIN=
19530 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19531 wxUSE_MACOSX_VERSION_MIN=10.5
19534 if test "x$MACOSX_SDK_OPTS" != "x"; then
19535 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19536 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19537 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19538 retest_macosx_linking=yes
19541 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19542 if test "$wxUSE_OSX_IPHONE" = 1; then
19543 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19545 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19547 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19548 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19549 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19550 retest_macosx_linking=yes
19553 if test "x$retest_macosx_linking" = "xyes"; then
19555 ac_cpp='$CPP $CPPFLAGS'
19556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19561 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19573 if ac_fn_c_try_link "$LINENO"; then :
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19575 $as_echo "yes" >&6; }
19577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19579 as_fn_error $? "no. Try a different SDK
19580 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19585 ac_cpp='$CPP $CPPFLAGS'
19586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19598 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19612 $as_echo "yes" >&6; }
19614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19616 as_fn_error $? "no. Try a different SDK
19617 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19619 rm -f core conftest.err conftest.$ac_objext \
19620 conftest$ac_exeext conftest.$ac_ext
19622 ac_cpp='$CPP $CPPFLAGS'
19623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19633 INSTALL_PROGRAM="cp -fp"
19634 INSTALL_DATA="cp -fp"
19641 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19642 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19645 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19646 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19649 if test "x$USE_AIX" = "x1"; then
19650 if test "x$XLCXX" = "xyes"; then
19651 CXXFLAGS="-qunique $CXXFLAGS"
19654 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19658 powerpc-*-darwin* )
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19660 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19667 #ifndef __POWERPC__
19668 choke me for lack of PowerPC
19675 if ac_fn_c_try_compile "$LINENO"; then :
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677 $as_echo "yes" >&6; }
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19680 $as_echo "no" >&6; }
19681 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19692 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 #include <CoreFoundation/CFBase.h>
19705 if ac_fn_c_try_compile "$LINENO"; then :
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19707 $as_echo "yes" >&6; }
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19710 $as_echo "no" >&6; }
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19712 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #define __CF_USE_FRAMEWORK_INCLUDES__
19716 #include <CoreFoundation/CFBase.h>
19726 if ac_fn_c_try_compile "$LINENO"; then :
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19728 $as_echo "yes" >&6; }
19729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19733 as_fn_error $? "no. CoreFoundation not available.
19734 See \
`config.log' for more details" "$LINENO" 5; }
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19746 doesnt_want_win32=0
19749 if test "$wxUSE_MSW" = 1 ; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19753 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19754 if ${wx_cv_nocygwin+:} false; then :
19755 $as_echo_n "(cached) " >&6
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19773 if ac_fn_c_try_compile "$LINENO"; then :
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19784 $as_echo "$wx_cv_nocygwin" >&6; }
19786 if test "$wx_cv_nocygwin" = "yes"; then
19789 doesnt_want_win32=1
19792 if test "$wants_win32" = 1 ; then
19793 BAKEFILE_FORCE_PLATFORM=win32
19801 if test "$wxUSE_WINE" = "yes"; then
19803 LDFLAGS_GUI="-mwindows"
19806 if test "$wants_win32" = 1 ; then
19809 $as_echo "#define __WIN32__ 1" >>confdefs.h
19811 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19813 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19815 $as_echo "#define STRICT 1" >>confdefs.h
19818 if test "$doesnt_want_win32" = 1 ; then
19823 if test "$USE_UNIX" = 1 ; then
19825 $as_echo "#define __UNIX__ 1" >>confdefs.h
19830 *-pc-os2_emx | *-pc-os2-emx )
19831 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19833 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19834 if ${ac_cv_lib_cExt_drand48+:} false; then :
19835 $as_echo_n "(cached) " >&6
19837 ac_check_lib_save_LIBS=$LIBS
19838 LIBS="-lcExt $LIBS"
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 /* Override any GCC internal prototype to avoid an error.
19843 Use char because int might match the return type of a GCC
19844 builtin and then its argument prototype would still apply. */
19857 if ac_fn_c_try_link "$LINENO"; then :
19858 ac_cv_lib_cExt_drand48=yes
19860 ac_cv_lib_cExt_drand48=no
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext conftest.$ac_ext
19864 LIBS=$ac_check_lib_save_LIBS
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19867 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19868 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19869 LIBS="$LIBS -lcExt"
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19874 $as_echo_n "checking for gcc/libc version... " >&6; }
19875 if ${wx_cv_gccversion+:} false; then :
19876 $as_echo_n "(cached) " >&6
19879 if test "$cross_compiling" = yes; then :
19880 wx_cv_gccversion="EMX2"
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19890 FILE *f=fopen("conftestval", "w");
19895 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19897 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19907 if ac_fn_c_try_run "$LINENO"; then :
19908 wx_cv_gccversion=`cat conftestval
`
19910 wx_cv_gccversion="EMX2"
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19913 conftest.$ac_objext conftest.beam conftest.$ac_ext
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19919 $as_echo "$wx_cv_gccversion" >&6; }
19920 if test "$wx_cv_gccversion" = "EMX2"; then
19921 LIBS="$LIBS -lstdcpp"
19922 LDFLAGS="$LDFLAGS -Zsysv-signals"
19924 if test "$wx_cv_gccversion" = "EMX3"; then
19925 LIBS="$LIBS -lstdcxx -lgcc"
19926 LDFLAGS="$LDFLAGS -Zsysv-signals"
19928 LIBS="$LIBS -lstdc++"
19931 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19933 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19942 $as_echo_n "checking for ANSI C header files... " >&6; }
19943 if ${ac_cv_header_stdc+:} false; then :
19944 $as_echo_n "(cached) " >&6
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #include <stdlib.h>
19949 #include <stdarg.h>
19950 #include <string.h>
19961 if ac_fn_c_try_compile "$LINENO"; then :
19962 ac_cv_header_stdc=yes
19964 ac_cv_header_stdc=no
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968 if test $ac_cv_header_stdc = yes; then
19969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19971 /* end confdefs.h. */
19972 #include <string.h>
19975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19976 $EGREP "memchr" >/dev/null 2>&1; then :
19979 ac_cv_header_stdc=no
19985 if test $ac_cv_header_stdc = yes; then
19986 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19989 #include <stdlib.h>
19992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19993 $EGREP "free" >/dev/null 2>&1; then :
19996 ac_cv_header_stdc=no
20002 if test $ac_cv_header_stdc = yes; then
20003 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20004 if test "$cross_compiling" = yes; then :
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20010 #include <stdlib.h>
20011 #if ((' ' & 0x0FF) == 0x020)
20012 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20013 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20015 # define ISLOWER(c) \
20016 (('a' <= (c) && (c) <= 'i') \
20017 || ('j' <= (c) && (c) <= 'r') \
20018 || ('s' <= (c) && (c) <= 'z'))
20019 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20022 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20027 for (i = 0; i < 256; i++)
20028 if (XOR (islower (i), ISLOWER (i))
20029 || toupper (i) != TOUPPER (i))
20034 if ac_fn_c_try_run "$LINENO"; then :
20037 ac_cv_header_stdc=no
20039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20040 conftest.$ac_objext conftest.beam conftest.$ac_ext
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20046 $as_echo "$ac_cv_header_stdc" >&6; }
20047 if test $ac_cv_header_stdc = yes; then
20049 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20054 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20055 inttypes.h stdint.h unistd.h
20057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20058 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20060 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20061 cat >>confdefs.h <<_ACEOF
20062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20070 for ac_header in langinfo.h wchar.h
20072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20076 cat >>confdefs.h <<_ACEOF
20077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20085 if test "$ac_cv_header_wchar_h" != "yes"; then
20086 for ac_header in wcstr.h
20088 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20090 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20091 cat >>confdefs.h <<_ACEOF
20092 #define HAVE_WCSTR_H 1
20102 *-pc-os2_emx | *-pc-os2-emx )
20103 if test $ac_cv_header_langinfo_h = "yes" \
20104 -a \( "$wx_cv_gccversion" = "EMX2" \
20105 -o "$wx_cv_gccversion" = "EMX3" \
20106 -o "$wx_cv_gccversion" = "Innotek5" \); then
20107 LIBS="$LIBS -lintl"
20112 if test "$USE_UNIX" = 1 ; then
20113 for ac_header in sys/select.h
20115 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20117 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20118 cat >>confdefs.h <<_ACEOF
20119 #define HAVE_SYS_SELECT_H 1
20128 ac_cpp='$CXXCPP $CPPFLAGS'
20129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20133 for ac_header in cxxabi.h
20135 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20137 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20138 cat >>confdefs.h <<_ACEOF
20139 #define HAVE_CXXABI_H 1
20147 ac_cpp='$CPP $CPPFLAGS'
20148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20156 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20157 if ${ac_cv_c_const+:} false; then :
20158 $as_echo_n "(cached) " >&6
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20167 #ifndef __cplusplus
20168 /* Ultrix mips cc rejects this sort of thing. */
20169 typedef int charset[2];
20170 const charset cs = { 0, 0 };
20171 /* SunOS 4.1.1 cc rejects this. */
20172 char const *const *pcpcc;
20174 /* NEC SVR4.0.2 mips cc rejects this. */
20175 struct point {int x, y;};
20176 static struct point const zero = {0,0};
20177 /* AIX XL C 1.02.0.0 rejects this.
20178 It does not let you subtract one const X* pointer from another in
20179 an arm of an if-expression whose if-part is not a constant
20181 const char *g = "string";
20182 pcpcc = &g + (g ? g-g : 0);
20183 /* HPUX 7.0 cc rejects these. */
20185 ppc = (char**) pcpcc;
20186 pcpcc = (char const *const *) ppc;
20187 { /* SCO 3.2v4 cc rejects this sort of thing. */
20190 char const *s = 0 ? (char *) 0 : (char const *) 0;
20195 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20196 int x[] = {25, 17};
20197 const int *foo = &x[0];
20200 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20201 typedef const int *iptr;
20205 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20206 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20207 struct s { int j; const int *ap[3]; } bx;
20208 struct s *b = &bx; b->j = 5;
20210 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20211 const int foo = 10;
20212 if (!foo) return 0;
20214 return !cs[0] && !zero.x;
20221 if ac_fn_c_try_compile "$LINENO"; then :
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20229 $as_echo "$ac_cv_c_const" >&6; }
20230 if test $ac_cv_c_const = no; then
20232 $as_echo "#define const /**/" >>confdefs.h
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20237 $as_echo_n "checking for inline... " >&6; }
20238 if ${ac_cv_c_inline+:} false; then :
20239 $as_echo_n "(cached) " >&6
20242 for ac_kw in inline __inline__ __inline; do
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20245 #ifndef __cplusplus
20247 static $ac_kw foo_t static_foo () {return 0; }
20248 $ac_kw foo_t foo () {return 0; }
20252 if ac_fn_c_try_compile "$LINENO"; then :
20253 ac_cv_c_inline=$ac_kw
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 test "$ac_cv_c_inline" != no && break
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20261 $as_echo "$ac_cv_c_inline" >&6; }
20263 case $ac_cv_c_inline in
20266 case $ac_cv_c_inline in
20268 *) ac_val=$ac_cv_c_inline;;
20270 cat >>confdefs.h <<_ACEOF
20271 #ifndef __cplusplus
20272 #define inline $ac_val
20279 # The cast to long int works around a bug in the HP C Compiler
20280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20281 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20282 # This bug is HP SR number 8606223364.
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20284 $as_echo_n "checking size of short... " >&6; }
20285 if ${ac_cv_sizeof_short+:} false; then :
20286 $as_echo_n "(cached) " >&6
20288 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20291 if test "$ac_cv_type_short" = yes; then
20292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20293 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20294 as_fn_error 77 "cannot compute sizeof (short)
20295 See \`config.log
' for more details" "$LINENO" 5; }
20297 ac_cv_sizeof_short=0
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20303 $as_echo "$ac_cv_sizeof_short" >&6; }
20307 cat >>confdefs.h <<_ACEOF
20308 #define SIZEOF_SHORT $ac_cv_sizeof_short
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 void *" >&5
20317 $as_echo_n "checking size of void *... " >&6; }
20318 if ${ac_cv_sizeof_void_p+:} false
; then :
20319 $as_echo_n "(cached) " >&6
20321 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20324 if test "$ac_cv_type_void_p" = 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 (void *)
20328 See \`config.log' for more details" "$LINENO" 5; }
20330 ac_cv_sizeof_void_p
=0
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20336 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20340 cat >>confdefs.h
<<_ACEOF
20341 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
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 int" >&5
20350 $as_echo_n "checking size of int... " >&6; }
20351 if ${ac_cv_sizeof_int+:} false
; then :
20352 $as_echo_n "(cached) " >&6
20354 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20357 if test "$ac_cv_type_int" = 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 (int)
20361 See \`config.log' for more details" "$LINENO" 5; }
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20369 $as_echo "$ac_cv_sizeof_int" >&6; }
20373 cat >>confdefs.h
<<_ACEOF
20374 #define SIZEOF_INT $ac_cv_sizeof_int
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 long" >&5
20383 $as_echo_n "checking size of long... " >&6; }
20384 if ${ac_cv_sizeof_long+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20390 if test "$ac_cv_type_long" = 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 (long)
20394 See \`config.log' for more details" "$LINENO" 5; }
20396 ac_cv_sizeof_long
=0
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20402 $as_echo "$ac_cv_sizeof_long" >&6; }
20406 cat >>confdefs.h
<<_ACEOF
20407 #define SIZEOF_LONG $ac_cv_sizeof_long
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 size_t" >&5
20416 $as_echo_n "checking size of size_t... " >&6; }
20417 if ${ac_cv_sizeof_size_t+:} false
; then :
20418 $as_echo_n "(cached) " >&6
20420 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20423 if test "$ac_cv_type_size_t" = 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 (size_t)
20427 See \`config.log' for more details" "$LINENO" 5; }
20429 ac_cv_sizeof_size_t
=0
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20435 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20439 cat >>confdefs.h
<<_ACEOF
20440 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20447 # The cast to long int works around a bug in the HP C Compiler
20448 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20449 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20450 # This bug is HP SR number 8606223364.
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20452 $as_echo_n "checking size of long long... " >&6; }
20453 if ${ac_cv_sizeof_long_long+:} false
; then :
20454 $as_echo_n "(cached) " >&6
20456 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20459 if test "$ac_cv_type_long_long" = yes; then
20460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20462 as_fn_error
77 "cannot compute sizeof (long long)
20463 See \`config.log' for more details" "$LINENO" 5; }
20465 ac_cv_sizeof_long_long
=0
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20471 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20475 cat >>confdefs.h
<<_ACEOF
20476 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20482 # The cast to long int works around a bug in the HP C Compiler
20483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20485 # This bug is HP SR number 8606223364.
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20487 $as_echo_n "checking size of long long... " >&6; }
20488 if ${ac_cv_sizeof_long_long+:} false
; then :
20489 $as_echo_n "(cached) " >&6
20491 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20494 if test "$ac_cv_type_long_long" = yes; then
20495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20497 as_fn_error
77 "cannot compute sizeof (long long)
20498 See \`config.log' for more details" "$LINENO" 5; }
20500 ac_cv_sizeof_long_long
=0
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20506 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20510 cat >>confdefs.h
<<_ACEOF
20511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20515 if test "$ac_cv_sizeof_long_long" != 0; then
20516 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20520 # The cast to long int works around a bug in the HP C Compiler
20521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20523 # This bug is HP SR number 8606223364.
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20525 $as_echo_n "checking size of long long... " >&6; }
20526 if ${ac_cv_sizeof_long_long+:} false
; then :
20527 $as_echo_n "(cached) " >&6
20529 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20532 if test "$ac_cv_type_long_long" = yes; then
20533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20535 as_fn_error
77 "cannot compute sizeof (long long)
20536 See \`config.log' for more details" "$LINENO" 5; }
20538 ac_cv_sizeof_long_long
=0
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20544 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20548 cat >>confdefs.h
<<_ACEOF
20549 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20555 # The cast to long int works around a bug in the HP C Compiler
20556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20558 # This bug is HP SR number 8606223364.
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20560 $as_echo_n "checking size of wchar_t... " >&6; }
20561 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20562 $as_echo_n "(cached) " >&6
20564 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20565 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20566 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20567 # error \"fake wchar_t\"
20569 #ifdef HAVE_WCHAR_H
20571 # include <stddef.h>
20573 # include <wchar.h>
20575 #ifdef HAVE_STDLIB_H
20576 # include <stdlib.h>
20584 if test "$ac_cv_type_wchar_t" = yes; then
20585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20587 as_fn_error
77 "cannot compute sizeof (wchar_t)
20588 See \`config.log' for more details" "$LINENO" 5; }
20590 ac_cv_sizeof_wchar_t
=0
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20596 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20600 cat >>confdefs.h
<<_ACEOF
20601 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20605 if test "$ac_cv_sizeof_wchar_t" = 0; then
20606 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20608 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20612 $as_echo_n "checking for va_copy... " >&6; }
20613 if ${wx_cv_func_va_copy+:} false
; then :
20614 $as_echo_n "(cached) " >&6
20618 ac_cpp
='$CXXCPP $CPPFLAGS'
20619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20627 #include <stdarg.h>
20628 void foo(char *f, ...)
20643 if ac_fn_cxx_try_link
"$LINENO"; then :
20644 wx_cv_func_va_copy
=yes
20646 wx_cv_func_va_copy
=no
20649 rm -f core conftest.err conftest.
$ac_objext \
20650 conftest
$ac_exeext conftest.
$ac_ext
20652 ac_cpp
='$CPP $CPPFLAGS'
20653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20661 $as_echo "$wx_cv_func_va_copy" >&6; }
20663 if test $wx_cv_func_va_copy = "yes"; then
20664 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20668 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20669 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20670 $as_echo_n "(cached) " >&6
20673 if test "$cross_compiling" = yes; then :
20674 wx_cv_type_va_list_lvalue
=yes
20677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20681 #include <stdarg.h>
20682 int foo(char *f, ...)
20687 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20695 return foo("hi", 17);
20699 if ac_fn_c_try_run
"$LINENO"; then :
20700 wx_cv_type_va_list_lvalue
=yes
20702 wx_cv_type_va_list_lvalue
=no
20704 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20705 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20712 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20714 if test $wx_cv_type_va_list_lvalue != "yes"; then
20715 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20720 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20723 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20724 if ${wx_cv_have_variadic_macros+:} false
; then :
20725 $as_echo_n "(cached) " >&6
20729 ac_cpp
='$CXXCPP $CPPFLAGS'
20730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20739 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20745 test("%s %d %p", "test", 1, 0);
20752 if ac_fn_cxx_try_compile
"$LINENO"; then :
20753 wx_cv_have_variadic_macros
=yes
20755 wx_cv_have_variadic_macros
=no
20758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20760 ac_cpp
='$CPP $CPPFLAGS'
20761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20769 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20771 if test $wx_cv_have_variadic_macros = "yes"; then
20772 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20777 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20781 LARGEFILE_CPPFLAGS
=
20782 # Check whether --enable-largefile was given.
20783 if test "${enable_largefile+set}" = set; then :
20784 enableval
=$enable_largefile;
20787 if test "$enable_largefile" != no
; then
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20791 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20792 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20793 $as_echo_n "(cached) " >&6
20796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #define _FILE_OFFSET_BITS 64
20799 #include <sys/types.h>
20804 unsigned int field: sizeof(off_t) == 8;
20811 if ac_fn_c_try_compile
"$LINENO"; then :
20812 ac_cv_sys_file_offset_bits
=64
20814 ac_cv_sys_file_offset_bits
=no
20816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20821 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20823 if test "$ac_cv_sys_file_offset_bits" != no
; then
20825 cat >>confdefs.h
<<_ACEOF
20826 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20831 if test "x$wx_largefile" != "xyes"; then
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20834 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20835 if ${ac_cv_sys_large_files+:} false
; then :
20836 $as_echo_n "(cached) " >&6
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #define _LARGE_FILES 1
20842 #include <sys/types.h>
20847 unsigned int field: sizeof(off_t) == 8;
20854 if ac_fn_c_try_compile
"$LINENO"; then :
20855 ac_cv_sys_large_files
=1
20857 ac_cv_sys_large_files
=no
20859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20864 $as_echo "$ac_cv_sys_large_files" >&6; }
20866 if test "$ac_cv_sys_large_files" != no
; then
20868 cat >>confdefs.h
<<_ACEOF
20869 #define _LARGE_FILES $ac_cv_sys_large_files
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20877 $as_echo_n "checking if large file support is available... " >&6; }
20878 if test "x$wx_largefile" = "xyes"; then
20879 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20883 $as_echo "$wx_largefile" >&6; }
20886 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20887 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20888 elif test "$ac_cv_sys_large_files" = 1; then
20889 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20892 if test -n "$LARGEFILE_CPPFLAGS"; then
20893 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20895 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20897 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20898 if ${wx_cv_STDC_EXT_required+:} false
; then :
20899 $as_echo_n "(cached) " >&6
20903 ac_cpp
='$CXXCPP $CPPFLAGS'
20904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20915 #ifndef __STDC_EXT__
20923 if ac_fn_cxx_try_compile
"$LINENO"; then :
20924 wx_cv_STDC_EXT_required
=no
20926 wx_cv_STDC_EXT_required
=yes
20929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20931 ac_cpp
='$CPP $CPPFLAGS'
20932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20940 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20941 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20942 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20948 ac_cpp
='$CXXCPP $CPPFLAGS'
20949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20953 old_CPPFLAGS
="$CPPFLAGS"
20954 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20956 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20957 if ${ac_cv_sys_largefile_source+:} false
; then :
20958 $as_echo_n "(cached) " >&6
20961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #include <sys/types.h> /* for off_t */
20968 int (*fp) (FILE *, off_t, int) = fseeko;
20969 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20974 if ac_fn_cxx_try_link
"$LINENO"; then :
20975 ac_cv_sys_largefile_source
=no
; break
20977 rm -f core conftest.err conftest.
$ac_objext \
20978 conftest
$ac_exeext conftest.
$ac_ext
20979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20980 /* end confdefs.h. */
20981 #define _LARGEFILE_SOURCE 1
20982 #include <sys/types.h> /* for off_t */
20987 int (*fp) (FILE *, off_t, int) = fseeko;
20988 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20993 if ac_fn_cxx_try_link
"$LINENO"; then :
20994 ac_cv_sys_largefile_source
=1; break
20996 rm -f core conftest.err conftest.
$ac_objext \
20997 conftest
$ac_exeext conftest.
$ac_ext
20998 ac_cv_sys_largefile_source
=unknown
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21003 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21004 case $ac_cv_sys_largefile_source in #(
21007 cat >>confdefs.h
<<_ACEOF
21008 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21014 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21015 # in glibc 2.1.3, but that breaks too many other things.
21016 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21017 if test $ac_cv_sys_largefile_source != unknown
; then
21019 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21023 CPPFLAGS
="$old_CPPFLAGS"
21025 ac_cpp
='$CPP $CPPFLAGS'
21026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21030 if test "$ac_cv_sys_largefile_source" != no
; then
21031 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21035 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21036 if ${ac_cv_c_bigendian+:} false
; then :
21037 $as_echo_n "(cached) " >&6
21039 ac_cv_c_bigendian
=unknown
21040 # See if sys/param.h defines the BYTE_ORDER macro.
21041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <sys/types.h>
21044 #include <sys/param.h>
21049 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21050 bogus endian macros
21056 if ac_fn_c_try_compile
"$LINENO"; then :
21057 # It does; now see whether it defined to BIG_ENDIAN or not.
21058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21060 #include <sys/types.h>
21061 #include <sys/param.h>
21066 #if BYTE_ORDER != BIG_ENDIAN
21073 if ac_fn_c_try_compile
"$LINENO"; then :
21074 ac_cv_c_bigendian
=yes
21076 ac_cv_c_bigendian
=no
21078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21081 if test $ac_cv_c_bigendian = unknown
; then
21082 if test "$cross_compiling" = yes; then :
21083 ac_cv_c_bigendian
=unknown
21085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21088 /* Are we little or big endian? From Harbison&Steele. */
21092 char c[sizeof (long)];
21095 exit (u.c[sizeof (long) - 1] == 1);
21098 if ac_fn_c_try_run
"$LINENO"; then :
21099 ac_cv_c_bigendian
=no
21101 ac_cv_c_bigendian
=yes
21103 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21104 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21110 $as_echo "$ac_cv_c_bigendian" >&6; }
21111 if test $ac_cv_c_bigendian = unknown
; then
21112 { $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
21113 $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;}
21115 if test $ac_cv_c_bigendian = yes; then
21116 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21124 ac_cpp
='$CXXCPP $CPPFLAGS'
21125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21130 for ac_header
in iostream
21132 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21134 if test "x$ac_cv_header_iostream" = xyes
; then :
21135 cat >>confdefs.h
<<_ACEOF
21136 #define HAVE_IOSTREAM 1
21144 if test "$ac_cv_header_iostream" = "yes" ; then
21147 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21152 ac_cpp
='$CPP $CPPFLAGS'
21153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21161 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21162 if ${wx_cv_explicit+:} false
; then :
21163 $as_echo_n "(cached) " >&6
21168 ac_cpp
='$CXXCPP $CPPFLAGS'
21169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21177 class Foo { public: explicit Foo(int) {} };
21189 if ac_fn_cxx_try_compile
"$LINENO"; then :
21191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21194 class Foo { public: explicit Foo(int) {} };
21195 static void TakeFoo(const Foo& foo) { }
21208 if ac_fn_cxx_try_compile
"$LINENO"; then :
21214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21223 ac_cpp
='$CPP $CPPFLAGS'
21224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21231 $as_echo "$wx_cv_explicit" >&6; }
21233 if test "$wx_cv_explicit" = "yes"; then
21234 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21239 if test "x$SUNCXX" = xyes
; then
21240 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21243 if test "x$SUNCC" = xyes
; then
21244 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21247 if test "x$SGICC" = "xyes"; then
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21249 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21250 if ${wx_cv_prog_sgicc744+:} false
; then :
21251 $as_echo_n "(cached) " >&6
21254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21261 #if _SGI_COMPILER_VERSION >= 744
21262 chock me: mipsPro is 7.4.4 or later
21269 if ac_fn_c_try_compile
"$LINENO"; then :
21270 wx_cv_prog_sgicc744
=no
21272 wx_cv_prog_sgicc744
=yes
21275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21280 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21282 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21283 CFLAGS
="-woff 3970 $CFLAGS"
21286 if test "x$SGICXX" = "xyes"; then
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21288 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21289 if ${wx_cv_prog_sgicxx744+:} false
; then :
21290 $as_echo_n "(cached) " >&6
21294 ac_cpp
='$CXXCPP $CPPFLAGS'
21295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21300 /* end confdefs.h. */
21306 #if _SGI_COMPILER_VERSION >= 744
21307 chock me: mipsPro is 7.4.4 or later
21314 if ac_fn_cxx_try_compile
"$LINENO"; then :
21315 wx_cv_prog_sgicxx744
=no
21317 wx_cv_prog_sgicxx744
=yes
21320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21322 ac_cpp
='$CPP $CPPFLAGS'
21323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21331 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21333 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21334 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21338 if test "x$HPCC" = "xyes"; then
21339 CFLAGS
="+W 2011,2450 $CFLAGS"
21341 if test "x$HPCXX" = "xyes"; then
21342 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21345 if test "x$COMPAQCXX" = "xyes"; then
21346 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21350 ac_cpp
='$CXXCPP $CPPFLAGS'
21351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21356 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21357 if test "$wxUSE_UNICODE" = "yes"; then
21358 std_string
="std::wstring"
21359 char_type
="wchar_t"
21361 std_string
="std::string"
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21366 $as_echo_n "checking for $std_string in <string>... " >&6; }
21367 if ${wx_cv_class_stdstring+:} false
; then :
21368 $as_echo_n "(cached) " >&6
21371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21382 if ac_fn_cxx_try_compile
"$LINENO"; then :
21383 wx_cv_class_stdstring
=yes
21385 wx_cv_class_stdstring
=no
21388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21393 $as_echo "$wx_cv_class_stdstring" >&6; }
21395 if test "$wx_cv_class_stdstring" = yes; then
21396 if test "$wxUSE_UNICODE" = "yes"; then
21397 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21402 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21403 if ${wx_cv_class_stdbasicstring+:} false
; then :
21404 $as_echo_n "(cached) " >&6
21407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h. */
21410 #ifdef HAVE_WCHAR_H
21412 # include <stddef.h>
21414 # include <wchar.h>
21416 #ifdef HAVE_STDLIB_H
21417 # include <stdlib.h>
21425 std::basic_string<$char_type> foo;
21426 const $char_type* dummy = foo.c_str();
21431 if ac_fn_cxx_try_compile
"$LINENO"; then :
21432 wx_cv_class_stdbasicstring
=yes
21434 wx_cv_class_stdbasicstring
=no
21437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21442 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21444 if test "$wx_cv_class_stdbasicstring" != yes; then
21445 if test "$wxUSE_STL" = "yes"; then
21446 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21447 elif test "$wxUSE_STD_STRING" = "yes"; then
21448 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21451 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21452 wxUSE_STD_STRING
=no
21458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21459 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21461 if test "x$ac_cv_type_std__istream" = xyes
; then :
21463 cat >>confdefs.h
<<_ACEOF
21464 #define HAVE_STD__ISTREAM 1
21469 wxUSE_STD_IOSTREAM
=no
21471 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21473 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21475 cat >>confdefs.h
<<_ACEOF
21476 #define HAVE_STD__OSTREAM 1
21481 wxUSE_STD_IOSTREAM
=no
21485 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21486 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21487 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21490 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21495 if test "$wxUSE_STL" = "yes"; then
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21497 $as_echo_n "checking for basic STL functionality... " >&6; }
21498 if ${wx_cv_lib_stl+:} false
; then :
21499 $as_echo_n "(cached) " >&6
21501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21502 /* end confdefs.h. */
21504 #include <functional>
21505 #include <algorithm>
21511 std::vector<int> moo;
21512 std::list<int> foo;
21513 std::vector<int>::iterator it =
21514 std::find_if(moo.begin(), moo.end(),
21515 std::bind2nd(std::less<int>(), 3));
21520 if ac_fn_cxx_try_compile
"$LINENO"; then :
21526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21530 $as_echo "$wx_cv_lib_stl" >&6; }
21532 if test "$wx_cv_lib_stl" != yes; then
21533 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21537 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21538 if ${wx_cv_func_stdstring_compare+:} false
; then :
21539 $as_echo_n "(cached) " >&6
21541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21547 std::string foo, bar;
21549 foo.compare(1, 1, bar);
21550 foo.compare(1, 1, bar, 1, 1);
21552 foo.compare(1, 1, "");
21553 foo.compare(1, 1, "", 2);
21558 if ac_fn_cxx_try_compile
"$LINENO"; then :
21559 wx_cv_func_stdstring_compare
=yes
21561 wx_cv_func_stdstring_compare
=no
21564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21568 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21570 if test "$wx_cv_func_stdstring_compare" = yes; then
21571 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21575 if test "$wx_cv_class_gnuhashmapset" = yes; then
21576 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21578 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21582 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21585 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21587 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21588 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21589 $as_echo_n "(cached) " >&6
21591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <unordered_map>
21594 #include <unordered_set>
21598 std::unordered_map<double*, char*> test1;
21599 std::unordered_set<char*> test2;
21604 if ac_fn_cxx_try_compile
"$LINENO"; then :
21605 wx_cv_class_stdunorderedmapset
=yes
21607 wx_cv_class_stdunorderedmapset
=no
21609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21614 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21619 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21620 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21622 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21625 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21628 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21630 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21631 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21632 $as_echo_n "(cached) " >&6
21634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h. */
21636 #include <tr1/unordered_map>
21637 #include <tr1/unordered_set>
21641 std::tr1::unordered_map<double*, char*> test1;
21642 std::tr1::unordered_set<char*> test2;
21643 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21644 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21650 if ac_fn_cxx_try_compile
"$LINENO"; then :
21651 wx_cv_class_tr1unorderedmapset
=yes
21653 wx_cv_class_tr1unorderedmapset
=no
21655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21660 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21665 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21666 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21668 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21671 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21674 if test "x$ac_cv_header_hash_map" = xyes
; then :
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21676 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21677 if ${wx_cv_class_stdhashmapset+:} false
; then :
21678 $as_echo_n "(cached) " >&6
21680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21681 /* end confdefs.h. */
21682 #include <hash_map>
21683 #include <hash_set>
21687 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21688 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21693 if ac_fn_cxx_try_compile
"$LINENO"; then :
21694 wx_cv_class_stdhashmapset
=yes
21696 wx_cv_class_stdhashmapset
=no
21698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21703 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21708 if test "$wx_cv_class_stdhashmapset" = yes; then
21709 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21711 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21715 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21718 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21720 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21721 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21722 $as_echo_n "(cached) " >&6
21724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #include <ext/hash_map>
21727 #include <ext/hash_set>
21731 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21732 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21737 if ac_fn_cxx_try_compile
"$LINENO"; then :
21738 wx_cv_class_gnuhashmapset
=yes
21740 wx_cv_class_gnuhashmapset
=no
21742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21747 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21757 ac_cpp
='$CXXCPP $CPPFLAGS'
21758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21762 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21763 if test -z "$CXXCPP"; then
21764 if ${ac_cv_prog_CXXCPP+:} false
; then :
21765 $as_echo_n "(cached) " >&6
21767 # Double quotes because CXXCPP needs to be expanded
21768 for CXXCPP
in "$CXX -E" "/lib/cpp"
21770 ac_preproc_ok
=false
21771 for ac_cxx_preproc_warn_flag
in '' yes
21773 # Use a header file that comes with gcc, so configuring glibc
21774 # with a fresh cross-compiler works.
21775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21776 # <limits.h> exists even on freestanding compilers.
21777 # On the NeXT, cc -E runs the code through the compiler's parser,
21778 # not just through cpp. "Syntax error" is here to catch this case.
21779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21782 # include <limits.h>
21784 # include <assert.h>
21788 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21791 # Broken: fails on valid input.
21794 rm -f conftest.err conftest.i conftest.
$ac_ext
21796 # OK, works on sane cases. Now check whether nonexistent headers
21797 # can be detected and how.
21798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21799 /* end confdefs.h. */
21800 #include <ac_nonexistent.h>
21802 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21803 # Broken: success on invalid input.
21806 # Passes both tests.
21810 rm -f conftest.err conftest.i conftest.
$ac_ext
21813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21814 rm -f conftest.i conftest.err conftest.
$ac_ext
21815 if $ac_preproc_ok; then :
21820 ac_cv_prog_CXXCPP
=$CXXCPP
21823 CXXCPP
=$ac_cv_prog_CXXCPP
21825 ac_cv_prog_CXXCPP
=$CXXCPP
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21828 $as_echo "$CXXCPP" >&6; }
21829 ac_preproc_ok
=false
21830 for ac_cxx_preproc_warn_flag
in '' yes
21832 # Use a header file that comes with gcc, so configuring glibc
21833 # with a fresh cross-compiler works.
21834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21835 # <limits.h> exists even on freestanding compilers.
21836 # On the NeXT, cc -E runs the code through the compiler's parser,
21837 # not just through cpp. "Syntax error" is here to catch this case.
21838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21841 # include <limits.h>
21843 # include <assert.h>
21847 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21850 # Broken: fails on valid input.
21853 rm -f conftest.err conftest.i conftest.
$ac_ext
21855 # OK, works on sane cases. Now check whether nonexistent headers
21856 # can be detected and how.
21857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <ac_nonexistent.h>
21861 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21862 # Broken: success on invalid input.
21865 # Passes both tests.
21869 rm -f conftest.err conftest.i conftest.
$ac_ext
21872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21873 rm -f conftest.i conftest.err conftest.
$ac_ext
21874 if $ac_preproc_ok; then :
21877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21879 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21880 See \`config.log' for more details" "$LINENO" 5; }
21884 ac_cpp
='$CXXCPP $CPPFLAGS'
21885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21890 for ac_header
in type_traits tr
1/type_traits
21892 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21893 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21895 cat >>confdefs.h
<<_ACEOF
21896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21906 if test -n "$GCC"; then
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21908 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21909 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21910 $as_echo_n "(cached) " >&6
21913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21920 unsigned int value=0;
21921 /* wxAtomicInc doesn't use return value here */
21922 __sync_fetch_and_add(&value, 2);
21923 __sync_sub_and_fetch(&value, 1);
21924 /* but wxAtomicDec does, so mimic that: */
21925 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21931 if ac_fn_cxx_try_link
"$LINENO"; then :
21932 wx_cv_cc_gcc_atomic_builtins
=yes
21934 wx_cv_cc_gcc_atomic_builtins
=no
21936 rm -f core conftest.err conftest.
$ac_objext \
21937 conftest
$ac_exeext conftest.
$ac_ext
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21942 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21943 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21944 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21951 ac_cpp
='$CPP $CPPFLAGS'
21952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21959 /usr/local/include \
21960 /usr/local/X11/include \
21961 /usr/local/include/X11 \
21962 /usr/local/X11R7/include \
21963 /usr/local/X11R6/include \
21964 /usr/local/include/X11R7 \
21965 /usr/local/include/X11R6 \
21967 /usr/Motif-2.1/include \
21968 /usr/Motif-1.2/include \
21969 /usr/include/Motif1.2 \
21972 /usr/openwin/include \
21976 /usr/X11R7/include \
21977 /usr/X11R6/include \
21978 /usr/X11R6.4/include \
21980 /usr/include/X11R7 \
21981 /usr/include/X11R6 \
21986 /usr/XFree86/include/X11 \
21989 /usr/local/X1R5/include \
21990 /usr/local/include/X11R5 \
21991 /usr/X11R5/include \
21992 /usr/include/X11R5 \
21994 /usr/local/X11R4/include \
21995 /usr/local/include/X11R4 \
21996 /usr/X11R4/include \
21997 /usr/include/X11R4 \
21999 /usr/openwin/share/include"
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22002 $as_echo_n "checking for libraries directories... " >&6; }
22006 if ${wx_cv_std_libpath+:} false
; then :
22007 $as_echo_n "(cached) " >&6
22010 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22011 for e
in a so sl dylib dll.a
; do
22013 if test -f $libc; then
22016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22017 /* end confdefs.h. */
22019 int main() { return 0; }
22022 if ac_fn_c_try_link
"$LINENO"; then :
22023 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22025 rm -f core conftest.err conftest.
$ac_objext \
22026 conftest
$ac_exeext conftest.
$ac_ext
22028 if test "x$wx_cv_std_libpath" != "x"; then
22041 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22042 wx_cv_std_libpath
="lib/64"
22047 if test "$ac_cv_sizeof_void_p" = 8; then
22048 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22049 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22050 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22051 wx_cv_std_libpath
="lib64"
22056 if test -d '/usr/lib/i386-linux-gnu'; then
22057 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22062 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22063 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22068 if test -z "$wx_cv_std_libpath"; then
22069 wx_cv_std_libpath
="lib"
22072 if test -z "$wx_cv_std_libfullpath"; then
22073 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22078 $as_echo "$wx_cv_std_libfullpath" >&6; }
22080 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22082 if test "$build" != "$host" -a "$GCC" = yes; then
22083 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22084 cross_root
=`dirname $cross_root`
22085 cross_root
=`dirname $cross_root`
22087 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22088 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22089 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22091 if test -z "$PKG_CONFIG_PATH"; then
22092 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22093 export PKG_CONFIG_PATH
22096 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22099 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22101 if test -f "$ac_dir/X11/Intrinsic.h"; then
22102 ac_find_includes
=$ac_dir
22107 x_includes
=$ac_find_includes
22109 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22112 for ac_dir
in $SEARCH_LIB
22114 for ac_extension
in a so sl dylib dll.a
; do
22115 if test -f "$ac_dir/libXt.$ac_extension"; then
22116 ac_find_libraries
=$ac_dir
22122 x_libraries
=$ac_find_libraries
22128 cat >confcache
<<\_ACEOF
22129 # This file is a shell script that caches the results of configure
22130 # tests run on this system so they can be shared between configure
22131 # scripts and configure runs, see configure's option --config-cache.
22132 # It is not useful on other systems. If it contains results you don't
22133 # want to keep, you may remove or edit it.
22135 # config.status only pays attention to the cache file if you give it
22136 # the --recheck option to rerun configure.
22138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22140 # following values.
22144 # The following way of writing the cache mishandles newlines in values,
22145 # but we know of no workaround that is simple, portable, and efficient.
22146 # So, we kill variables containing newlines.
22147 # Ultrix sh set writes to stderr and can't be redirected directly,
22148 # and sets the high bit in the cache file unless we assign to the vars.
22150 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22151 eval ac_val
=\$
$ac_var
22155 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22159 _
| IFS
| as_nl
) ;; #(
22160 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22161 *) { eval $ac_var=; unset $ac_var;} ;;
22167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22168 *${as_nl}ac_space
=\
*)
22169 # `set' does not quote correctly, so add quotes: double-quote
22170 # substitution turns \\\\ into \\, and sed turns \\ into \.
22173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22176 # `set' quotes correctly as required by POSIX, so do not add quotes.
22177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22190 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22191 if test -w "$cache_file"; then
22192 if test "x$cache_file" != "x/dev/null"; then
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22194 $as_echo "$as_me: updating cache $cache_file" >&6;}
22195 if test ! -f "$cache_file" || test -h "$cache_file"; then
22196 cat confcache
>"$cache_file"
22198 case $cache_file in #(
22200 mv -f confcache
"$cache_file"$$
&&
22201 mv -f "$cache_file"$$
"$cache_file" ;; #(
22203 mv -f confcache
"$cache_file" ;;
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22209 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22218 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22219 if test "x$ac_cv_func_cos" = xyes
; then :
22220 cat >>confdefs.h
<<_ACEOF
22227 for ac_func
in floor
22229 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22230 if test "x$ac_cv_func_floor" = xyes
; then :
22231 cat >>confdefs.h
<<_ACEOF
22232 #define HAVE_FLOOR 1
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22239 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22240 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22242 $as_echo "yes" >&6; }
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22245 $as_echo "no" >&6; }
22247 # use different functions to avoid configure caching
22252 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22253 if test "x$ac_cv_func_sin" = xyes
; then :
22254 cat >>confdefs.h
<<_ACEOF
22261 for ac_func
in ceil
22263 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22264 if test "x$ac_cv_func_ceil" = xyes
; then :
22265 cat >>confdefs.h
<<_ACEOF
22266 #define HAVE_CEIL 1
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22273 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22274 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22276 $as_echo "yes" >&6; }
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22279 $as_echo "no" >&6; }
22280 # not sure we should warn the user, crash, etc.
22285 ac_cpp
='$CXXCPP $CPPFLAGS'
22286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22290 if test "wxUSE_UNICODE" = "yes"; then
22292 for wx_func
in wcstoull
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22295 $as_echo_n "checking for $wx_func... " >&6; }
22296 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22297 $as_echo_n "(cached) " >&6
22300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22301 /* end confdefs.h. */
22305 $ac_includes_default
22321 if ac_fn_cxx_try_link
"$LINENO"; then :
22322 eval wx_cv_func_
$wx_func=yes
22324 eval wx_cv_func_
$wx_func=no
22326 rm -f core conftest.err conftest.
$ac_objext \
22327 conftest
$ac_exeext conftest.
$ac_ext
22330 eval ac_res
=\
$wx_cv_func_$wx_func
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22332 $as_echo "$ac_res" >&6; }
22334 if eval test \
$wx_cv_func_$wx_func = yes
22336 cat >>confdefs.h
<<_ACEOF
22337 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22349 for wx_func
in strtoull
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22352 $as_echo_n "checking for $wx_func... " >&6; }
22353 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22354 $as_echo_n "(cached) " >&6
22357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22362 $ac_includes_default
22378 if ac_fn_cxx_try_link
"$LINENO"; then :
22379 eval wx_cv_func_
$wx_func=yes
22381 eval wx_cv_func_
$wx_func=no
22383 rm -f core conftest.err conftest.
$ac_objext \
22384 conftest
$ac_exeext conftest.
$ac_ext
22387 eval ac_res
=\
$wx_cv_func_$wx_func
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22389 $as_echo "$ac_res" >&6; }
22391 if eval test \
$wx_cv_func_$wx_func = yes
22393 cat >>confdefs.h
<<_ACEOF
22394 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22406 ac_cpp
='$CPP $CPPFLAGS'
22407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22414 if test "$wxUSE_REGEX" != "no"; then
22415 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22418 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22420 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22421 wxUSE_REGEX
=builtin
22424 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22425 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22427 if test "x$ac_cv_header_regex_h" = xyes
; then :
22428 for ac_func
in regcomp re_search
22430 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22431 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22432 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22433 cat >>confdefs.h
<<_ACEOF
22434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22444 if test "x$ac_cv_func_regcomp" != "xyes"; then
22445 if test "$wxUSE_REGEX" = "sys" ; then
22446 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22449 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22450 wxUSE_REGEX
=builtin
22454 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22462 if test "$wxUSE_ZLIB" != "no" ; then
22463 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22466 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22467 if test "$USE_DARWIN" = 1; then
22468 system_zlib_h_ok
="yes"
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22471 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22472 if ${ac_cv_header_zlib_h+:} false
; then :
22473 $as_echo_n "(cached) " >&6
22475 if test "$cross_compiling" = yes; then :
22476 unset ac_cv_header_zlib_h
22479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22487 FILE *f=fopen("conftestval", "w");
22490 ZLIB_VERSION[0] == '1' &&
22491 (ZLIB_VERSION[2] > '1' ||
22492 (ZLIB_VERSION[2] == '1' &&
22493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22498 if ac_fn_c_try_run
"$LINENO"; then :
22499 ac_cv_header_zlib_h
=`cat conftestval`
22501 ac_cv_header_zlib_h
=no
22503 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22504 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22510 $as_echo "$ac_cv_header_zlib_h" >&6; }
22511 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22513 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22519 system_zlib_h_ok
=$ac_cv_header_zlib_h
22522 if test "$system_zlib_h_ok" = "yes"; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22524 $as_echo_n "checking for deflate in -lz... " >&6; }
22525 if ${ac_cv_lib_z_deflate+:} false
; then :
22526 $as_echo_n "(cached) " >&6
22528 ac_check_lib_save_LIBS
=$LIBS
22530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22531 /* end confdefs.h. */
22533 /* Override any GCC internal prototype to avoid an error.
22534 Use char because int might match the return type of a GCC
22535 builtin and then its argument prototype would still apply. */
22548 if ac_fn_c_try_link
"$LINENO"; then :
22549 ac_cv_lib_z_deflate
=yes
22551 ac_cv_lib_z_deflate
=no
22553 rm -f core conftest.err conftest.
$ac_objext \
22554 conftest
$ac_exeext conftest.
$ac_ext
22555 LIBS
=$ac_check_lib_save_LIBS
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22558 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22559 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22565 if test "x$ZLIB_LINK" = "x" ; then
22566 if test "$wxUSE_ZLIB" = "sys" ; then
22567 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22570 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22581 if test "$wxUSE_LIBPNG" != "no" ; then
22582 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22585 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22587 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22588 wxUSE_LIBPNG
=builtin
22591 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22593 $as_echo_n "checking for png.h > 0.90... " >&6; }
22594 if ${ac_cv_header_png_h+:} false
; then :
22595 $as_echo_n "(cached) " >&6
22597 if test "$cross_compiling" = yes; then :
22598 unset ac_cv_header_png_h
22601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22609 FILE *f=fopen("conftestval", "w");
22612 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22617 if ac_fn_c_try_run
"$LINENO"; then :
22618 ac_cv_header_png_h
=`cat conftestval`
22620 ac_cv_header_png_h
=no
22622 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22623 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22629 $as_echo "$ac_cv_header_png_h" >&6; }
22630 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22632 if test "x$ac_cv_header_png_h" = xyes
; then :
22638 if test "$ac_cv_header_png_h" = "yes"; then
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22640 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22641 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22642 $as_echo_n "(cached) " >&6
22644 ac_check_lib_save_LIBS
=$LIBS
22645 LIBS
="-lpng -lz -lm $LIBS"
22646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22647 /* end confdefs.h. */
22649 /* Override any GCC internal prototype to avoid an error.
22650 Use char because int might match the return type of a GCC
22651 builtin and then its argument prototype would still apply. */
22655 char png_sig_cmp ();
22659 return png_sig_cmp ();
22664 if ac_fn_c_try_link
"$LINENO"; then :
22665 ac_cv_lib_png_png_sig_cmp
=yes
22667 ac_cv_lib_png_png_sig_cmp
=no
22669 rm -f core conftest.err conftest.
$ac_objext \
22670 conftest
$ac_exeext conftest.
$ac_ext
22671 LIBS
=$ac_check_lib_save_LIBS
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22674 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22675 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22676 PNG_LINK
=" -lpng -lz"
22681 if test "x$PNG_LINK" = "x" ; then
22682 if test "$wxUSE_LIBPNG" = "sys" ; then
22683 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22686 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22687 wxUSE_LIBPNG
=builtin
22697 if test "$wxUSE_LIBJPEG" != "no" ; then
22698 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22701 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22703 $as_echo_n "checking for jpeglib.h... " >&6; }
22704 if ${ac_cv_header_jpeglib_h+:} false
; then :
22705 $as_echo_n "(cached) " >&6
22707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h. */
22710 #undef HAVE_STDLIB_H
22712 #include <jpeglib.h>
22723 if ac_fn_c_try_compile
"$LINENO"; then :
22724 ac_cv_header_jpeglib_h
=yes
22726 ac_cv_header_jpeglib_h
=no
22729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22734 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22736 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22738 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22739 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22740 $as_echo_n "(cached) " >&6
22742 ac_check_lib_save_LIBS
=$LIBS
22743 LIBS
="-ljpeg $LIBS"
22744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22747 /* Override any GCC internal prototype to avoid an error.
22748 Use char because int might match the return type of a GCC
22749 builtin and then its argument prototype would still apply. */
22753 char jpeg_read_header ();
22757 return jpeg_read_header ();
22762 if ac_fn_c_try_link
"$LINENO"; then :
22763 ac_cv_lib_jpeg_jpeg_read_header
=yes
22765 ac_cv_lib_jpeg_jpeg_read_header
=no
22767 rm -f core conftest.err conftest.
$ac_objext \
22768 conftest
$ac_exeext conftest.
$ac_ext
22769 LIBS
=$ac_check_lib_save_LIBS
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22772 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22773 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22774 JPEG_LINK
=" -ljpeg"
22779 if test "x$JPEG_LINK" = "x" ; then
22780 if test "$wxUSE_LIBJPEG" = "sys" ; then
22781 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22784 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22785 wxUSE_LIBJPEG
=builtin
22790 if test "$wxUSE_MSW" = 1; then
22791 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22793 if test "x$ac_cv_type_boolean" = xyes
; then :
22795 cat >>confdefs.h
<<_ACEOF
22796 #define HAVE_BOOLEAN 1
22800 # The cast to long int works around a bug in the HP C Compiler
22801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22803 # This bug is HP SR number 8606223364.
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22805 $as_echo_n "checking size of boolean... " >&6; }
22806 if ${ac_cv_sizeof_boolean+:} false
; then :
22807 $as_echo_n "(cached) " >&6
22809 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22810 #undef HAVE_BOOLEAN
22812 #include <jpeglib.h>
22817 if test "$ac_cv_type_boolean" = yes; then
22818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22820 as_fn_error
77 "cannot compute sizeof (boolean)
22821 See \`config.log' for more details" "$LINENO" 5; }
22823 ac_cv_sizeof_boolean
=0
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22829 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22833 cat >>confdefs.h
<<_ACEOF
22834 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22838 cat >>confdefs.h
<<_ACEOF
22839 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22852 TIFF_PREREQ_LINKS
=-lm
22853 if test "$wxUSE_LIBTIFF" != "no" ; then
22854 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22857 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22858 if test "$wxUSE_LIBJPEG" = "sys"; then
22859 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22861 if test "$wxUSE_ZLIB" = "sys"; then
22862 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22864 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22867 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22870 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22871 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22872 $as_echo_n "(cached) " >&6
22874 ac_check_lib_save_LIBS
=$LIBS
22875 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22877 /* end confdefs.h. */
22879 /* Override any GCC internal prototype to avoid an error.
22880 Use char because int might match the return type of a GCC
22881 builtin and then its argument prototype would still apply. */
22889 return TIFFError ();
22894 if ac_fn_c_try_link
"$LINENO"; then :
22895 ac_cv_lib_tiff_TIFFError
=yes
22897 ac_cv_lib_tiff_TIFFError
=no
22899 rm -f core conftest.err conftest.
$ac_objext \
22900 conftest
$ac_exeext conftest.
$ac_ext
22901 LIBS
=$ac_check_lib_save_LIBS
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22904 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22905 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22906 TIFF_LINK
=" -ltiff"
22914 if test "x$TIFF_LINK" = "x" ; then
22915 if test "$wxUSE_LIBTIFF" = "sys" ; then
22916 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22919 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22920 wxUSE_LIBTIFF
=builtin
22926 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22927 if test "$wxUSE_LIBJPEG" = "no"; then
22928 ac_configure_args
="$ac_configure_args --disable-jpeg"
22931 if test "$wxUSE_LIBLZMA" = "yes"; then
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22933 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22934 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22935 $as_echo_n "(cached) " >&6
22937 ac_check_lib_save_LIBS
=$LIBS
22938 LIBS
="-llzma $LIBS"
22939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22940 /* end confdefs.h. */
22942 /* Override any GCC internal prototype to avoid an error.
22943 Use char because int might match the return type of a GCC
22944 builtin and then its argument prototype would still apply. */
22952 return lzma_code ();
22957 if ac_fn_c_try_link
"$LINENO"; then :
22958 ac_cv_lib_lzma_lzma_code
=yes
22960 ac_cv_lib_lzma_lzma_code
=no
22962 rm -f core conftest.err conftest.
$ac_objext \
22963 conftest
$ac_exeext conftest.
$ac_ext
22964 LIBS
=$ac_check_lib_save_LIBS
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22967 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22968 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
22969 LIBS
="$LIBS -llzma"
22973 ac_configure_args
="$ac_configure_args --disable-lzma"
22976 if test "$wxUSE_LIBJBIG" = "yes"; then
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22978 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22979 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
22980 $as_echo_n "(cached) " >&6
22982 ac_check_lib_save_LIBS
=$LIBS
22983 LIBS
="-ljbig $LIBS"
22984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22987 /* Override any GCC internal prototype to avoid an error.
22988 Use char because int might match the return type of a GCC
22989 builtin and then its argument prototype would still apply. */
22993 char jbg_dec_init ();
22997 return jbg_dec_init ();
23002 if ac_fn_c_try_link
"$LINENO"; then :
23003 ac_cv_lib_jbig_jbg_dec_init
=yes
23005 ac_cv_lib_jbig_jbg_dec_init
=no
23007 rm -f core conftest.err conftest.
$ac_objext \
23008 conftest
$ac_exeext conftest.
$ac_ext
23009 LIBS
=$ac_check_lib_save_LIBS
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23012 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23013 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
23014 LIBS
="$LIBS -ljbig"
23018 ac_configure_args
="$ac_configure_args --disable-jbig"
23023 subdirs
="$subdirs src/tiff"
23029 if test "$wxUSE_EXPAT" != "no"; then
23031 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23033 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23036 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23037 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
23039 if test "x$ac_cv_header_expat_h" = xyes
; then :
23044 if test "x$found_expat_h" = "x1"; then
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23046 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23047 if ${wx_cv_expat_is_not_broken+:} false
; then :
23048 $as_echo_n "(cached) " >&6
23052 ac_cpp
='$CXXCPP $CPPFLAGS'
23053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23058 /* end confdefs.h. */
23068 if ac_fn_cxx_try_compile
"$LINENO"; then :
23069 wx_cv_expat_is_not_broken
=yes
23071 wx_cv_expat_is_not_broken
=no
23074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23076 ac_cpp
='$CPP $CPPFLAGS'
23077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23085 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23086 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23088 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23089 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23090 $as_echo_n "(cached) " >&6
23092 ac_check_lib_save_LIBS
=$LIBS
23093 LIBS
="-lexpat $LIBS"
23094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23097 /* Override any GCC internal prototype to avoid an error.
23098 Use char because int might match the return type of a GCC
23099 builtin and then its argument prototype would still apply. */
23103 char XML_ParserCreate ();
23107 return XML_ParserCreate ();
23112 if ac_fn_c_try_link
"$LINENO"; then :
23113 ac_cv_lib_expat_XML_ParserCreate
=yes
23115 ac_cv_lib_expat_XML_ParserCreate
=no
23117 rm -f core conftest.err conftest.
$ac_objext \
23118 conftest
$ac_exeext conftest.
$ac_ext
23119 LIBS
=$ac_check_lib_save_LIBS
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23122 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23123 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23124 EXPAT_LINK
=" -lexpat"
23129 if test "x$EXPAT_LINK" = "x" ; then
23130 if test "$wxUSE_EXPAT" = "sys" ; then
23131 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23134 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23135 wxUSE_EXPAT
=builtin
23141 if test "$wxUSE_EXPAT" = "builtin" ; then
23142 subdirs
="$subdirs src/expat"
23149 if test "$wxUSE_LIBMSPACK" != "no"; then
23150 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23152 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23157 if test "x$found_mspack_h" = "x1"; then
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23159 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23160 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23161 $as_echo_n "(cached) " >&6
23163 ac_check_lib_save_LIBS
=$LIBS
23164 LIBS
="-lmspack $LIBS"
23165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23166 /* end confdefs.h. */
23168 /* Override any GCC internal prototype to avoid an error.
23169 Use char because int might match the return type of a GCC
23170 builtin and then its argument prototype would still apply. */
23174 char mspack_create_chm_decompressor ();
23178 return mspack_create_chm_decompressor ();
23183 if ac_fn_c_try_link
"$LINENO"; then :
23184 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23186 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23188 rm -f core conftest.err conftest.
$ac_objext \
23189 conftest
$ac_exeext conftest.
$ac_ext
23190 LIBS
=$ac_check_lib_save_LIBS
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23193 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23194 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23195 MSPACK_LINK
=" -lmspack"
23199 if test "x$MSPACK_LINK" = "x" ; then
23204 if test "$wxUSE_LIBMSPACK" != "no"; then
23205 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23215 if test "$USE_WIN32" = 1 ; then
23216 for ac_header
in w32api.h
23218 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23220 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23221 cat >>confdefs.h
<<_ACEOF
23222 #define HAVE_W32API_H 1
23229 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23231 if test "x$ac_cv_header_windows_h" = xyes
; then :
23235 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23241 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23243 x86_64
-*-mingw32* )
23244 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23247 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23248 LIBS
="$LIBS -loleacc"
23253 LIBS
="$LIBS -lkernel32 -luser32"
23256 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23259 if test "$wxUSE_GUI" = "yes"; then
23270 if test "$wxUSE_OLD_COCOA" = 1 ; then
23271 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23273 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23274 wxUSE_PRINTING_ARCHITECTURE
=no
23276 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23278 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23279 wxUSE_DRAG_AND_DROP
=no
23281 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23283 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23288 if test "$wxUSE_MSW" = 1 ; then
23294 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23298 if test "$wxUSE_GTK" = 1; then
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23300 $as_echo_n "checking for GTK+ version... " >&6; }
23302 gtk_version_cached
=1
23303 if ${wx_cv_lib_gtk+:} false
; then :
23304 $as_echo_n "(cached) " >&6
23307 gtk_version_cached
=0
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23312 if test "$wxUSE_THREADS" = "yes"; then
23313 GTK_MODULES
=gthread
23316 if test -z "$wxGTK_VERSION"; then
23321 if test "x$wxGTK_VERSION" != "x1"
23325 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23330 if test "$wxGTK_VERSION" != 3; then
23331 # Check whether --enable-gtktest was given.
23332 if test "${enable_gtktest+set}" = set; then :
23333 enableval
=$enable_gtktest;
23339 pkg_config_args
=gtk
+-2.0
23340 for module
in .
$GTK_MODULES
23344 pkg_config_args
="$pkg_config_args gthread-2.0"
23351 # Extract the first word of "pkg-config", so it can be a program name with args.
23352 set dummy pkg
-config; ac_word
=$2
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23354 $as_echo_n "checking for $ac_word... " >&6; }
23355 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23356 $as_echo_n "(cached) " >&6
23358 case $PKG_CONFIG in
23360 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23364 for as_dir
in $PATH
23367 test -z "$as_dir" && as_dir
=.
23368 for ac_exec_ext
in '' $ac_executable_extensions; do
23369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23370 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23378 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23382 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23383 if test -n "$PKG_CONFIG"; then
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23385 $as_echo "$PKG_CONFIG" >&6; }
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23388 $as_echo "no" >&6; }
23393 if test x
$PKG_CONFIG != xno
; then
23394 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23397 echo "*** pkg-config too old; version 0.7 or better required."
23405 min_gtk_version
=2.6.0
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23407 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23409 if test x
$PKG_CONFIG != xno
; then
23410 ## don't try to run the test against uninstalled libtool libs
23411 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23412 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23416 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23423 if test x
"$no_gtk" = x
; then
23424 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23425 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23426 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23428 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23430 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23432 if test "x$enable_gtktest" = "xyes" ; then
23433 ac_save_CFLAGS
="$CFLAGS"
23434 ac_save_LIBS
="$LIBS"
23435 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23436 LIBS
="$GTK_LIBS $LIBS"
23438 if test "$cross_compiling" = yes; then :
23439 echo $ac_n "cross compiling; assumed OK... $ac_c"
23441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23442 /* end confdefs.h. */
23444 #include <gtk/gtk.h>
23446 #include <stdlib.h>
23451 int major, minor, micro;
23454 system ("touch conf.gtktest");
23456 /* HP/UX 9 (%@#!) writes to sscanf strings */
23457 tmp_version = g_strdup("$min_gtk_version");
23458 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23459 printf("%s, bad version string\n", "$min_gtk_version");
23463 if ((gtk_major_version != $gtk_config_major_version) ||
23464 (gtk_minor_version != $gtk_config_minor_version) ||
23465 (gtk_micro_version != $gtk_config_micro_version))
23467 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23468 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23469 gtk_major_version, gtk_minor_version, gtk_micro_version);
23470 printf ("*** was found! If pkg-config was correct, then it is best\n");
23471 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23472 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23473 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23474 printf("*** required on your system.\n");
23475 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23476 printf("*** to point to the correct configuration files\n");
23478 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23479 (gtk_minor_version != GTK_MINOR_VERSION) ||
23480 (gtk_micro_version != GTK_MICRO_VERSION))
23482 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23483 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23484 printf("*** library (version %d.%d.%d)\n",
23485 gtk_major_version, gtk_minor_version, gtk_micro_version);
23489 if ((gtk_major_version > major) ||
23490 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23491 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23497 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23498 gtk_major_version, gtk_minor_version, gtk_micro_version);
23499 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23500 major, minor, micro);
23501 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23503 printf("*** If you have already installed a sufficiently new version, this error\n");
23504 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23505 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23506 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23507 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23508 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23509 printf("*** so that the correct libraries are found at run-time))\n");
23516 if ac_fn_c_try_run
"$LINENO"; then :
23521 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23522 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23525 CFLAGS
="$ac_save_CFLAGS"
23526 LIBS
="$ac_save_LIBS"
23529 if test "x$no_gtk" = x
; then
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23531 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23535 $as_echo "no" >&6; }
23536 if test "$PKG_CONFIG" = "no" ; then
23537 echo "*** A new enough version of pkg-config was not found."
23538 echo "*** See http://pkgconfig.sourceforge.net"
23540 if test -f conf.gtktest
; then
23543 echo "*** Could not run GTK+ test program, checking why..."
23544 ac_save_CFLAGS
="$CFLAGS"
23545 ac_save_LIBS
="$LIBS"
23546 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23547 LIBS
="$LIBS $GTK_LIBS"
23548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23549 /* end confdefs.h. */
23551 #include <gtk/gtk.h>
23557 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23562 if ac_fn_c_try_link
"$LINENO"; then :
23563 echo "*** The test program compiled, but did not run. This usually means"
23564 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23565 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23566 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23567 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23568 echo "*** is required on your system"
23570 echo "*** If you have an old version installed, it is best to remove it, although"
23571 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23573 echo "*** The test program failed to compile or link. See the file config.log for the"
23574 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23576 rm -f core conftest.err conftest.
$ac_objext \
23577 conftest
$ac_exeext conftest.
$ac_ext
23578 CFLAGS
="$ac_save_CFLAGS"
23579 LIBS
="$ac_save_LIBS"
23591 if test -z "$wx_cv_lib_gtk"; then
23592 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23593 # Check whether --enable-gtktest was given.
23594 if test "${enable_gtktest+set}" = set; then :
23595 enableval
=$enable_gtktest;
23601 pkg_gtk_version
=gtk
+-3.0
23602 pkg_config_args
=$pkg_gtk_version
23603 for module
in .
$GTK_MODULES
23607 pkg_gthread_version
=gthread
-2.0
23608 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23615 # Extract the first word of "pkg-config", so it can be a program name with args.
23616 set dummy pkg
-config; ac_word
=$2
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23618 $as_echo_n "checking for $ac_word... " >&6; }
23619 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23620 $as_echo_n "(cached) " >&6
23622 case $PKG_CONFIG in
23624 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23628 for as_dir
in $PATH
23631 test -z "$as_dir" && as_dir
=.
23632 for ac_exec_ext
in '' $ac_executable_extensions; do
23633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23634 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23642 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23646 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23647 if test -n "$PKG_CONFIG"; then
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23649 $as_echo "$PKG_CONFIG" >&6; }
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23652 $as_echo "no" >&6; }
23657 if test x
$PKG_CONFIG != xno
; then
23658 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23661 echo "*** pkg-config too old; version 0.7 or better required."
23669 min_gtk_version
=3.0.0
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23671 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23673 if test x
$PKG_CONFIG != xno
; then
23674 ## don't try to run the test against uninstalled libtool libs
23675 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23676 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23679 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23686 if test x
"$no_gtk" = x
; then
23687 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23688 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23689 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23691 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23693 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23695 if test "x$enable_gtktest" = "xyes" ; then
23696 ac_save_CFLAGS
="$CFLAGS"
23697 ac_save_LIBS
="$LIBS"
23698 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23699 LIBS
="$GTK_LIBS $LIBS"
23701 if test "$cross_compiling" = yes; then :
23702 echo $ac_n "cross compiling; assumed OK... $ac_c"
23704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23707 #include <gtk/gtk.h>
23709 #include <stdlib.h>
23714 int major, minor, micro;
23717 fclose (fopen ("conf.gtktest", "w"));
23719 /* HP/UX 9 (%@#!) writes to sscanf strings */
23720 tmp_version = g_strdup("$min_gtk_version");
23721 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23722 printf("%s, bad version string\n", "$min_gtk_version");
23726 if ((gtk_major_version != $gtk_config_major_version) ||
23727 (gtk_minor_version != $gtk_config_minor_version) ||
23728 (gtk_micro_version != $gtk_config_micro_version))
23730 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23731 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23732 gtk_major_version, gtk_minor_version, gtk_micro_version);
23733 printf ("*** was found! If pkg-config was correct, then it is best\n");
23734 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23735 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23736 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23737 printf("*** required on your system.\n");
23738 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23739 printf("*** to point to the correct configuration files\n");
23741 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23742 (gtk_minor_version != GTK_MINOR_VERSION) ||
23743 (gtk_micro_version != GTK_MICRO_VERSION))
23745 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23746 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23747 printf("*** library (version %d.%d.%d)\n",
23748 gtk_major_version, gtk_minor_version, gtk_micro_version);
23752 if ((gtk_major_version > major) ||
23753 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23754 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23760 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23761 gtk_major_version, gtk_minor_version, gtk_micro_version);
23762 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23763 major, minor, micro);
23764 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23766 printf("*** If you have already installed a sufficiently new version, this error\n");
23767 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23768 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23769 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23770 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23771 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23772 printf("*** so that the correct libraries are found at run-time))\n");
23779 if ac_fn_c_try_run
"$LINENO"; then :
23784 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23785 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23788 CFLAGS
="$ac_save_CFLAGS"
23789 LIBS
="$ac_save_LIBS"
23792 if test "x$no_gtk" = x
; then
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23794 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23798 $as_echo "no" >&6; }
23799 if test "$PKG_CONFIG" = "no" ; then
23800 echo "*** A new enough version of pkg-config was not found."
23801 echo "*** See http://pkgconfig.sourceforge.net"
23803 if test -f conf.gtktest
; then
23806 echo "*** Could not run GTK+ test program, checking why..."
23807 ac_save_CFLAGS
="$CFLAGS"
23808 ac_save_LIBS
="$LIBS"
23809 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23810 LIBS
="$LIBS $GTK_LIBS"
23811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23814 #include <gtk/gtk.h>
23820 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23825 if ac_fn_c_try_link
"$LINENO"; then :
23826 echo "*** The test program compiled, but did not run. This usually means"
23827 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23828 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23829 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23830 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23831 echo "*** is required on your system"
23833 echo "*** If you have an old version installed, it is best to remove it, although"
23834 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23836 echo "*** The test program failed to compile or link. See the file config.log for the"
23837 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23839 rm -f core conftest.err conftest.
$ac_objext \
23840 conftest
$ac_exeext conftest.
$ac_ext
23841 CFLAGS
="$ac_save_CFLAGS"
23842 LIBS
="$ac_save_LIBS"
23857 if test -z "$wx_cv_lib_gtk"; then
23858 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23860 # Check whether --with-gtk-prefix was given.
23861 if test "${with_gtk_prefix+set}" = set; then :
23862 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23864 gtk_config_prefix
=""
23868 # Check whether --with-gtk-exec-prefix was given.
23869 if test "${with_gtk_exec_prefix+set}" = set; then :
23870 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23872 gtk_config_exec_prefix
=""
23875 # Check whether --enable-gtktest was given.
23876 if test "${enable_gtktest+set}" = set; then :
23877 enableval
=$enable_gtktest;
23883 for module
in .
$GTK_MODULES
23887 gtk_config_args
="$gtk_config_args gthread"
23892 if test x
$gtk_config_exec_prefix != x
; then
23893 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23894 if test x
${GTK_CONFIG+set} != xset
; then
23895 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23898 if test x
$gtk_config_prefix != x
; then
23899 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23900 if test x
${GTK_CONFIG+set} != xset
; then
23901 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23905 # Extract the first word of "gtk-config", so it can be a program name with args.
23906 set dummy gtk
-config; ac_word
=$2
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23908 $as_echo_n "checking for $ac_word... " >&6; }
23909 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23910 $as_echo_n "(cached) " >&6
23912 case $GTK_CONFIG in
23914 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23918 for as_dir
in $PATH
23921 test -z "$as_dir" && as_dir
=.
23922 for ac_exec_ext
in '' $ac_executable_extensions; do
23923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23924 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23932 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23936 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23937 if test -n "$GTK_CONFIG"; then
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23939 $as_echo "$GTK_CONFIG" >&6; }
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23942 $as_echo "no" >&6; }
23946 min_gtk_version
=1.2.7
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23948 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23950 if test "$GTK_CONFIG" = "no" ; then
23953 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23954 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23955 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23957 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23959 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23961 if test "x$enable_gtktest" = "xyes" ; then
23962 ac_save_CFLAGS
="$CFLAGS"
23963 ac_save_LIBS
="$LIBS"
23964 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23965 LIBS
="$GTK_LIBS $LIBS"
23967 if test "$cross_compiling" = yes; then :
23968 echo $ac_n "cross compiling; assumed OK... $ac_c"
23970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23971 /* end confdefs.h. */
23973 #include <gtk/gtk.h>
23975 #include <stdlib.h>
23980 int major, minor, micro;
23983 system ("touch conf.gtktest");
23985 /* HP/UX 9 (%@#!) writes to sscanf strings */
23986 tmp_version = g_strdup("$min_gtk_version");
23987 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23988 printf("%s, bad version string\n", "$min_gtk_version");
23992 if ((gtk_major_version != $gtk_config_major_version) ||
23993 (gtk_minor_version != $gtk_config_minor_version) ||
23994 (gtk_micro_version != $gtk_config_micro_version))
23996 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23997 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23998 gtk_major_version, gtk_minor_version, gtk_micro_version);
23999 printf ("*** was found! If gtk-config was correct, then it is best\n");
24000 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24001 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24002 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24003 printf("*** required on your system.\n");
24004 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24005 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24006 printf("*** before re-running configure\n");
24008 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24009 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24010 (gtk_minor_version != GTK_MINOR_VERSION) ||
24011 (gtk_micro_version != GTK_MICRO_VERSION))
24013 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24014 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24015 printf("*** library (version %d.%d.%d)\n",
24016 gtk_major_version, gtk_minor_version, gtk_micro_version);
24018 #endif /* defined (GTK_MAJOR_VERSION) ... */
24021 if ((gtk_major_version > major) ||
24022 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24023 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24029 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24030 gtk_major_version, gtk_minor_version, gtk_micro_version);
24031 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24032 major, minor, micro);
24033 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24035 printf("*** If you have already installed a sufficiently new version, this error\n");
24036 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24037 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24038 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24039 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24040 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24041 printf("*** so that the correct libraries are found at run-time))\n");
24048 if ac_fn_c_try_run
"$LINENO"; then :
24053 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24054 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24057 CFLAGS
="$ac_save_CFLAGS"
24058 LIBS
="$ac_save_LIBS"
24061 if test "x$no_gtk" = x
; then
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24063 $as_echo "yes" >&6; }
24064 wx_cv_lib_gtk
=1.2.7
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24067 $as_echo "no" >&6; }
24068 if test "$GTK_CONFIG" = "no" ; then
24069 echo "*** The gtk-config script installed by GTK could not be found"
24070 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24071 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24072 echo "*** full path to gtk-config."
24074 if test -f conf.gtktest
; then
24077 echo "*** Could not run GTK test program, checking why..."
24078 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24079 LIBS
="$LIBS $GTK_LIBS"
24080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24083 #include <gtk/gtk.h>
24089 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24094 if ac_fn_c_try_link
"$LINENO"; then :
24095 echo "*** The test program compiled, but did not run. This usually means"
24096 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24097 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24098 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24099 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24100 echo "*** is required on your system"
24102 echo "*** If you have an old version installed, it is best to remove it, although"
24103 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24105 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24106 echo "*** came with the system with the command"
24108 echo "*** rpm --erase --nodeps gtk gtk-devel"
24110 echo "*** The test program failed to compile or link. See the file config.log for the"
24111 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24112 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24113 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24115 rm -f core conftest.err conftest.
$ac_objext \
24116 conftest
$ac_exeext conftest.
$ac_ext
24117 CFLAGS
="$ac_save_CFLAGS"
24118 LIBS
="$ac_save_LIBS"
24130 if test -z "$wx_cv_lib_gtk"; then
24132 # Check whether --with-gtk-prefix was given.
24133 if test "${with_gtk_prefix+set}" = set; then :
24134 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24136 gtk_config_prefix
=""
24140 # Check whether --with-gtk-exec-prefix was given.
24141 if test "${with_gtk_exec_prefix+set}" = set; then :
24142 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24144 gtk_config_exec_prefix
=""
24147 # Check whether --enable-gtktest was given.
24148 if test "${enable_gtktest+set}" = set; then :
24149 enableval
=$enable_gtktest;
24155 for module
in .
$GTK_MODULES
24159 gtk_config_args
="$gtk_config_args gthread"
24164 if test x
$gtk_config_exec_prefix != x
; then
24165 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24166 if test x
${GTK_CONFIG+set} != xset
; then
24167 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24170 if test x
$gtk_config_prefix != x
; then
24171 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24172 if test x
${GTK_CONFIG+set} != xset
; then
24173 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24177 # Extract the first word of "gtk-config", so it can be a program name with args.
24178 set dummy gtk
-config; ac_word
=$2
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24180 $as_echo_n "checking for $ac_word... " >&6; }
24181 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24182 $as_echo_n "(cached) " >&6
24184 case $GTK_CONFIG in
24186 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24190 for as_dir
in $PATH
24193 test -z "$as_dir" && as_dir
=.
24194 for ac_exec_ext
in '' $ac_executable_extensions; do
24195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24196 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24204 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24208 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24209 if test -n "$GTK_CONFIG"; then
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24211 $as_echo "$GTK_CONFIG" >&6; }
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24214 $as_echo "no" >&6; }
24218 min_gtk_version
=1.2.3
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24220 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24222 if test "$GTK_CONFIG" = "no" ; then
24225 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24226 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24227 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24229 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24231 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24233 if test "x$enable_gtktest" = "xyes" ; then
24234 ac_save_CFLAGS
="$CFLAGS"
24235 ac_save_LIBS
="$LIBS"
24236 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24237 LIBS
="$GTK_LIBS $LIBS"
24239 if test "$cross_compiling" = yes; then :
24240 echo $ac_n "cross compiling; assumed OK... $ac_c"
24242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24243 /* end confdefs.h. */
24245 #include <gtk/gtk.h>
24247 #include <stdlib.h>
24252 int major, minor, micro;
24255 system ("touch conf.gtktest");
24257 /* HP/UX 9 (%@#!) writes to sscanf strings */
24258 tmp_version = g_strdup("$min_gtk_version");
24259 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24260 printf("%s, bad version string\n", "$min_gtk_version");
24264 if ((gtk_major_version != $gtk_config_major_version) ||
24265 (gtk_minor_version != $gtk_config_minor_version) ||
24266 (gtk_micro_version != $gtk_config_micro_version))
24268 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24269 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24271 printf ("*** was found! If gtk-config was correct, then it is best\n");
24272 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24273 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24274 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24275 printf("*** required on your system.\n");
24276 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24277 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24278 printf("*** before re-running configure\n");
24280 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24281 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24282 (gtk_minor_version != GTK_MINOR_VERSION) ||
24283 (gtk_micro_version != GTK_MICRO_VERSION))
24285 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24286 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24287 printf("*** library (version %d.%d.%d)\n",
24288 gtk_major_version, gtk_minor_version, gtk_micro_version);
24290 #endif /* defined (GTK_MAJOR_VERSION) ... */
24293 if ((gtk_major_version > major) ||
24294 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24295 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24301 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24302 gtk_major_version, gtk_minor_version, gtk_micro_version);
24303 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24304 major, minor, micro);
24305 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24307 printf("*** If you have already installed a sufficiently new version, this error\n");
24308 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24309 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24310 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24311 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24312 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24313 printf("*** so that the correct libraries are found at run-time))\n");
24320 if ac_fn_c_try_run
"$LINENO"; then :
24325 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24326 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24329 CFLAGS
="$ac_save_CFLAGS"
24330 LIBS
="$ac_save_LIBS"
24333 if test "x$no_gtk" = x
; then
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24335 $as_echo "yes" >&6; }
24336 wx_cv_lib_gtk
=1.2.3
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24339 $as_echo "no" >&6; }
24340 if test "$GTK_CONFIG" = "no" ; then
24341 echo "*** The gtk-config script installed by GTK could not be found"
24342 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24343 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24344 echo "*** full path to gtk-config."
24346 if test -f conf.gtktest
; then
24349 echo "*** Could not run GTK test program, checking why..."
24350 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24351 LIBS
="$LIBS $GTK_LIBS"
24352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24353 /* end confdefs.h. */
24355 #include <gtk/gtk.h>
24361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24366 if ac_fn_c_try_link
"$LINENO"; then :
24367 echo "*** The test program compiled, but did not run. This usually means"
24368 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24369 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24372 echo "*** is required on your system"
24374 echo "*** If you have an old version installed, it is best to remove it, although"
24375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24377 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24378 echo "*** came with the system with the command"
24380 echo "*** rpm --erase --nodeps gtk gtk-devel"
24382 echo "*** The test program failed to compile or link. See the file config.log for the"
24383 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24384 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24385 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24387 rm -f core conftest.err conftest.
$ac_objext \
24388 conftest
$ac_exeext conftest.
$ac_ext
24389 CFLAGS
="$ac_save_CFLAGS"
24390 LIBS
="$ac_save_LIBS"
24405 if test -z "$wx_cv_lib_gtk"; then
24408 GTK_LIBS
="$GTK_LIBS -lX11"
24410 wx_cv_cflags_gtk
=$GTK_CFLAGS
24411 wx_cv_libs_gtk
=$GTK_LIBS
24418 if test "$gtk_version_cached" = 1; then
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24420 $as_echo "$wx_cv_lib_gtk" >&6; }
24423 case "$wx_cv_lib_gtk" in
24434 *) as_fn_error $?
"
24435 The development files for GTK+ were not found. For GTK+ 2, please
24436 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24437 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24438 and that the version is 1.2.3 or above. Also check that the
24439 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24440 --libs' are in the LD_LIBRARY_PATH or equivalent.
24445 if test "$WXGTK3" = 1; then
24446 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24448 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24450 elif test "$WXGTK2" = 1; then
24451 save_CFLAGS
="$CFLAGS"
24453 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24454 LIBS
="$LIBS $wx_cv_libs_gtk"
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24457 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24461 #include <gtk/gtk.h>
24467 #if !GTK_CHECK_VERSION(2,18,0)
24475 if ac_fn_c_try_compile
"$LINENO"; then :
24477 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24479 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24482 $as_echo "yes" >&6; }
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24488 $as_echo "no" >&6; }
24492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24494 if test "$ac_wxgtk218" = 0; then
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24496 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24498 /* end confdefs.h. */
24500 #include <gtk/gtk.h>
24506 #if !GTK_CHECK_VERSION(2,10,0)
24514 if ac_fn_c_try_compile
"$LINENO"; then :
24516 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24519 $as_echo "yes" >&6; }
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24525 $as_echo "no" >&6; }
24529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24532 CFLAGS
="$save_CFLAGS"
24535 if test "$wxUSE_UNICODE" = "yes"; then
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24537 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24542 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24543 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24544 $as_echo_n "(cached) " >&6
24546 ac_check_lib_save_LIBS
=$LIBS
24548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24551 /* Override any GCC internal prototype to avoid an error.
24552 Use char because int might match the return type of a GCC
24553 builtin and then its argument prototype would still apply. */
24557 char gdk_im_open ();
24561 return gdk_im_open ();
24566 if ac_fn_c_try_link
"$LINENO"; then :
24567 ac_cv_lib_gdk_gdk_im_open
=yes
24569 ac_cv_lib_gdk_gdk_im_open
=no
24571 rm -f core conftest.err conftest.
$ac_objext \
24572 conftest
$ac_exeext conftest.
$ac_ext
24573 LIBS
=$ac_check_lib_save_LIBS
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24576 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24577 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24578 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24583 if test "$USE_DARWIN" != 1; then
24584 for ac_func
in poll
24586 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24587 if test "x$ac_cv_func_poll" = xyes
; then :
24588 cat >>confdefs.h
<<_ACEOF
24589 #define HAVE_POLL 1
24598 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24599 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24603 if test "$wxUSE_GPE" = "yes"; then
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24605 $as_echo_n "checking for gpewidget library... " >&6; }
24608 for ac_dir
in $SEARCH_LIB
24610 for ac_extension
in a so sl dylib dll.a
; do
24611 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24612 ac_find_libraries
=$ac_dir
24618 if test "$ac_find_libraries" != "" ; then
24620 if test "$ac_find_libraries" = "default location"; then
24623 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24625 if test $result = 0; then
24628 ac_path_to_link
=" -L$ac_find_libraries"
24632 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24635 $as_echo "found in $ac_find_libraries" >&6; }
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24638 $as_echo "not found" >&6; }
24644 if test "$wxUSE_DFB" = 1; then
24647 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24648 if test -n "$ac_tool_prefix"; then
24649 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24650 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24652 $as_echo_n "checking for $ac_word... " >&6; }
24653 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24654 $as_echo_n "(cached) " >&6
24656 case $PKG_CONFIG in
24658 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24662 for as_dir
in $PATH
24665 test -z "$as_dir" && as_dir
=.
24666 for ac_exec_ext
in '' $ac_executable_extensions; do
24667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24668 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24679 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24680 if test -n "$PKG_CONFIG"; then
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24682 $as_echo "$PKG_CONFIG" >&6; }
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24685 $as_echo "no" >&6; }
24690 if test -z "$ac_cv_path_PKG_CONFIG"; then
24691 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24692 # Extract the first word of "pkg-config", so it can be a program name with args.
24693 set dummy pkg
-config; ac_word
=$2
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24695 $as_echo_n "checking for $ac_word... " >&6; }
24696 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24697 $as_echo_n "(cached) " >&6
24699 case $ac_pt_PKG_CONFIG in
24701 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24705 for as_dir
in $PATH
24708 test -z "$as_dir" && as_dir
=.
24709 for ac_exec_ext
in '' $ac_executable_extensions; do
24710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24711 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24722 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24723 if test -n "$ac_pt_PKG_CONFIG"; then
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24725 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24728 $as_echo "no" >&6; }
24731 if test "x$ac_pt_PKG_CONFIG" = x
; then
24734 case $cross_compiling:$ac_tool_warned in
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24738 ac_tool_warned
=yes ;;
24740 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24743 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24747 if test -n "$PKG_CONFIG"; then
24748 _pkg_min_version
=0.9.0
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24750 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24751 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24753 $as_echo "yes" >&6; }
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24756 $as_echo "no" >&6; }
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24765 $as_echo_n "checking for DIRECTFB... " >&6; }
24767 if test -n "$PKG_CONFIG"; then
24768 if test -n "$DIRECTFB_CFLAGS"; then
24769 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24771 if test -n "$PKG_CONFIG" && \
24772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24773 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24776 test $ac_status = 0; }; then
24777 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24785 if test -n "$PKG_CONFIG"; then
24786 if test -n "$DIRECTFB_LIBS"; then
24787 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24789 if test -n "$PKG_CONFIG" && \
24790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24791 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24794 test $ac_status = 0; }; then
24795 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24806 if test $pkg_failed = yes; then
24808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24809 _pkg_short_errors_supported
=yes
24811 _pkg_short_errors_supported
=no
24813 if test $_pkg_short_errors_supported = yes; then
24814 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24816 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24818 # Put the nasty error message in config.log where it belongs
24819 echo "$DIRECTFB_PKG_ERRORS" >&5
24822 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24825 elif test $pkg_failed = untried
; then
24827 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24831 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24832 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24834 $as_echo "yes" >&6; }
24836 wxUSE_UNIVERSAL
="yes"
24837 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24838 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24845 if test "$wxUSE_MICROWIN" = 1; then
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24847 $as_echo_n "checking for MicroWindows... " >&6; }
24848 if test "x$MICROWINDOWS" = x
; then
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24850 $as_echo "not found" >&6; }
24851 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24854 $as_echo "$MICROWINDOWS" >&6; }
24857 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24859 $as_echo "MicroWindows' libraries found." >&6; }
24861 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24864 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24865 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24867 wxUSE_UNIVERSAL
="yes"
24870 GUIDIST
=MICROWIN_DIST
24872 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24875 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24877 $as_echo_n "checking for X... " >&6; }
24880 # Check whether --with-x was given.
24881 if test "${with_x+set}" = set; then :
24885 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24886 if test "x$with_x" = xno
; then
24887 # The user explicitly disabled X.
24890 case $x_includes,$x_libraries in #(
24891 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24892 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24893 $as_echo_n "(cached) " >&6
24895 # One or both of the vars are not set, and there is no cached value.
24896 ac_x_includes
=no ac_x_libraries
=no
24897 rm -f -r conftest.dir
24898 if mkdir conftest.dir
; then
24900 cat >Imakefile
<<'_ACEOF'
24902 @echo incroot='${INCROOT}'
24904 @echo usrlibdir='${USRLIBDIR}'
24906 @echo libdir='${LIBDIR}'
24908 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24909 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24910 for ac_var
in incroot usrlibdir libdir
; do
24911 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24913 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24914 for ac_extension
in a so sl dylib la dll
; do
24915 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24916 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24917 ac_im_usrlibdir
=$ac_im_libdir; break
24920 # Screen out bogus values from the imake configuration. They are
24921 # bogus both because they are the default anyway, and because
24922 # using them would break gcc on systems where it needs fixed includes.
24923 case $ac_im_incroot in
24924 /usr
/include
) ac_x_includes
= ;;
24925 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24927 case $ac_im_usrlibdir in
24928 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24929 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24933 rm -f -r conftest.dir
24936 # Standard set of common directories for X headers.
24937 # Check X11 before X11Rn because it is often a symlink to the current release.
24951 /usr/local/X11/include
24952 /usr/local/X11R7/include
24953 /usr/local/X11R6/include
24954 /usr/local/X11R5/include
24955 /usr/local/X11R4/include
24957 /usr/local/include/X11
24958 /usr/local/include/X11R7
24959 /usr/local/include/X11R6
24960 /usr/local/include/X11R5
24961 /usr/local/include/X11R4
24965 /usr/XFree86/include/X11
24969 /usr/unsupported/include
24970 /usr/athena/include
24971 /usr/local/x11r5/include
24972 /usr/lpp/Xamples/include
24974 /usr/openwin/include
24975 /usr/openwin/share/include'
24977 if test "$ac_x_includes" = no
; then
24978 # Guess where to find include files, by looking for Xlib.h.
24979 # First, try using that file with no special directory specified.
24980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24982 #include <X11/Xlib.h>
24984 if ac_fn_c_try_cpp
"$LINENO"; then :
24985 # We can compile using X headers with no special include directory.
24988 for ac_dir
in $ac_x_header_dirs; do
24989 if test -r "$ac_dir/X11/Xlib.h"; then
24990 ac_x_includes
=$ac_dir
24995 rm -f conftest.err conftest.i conftest.
$ac_ext
24996 fi # $ac_x_includes = no
24998 if test "$ac_x_libraries" = no
; then
24999 # Check for the libraries.
25000 # See if we find them without any special options.
25001 # Don't add to $LIBS permanently.
25004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <X11/Xlib.h>
25015 if ac_fn_c_try_link
"$LINENO"; then :
25017 # We can link X programs with no special library path.
25021 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25023 # Don't even attempt the hair of trying to link an X program!
25024 for ac_extension
in a so sl dylib la dll
; do
25025 if test -r "$ac_dir/libX11.$ac_extension"; then
25026 ac_x_libraries
=$ac_dir
25032 rm -f core conftest.err conftest.
$ac_objext \
25033 conftest
$ac_exeext conftest.
$ac_ext
25034 fi # $ac_x_libraries = no
25036 case $ac_x_includes,$ac_x_libraries in #(
25037 no
,* | *,no
| *\'*)
25038 # Didn't find X, or a directory has "'" in its name.
25039 ac_cv_have_x
="have_x=no";; #(
25041 # Record where we found X for the cache.
25042 ac_cv_have_x
="have_x=yes\
25043 ac_x_includes='$ac_x_includes'\
25044 ac_x_libraries='$ac_x_libraries'"
25050 eval "$ac_cv_have_x"
25053 if test "$have_x" != yes; then
25054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25055 $as_echo "$have_x" >&6; }
25058 # If each of the values was on the command line, it overrides each guess.
25059 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25060 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25061 # Update the cache value to reflect the command line values.
25062 ac_cv_have_x
="have_x=yes\
25063 ac_x_includes='$x_includes'\
25064 ac_x_libraries='$x_libraries'"
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25066 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25069 if test "$no_x" = yes; then
25070 # Not all programs may use this symbol, but it does not hurt to define it.
25072 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25074 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25076 if test -n "$x_includes"; then
25077 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25080 # It would also be nice to do this for all -L options, not just this one.
25081 if test -n "$x_libraries"; then
25082 X_LIBS
="$X_LIBS -L$x_libraries"
25083 # For Solaris; some versions of Sun CC require a space after -R and
25084 # others require no space. Words are not sufficient . . . .
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25086 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25087 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25088 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25089 ac_c_werror_flag
=yes
25090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h. */
25101 if ac_fn_c_try_link
"$LINENO"; then :
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25103 $as_echo "no" >&6; }
25104 X_LIBS
="$X_LIBS -R$x_libraries"
25106 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25108 /* end confdefs.h. */
25118 if ac_fn_c_try_link
"$LINENO"; then :
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25120 $as_echo "yes" >&6; }
25121 X_LIBS
="$X_LIBS -R $x_libraries"
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25124 $as_echo "neither works" >&6; }
25126 rm -f core conftest.err conftest.
$ac_objext \
25127 conftest
$ac_exeext conftest.
$ac_ext
25129 rm -f core conftest.err conftest.
$ac_objext \
25130 conftest
$ac_exeext conftest.
$ac_ext
25131 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25132 LIBS
=$ac_xsave_LIBS
25135 # Check for system-dependent libraries X programs must link with.
25136 # Do this before checking for the system-independent R6 libraries
25137 # (-lICE), since we may need -lsocket or whatever for X linking.
25139 if test "$ISC" = yes; then
25140 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25142 # Martyn Johnson says this is needed for Ultrix, if the X
25143 # libraries were built with DECnet support. And Karl Berry says
25144 # the Alpha needs dnet_stub (dnet does not exist).
25145 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25147 /* end confdefs.h. */
25149 /* Override any GCC internal prototype to avoid an error.
25150 Use char because int might match the return type of a GCC
25151 builtin and then its argument prototype would still apply. */
25155 char XOpenDisplay ();
25159 return XOpenDisplay ();
25164 if ac_fn_c_try_link
"$LINENO"; then :
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25168 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25169 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25170 $as_echo_n "(cached) " >&6
25172 ac_check_lib_save_LIBS
=$LIBS
25173 LIBS
="-ldnet $LIBS"
25174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25177 /* Override any GCC internal prototype to avoid an error.
25178 Use char because int might match the return type of a GCC
25179 builtin and then its argument prototype would still apply. */
25187 return dnet_ntoa ();
25192 if ac_fn_c_try_link
"$LINENO"; then :
25193 ac_cv_lib_dnet_dnet_ntoa
=yes
25195 ac_cv_lib_dnet_dnet_ntoa
=no
25197 rm -f core conftest.err conftest.
$ac_objext \
25198 conftest
$ac_exeext conftest.
$ac_ext
25199 LIBS
=$ac_check_lib_save_LIBS
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25202 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25203 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25207 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25209 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25210 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25211 $as_echo_n "(cached) " >&6
25213 ac_check_lib_save_LIBS
=$LIBS
25214 LIBS
="-ldnet_stub $LIBS"
25215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25218 /* Override any GCC internal prototype to avoid an error.
25219 Use char because int might match the return type of a GCC
25220 builtin and then its argument prototype would still apply. */
25228 return dnet_ntoa ();
25233 if ac_fn_c_try_link
"$LINENO"; then :
25234 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25236 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25238 rm -f core conftest.err conftest.
$ac_objext \
25239 conftest
$ac_exeext conftest.
$ac_ext
25240 LIBS
=$ac_check_lib_save_LIBS
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25243 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25244 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25250 rm -f core conftest.err conftest.
$ac_objext \
25251 conftest
$ac_exeext conftest.
$ac_ext
25252 LIBS
="$ac_xsave_LIBS"
25254 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25255 # to get the SysV transport functions.
25256 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25258 # The nsl library prevents programs from opening the X display
25259 # on Irix 5.2, according to T.E. Dickey.
25260 # The functions gethostbyname, getservbyname, and inet_addr are
25261 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25262 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25263 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25267 if test $ac_cv_func_gethostbyname = no
; then
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25269 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25270 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25271 $as_echo_n "(cached) " >&6
25273 ac_check_lib_save_LIBS
=$LIBS
25275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25276 /* end confdefs.h. */
25278 /* Override any GCC internal prototype to avoid an error.
25279 Use char because int might match the return type of a GCC
25280 builtin and then its argument prototype would still apply. */
25284 char gethostbyname ();
25288 return gethostbyname ();
25293 if ac_fn_c_try_link
"$LINENO"; then :
25294 ac_cv_lib_nsl_gethostbyname
=yes
25296 ac_cv_lib_nsl_gethostbyname
=no
25298 rm -f core conftest.err conftest.
$ac_objext \
25299 conftest
$ac_exeext conftest.
$ac_ext
25300 LIBS
=$ac_check_lib_save_LIBS
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25303 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25304 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25305 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25308 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25310 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25311 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25312 $as_echo_n "(cached) " >&6
25314 ac_check_lib_save_LIBS
=$LIBS
25316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25319 /* Override any GCC internal prototype to avoid an error.
25320 Use char because int might match the return type of a GCC
25321 builtin and then its argument prototype would still apply. */
25325 char gethostbyname ();
25329 return gethostbyname ();
25334 if ac_fn_c_try_link
"$LINENO"; then :
25335 ac_cv_lib_bsd_gethostbyname
=yes
25337 ac_cv_lib_bsd_gethostbyname
=no
25339 rm -f core conftest.err conftest.
$ac_objext \
25340 conftest
$ac_exeext conftest.
$ac_ext
25341 LIBS
=$ac_check_lib_save_LIBS
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25344 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25345 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25346 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25352 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25353 # socket/setsockopt and other routines are undefined under SCO ODT
25354 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25355 # on later versions), says Simon Leinen: it contains gethostby*
25356 # variants that don't use the name server (or something). -lsocket
25357 # must be given before -lnsl if both are needed. We assume that
25358 # if connect needs -lnsl, so does gethostbyname.
25359 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25360 if test "x$ac_cv_func_connect" = xyes
; then :
25364 if test $ac_cv_func_connect = no
; then
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25366 $as_echo_n "checking for connect in -lsocket... " >&6; }
25367 if ${ac_cv_lib_socket_connect+:} false
; then :
25368 $as_echo_n "(cached) " >&6
25370 ac_check_lib_save_LIBS
=$LIBS
25371 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25375 /* Override any GCC internal prototype to avoid an error.
25376 Use char because int might match the return type of a GCC
25377 builtin and then its argument prototype would still apply. */
25390 if ac_fn_c_try_link
"$LINENO"; then :
25391 ac_cv_lib_socket_connect
=yes
25393 ac_cv_lib_socket_connect
=no
25395 rm -f core conftest.err conftest.
$ac_objext \
25396 conftest
$ac_exeext conftest.
$ac_ext
25397 LIBS
=$ac_check_lib_save_LIBS
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25400 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25401 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25402 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25407 # Guillermo Gomez says -lposix is necessary on A/UX.
25408 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25409 if test "x$ac_cv_func_remove" = xyes
; then :
25413 if test $ac_cv_func_remove = no
; then
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25415 $as_echo_n "checking for remove in -lposix... " >&6; }
25416 if ${ac_cv_lib_posix_remove+:} false
; then :
25417 $as_echo_n "(cached) " >&6
25419 ac_check_lib_save_LIBS
=$LIBS
25420 LIBS
="-lposix $LIBS"
25421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25424 /* Override any GCC internal prototype to avoid an error.
25425 Use char because int might match the return type of a GCC
25426 builtin and then its argument prototype would still apply. */
25439 if ac_fn_c_try_link
"$LINENO"; then :
25440 ac_cv_lib_posix_remove
=yes
25442 ac_cv_lib_posix_remove
=no
25444 rm -f core conftest.err conftest.
$ac_objext \
25445 conftest
$ac_exeext conftest.
$ac_ext
25446 LIBS
=$ac_check_lib_save_LIBS
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25449 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25450 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25451 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25456 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25457 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25458 if test "x$ac_cv_func_shmat" = xyes
; then :
25462 if test $ac_cv_func_shmat = no
; then
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25464 $as_echo_n "checking for shmat in -lipc... " >&6; }
25465 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25466 $as_echo_n "(cached) " >&6
25468 ac_check_lib_save_LIBS
=$LIBS
25470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h. */
25473 /* Override any GCC internal prototype to avoid an error.
25474 Use char because int might match the return type of a GCC
25475 builtin and then its argument prototype would still apply. */
25488 if ac_fn_c_try_link
"$LINENO"; then :
25489 ac_cv_lib_ipc_shmat
=yes
25491 ac_cv_lib_ipc_shmat
=no
25493 rm -f core conftest.err conftest.
$ac_objext \
25494 conftest
$ac_exeext conftest.
$ac_ext
25495 LIBS
=$ac_check_lib_save_LIBS
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25498 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25499 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25500 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25506 # Check for libraries that X11R6 Xt/Xaw programs need.
25507 ac_save_LDFLAGS
=$LDFLAGS
25508 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25509 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25510 # check for ICE first), but we must link in the order -lSM -lICE or
25511 # we get undefined symbols. So assume we have SM if we have ICE.
25512 # These have to be linked with before -lX11, unlike the other
25513 # libraries we check for below, so use a different variable.
25514 # John Interrante, Karl Berry
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25516 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25517 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25518 $as_echo_n "(cached) " >&6
25520 ac_check_lib_save_LIBS
=$LIBS
25521 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25525 /* Override any GCC internal prototype to avoid an error.
25526 Use char because int might match the return type of a GCC
25527 builtin and then its argument prototype would still apply. */
25531 char IceConnectionNumber ();
25535 return IceConnectionNumber ();
25540 if ac_fn_c_try_link
"$LINENO"; then :
25541 ac_cv_lib_ICE_IceConnectionNumber
=yes
25543 ac_cv_lib_ICE_IceConnectionNumber
=no
25545 rm -f core conftest.err conftest.
$ac_objext \
25546 conftest
$ac_exeext conftest.
$ac_ext
25547 LIBS
=$ac_check_lib_save_LIBS
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25550 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25551 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25552 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25555 LDFLAGS
=$ac_save_LDFLAGS
25560 if test "$no_x" = "yes"; then
25561 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25564 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25565 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25566 COMPILED_X_PROGRAM
=0
25570 if test "$wxUSE_X11" = 1; then
25571 if test "$wxUSE_NANOX" = "yes"; then
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25573 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25574 if test "x$MICROWIN" = x
; then
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25576 $as_echo "not found" >&6; }
25577 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25580 $as_echo "$MICROWIN" >&6; }
25581 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25586 if test "$wxUSE_UNICODE" = "yes"; then
25589 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25590 if test -n "$ac_tool_prefix"; then
25591 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25592 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25594 $as_echo_n "checking for $ac_word... " >&6; }
25595 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25596 $as_echo_n "(cached) " >&6
25598 case $PKG_CONFIG in
25600 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25604 for as_dir
in $PATH
25607 test -z "$as_dir" && as_dir
=.
25608 for ac_exec_ext
in '' $ac_executable_extensions; do
25609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25610 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25621 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25622 if test -n "$PKG_CONFIG"; then
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25624 $as_echo "$PKG_CONFIG" >&6; }
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25627 $as_echo "no" >&6; }
25632 if test -z "$ac_cv_path_PKG_CONFIG"; then
25633 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25634 # Extract the first word of "pkg-config", so it can be a program name with args.
25635 set dummy pkg
-config; ac_word
=$2
25636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25637 $as_echo_n "checking for $ac_word... " >&6; }
25638 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25639 $as_echo_n "(cached) " >&6
25641 case $ac_pt_PKG_CONFIG in
25643 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25647 for as_dir
in $PATH
25650 test -z "$as_dir" && as_dir
=.
25651 for ac_exec_ext
in '' $ac_executable_extensions; do
25652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25653 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25664 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25665 if test -n "$ac_pt_PKG_CONFIG"; then
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25667 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25670 $as_echo "no" >&6; }
25673 if test "x$ac_pt_PKG_CONFIG" = x
; then
25676 case $cross_compiling:$ac_tool_warned in
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25680 ac_tool_warned
=yes ;;
25682 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25685 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25689 if test -n "$PKG_CONFIG"; then
25690 _pkg_min_version
=0.9.0
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25692 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25693 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25695 $as_echo "yes" >&6; }
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25698 $as_echo "no" >&6; }
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25707 $as_echo_n "checking for PANGOX... " >&6; }
25709 if test -n "$PKG_CONFIG"; then
25710 if test -n "$PANGOX_CFLAGS"; then
25711 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25713 if test -n "$PKG_CONFIG" && \
25714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25715 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25718 test $ac_status = 0; }; then
25719 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25727 if test -n "$PKG_CONFIG"; then
25728 if test -n "$PANGOX_LIBS"; then
25729 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25731 if test -n "$PKG_CONFIG" && \
25732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25733 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25736 test $ac_status = 0; }; then
25737 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25748 if test $pkg_failed = yes; then
25750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25751 _pkg_short_errors_supported
=yes
25753 _pkg_short_errors_supported
=no
25755 if test $_pkg_short_errors_supported = yes; then
25756 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25758 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25760 # Put the nasty error message in config.log where it belongs
25761 echo "$PANGOX_PKG_ERRORS" >&5
25764 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25767 elif test $pkg_failed = untried
; then
25769 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25773 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25774 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25776 $as_echo "yes" >&6; }
25778 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25779 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25780 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25786 $as_echo_n "checking for PANGOFT2... " >&6; }
25788 if test -n "$PKG_CONFIG"; then
25789 if test -n "$PANGOFT2_CFLAGS"; then
25790 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25792 if test -n "$PKG_CONFIG" && \
25793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25794 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25797 test $ac_status = 0; }; then
25798 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25806 if test -n "$PKG_CONFIG"; then
25807 if test -n "$PANGOFT2_LIBS"; then
25808 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25810 if test -n "$PKG_CONFIG" && \
25811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25812 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25815 test $ac_status = 0; }; then
25816 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25827 if test $pkg_failed = yes; then
25829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25830 _pkg_short_errors_supported
=yes
25832 _pkg_short_errors_supported
=no
25834 if test $_pkg_short_errors_supported = yes; then
25835 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25837 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25839 # Put the nasty error message in config.log where it belongs
25840 echo "$PANGOFT2_PKG_ERRORS" >&5
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25844 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25845 wxUSE_PRINTING_ARCHITECTURE
="no"
25848 elif test $pkg_failed = untried
; then
25850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25851 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25852 wxUSE_PRINTING_ARCHITECTURE
="no"
25856 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25857 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25859 $as_echo "yes" >&6; }
25861 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25862 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25869 $as_echo_n "checking for PANGOXFT... " >&6; }
25871 if test -n "$PKG_CONFIG"; then
25872 if test -n "$PANGOXFT_CFLAGS"; then
25873 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25875 if test -n "$PKG_CONFIG" && \
25876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25877 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25880 test $ac_status = 0; }; then
25881 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25889 if test -n "$PKG_CONFIG"; then
25890 if test -n "$PANGOXFT_LIBS"; then
25891 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25893 if test -n "$PKG_CONFIG" && \
25894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25895 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25898 test $ac_status = 0; }; then
25899 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25910 if test $pkg_failed = yes; then
25912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25913 _pkg_short_errors_supported
=yes
25915 _pkg_short_errors_supported
=no
25917 if test $_pkg_short_errors_supported = yes; then
25918 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25920 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25922 # Put the nasty error message in config.log where it belongs
25923 echo "$PANGOXFT_PKG_ERRORS" >&5
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25927 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25930 elif test $pkg_failed = untried
; then
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25933 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25937 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25938 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25940 $as_echo "yes" >&6; }
25942 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25944 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25945 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25946 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25950 LIBS
="$LIBS $PANGOX_LIBS"
25951 for ac_func
in pango_font_family_is_monospace
25953 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25954 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25955 cat >>confdefs.h
<<_ACEOF
25956 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25965 wxUSE_UNIVERSAL
="yes"
25967 if test "$wxUSE_NANOX" = "yes"; then
25968 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25969 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"
25970 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25972 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25979 if test "$wxUSE_MOTIF" = 1; then
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25981 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25984 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25986 if test -f "$ac_dir/Xm/Xm.h"; then
25987 ac_find_includes
=$ac_dir
25992 if test "$ac_find_includes" != "" ; then
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25994 $as_echo "found in $ac_find_includes" >&6; }
25996 if test "x$ac_find_includes" = "x/usr/include"; then
25997 ac_path_to_include
=""
25999 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26001 if test $result = 0; then
26002 ac_path_to_include
=""
26004 ac_path_to_include
=" -I$ac_find_includes"
26008 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26010 save_CFLAGS
=$CFLAGS
26011 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26014 /* end confdefs.h. */
26023 version = xmUseVersion;
26029 if ac_fn_c_try_compile
"$LINENO"; then :
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26032 $as_echo "found in default search path" >&6; }
26033 COMPILED_X_PROGRAM
=1
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26038 $as_echo "no" >&6; }
26039 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26045 CFLAGS
=$save_CFLAGS
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26050 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26053 for ac_dir
in $SEARCH_LIB
26055 for ac_extension
in a so sl dylib dll.a
; do
26056 if test -f "$ac_dir/libXm.$ac_extension"; then
26057 ac_find_libraries
=$ac_dir
26064 if test "x$ac_find_libraries" != "x" ; then
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26066 $as_echo "found in $ac_find_libraries" >&6; }
26069 if test "$ac_find_libraries" = "default location"; then
26072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26074 if test $result = 0; then
26077 ac_path_to_link
=" -L$ac_find_libraries"
26081 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26083 save_CFLAGS
=$CFLAGS
26084 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26086 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h. */
26098 version = xmUseVersion;
26104 if ac_fn_c_try_link
"$LINENO"; then :
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26107 $as_echo "found in default search path" >&6; }
26108 COMPILED_X_PROGRAM
=1
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26113 $as_echo "no" >&6; }
26114 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26118 rm -f core conftest.err conftest.
$ac_objext \
26119 conftest
$ac_exeext conftest.
$ac_ext
26121 CFLAGS
=$save_CFLAGS
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26126 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26130 for libp
in "" " -lXp"; do
26131 if test "$libs_found" = 0; then
26132 for libsm_ice
in "" " -lSM -lICE"; do
26133 if test "$libs_found" = 0; then
26135 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26136 save_CFLAGS
=$CFLAGS
26137 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26143 #include <Xm/List.h>
26149 XmString string = NULL;
26152 XmListAddItem(w, string, position);
26158 if ac_fn_c_try_link
"$LINENO"; then :
26161 libsm_ice_link
="$libsm_ice"
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26163 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26167 rm -f core conftest.err conftest.
$ac_objext \
26168 conftest
$ac_exeext conftest.
$ac_ext
26171 CFLAGS
=$save_CFLAGS
26177 if test "$libs_found" = 0; then
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26179 $as_echo "can't find the right libraries" >&6; }
26180 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26184 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26185 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26186 $as_echo_n "(cached) " >&6
26188 ac_check_lib_save_LIBS
=$LIBS
26190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26193 /* Override any GCC internal prototype to avoid an error.
26194 Use char because int might match the return type of a GCC
26195 builtin and then its argument prototype would still apply. */
26199 char SgCreateList ();
26203 return SgCreateList ();
26208 if ac_fn_c_try_link
"$LINENO"; then :
26209 ac_cv_lib_Sgm_SgCreateList
=yes
26211 ac_cv_lib_Sgm_SgCreateList
=no
26213 rm -f core conftest.err conftest.
$ac_objext \
26214 conftest
$ac_exeext conftest.
$ac_ext
26215 LIBS
=$ac_check_lib_save_LIBS
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26218 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26219 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26220 libsgm_link
=" -lSgm"
26224 save_CFLAGS
=$CFLAGS
26225 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26228 $as_echo_n "checking for Motif 2... " >&6; }
26229 if ${wx_cv_lib_motif2+:} false
; then :
26230 $as_echo_n "(cached) " >&6
26232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26241 #if XmVersion < 2000
26249 if ac_fn_c_try_compile
"$LINENO"; then :
26250 wx_cv_lib_motif2
="yes"
26252 wx_cv_lib_motif2
="no"
26254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26257 $as_echo "$wx_cv_lib_motif2" >&6; }
26258 if test "$wx_cv_lib_motif2" = "yes"; then
26259 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26262 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26267 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26268 if ${wx_cv_lib_lesstif+:} false
; then :
26269 $as_echo_n "(cached) " >&6
26271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26280 #if !defined(LesstifVersion) || LesstifVersion <= 0
26288 if ac_fn_c_try_compile
"$LINENO"; then :
26289 wx_cv_lib_lesstif
="yes"
26291 wx_cv_lib_lesstif
="no"
26293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26297 $as_echo "$wx_cv_lib_lesstif" >&6; }
26298 if test "$wx_cv_lib_lesstif" = "yes"; then
26299 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26302 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26306 CFLAGS
=$save_CFLAGS
26308 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26313 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26314 if test "$wxUSE_LIBXPM" = "sys"; then
26315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26316 $as_echo_n "checking for Xpm library... " >&6; }
26319 for ac_dir
in $SEARCH_LIB
26321 for ac_extension
in a so sl dylib dll.a
; do
26322 if test -f "$ac_dir/libXpm.$ac_extension"; then
26323 ac_find_libraries
=$ac_dir
26329 if test "$ac_find_libraries" != "" ; then
26331 if test "$ac_find_libraries" = "default location"; then
26334 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26336 if test $result = 0; then
26339 ac_path_to_link
=" -L$ac_find_libraries"
26343 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26345 $as_echo "found in $ac_find_libraries" >&6; }
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26348 $as_echo_n "checking for X11/xpm.h... " >&6; }
26349 if ${wx_cv_x11_xpm_h+:} false
; then :
26350 $as_echo_n "(cached) " >&6
26353 save_CFLAGS
=$CFLAGS
26354 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26357 /* end confdefs.h. */
26359 #include <X11/xpm.h>
26366 version = XpmLibraryVersion();
26372 if ac_fn_c_try_compile
"$LINENO"; then :
26373 wx_cv_x11_xpm_h
=yes
26378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26380 CFLAGS
=$save_CFLAGS
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26385 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26387 if test $wx_cv_x11_xpm_h = "yes"; then
26388 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26389 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26393 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26400 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26401 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26402 $as_echo_n "(cached) " >&6
26404 ac_check_lib_save_LIBS
=$LIBS
26405 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26407 /* end confdefs.h. */
26409 /* Override any GCC internal prototype to avoid an error.
26410 Use char because int might match the return type of a GCC
26411 builtin and then its argument prototype would still apply. */
26415 char XShapeQueryExtension ();
26419 return XShapeQueryExtension ();
26424 if ac_fn_c_try_link
"$LINENO"; then :
26425 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26427 ac_cv_lib_Xext_XShapeQueryExtension
=no
26429 rm -f core conftest.err conftest.
$ac_objext \
26430 conftest
$ac_exeext conftest.
$ac_ext
26431 LIBS
=$ac_check_lib_save_LIBS
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26434 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26435 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26437 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26443 if test "$wxHAVE_XEXT_LIB" = 1; then
26444 save_CFLAGS
="$CFLAGS"
26445 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26448 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26452 #include <X11/Xlib.h>
26453 #include <X11/extensions/shape.h>
26459 int dummy1, dummy2;
26460 XShapeQueryExtension((Display*)NULL,
26461 (int*)NULL, (int*)NULL);
26467 if ac_fn_c_try_compile
"$LINENO"; then :
26469 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26472 $as_echo "found" >&6; }
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26477 $as_echo "not found" >&6; }
26480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26481 CFLAGS
="$save_CFLAGS"
26486 if test "$wxUSE_OSX_CARBON" = 1; then
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26488 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26489 if test "$GCC" = yes; then
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26491 $as_echo "gcc" >&6; }
26492 CPPFLAGS_PASCAL
="-fpascal-strings"
26493 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26495 $as_echo "xlc" >&6; }
26496 CPPFLAGS_PASCAL
="-qmacpstr"
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26499 $as_echo "none" >&6; }
26502 if test "x$wxUSE_UNIX" = "xyes"; then
26503 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26505 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26509 GUIDIST
=OSX_CARBON_DIST
26510 WXBASEPORT
="_carbon"
26512 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26515 if test "$wxUSE_OSX_COCOA" = 1; then
26517 GUIDIST
=OSX_COCOA_DIST
26519 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26522 if test "$wxUSE_OSX_IPHONE" = 1; then
26526 if test "$wxUSE_OLD_COCOA" = 1; then
26531 if test "$wxUSE_PM" = 1; then
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26535 $as_echo_n "checking for type SPBCDATA... " >&6; }
26536 if ${wx_cv_spbcdata+:} false
; then :
26537 $as_echo_n "(cached) " >&6
26540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26541 /* end confdefs.h. */
26556 if ac_fn_c_try_compile
"$LINENO"; then :
26562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26567 $as_echo "$wx_cv_spbcdata" >&6; }
26569 if test $wx_cv_spbcdata = "yes"; then
26570 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26575 if test "$TOOLKIT" = "PM" ; then
26578 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26581 if test "$wxUSE_UNIVERSAL" = "yes"; then
26582 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26586 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26587 DISTDIR
="wx\$(TOOLKIT)"
26593 if test "$USE_WIN32" = 1 ; then
26597 GUIDIST
="BASE_DIST"
26603 if test "$wxUSE_GUI" = "yes"; then
26604 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26605 for ac_header
in X
11/Xlib.h
26607 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26609 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26610 cat >>confdefs.h
<<_ACEOF
26611 #define HAVE_X11_XLIB_H 1
26618 for ac_header
in X
11/XKBlib.h
26620 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26621 #if HAVE_X11_XLIB_H
26622 #include <X11/Xlib.h>
26626 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26627 cat >>confdefs.h
<<_ACEOF
26628 #define HAVE_X11_XKBLIB_H 1
26641 if test "$wxUSE_DISPLAY" = "yes"; then
26642 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26646 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26649 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26650 if test -n "$ac_tool_prefix"; then
26651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26652 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26654 $as_echo_n "checking for $ac_word... " >&6; }
26655 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26656 $as_echo_n "(cached) " >&6
26658 case $PKG_CONFIG in
26660 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26664 for as_dir
in $PATH
26667 test -z "$as_dir" && as_dir
=.
26668 for ac_exec_ext
in '' $ac_executable_extensions; do
26669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26670 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26681 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26682 if test -n "$PKG_CONFIG"; then
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26684 $as_echo "$PKG_CONFIG" >&6; }
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26687 $as_echo "no" >&6; }
26692 if test -z "$ac_cv_path_PKG_CONFIG"; then
26693 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26694 # Extract the first word of "pkg-config", so it can be a program name with args.
26695 set dummy pkg
-config; ac_word
=$2
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26697 $as_echo_n "checking for $ac_word... " >&6; }
26698 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26699 $as_echo_n "(cached) " >&6
26701 case $ac_pt_PKG_CONFIG in
26703 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26707 for as_dir
in $PATH
26710 test -z "$as_dir" && as_dir
=.
26711 for ac_exec_ext
in '' $ac_executable_extensions; do
26712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26713 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26724 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26725 if test -n "$ac_pt_PKG_CONFIG"; then
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26727 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26730 $as_echo "no" >&6; }
26733 if test "x$ac_pt_PKG_CONFIG" = x
; then
26736 case $cross_compiling:$ac_tool_warned in
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26740 ac_tool_warned
=yes ;;
26742 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26745 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26749 if test -n "$PKG_CONFIG"; then
26750 _pkg_min_version
=0.9.0
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26752 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26753 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26755 $as_echo "yes" >&6; }
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26758 $as_echo "no" >&6; }
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26766 $as_echo_n "checking for Xinerama... " >&6; }
26768 if test -n "$PKG_CONFIG"; then
26769 if test -n "$Xinerama_CFLAGS"; then
26770 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26772 if test -n "$PKG_CONFIG" && \
26773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26774 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26777 test $ac_status = 0; }; then
26778 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26786 if test -n "$PKG_CONFIG"; then
26787 if test -n "$Xinerama_LIBS"; then
26788 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26790 if test -n "$PKG_CONFIG" && \
26791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26792 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26795 test $ac_status = 0; }; then
26796 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26807 if test $pkg_failed = yes; then
26809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26810 _pkg_short_errors_supported
=yes
26812 _pkg_short_errors_supported
=no
26814 if test $_pkg_short_errors_supported = yes; then
26815 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26817 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26819 # Put the nasty error message in config.log where it belongs
26820 echo "$Xinerama_PKG_ERRORS" >&5
26823 if test "x$ac_find_libraries" = "x"; then
26824 if test "xXineramaQueryScreens" != "x"; then
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26826 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26827 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26828 $as_echo_n "(cached) " >&6
26830 ac_check_lib_save_LIBS
=$LIBS
26831 LIBS
="-lXinerama $LIBS"
26832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h. */
26835 /* Override any GCC internal prototype to avoid an error.
26836 Use char because int might match the return type of a GCC
26837 builtin and then its argument prototype would still apply. */
26841 char XineramaQueryScreens ();
26845 return XineramaQueryScreens ();
26850 if ac_fn_c_try_link
"$LINENO"; then :
26851 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26853 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26855 rm -f core conftest.err conftest.
$ac_objext \
26856 conftest
$ac_exeext conftest.
$ac_ext
26857 LIBS
=$ac_check_lib_save_LIBS
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26860 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26861 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26862 ac_find_libraries
="std"
26868 if test "x$ac_find_libraries" = "x"; then
26869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26870 $as_echo_n "checking elsewhere... " >&6; }
26873 for ac_dir
in $SEARCH_LIB
26875 for ac_extension
in a so sl dylib dll.a
; do
26876 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26877 ac_find_libraries
=$ac_dir
26883 if test "x$ac_find_libraries" != "x"; then
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26885 $as_echo "yes" >&6; }
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26888 $as_echo "no" >&6; }
26892 elif test $pkg_failed = untried
; then
26894 if test "x$ac_find_libraries" = "x"; then
26895 if test "xXineramaQueryScreens" != "x"; then
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26897 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26898 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26899 $as_echo_n "(cached) " >&6
26901 ac_check_lib_save_LIBS
=$LIBS
26902 LIBS
="-lXinerama $LIBS"
26903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h. */
26906 /* Override any GCC internal prototype to avoid an error.
26907 Use char because int might match the return type of a GCC
26908 builtin and then its argument prototype would still apply. */
26912 char XineramaQueryScreens ();
26916 return XineramaQueryScreens ();
26921 if ac_fn_c_try_link
"$LINENO"; then :
26922 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26924 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26926 rm -f core conftest.err conftest.
$ac_objext \
26927 conftest
$ac_exeext conftest.
$ac_ext
26928 LIBS
=$ac_check_lib_save_LIBS
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26931 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26932 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26933 ac_find_libraries
="std"
26939 if test "x$ac_find_libraries" = "x"; then
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26941 $as_echo_n "checking elsewhere... " >&6; }
26944 for ac_dir
in $SEARCH_LIB
26946 for ac_extension
in a so sl dylib dll.a
; do
26947 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26948 ac_find_libraries
=$ac_dir
26954 if test "x$ac_find_libraries" != "x"; then
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26956 $as_echo "yes" >&6; }
26958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26959 $as_echo "no" >&6; }
26964 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26965 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26967 $as_echo "yes" >&6; }
26969 ac_find_libraries
="std"
26971 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26972 eval fl_libs
=\
$Xinerama_LIBS
26974 for fl_path
in $fl_libs
26976 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26977 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26983 if test "$ac_find_libraries" != "" ; then
26984 if test "$ac_find_libraries" != "std" ; then
26986 if test "$ac_find_libraries" = "default location"; then
26989 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26991 if test $result = 0; then
26994 ac_path_to_link
=" -L$ac_find_libraries"
26998 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26999 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27003 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27006 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27009 elif test "$wxUSE_MSW" = 1; then
27010 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27012 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
27020 if test "$wxUSE_DISPLAY" = "yes"; then
27021 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27025 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27028 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27029 if test -n "$ac_tool_prefix"; then
27030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27031 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27033 $as_echo_n "checking for $ac_word... " >&6; }
27034 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27035 $as_echo_n "(cached) " >&6
27037 case $PKG_CONFIG in
27039 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27043 for as_dir
in $PATH
27046 test -z "$as_dir" && as_dir
=.
27047 for ac_exec_ext
in '' $ac_executable_extensions; do
27048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27049 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27060 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27061 if test -n "$PKG_CONFIG"; then
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27063 $as_echo "$PKG_CONFIG" >&6; }
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27066 $as_echo "no" >&6; }
27071 if test -z "$ac_cv_path_PKG_CONFIG"; then
27072 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27073 # Extract the first word of "pkg-config", so it can be a program name with args.
27074 set dummy pkg
-config; ac_word
=$2
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27076 $as_echo_n "checking for $ac_word... " >&6; }
27077 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27078 $as_echo_n "(cached) " >&6
27080 case $ac_pt_PKG_CONFIG in
27082 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27086 for as_dir
in $PATH
27089 test -z "$as_dir" && as_dir
=.
27090 for ac_exec_ext
in '' $ac_executable_extensions; do
27091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27092 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27103 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27104 if test -n "$ac_pt_PKG_CONFIG"; then
27105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27106 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27109 $as_echo "no" >&6; }
27112 if test "x$ac_pt_PKG_CONFIG" = x
; then
27115 case $cross_compiling:$ac_tool_warned in
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27119 ac_tool_warned
=yes ;;
27121 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27124 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27128 if test -n "$PKG_CONFIG"; then
27129 _pkg_min_version
=0.9.0
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27131 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27132 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27134 $as_echo "yes" >&6; }
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27137 $as_echo "no" >&6; }
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27145 $as_echo_n "checking for Xxf86vm... " >&6; }
27147 if test -n "$PKG_CONFIG"; then
27148 if test -n "$Xxf86vm_CFLAGS"; then
27149 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27151 if test -n "$PKG_CONFIG" && \
27152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27153 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27156 test $ac_status = 0; }; then
27157 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27165 if test -n "$PKG_CONFIG"; then
27166 if test -n "$Xxf86vm_LIBS"; then
27167 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27169 if test -n "$PKG_CONFIG" && \
27170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27171 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27174 test $ac_status = 0; }; then
27175 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27186 if test $pkg_failed = yes; then
27188 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27189 _pkg_short_errors_supported
=yes
27191 _pkg_short_errors_supported
=no
27193 if test $_pkg_short_errors_supported = yes; then
27194 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27196 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27198 # Put the nasty error message in config.log where it belongs
27199 echo "$Xxf86vm_PKG_ERRORS" >&5
27202 if test "x$ac_find_libraries" = "x"; then
27203 if test "xXF86VidModeQueryExtension" != "x"; then
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27205 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27206 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27207 $as_echo_n "(cached) " >&6
27209 ac_check_lib_save_LIBS
=$LIBS
27210 LIBS
="-lXxf86vm $LIBS"
27211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27212 /* end confdefs.h. */
27214 /* Override any GCC internal prototype to avoid an error.
27215 Use char because int might match the return type of a GCC
27216 builtin and then its argument prototype would still apply. */
27220 char XF86VidModeQueryExtension ();
27224 return XF86VidModeQueryExtension ();
27229 if ac_fn_c_try_link
"$LINENO"; then :
27230 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27232 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27234 rm -f core conftest.err conftest.
$ac_objext \
27235 conftest
$ac_exeext conftest.
$ac_ext
27236 LIBS
=$ac_check_lib_save_LIBS
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27239 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27240 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27241 ac_find_libraries
="std"
27247 if test "x$ac_find_libraries" = "x"; then
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27249 $as_echo_n "checking elsewhere... " >&6; }
27252 for ac_dir
in $SEARCH_LIB
27254 for ac_extension
in a so sl dylib dll.a
; do
27255 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27256 ac_find_libraries
=$ac_dir
27262 if test "x$ac_find_libraries" != "x"; then
27263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27264 $as_echo "yes" >&6; }
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27267 $as_echo "no" >&6; }
27271 elif test $pkg_failed = untried
; then
27273 if test "x$ac_find_libraries" = "x"; then
27274 if test "xXF86VidModeQueryExtension" != "x"; then
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27276 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27277 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27278 $as_echo_n "(cached) " >&6
27280 ac_check_lib_save_LIBS
=$LIBS
27281 LIBS
="-lXxf86vm $LIBS"
27282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27283 /* end confdefs.h. */
27285 /* Override any GCC internal prototype to avoid an error.
27286 Use char because int might match the return type of a GCC
27287 builtin and then its argument prototype would still apply. */
27291 char XF86VidModeQueryExtension ();
27295 return XF86VidModeQueryExtension ();
27300 if ac_fn_c_try_link
"$LINENO"; then :
27301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27303 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27305 rm -f core conftest.err conftest.
$ac_objext \
27306 conftest
$ac_exeext conftest.
$ac_ext
27307 LIBS
=$ac_check_lib_save_LIBS
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27310 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27311 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27312 ac_find_libraries
="std"
27318 if test "x$ac_find_libraries" = "x"; then
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27320 $as_echo_n "checking elsewhere... " >&6; }
27323 for ac_dir
in $SEARCH_LIB
27325 for ac_extension
in a so sl dylib dll.a
; do
27326 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27327 ac_find_libraries
=$ac_dir
27333 if test "x$ac_find_libraries" != "x"; then
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27335 $as_echo "yes" >&6; }
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27338 $as_echo "no" >&6; }
27343 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27344 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27346 $as_echo "yes" >&6; }
27348 ac_find_libraries
="std"
27350 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27351 eval fl_libs
=\
$Xxf86vm_LIBS
27353 for fl_path
in $fl_libs
27355 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27356 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27362 if test "$ac_find_libraries" != "" ; then
27363 for ac_header
in X
11/extensions
/xf86vmode.h
27365 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27366 #if HAVE_X11_XLIB_H
27367 #include <X11/Xlib.h>
27371 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27372 cat >>confdefs.h
<<_ACEOF
27373 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27376 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27386 if test "$wxUSE_DETECT_SM" = "yes"; then
27387 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27391 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27394 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27395 if test -n "$ac_tool_prefix"; then
27396 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27397 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27399 $as_echo_n "checking for $ac_word... " >&6; }
27400 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27401 $as_echo_n "(cached) " >&6
27403 case $PKG_CONFIG in
27405 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27409 for as_dir
in $PATH
27412 test -z "$as_dir" && as_dir
=.
27413 for ac_exec_ext
in '' $ac_executable_extensions; do
27414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27415 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27426 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27427 if test -n "$PKG_CONFIG"; then
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27429 $as_echo "$PKG_CONFIG" >&6; }
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27432 $as_echo "no" >&6; }
27437 if test -z "$ac_cv_path_PKG_CONFIG"; then
27438 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27439 # Extract the first word of "pkg-config", so it can be a program name with args.
27440 set dummy pkg
-config; ac_word
=$2
27441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27442 $as_echo_n "checking for $ac_word... " >&6; }
27443 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27444 $as_echo_n "(cached) " >&6
27446 case $ac_pt_PKG_CONFIG in
27448 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27452 for as_dir
in $PATH
27455 test -z "$as_dir" && as_dir
=.
27456 for ac_exec_ext
in '' $ac_executable_extensions; do
27457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27458 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27469 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27470 if test -n "$ac_pt_PKG_CONFIG"; then
27471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27472 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27475 $as_echo "no" >&6; }
27478 if test "x$ac_pt_PKG_CONFIG" = x
; then
27481 case $cross_compiling:$ac_tool_warned in
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27485 ac_tool_warned
=yes ;;
27487 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27490 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27494 if test -n "$PKG_CONFIG"; then
27495 _pkg_min_version
=0.9.0
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27497 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27500 $as_echo "yes" >&6; }
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27503 $as_echo "no" >&6; }
27510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27511 $as_echo_n "checking for SM... " >&6; }
27513 if test -n "$PKG_CONFIG"; then
27514 if test -n "$SM_CFLAGS"; then
27515 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27517 if test -n "$PKG_CONFIG" && \
27518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27519 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27522 test $ac_status = 0; }; then
27523 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27531 if test -n "$PKG_CONFIG"; then
27532 if test -n "$SM_LIBS"; then
27533 pkg_cv_SM_LIBS
="$SM_LIBS"
27535 if test -n "$PKG_CONFIG" && \
27536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27537 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27540 test $ac_status = 0; }; then
27541 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27552 if test $pkg_failed = yes; then
27554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27555 _pkg_short_errors_supported
=yes
27557 _pkg_short_errors_supported
=no
27559 if test $_pkg_short_errors_supported = yes; then
27560 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27562 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27564 # Put the nasty error message in config.log where it belongs
27565 echo "$SM_PKG_ERRORS" >&5
27568 if test "x$ac_find_libraries" = "x"; then
27569 if test "xSmcOpenConnection" != "x"; then
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27571 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27572 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27573 $as_echo_n "(cached) " >&6
27575 ac_check_lib_save_LIBS
=$LIBS
27577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27578 /* end confdefs.h. */
27580 /* Override any GCC internal prototype to avoid an error.
27581 Use char because int might match the return type of a GCC
27582 builtin and then its argument prototype would still apply. */
27586 char SmcOpenConnection ();
27590 return SmcOpenConnection ();
27595 if ac_fn_c_try_link
"$LINENO"; then :
27596 ac_cv_lib_SM_SmcOpenConnection
=yes
27598 ac_cv_lib_SM_SmcOpenConnection
=no
27600 rm -f core conftest.err conftest.
$ac_objext \
27601 conftest
$ac_exeext conftest.
$ac_ext
27602 LIBS
=$ac_check_lib_save_LIBS
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27605 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27606 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27607 ac_find_libraries
="std"
27613 if test "x$ac_find_libraries" = "x"; then
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27615 $as_echo_n "checking elsewhere... " >&6; }
27618 for ac_dir
in $SEARCH_LIB
27620 for ac_extension
in a so sl dylib dll.a
; do
27621 if test -f "$ac_dir/libSM.$ac_extension"; then
27622 ac_find_libraries
=$ac_dir
27628 if test "x$ac_find_libraries" != "x"; then
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27630 $as_echo "yes" >&6; }
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27633 $as_echo "no" >&6; }
27637 elif test $pkg_failed = untried
; then
27639 if test "x$ac_find_libraries" = "x"; then
27640 if test "xSmcOpenConnection" != "x"; then
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27642 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27643 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27644 $as_echo_n "(cached) " >&6
27646 ac_check_lib_save_LIBS
=$LIBS
27648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27651 /* Override any GCC internal prototype to avoid an error.
27652 Use char because int might match the return type of a GCC
27653 builtin and then its argument prototype would still apply. */
27657 char SmcOpenConnection ();
27661 return SmcOpenConnection ();
27666 if ac_fn_c_try_link
"$LINENO"; then :
27667 ac_cv_lib_SM_SmcOpenConnection
=yes
27669 ac_cv_lib_SM_SmcOpenConnection
=no
27671 rm -f core conftest.err conftest.
$ac_objext \
27672 conftest
$ac_exeext conftest.
$ac_ext
27673 LIBS
=$ac_check_lib_save_LIBS
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27676 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27677 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27678 ac_find_libraries
="std"
27684 if test "x$ac_find_libraries" = "x"; then
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27686 $as_echo_n "checking elsewhere... " >&6; }
27689 for ac_dir
in $SEARCH_LIB
27691 for ac_extension
in a so sl dylib dll.a
; do
27692 if test -f "$ac_dir/libSM.$ac_extension"; then
27693 ac_find_libraries
=$ac_dir
27699 if test "x$ac_find_libraries" != "x"; then
27700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27701 $as_echo "yes" >&6; }
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27704 $as_echo "no" >&6; }
27709 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27710 SM_LIBS
=$pkg_cv_SM_LIBS
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27712 $as_echo "yes" >&6; }
27714 ac_find_libraries
="std"
27716 eval ac_find_cflags
=\
$SM_CFLAGS
27717 eval fl_libs
=\
$SM_LIBS
27719 for fl_path
in $fl_libs
27721 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27722 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27728 if test "$ac_find_libraries" != "" ; then
27729 if test "$ac_find_libraries" != "std" ; then
27731 if test "$ac_find_libraries" = "default location"; then
27734 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27736 if test $result = 0; then
27739 ac_path_to_link
=" -L$ac_find_libraries"
27743 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27744 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27747 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27750 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27751 wxUSE_DETECT_SM
="no"
27754 wxUSE_DETECT_SM
="no"
27761 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27764 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27765 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27766 elif test "$wxUSE_MSW" = 1; then
27767 OPENGL_LIBS
="-lopengl32 -lglu32"
27768 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27771 $as_echo_n "checking for OpenGL headers... " >&6; }
27774 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27776 if test -f "$ac_dir/GL/gl.h"; then
27777 ac_find_includes
=$ac_dir
27782 if test "$ac_find_includes" != "" ; then
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27784 $as_echo "found in $ac_find_includes" >&6; }
27786 if test "x$ac_find_includes" = "x/usr/include"; then
27787 ac_path_to_include
=""
27789 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27791 if test $result = 0; then
27792 ac_path_to_include
=""
27794 ac_path_to_include
=" -I$ac_find_includes"
27798 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27801 $as_echo "not found" >&6; }
27804 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27806 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27808 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27810 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27817 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27821 if test -n "$ac_tool_prefix"; then
27822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27823 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27825 $as_echo_n "checking for $ac_word... " >&6; }
27826 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27827 $as_echo_n "(cached) " >&6
27829 case $PKG_CONFIG in
27831 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27835 for as_dir
in $PATH
27838 test -z "$as_dir" && as_dir
=.
27839 for ac_exec_ext
in '' $ac_executable_extensions; do
27840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27841 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27852 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27853 if test -n "$PKG_CONFIG"; then
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27855 $as_echo "$PKG_CONFIG" >&6; }
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27858 $as_echo "no" >&6; }
27863 if test -z "$ac_cv_path_PKG_CONFIG"; then
27864 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27865 # Extract the first word of "pkg-config", so it can be a program name with args.
27866 set dummy pkg
-config; ac_word
=$2
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27868 $as_echo_n "checking for $ac_word... " >&6; }
27869 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27870 $as_echo_n "(cached) " >&6
27872 case $ac_pt_PKG_CONFIG in
27874 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27878 for as_dir
in $PATH
27881 test -z "$as_dir" && as_dir
=.
27882 for ac_exec_ext
in '' $ac_executable_extensions; do
27883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27884 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27895 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27896 if test -n "$ac_pt_PKG_CONFIG"; then
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27898 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27901 $as_echo "no" >&6; }
27904 if test "x$ac_pt_PKG_CONFIG" = x
; then
27907 case $cross_compiling:$ac_tool_warned in
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27911 ac_tool_warned
=yes ;;
27913 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27916 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27920 if test -n "$PKG_CONFIG"; then
27921 _pkg_min_version
=0.9.0
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27923 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27924 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27926 $as_echo "yes" >&6; }
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27929 $as_echo "no" >&6; }
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27937 $as_echo_n "checking for GL... " >&6; }
27939 if test -n "$PKG_CONFIG"; then
27940 if test -n "$GL_CFLAGS"; then
27941 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27943 if test -n "$PKG_CONFIG" && \
27944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27945 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27948 test $ac_status = 0; }; then
27949 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27957 if test -n "$PKG_CONFIG"; then
27958 if test -n "$GL_LIBS"; then
27959 pkg_cv_GL_LIBS
="$GL_LIBS"
27961 if test -n "$PKG_CONFIG" && \
27962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27963 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27966 test $ac_status = 0; }; then
27967 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27978 if test $pkg_failed = yes; then
27980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27981 _pkg_short_errors_supported
=yes
27983 _pkg_short_errors_supported
=no
27985 if test $_pkg_short_errors_supported = yes; then
27986 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27988 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27990 # Put the nasty error message in config.log where it belongs
27991 echo "$GL_PKG_ERRORS" >&5
27994 if test "x$ac_find_libraries" = "x"; then
27995 if test "xglBegin" != "x"; then
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27997 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27998 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27999 $as_echo_n "(cached) " >&6
28001 ac_check_lib_save_LIBS
=$LIBS
28003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28006 /* Override any GCC internal prototype to avoid an error.
28007 Use char because int might match the return type of a GCC
28008 builtin and then its argument prototype would still apply. */
28021 if ac_fn_c_try_link
"$LINENO"; then :
28022 ac_cv_lib_GL_glBegin
=yes
28024 ac_cv_lib_GL_glBegin
=no
28026 rm -f core conftest.err conftest.
$ac_objext \
28027 conftest
$ac_exeext conftest.
$ac_ext
28028 LIBS
=$ac_check_lib_save_LIBS
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28031 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28032 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28033 ac_find_libraries
="std"
28039 if test "x$ac_find_libraries" = "x"; then
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28041 $as_echo_n "checking elsewhere... " >&6; }
28044 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28046 for ac_extension
in a so sl dylib dll.a
; do
28047 if test -f "$ac_dir/libGL.$ac_extension"; then
28048 ac_find_libraries
=$ac_dir
28054 if test "x$ac_find_libraries" != "x"; then
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28056 $as_echo "yes" >&6; }
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28059 $as_echo "no" >&6; }
28063 elif test $pkg_failed = untried
; then
28065 if test "x$ac_find_libraries" = "x"; then
28066 if test "xglBegin" != "x"; then
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28068 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28069 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28070 $as_echo_n "(cached) " >&6
28072 ac_check_lib_save_LIBS
=$LIBS
28074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28075 /* end confdefs.h. */
28077 /* Override any GCC internal prototype to avoid an error.
28078 Use char because int might match the return type of a GCC
28079 builtin and then its argument prototype would still apply. */
28092 if ac_fn_c_try_link
"$LINENO"; then :
28093 ac_cv_lib_GL_glBegin
=yes
28095 ac_cv_lib_GL_glBegin
=no
28097 rm -f core conftest.err conftest.
$ac_objext \
28098 conftest
$ac_exeext conftest.
$ac_ext
28099 LIBS
=$ac_check_lib_save_LIBS
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28102 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28103 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28104 ac_find_libraries
="std"
28110 if test "x$ac_find_libraries" = "x"; then
28111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28112 $as_echo_n "checking elsewhere... " >&6; }
28115 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28117 for ac_extension
in a so sl dylib dll.a
; do
28118 if test -f "$ac_dir/libGL.$ac_extension"; then
28119 ac_find_libraries
=$ac_dir
28125 if test "x$ac_find_libraries" != "x"; then
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28127 $as_echo "yes" >&6; }
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28130 $as_echo "no" >&6; }
28135 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28136 GL_LIBS
=$pkg_cv_GL_LIBS
28137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28138 $as_echo "yes" >&6; }
28140 ac_find_libraries
="std"
28142 eval ac_find_cflags
=\
$GL_CFLAGS
28143 eval fl_libs
=\
$GL_LIBS
28145 for fl_path
in $fl_libs
28147 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28148 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28154 if test "$ac_find_libraries" != "" ; then
28155 if test "$ac_find_libraries" != "std" ; then
28157 if test "$ac_find_libraries" = "default location"; then
28160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28162 if test $result = 0; then
28165 ac_path_to_link
=" -L$ac_find_libraries"
28169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28170 LDFLAGS_GL
="$ac_path_to_link"
28177 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28180 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28181 if test -n "$ac_tool_prefix"; then
28182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28183 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28185 $as_echo_n "checking for $ac_word... " >&6; }
28186 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28187 $as_echo_n "(cached) " >&6
28189 case $PKG_CONFIG in
28191 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28195 for as_dir
in $PATH
28198 test -z "$as_dir" && as_dir
=.
28199 for ac_exec_ext
in '' $ac_executable_extensions; do
28200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28201 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28212 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28213 if test -n "$PKG_CONFIG"; then
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28215 $as_echo "$PKG_CONFIG" >&6; }
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28218 $as_echo "no" >&6; }
28223 if test -z "$ac_cv_path_PKG_CONFIG"; then
28224 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28225 # Extract the first word of "pkg-config", so it can be a program name with args.
28226 set dummy pkg
-config; ac_word
=$2
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28228 $as_echo_n "checking for $ac_word... " >&6; }
28229 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28230 $as_echo_n "(cached) " >&6
28232 case $ac_pt_PKG_CONFIG in
28234 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28238 for as_dir
in $PATH
28241 test -z "$as_dir" && as_dir
=.
28242 for ac_exec_ext
in '' $ac_executable_extensions; do
28243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28244 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28255 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28256 if test -n "$ac_pt_PKG_CONFIG"; then
28257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28258 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28261 $as_echo "no" >&6; }
28264 if test "x$ac_pt_PKG_CONFIG" = x
; then
28267 case $cross_compiling:$ac_tool_warned in
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28271 ac_tool_warned
=yes ;;
28273 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28276 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28280 if test -n "$PKG_CONFIG"; then
28281 _pkg_min_version
=0.9.0
28282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28283 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28284 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28286 $as_echo "yes" >&6; }
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28289 $as_echo "no" >&6; }
28296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28297 $as_echo_n "checking for GLU... " >&6; }
28299 if test -n "$PKG_CONFIG"; then
28300 if test -n "$GLU_CFLAGS"; then
28301 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28303 if test -n "$PKG_CONFIG" && \
28304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28305 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28308 test $ac_status = 0; }; then
28309 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28317 if test -n "$PKG_CONFIG"; then
28318 if test -n "$GLU_LIBS"; then
28319 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28321 if test -n "$PKG_CONFIG" && \
28322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28323 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28326 test $ac_status = 0; }; then
28327 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28338 if test $pkg_failed = yes; then
28340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28341 _pkg_short_errors_supported
=yes
28343 _pkg_short_errors_supported
=no
28345 if test $_pkg_short_errors_supported = yes; then
28346 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28348 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28350 # Put the nasty error message in config.log where it belongs
28351 echo "$GLU_PKG_ERRORS" >&5
28354 if test "x$ac_find_libraries" = "x"; then
28355 if test "xgluBeginCurve" != "x"; then
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28357 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28358 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28359 $as_echo_n "(cached) " >&6
28361 ac_check_lib_save_LIBS
=$LIBS
28363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28366 /* Override any GCC internal prototype to avoid an error.
28367 Use char because int might match the return type of a GCC
28368 builtin and then its argument prototype would still apply. */
28372 char gluBeginCurve ();
28376 return gluBeginCurve ();
28381 if ac_fn_c_try_link
"$LINENO"; then :
28382 ac_cv_lib_GLU_gluBeginCurve
=yes
28384 ac_cv_lib_GLU_gluBeginCurve
=no
28386 rm -f core conftest.err conftest.
$ac_objext \
28387 conftest
$ac_exeext conftest.
$ac_ext
28388 LIBS
=$ac_check_lib_save_LIBS
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28391 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28392 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28393 ac_find_libraries
="std"
28399 if test "x$ac_find_libraries" = "x"; then
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28401 $as_echo_n "checking elsewhere... " >&6; }
28404 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28406 for ac_extension
in a so sl dylib dll.a
; do
28407 if test -f "$ac_dir/libGLU.$ac_extension"; then
28408 ac_find_libraries
=$ac_dir
28414 if test "x$ac_find_libraries" != "x"; then
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28416 $as_echo "yes" >&6; }
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28419 $as_echo "no" >&6; }
28423 elif test $pkg_failed = untried
; then
28425 if test "x$ac_find_libraries" = "x"; then
28426 if test "xgluBeginCurve" != "x"; then
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28428 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28429 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28430 $as_echo_n "(cached) " >&6
28432 ac_check_lib_save_LIBS
=$LIBS
28434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28435 /* end confdefs.h. */
28437 /* Override any GCC internal prototype to avoid an error.
28438 Use char because int might match the return type of a GCC
28439 builtin and then its argument prototype would still apply. */
28443 char gluBeginCurve ();
28447 return gluBeginCurve ();
28452 if ac_fn_c_try_link
"$LINENO"; then :
28453 ac_cv_lib_GLU_gluBeginCurve
=yes
28455 ac_cv_lib_GLU_gluBeginCurve
=no
28457 rm -f core conftest.err conftest.
$ac_objext \
28458 conftest
$ac_exeext conftest.
$ac_ext
28459 LIBS
=$ac_check_lib_save_LIBS
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28462 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28463 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28464 ac_find_libraries
="std"
28470 if test "x$ac_find_libraries" = "x"; then
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28472 $as_echo_n "checking elsewhere... " >&6; }
28475 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28477 for ac_extension
in a so sl dylib dll.a
; do
28478 if test -f "$ac_dir/libGLU.$ac_extension"; then
28479 ac_find_libraries
=$ac_dir
28485 if test "x$ac_find_libraries" != "x"; then
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28487 $as_echo "yes" >&6; }
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28490 $as_echo "no" >&6; }
28495 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28496 GLU_LIBS
=$pkg_cv_GLU_LIBS
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28498 $as_echo "yes" >&6; }
28500 ac_find_libraries
="std"
28502 eval ac_find_cflags
=\
$GLU_CFLAGS
28503 eval fl_libs
=\
$GLU_LIBS
28505 for fl_path
in $fl_libs
28507 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28508 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28514 if test "$ac_find_libraries" != "" ; then
28515 if test "$ac_find_libraries" != "std" ; then
28517 if test "$ac_find_libraries" = "default location"; then
28520 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28522 if test $result = 0; then
28525 ac_path_to_link
=" -L$ac_find_libraries"
28529 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28530 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28531 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28536 OPENGL_LIBS
="-lGL -lGLU"
28540 if test "$found_gl" != 1; then
28544 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28547 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28548 if test -n "$ac_tool_prefix"; then
28549 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28550 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28552 $as_echo_n "checking for $ac_word... " >&6; }
28553 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28554 $as_echo_n "(cached) " >&6
28556 case $PKG_CONFIG in
28558 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28562 for as_dir
in $PATH
28565 test -z "$as_dir" && as_dir
=.
28566 for ac_exec_ext
in '' $ac_executable_extensions; do
28567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28568 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28579 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28580 if test -n "$PKG_CONFIG"; then
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28582 $as_echo "$PKG_CONFIG" >&6; }
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28585 $as_echo "no" >&6; }
28590 if test -z "$ac_cv_path_PKG_CONFIG"; then
28591 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28592 # Extract the first word of "pkg-config", so it can be a program name with args.
28593 set dummy pkg
-config; ac_word
=$2
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28595 $as_echo_n "checking for $ac_word... " >&6; }
28596 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28597 $as_echo_n "(cached) " >&6
28599 case $ac_pt_PKG_CONFIG in
28601 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28605 for as_dir
in $PATH
28608 test -z "$as_dir" && as_dir
=.
28609 for ac_exec_ext
in '' $ac_executable_extensions; do
28610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28611 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28622 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28623 if test -n "$ac_pt_PKG_CONFIG"; then
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28625 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28628 $as_echo "no" >&6; }
28631 if test "x$ac_pt_PKG_CONFIG" = x
; then
28634 case $cross_compiling:$ac_tool_warned in
28636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28638 ac_tool_warned
=yes ;;
28640 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28643 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28647 if test -n "$PKG_CONFIG"; then
28648 _pkg_min_version
=0.9.0
28649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28650 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28651 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28653 $as_echo "yes" >&6; }
28655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28656 $as_echo "no" >&6; }
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28664 $as_echo_n "checking for MesaGL... " >&6; }
28666 if test -n "$PKG_CONFIG"; then
28667 if test -n "$MesaGL_CFLAGS"; then
28668 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28670 if test -n "$PKG_CONFIG" && \
28671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28672 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28675 test $ac_status = 0; }; then
28676 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28684 if test -n "$PKG_CONFIG"; then
28685 if test -n "$MesaGL_LIBS"; then
28686 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28688 if test -n "$PKG_CONFIG" && \
28689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28690 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28693 test $ac_status = 0; }; then
28694 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28705 if test $pkg_failed = yes; then
28707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28708 _pkg_short_errors_supported
=yes
28710 _pkg_short_errors_supported
=no
28712 if test $_pkg_short_errors_supported = yes; then
28713 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28715 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28717 # Put the nasty error message in config.log where it belongs
28718 echo "$MesaGL_PKG_ERRORS" >&5
28721 if test "x$ac_find_libraries" = "x"; then
28722 if test "xglEnable" != "x"; then
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28724 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28725 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28726 $as_echo_n "(cached) " >&6
28728 ac_check_lib_save_LIBS
=$LIBS
28729 LIBS
="-lMesaGL $LIBS"
28730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h. */
28733 /* Override any GCC internal prototype to avoid an error.
28734 Use char because int might match the return type of a GCC
28735 builtin and then its argument prototype would still apply. */
28743 return glEnable ();
28748 if ac_fn_c_try_link
"$LINENO"; then :
28749 ac_cv_lib_MesaGL_glEnable
=yes
28751 ac_cv_lib_MesaGL_glEnable
=no
28753 rm -f core conftest.err conftest.
$ac_objext \
28754 conftest
$ac_exeext conftest.
$ac_ext
28755 LIBS
=$ac_check_lib_save_LIBS
28757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28758 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28759 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28760 ac_find_libraries
="std"
28766 if test "x$ac_find_libraries" = "x"; then
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28768 $as_echo_n "checking elsewhere... " >&6; }
28771 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28773 for ac_extension
in a so sl dylib dll.a
; do
28774 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28775 ac_find_libraries
=$ac_dir
28781 if test "x$ac_find_libraries" != "x"; then
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28783 $as_echo "yes" >&6; }
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28790 elif test $pkg_failed = untried
; then
28792 if test "x$ac_find_libraries" = "x"; then
28793 if test "xglEnable" != "x"; then
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28795 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28796 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28797 $as_echo_n "(cached) " >&6
28799 ac_check_lib_save_LIBS
=$LIBS
28800 LIBS
="-lMesaGL $LIBS"
28801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28802 /* end confdefs.h. */
28804 /* Override any GCC internal prototype to avoid an error.
28805 Use char because int might match the return type of a GCC
28806 builtin and then its argument prototype would still apply. */
28814 return glEnable ();
28819 if ac_fn_c_try_link
"$LINENO"; then :
28820 ac_cv_lib_MesaGL_glEnable
=yes
28822 ac_cv_lib_MesaGL_glEnable
=no
28824 rm -f core conftest.err conftest.
$ac_objext \
28825 conftest
$ac_exeext conftest.
$ac_ext
28826 LIBS
=$ac_check_lib_save_LIBS
28828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28829 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28830 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28831 ac_find_libraries
="std"
28837 if test "x$ac_find_libraries" = "x"; then
28838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28839 $as_echo_n "checking elsewhere... " >&6; }
28842 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28844 for ac_extension
in a so sl dylib dll.a
; do
28845 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28846 ac_find_libraries
=$ac_dir
28852 if test "x$ac_find_libraries" != "x"; then
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28854 $as_echo "yes" >&6; }
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28857 $as_echo "no" >&6; }
28862 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28863 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28865 $as_echo "yes" >&6; }
28867 ac_find_libraries
="std"
28869 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28870 eval fl_libs
=\
$MesaGL_LIBS
28872 for fl_path
in $fl_libs
28874 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28875 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28881 if test "$ac_find_libraries" != "" ; then
28882 if test "$ac_find_libraries" != "std" ; then
28884 if test "$ac_find_libraries" = "default location"; then
28887 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28889 if test $result = 0; then
28892 ac_path_to_link
=" -L$ac_find_libraries"
28896 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28897 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28900 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28912 if test "x$OPENGL_LIBS" = "x"; then
28913 if test "$wxUSE_OPENGL" = "yes"; then
28914 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28917 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28924 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28928 if test "$wxUSE_OPENGL" = "auto"; then
28932 if test "$wxUSE_OPENGL" = "yes"; then
28934 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28936 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28943 if test -n "$TOOLKIT" ; then
28944 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28949 if test "$wxUSE_SHARED" = "yes"; then
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28954 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28959 if test "$wxUSE_SHARED" = "yes"; then
28963 *-*-cygwin* | *-*-mingw* )
28964 wx_cv_version_script
=no
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28969 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28970 if ${wx_cv_version_script+:} false
; then :
28971 $as_echo_n "(cached) " >&6
28974 echo "VER_1 { *; };" >conftest.sym
28975 echo "int main() { return 0; }" >conftest.cpp
28978 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28979 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28980 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28981 (eval $ac_try) 2>&5
28983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28984 test $ac_status = 0; }; } ; then
28985 if test -s conftest.stderr
; then
28986 wx_cv_version_script
=no
28988 wx_cv_version_script
=yes
28991 wx_cv_version_script
=no
28994 if test $wx_cv_version_script = yes
28996 echo "struct B { virtual ~B() { } }; \
28997 struct D : public B { }; \
28998 void F() { D d; }" > conftest.cpp
29001 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29002 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29003 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29004 (eval $ac_try) 2>&5
29006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29007 test $ac_status = 0; }; } &&
29009 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29010 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29012 (eval $ac_try) 2>&5
29014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29015 test $ac_status = 0; }; }
29018 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29019 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29021 (eval $ac_try) 2>&5
29023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29024 test $ac_status = 0; }; }
29026 wx_cv_version_script
=yes
29028 wx_cv_version_script
=no
29033 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29034 rm -f conftest1.output conftest2.output conftest3.output
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29038 $as_echo "$wx_cv_version_script" >&6; }
29040 if test $wx_cv_version_script = yes ; then
29041 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29047 if test "$wxUSE_VISIBILITY" != "no"; then
29050 if test -n "$GCC"; then
29051 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29052 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29054 $as_echo_n "checking for symbols visibility support... " >&6; }
29055 if ${wx_cv_cc_visibility+:} false
; then :
29056 $as_echo_n "(cached) " >&6
29059 wx_save_CXXFLAGS
="$CXXFLAGS"
29060 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29062 ac_cpp
='$CXXCPP $CPPFLAGS'
29063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29070 /* we need gcc >= 4.0, older versions with visibility support
29071 didn't have class visibility: */
29072 #if defined(__GNUC__) && __GNUC__ < 4
29073 error this gcc is too old;
29076 /* visibility only makes sense for ELF shared libs: */
29077 #if !defined(__ELF__) && !defined(__APPLE__)
29078 error this platform has no visibility;
29081 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29082 #if defined(__clang__)
29083 clang compiler is still broken w.r.t. visibility;
29086 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29087 extern __attribute__((__visibility__("default"))) int exportedvar;
29088 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29089 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29090 class __attribute__((__visibility__("default"))) Foo {
29102 if ac_fn_cxx_try_compile
"$LINENO"; then :
29103 wx_cv_cc_visibility
=yes
29105 wx_cv_cc_visibility
=no
29107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29109 ac_cpp
='$CPP $CPPFLAGS'
29110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29114 CXXFLAGS
="$wx_save_CXXFLAGS"
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29118 $as_echo "$wx_cv_cc_visibility" >&6; }
29119 if test $wx_cv_cc_visibility = yes; then
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29121 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29122 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29123 $as_echo_n "(cached) " >&6
29126 wx_save_CXXFLAGS
="$CXXFLAGS"
29127 wx_save_LDFLAGS
="$LDFLAGS"
29128 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29129 LDFLAGS
="$LDFLAGS -shared -fPIC"
29131 ac_cpp
='$CXXCPP $CPPFLAGS'
29132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29137 /* end confdefs.h. */
29145 std::string s("hello");
29152 if ac_fn_cxx_try_link
"$LINENO"; then :
29153 wx_cv_cc_broken_libstdcxx_visibility
=no
29155 wx_cv_cc_broken_libstdcxx_visibility
=yes
29157 rm -f core conftest.err conftest.
$ac_objext \
29158 conftest
$ac_exeext conftest.
$ac_ext
29160 ac_cpp
='$CPP $CPPFLAGS'
29161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29165 CXXFLAGS
="$wx_save_CXXFLAGS"
29166 LDFLAGS
="$wx_save_LDFLAGS"
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29170 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29172 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29174 $as_echo_n "checking whether we can work around it... " >&6; }
29175 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29176 $as_echo_n "(cached) " >&6
29180 ac_cpp
='$CXXCPP $CPPFLAGS'
29181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29186 /* end confdefs.h. */
29188 #pragma GCC visibility push(default)
29190 #pragma GCC visibility pop
29196 std::string s("hello");
29203 if ac_fn_cxx_try_link
"$LINENO"; then :
29204 wx_cv_cc_visibility_workaround
=no
29206 wx_cv_cc_visibility_workaround
=yes
29208 rm -f core conftest.err conftest.
$ac_objext \
29209 conftest
$ac_exeext conftest.
$ac_ext
29211 ac_cpp
='$CPP $CPPFLAGS'
29212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29220 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29222 if test $wx_cv_cc_visibility_workaround = no
; then
29223 wx_cv_cc_visibility
=no
29228 if test $wx_cv_cc_visibility = yes; then
29229 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29231 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29232 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29236 CFLAGS_VISIBILITY
=""
29237 CXXFLAGS_VISIBILITY
=""
29245 if test "x$SUNCXX" = xyes
; then
29246 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29247 WXCONFIG_RPATH
="-R\$libdir"
29250 *-*-linux* | *-*-gnu* )
29251 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29252 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29257 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29259 saveLdflags
="$LDFLAGS"
29260 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29262 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29264 /* end confdefs.h. */
29274 if ac_fn_c_try_link
"$LINENO"; then :
29276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29277 $as_echo "yes" >&6; }
29278 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29279 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29284 $as_echo "no" >&6; }
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29286 $as_echo_n "checking if the linker accepts -R... " >&6; }
29287 LDFLAGS
="$saveLdflags -Wl,-R,/"
29288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29299 if ac_fn_c_try_link
"$LINENO"; then :
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29302 $as_echo "yes" >&6; }
29303 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29304 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29309 $as_echo "no" >&6; }
29312 rm -f core conftest.err conftest.
$ac_objext \
29313 conftest
$ac_exeext conftest.
$ac_ext
29316 rm -f core conftest.err conftest.
$ac_objext \
29317 conftest
$ac_exeext conftest.
$ac_ext
29318 LDFLAGS
="$saveLdflags"
29322 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29323 if test "$install_name_tool" -a -x "$install_name_tool"; then
29324 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29325 cat <<EOF >change-install-names
29327 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29328 for i in \${libnames} ; do
29329 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29330 for dep in \${libnames} ; do
29331 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29335 chmod +x change
-install-names
29336 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29339 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29342 *-*-cygwin* | *-*-mingw32* )
29346 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29347 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29353 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29355 if test $wxUSE_RPATH = "no"; then
29356 SAMPLES_RPATH_FLAG
=''
29357 DYLIB_PATH_POSTLINK
=''
29365 config_linkage_component
="-static"
29372 lib_unicode_suffix
=
29374 if test "$wxUSE_UNICODE" = "yes"; then
29375 lib_unicode_suffix
=u
29376 WX_CHARTYPE
="unicode"
29380 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29381 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29384 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29388 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29390 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29392 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29395 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29396 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29398 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29400 if test "${TOOLKIT_DIR}" = "os2"; then
29401 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29403 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29408 if test "$wxUSE_OLD_COCOA" = 1; then
29411 ac_cpp
='$CPP $CPPFLAGS'
29412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29419 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29421 /* end confdefs.h. */
29422 #include <AppKit/NSEvent.h>
29423 #include <CoreFoundation/CoreFoundation.h>
29433 if ac_fn_c_try_compile
"$LINENO"; then :
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29435 $as_echo "no" >&6; }
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29438 $as_echo "yes" >&6; }
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29440 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29442 /* end confdefs.h. */
29443 #define __Point__ 1
29444 #include <AppKit/NSEvent.h>
29445 #include <CoreFoundation/CoreFoundation.h>
29455 if ac_fn_c_try_compile
"$LINENO"; then :
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29457 $as_echo "yes" >&6; }
29458 $as_echo "#define __Point__ 1" >>confdefs.h
29462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29465 See \`config.log' for more details" "$LINENO" 5; }
29468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29473 ac_cpp
='$CPP $CPPFLAGS'
29474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29481 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29482 if test "x$ac_cv_type_mode_t" = xyes
; then :
29486 cat >>confdefs.h
<<_ACEOF
29492 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29493 if test "x$ac_cv_type_off_t" = xyes
; then :
29497 cat >>confdefs.h
<<_ACEOF
29498 #define off_t long int
29503 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29504 if test "x$ac_cv_type_pid_t" = xyes
; then :
29508 cat >>confdefs.h
<<_ACEOF
29514 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29515 if test "x$ac_cv_type_size_t" = xyes
; then :
29519 cat >>confdefs.h
<<_ACEOF
29520 #define size_t unsigned int
29526 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29527 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29529 cat >>confdefs.h
<<_ACEOF
29530 #define HAVE_SSIZE_T 1
29538 ac_cpp
='$CXXCPP $CPPFLAGS'
29539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29543 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29544 if ${wx_cv_size_t_is_uint+:} false
; then :
29545 $as_echo_n "(cached) " >&6
29548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h. */
29550 #include <stddef.h>
29557 struct Foo { void foo(size_t); void foo(unsigned int); };
29565 if ac_fn_cxx_try_compile
"$LINENO"; then :
29566 wx_cv_size_t_is_uint
=no
29568 wx_cv_size_t_is_uint
=yes
29571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29576 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29578 if test "$wx_cv_size_t_is_uint" = "yes"; then
29579 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29583 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29584 if ${wx_cv_size_t_is_ulong+:} false
; then :
29585 $as_echo_n "(cached) " >&6
29587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29588 /* end confdefs.h. */
29589 #include <stddef.h>
29596 struct Foo { void foo(size_t); void foo(unsigned long); };
29604 if ac_fn_cxx_try_compile
"$LINENO"; then :
29605 wx_cv_size_t_is_ulong
=no
29607 wx_cv_size_t_is_ulong
=yes
29610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29614 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29616 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29617 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29623 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29624 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29625 $as_echo_n "(cached) " >&6
29627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29636 struct Foo { void foo(wchar_t);
29637 void foo(unsigned short);
29638 void foo(unsigned int);
29639 void foo(unsigned long); };
29647 if ac_fn_cxx_try_compile
"$LINENO"; then :
29648 wx_cv_wchar_t_is_separate_type
=yes
29650 wx_cv_wchar_t_is_separate_type
=no
29653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29657 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29659 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29660 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29663 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29668 ac_cpp
='$CPP $CPPFLAGS'
29669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29675 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29676 if ${wx_cv_struct_pw_gecos+:} false
; then :
29677 $as_echo_n "(cached) " >&6
29680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29681 /* end confdefs.h. */
29695 if ac_fn_c_try_compile
"$LINENO"; then :
29697 wx_cv_struct_pw_gecos
=yes
29701 wx_cv_struct_pw_gecos
=no
29705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29710 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29712 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29713 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29720 for ac_func
in wcslen
29722 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29723 if test "x$ac_cv_func_wcslen" = xyes
; then :
29724 cat >>confdefs.h
<<_ACEOF
29725 #define HAVE_WCSLEN 1
29732 if test "$WCSLEN_FOUND" = 0; then
29733 if test "$TOOLKIT" = "MSW"; then
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29735 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29736 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29737 $as_echo_n "(cached) " >&6
29739 ac_check_lib_save_LIBS
=$LIBS
29740 LIBS
="-lmsvcrt $LIBS"
29741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29744 /* Override any GCC internal prototype to avoid an error.
29745 Use char because int might match the return type of a GCC
29746 builtin and then its argument prototype would still apply. */
29759 if ac_fn_c_try_link
"$LINENO"; then :
29760 ac_cv_lib_msvcrt_wcslen
=yes
29762 ac_cv_lib_msvcrt_wcslen
=no
29764 rm -f core conftest.err conftest.
$ac_objext \
29765 conftest
$ac_exeext conftest.
$ac_ext
29766 LIBS
=$ac_check_lib_save_LIBS
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29769 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29770 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29776 $as_echo_n "checking for wcslen in -lw... " >&6; }
29777 if ${ac_cv_lib_w_wcslen+:} false
; then :
29778 $as_echo_n "(cached) " >&6
29780 ac_check_lib_save_LIBS
=$LIBS
29782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29783 /* end confdefs.h. */
29785 /* Override any GCC internal prototype to avoid an error.
29786 Use char because int might match the return type of a GCC
29787 builtin and then its argument prototype would still apply. */
29800 if ac_fn_c_try_link
"$LINENO"; then :
29801 ac_cv_lib_w_wcslen
=yes
29803 ac_cv_lib_w_wcslen
=no
29805 rm -f core conftest.err conftest.
$ac_objext \
29806 conftest
$ac_exeext conftest.
$ac_ext
29807 LIBS
=$ac_check_lib_save_LIBS
29809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29810 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29811 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29821 if test "$WCSLEN_FOUND" = 1; then
29822 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29826 for ac_func
in wcsftime
29828 ac_fn_c_check_func
"$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29829 if test "x$ac_cv_func_wcsftime" = xyes
; then :
29830 cat >>confdefs.h
<<_ACEOF
29831 #define HAVE_WCSFTIME 1
29838 if test "$wxUSE_MAC" != 1; then
29839 for ac_func
in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29841 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29842 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29843 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29844 cat >>confdefs.h
<<_ACEOF
29845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29853 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29854 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29857 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29859 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29861 cat >>confdefs.h
<<_ACEOF
29862 #define HAVE_MBSTATE_T 1
29865 for ac_func
in wcsrtombs
29867 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29868 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29869 cat >>confdefs.h
<<_ACEOF
29870 #define HAVE_WCSRTOMBS 1
29879 for ac_func
in snprintf vsnprintf vsscanf
29881 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29882 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29883 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29884 cat >>confdefs.h
<<_ACEOF
29885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29893 ac_cpp
='$CXXCPP $CPPFLAGS'
29894 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29898 if test "$ac_cv_func_vsnprintf" = "yes"; then
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29900 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29901 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29902 $as_echo_n "(cached) " >&6
29905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29909 #include <stdarg.h>
29917 vsnprintf(buf, 10u, "%s", ap);
29923 if ac_fn_cxx_try_compile
"$LINENO"; then :
29924 wx_cv_func_vsnprintf_decl
=yes
29926 wx_cv_func_vsnprintf_decl
=no
29929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29934 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29936 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29937 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29941 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29942 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29943 $as_echo_n "(cached) " >&6
29946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29947 /* end confdefs.h. */
29950 #include <stdarg.h>
29952 #if __MSL__ >= 0x6000
29954 using namespace std;
29964 const char *fmt = "%s";
29965 vsnprintf(buf, 10u, fmt, ap);
29971 if ac_fn_cxx_try_compile
"$LINENO"; then :
29972 wx_cv_func_broken_vsnprintf_decl
=no
29974 wx_cv_func_broken_vsnprintf_decl
=yes
29977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29982 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29984 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29985 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29991 if test "$ac_cv_func_snprintf" = "yes"; then
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29993 $as_echo_n "checking for snprintf declaration... " >&6; }
29994 if ${wx_cv_func_snprintf_decl+:} false
; then :
29995 $as_echo_n "(cached) " >&6
29998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30002 #include <stdarg.h>
30004 #if __MSL__ >= 0x6000
30006 using namespace std;
30015 snprintf(buf, 10u, "%s", "wx");
30021 if ac_fn_cxx_try_compile
"$LINENO"; then :
30022 wx_cv_func_snprintf_decl
=yes
30024 wx_cv_func_snprintf_decl
=no
30027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30032 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30034 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30035 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30039 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30042 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30043 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
30044 $as_echo_n "(cached) " >&6
30047 if test "$cross_compiling" = yes; then :
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30050 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30051 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30052 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30053 wx_cv_func_snprintf_pos_params
=no
30057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30065 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30066 if (strcmp ("2 3 1", buffer) == 0)
30072 if ac_fn_cxx_try_run
"$LINENO"; then :
30073 wx_cv_func_snprintf_pos_params
=no
30075 wx_cv_func_snprintf_pos_params
=yes
30077 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30078 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30085 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30087 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30088 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30094 if test "$ac_cv_func_vsscanf" = "yes"; then
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30096 $as_echo_n "checking for vsscanf declaration... " >&6; }
30097 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30098 $as_echo_n "(cached) " >&6
30101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30102 /* end confdefs.h. */
30105 #include <stdarg.h>
30107 #if __MSL__ >= 0x6000
30109 using namespace std;
30119 vsscanf(buf, "%s", args);
30125 if ac_fn_cxx_try_compile
"$LINENO"; then :
30126 wx_cv_func_vsscanf_decl
=yes
30128 wx_cv_func_vsscanf_decl
=no
30131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30136 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30138 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30139 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30144 ac_cpp
='$CPP $CPPFLAGS'
30145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30150 if test "$wxUSE_UNICODE" = yes; then
30152 wchar_headers
="#include <stdio.h>
30153 #include <wchar.h>"
30156 for ac_header
in widec.h
30158 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30160 if test "x$ac_cv_header_widec_h" = xyes
; then :
30161 cat >>confdefs.h
<<_ACEOF
30162 #define HAVE_WIDEC_H 1
30169 if test "$ac_cv_header_widec_h" = "yes"; then
30170 wchar_headers
="$wchar_headers
30171 #include <widec.h>"
30176 for wx_func
in putws fputws wprintf vswprintf vswscanf
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30179 $as_echo_n "checking for $wx_func... " >&6; }
30180 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30181 $as_echo_n "(cached) " >&6
30184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30185 /* end confdefs.h. */
30189 $ac_includes_default
30205 if ac_fn_c_try_link
"$LINENO"; then :
30206 eval wx_cv_func_
$wx_func=yes
30208 eval wx_cv_func_
$wx_func=no
30210 rm -f core conftest.err conftest.
$ac_objext \
30211 conftest
$ac_exeext conftest.
$ac_ext
30214 eval ac_res
=\
$wx_cv_func_$wx_func
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30216 $as_echo "$ac_res" >&6; }
30218 if eval test \
$wx_cv_func_$wx_func = yes
30220 cat >>confdefs.h
<<_ACEOF
30221 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30233 $as_echo_n "checking for _vsnwprintf... " >&6; }
30234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h. */
30245 if ac_fn_c_try_compile
"$LINENO"; then :
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30247 $as_echo "yes" >&6; }
30248 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30252 $as_echo "no" >&6; }
30254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30257 if test "$wxUSE_FILE" = "yes"; then
30259 for wx_func
in fsync
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30262 $as_echo_n "checking for $wx_func... " >&6; }
30263 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30264 $as_echo_n "(cached) " >&6
30267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30272 $ac_includes_default
30288 if ac_fn_c_try_link
"$LINENO"; then :
30289 eval wx_cv_func_
$wx_func=yes
30291 eval wx_cv_func_
$wx_func=no
30293 rm -f core conftest.err conftest.
$ac_objext \
30294 conftest
$ac_exeext conftest.
$ac_ext
30297 eval ac_res
=\
$wx_cv_func_$wx_func
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30299 $as_echo "$ac_res" >&6; }
30301 if eval test \
$wx_cv_func_$wx_func = yes
30303 cat >>confdefs.h
<<_ACEOF
30304 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30317 ac_cpp
='$CXXCPP $CPPFLAGS'
30318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30323 for wx_func
in round
30325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30326 $as_echo_n "checking for $wx_func... " >&6; }
30327 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30328 $as_echo_n "(cached) " >&6
30331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30332 /* end confdefs.h. */
30336 $ac_includes_default
30352 if ac_fn_cxx_try_link
"$LINENO"; then :
30353 eval wx_cv_func_
$wx_func=yes
30355 eval wx_cv_func_
$wx_func=no
30357 rm -f core conftest.err conftest.
$ac_objext \
30358 conftest
$ac_exeext conftest.
$ac_ext
30361 eval ac_res
=\
$wx_cv_func_$wx_func
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30363 $as_echo "$ac_res" >&6; }
30365 if eval test \
$wx_cv_func_$wx_func = yes
30367 cat >>confdefs.h
<<_ACEOF
30368 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30379 ac_cpp
='$CPP $CPPFLAGS'
30380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30385 if test "$TOOLKIT" != "MSW"; then
30387 if test "$wxUSE_LIBICONV" != "no" ; then
30391 # Check whether --with-libiconv-prefix was given.
30392 if test "${with_libiconv_prefix+set}" = set; then :
30393 withval
=$with_libiconv_prefix;
30394 for dir
in `echo "$withval" | tr : ' '`; do
30395 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30396 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30403 $as_echo_n "checking for iconv... " >&6; }
30404 if ${am_cv_func_iconv+:} false
; then :
30405 $as_echo_n "(cached) " >&6
30408 am_cv_func_iconv
="no, consider installing GNU libiconv"
30410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30411 /* end confdefs.h. */
30412 #include <stdlib.h>
30417 iconv_t cd = iconv_open("","");
30418 iconv(cd,NULL,NULL,NULL,NULL);
30424 if ac_fn_c_try_link
"$LINENO"; then :
30425 am_cv_func_iconv
=yes
30427 rm -f core conftest.err conftest.
$ac_objext \
30428 conftest
$ac_exeext conftest.
$ac_ext
30429 if test "$am_cv_func_iconv" != yes; then
30430 am_save_LIBS
="$LIBS"
30431 LIBS
="$LIBS -liconv"
30432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h. */
30434 #include <stdlib.h>
30439 iconv_t cd = iconv_open("","");
30440 iconv(cd,NULL,NULL,NULL,NULL);
30446 if ac_fn_c_try_link
"$LINENO"; then :
30447 am_cv_lib_iconv
=yes
30448 am_cv_func_iconv
=yes
30450 rm -f core conftest.err conftest.
$ac_objext \
30451 conftest
$ac_exeext conftest.
$ac_ext
30452 LIBS
="$am_save_LIBS"
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30457 $as_echo "$am_cv_func_iconv" >&6; }
30458 if test "$am_cv_func_iconv" = yes; then
30460 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30463 $as_echo_n "checking if iconv needs const... " >&6; }
30464 if ${wx_cv_func_iconv_const+:} false
; then :
30465 $as_echo_n "(cached) " >&6
30467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30468 /* end confdefs.h. */
30470 #include <stdlib.h>
30476 #if defined(__STDC__) || defined(__cplusplus)
30477 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30490 if ac_fn_c_try_compile
"$LINENO"; then :
30491 wx_cv_func_iconv_const
="no"
30493 wx_cv_func_iconv_const
="yes"
30496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30500 $as_echo "$wx_cv_func_iconv_const" >&6; }
30503 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30504 iconv_const
="const"
30508 cat >>confdefs.h
<<_ACEOF
30509 #define ICONV_CONST $iconv_const
30514 if test "$am_cv_lib_iconv" = yes; then
30519 LIBS
="$LIBICONV $LIBS"
30522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30523 for ac_func
in sigaction
30525 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30526 if test "x$ac_cv_func_sigaction" = xyes
; then :
30527 cat >>confdefs.h
<<_ACEOF
30528 #define HAVE_SIGACTION 1
30535 if test "$ac_cv_func_sigaction" = "no"; then
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30537 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30538 wxUSE_ON_FATAL_EXCEPTION
=no
30541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30543 $as_echo_n "checking for sa_handler type... " >&6; }
30544 if ${wx_cv_type_sa_handler+:} false
; then :
30545 $as_echo_n "(cached) " >&6
30549 ac_cpp
='$CXXCPP $CPPFLAGS'
30550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <signal.h>
30561 extern void testSigHandler(int);
30563 struct sigaction sa;
30564 sa.sa_handler = testSigHandler;
30570 if ac_fn_cxx_try_compile
"$LINENO"; then :
30572 wx_cv_type_sa_handler
=int
30576 wx_cv_type_sa_handler
=void
30579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30581 ac_cpp
='$CPP $CPPFLAGS'
30582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30589 $as_echo "$wx_cv_type_sa_handler" >&6; }
30591 cat >>confdefs.h
<<_ACEOF
30592 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30598 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30600 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30601 if ${wx_cv_func_backtrace+:} false
; then :
30602 $as_echo_n "(cached) " >&6
30605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30606 $as_echo_n "checking for library containing backtrace... " >&6; }
30607 if ${ac_cv_search_backtrace+:} false
; then :
30608 $as_echo_n "(cached) " >&6
30610 ac_func_search_save_LIBS
=$LIBS
30611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30612 /* end confdefs.h. */
30614 /* Override any GCC internal prototype to avoid an error.
30615 Use char because int might match the return type of a GCC
30616 builtin and then its argument prototype would still apply. */
30624 return backtrace ();
30629 for ac_lib
in '' execinfo
; do
30630 if test -z "$ac_lib"; then
30631 ac_res
="none required"
30634 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30636 if ac_fn_c_try_link
"$LINENO"; then :
30637 ac_cv_search_backtrace
=$ac_res
30639 rm -f core conftest.err conftest.
$ac_objext \
30641 if ${ac_cv_search_backtrace+:} false
; then :
30645 if ${ac_cv_search_backtrace+:} false
; then :
30648 ac_cv_search_backtrace
=no
30650 rm conftest.
$ac_ext
30651 LIBS
=$ac_func_search_save_LIBS
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30654 $as_echo "$ac_cv_search_backtrace" >&6; }
30655 ac_res
=$ac_cv_search_backtrace
30656 if test "$ac_res" != no
; then :
30657 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30660 ac_cpp
='$CXXCPP $CPPFLAGS'
30661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30666 /* end confdefs.h. */
30667 #include <execinfo.h>
30674 backtrace(trace, 1);
30675 messages = backtrace_symbols(trace, 1);
30681 if ac_fn_cxx_try_link
"$LINENO"; then :
30682 wx_cv_func_backtrace
=yes
30684 wx_cv_func_backtrace
=no
30687 rm -f core conftest.err conftest.
$ac_objext \
30688 conftest
$ac_exeext conftest.
$ac_ext
30690 ac_cpp
='$CPP $CPPFLAGS'
30691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30697 wx_cv_func_backtrace
=no
30704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30705 $as_echo "$wx_cv_func_backtrace" >&6; }
30707 if test "$wx_cv_func_backtrace" = "no"; then
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30709 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30710 wxUSE_STACKWALKER
=no
30712 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30714 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30715 if ${wx_cv_func_cxa_demangle+:} false
; then :
30716 $as_echo_n "(cached) " >&6
30720 ac_cpp
='$CXXCPP $CPPFLAGS'
30721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30726 /* end confdefs.h. */
30727 #include <cxxabi.h>
30733 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30739 if ac_fn_cxx_try_link
"$LINENO"; then :
30740 wx_cv_func_cxa_demangle
=yes
30742 wx_cv_func_cxa_demangle
=no
30745 rm -f core conftest.err conftest.
$ac_objext \
30746 conftest
$ac_exeext conftest.
$ac_ext
30748 ac_cpp
='$CPP $CPPFLAGS'
30749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30757 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30759 wx_cv_func_cxa_demangle
=no
30762 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30763 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30769 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30771 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30772 wxUSE_STACKWALKER
=no
30776 for ac_func
in mkstemp mktemp
30778 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30779 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30780 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30781 cat >>confdefs.h
<<_ACEOF
30782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30790 $as_echo_n "checking for statfs... " >&6; }
30791 if ${wx_cv_func_statfs+:} false
; then :
30792 $as_echo_n "(cached) " >&6
30794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30795 /* end confdefs.h. */
30797 #if defined(__BSD__)
30798 #include <sys/param.h>
30799 #include <sys/mount.h>
30801 #include <sys/vfs.h>
30819 if ac_fn_c_try_compile
"$LINENO"; then :
30820 wx_cv_func_statfs
=yes
30822 wx_cv_func_statfs
=no
30825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30829 $as_echo "$wx_cv_func_statfs" >&6; }
30831 if test "$wx_cv_func_statfs" = "yes"; then
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30833 $as_echo_n "checking for statfs declaration... " >&6; }
30834 if ${wx_cv_func_statfs_decl+:} false
; then :
30835 $as_echo_n "(cached) " >&6
30838 ac_cpp
='$CXXCPP $CPPFLAGS'
30839 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30840 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30841 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30844 /* end confdefs.h. */
30846 #if defined(__BSD__)
30847 #include <sys/param.h>
30848 #include <sys/mount.h>
30850 #include <sys/vfs.h>
30864 if ac_fn_cxx_try_compile
"$LINENO"; then :
30865 wx_cv_func_statfs_decl
=yes
30867 wx_cv_func_statfs_decl
=no
30870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30872 ac_cpp
='$CPP $CPPFLAGS'
30873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30880 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30882 if test "$wx_cv_func_statfs_decl" = "yes"; then
30883 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30887 wx_cv_type_statvfs_t
="struct statfs"
30888 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30892 $as_echo_n "checking for statvfs... " >&6; }
30893 if ${wx_cv_func_statvfs+:} false
; then :
30894 $as_echo_n "(cached) " >&6
30896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30899 #include <stddef.h>
30900 #include <sys/statvfs.h>
30906 statvfs("/", NULL);
30912 if ac_fn_c_try_compile
"$LINENO"; then :
30913 wx_cv_func_statvfs
=yes
30915 wx_cv_func_statvfs
=no
30918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30922 $as_echo "$wx_cv_func_statvfs" >&6; }
30924 if test "$wx_cv_func_statvfs" = "yes"; then
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30926 $as_echo_n "checking for statvfs argument type... " >&6; }
30927 if ${wx_cv_type_statvfs_t+:} false
; then :
30928 $as_echo_n "(cached) " >&6
30931 ac_cpp
='$CXXCPP $CPPFLAGS'
30932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30937 /* end confdefs.h. */
30939 #include <sys/statvfs.h>
30956 if ac_fn_cxx_try_compile
"$LINENO"; then :
30957 wx_cv_type_statvfs_t
=statvfs_t
30960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30961 /* end confdefs.h. */
30963 #include <sys/statvfs.h>
30980 if ac_fn_cxx_try_compile
"$LINENO"; then :
30981 wx_cv_type_statvfs_t
="struct statvfs"
30983 wx_cv_type_statvfs_t
="unknown"
30986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30992 ac_cpp
='$CPP $CPPFLAGS'
30993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31000 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31002 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31003 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31007 wx_cv_type_statvfs_t
="unknown"
31011 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31012 cat >>confdefs.h
<<_ACEOF
31013 #define WX_STATFS_T $wx_cv_type_statvfs_t
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31018 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31021 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31022 for ac_func
in fcntl flock
31024 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31025 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31026 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31027 cat >>confdefs.h
<<_ACEOF
31028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31035 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31037 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31038 wxUSE_SNGLINST_CHECKER
=no
31042 for ac_func
in setenv putenv
31044 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31045 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31046 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31047 cat >>confdefs.h
<<_ACEOF
31048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 if test "$ac_cv_func_setenv" = "yes"; then
31055 for ac_func
in unsetenv
31057 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31058 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31059 cat >>confdefs.h
<<_ACEOF
31060 #define HAVE_UNSETENV 1
31068 HAVE_SOME_SLEEP_FUNC
=0
31069 if test "$USE_BEOS" = 1; then
31070 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31072 HAVE_SOME_SLEEP_FUNC
=1
31075 if test "$USE_DARWIN" = 1; then
31076 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31078 HAVE_SOME_SLEEP_FUNC
=1
31081 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31083 for ac_func
in nanosleep
31085 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31086 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31087 cat >>confdefs.h
<<_ACEOF
31088 #define HAVE_NANOSLEEP 1
31090 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31095 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31096 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31097 $as_echo_n "(cached) " >&6
31099 ac_check_lib_save_LIBS
=$LIBS
31100 LIBS
="-lposix4 $LIBS"
31101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31102 /* end confdefs.h. */
31104 /* Override any GCC internal prototype to avoid an error.
31105 Use char because int might match the return type of a GCC
31106 builtin and then its argument prototype would still apply. */
31114 return nanosleep ();
31119 if ac_fn_c_try_link
"$LINENO"; then :
31120 ac_cv_lib_posix4_nanosleep
=yes
31122 ac_cv_lib_posix4_nanosleep
=no
31124 rm -f core conftest.err conftest.
$ac_objext \
31125 conftest
$ac_exeext conftest.
$ac_ext
31126 LIBS
=$ac_check_lib_save_LIBS
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31129 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31130 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31132 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31134 POSIX4_LINK
=" -lposix4"
31139 for wx_func
in usleep
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31142 $as_echo_n "checking for $wx_func... " >&6; }
31143 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31144 $as_echo_n "(cached) " >&6
31147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31148 /* end confdefs.h. */
31152 $ac_includes_default
31168 if ac_fn_c_try_link
"$LINENO"; then :
31169 eval wx_cv_func_
$wx_func=yes
31171 eval wx_cv_func_
$wx_func=no
31173 rm -f core conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31177 eval ac_res
=\
$wx_cv_func_$wx_func
31178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31179 $as_echo "$ac_res" >&6; }
31181 if eval test \
$wx_cv_func_$wx_func = yes
31183 cat >>confdefs.h
<<_ACEOF
31184 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31191 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31208 for wx_func
in uname
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31211 $as_echo_n "checking for $wx_func... " >&6; }
31212 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31213 $as_echo_n "(cached) " >&6
31216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31217 /* end confdefs.h. */
31220 #include <sys/utsname.h>
31221 $ac_includes_default
31237 if ac_fn_c_try_link
"$LINENO"; then :
31238 eval wx_cv_func_
$wx_func=yes
31240 eval wx_cv_func_
$wx_func=no
31242 rm -f core conftest.err conftest.
$ac_objext \
31243 conftest
$ac_exeext conftest.
$ac_ext
31246 eval ac_res
=\
$wx_cv_func_$wx_func
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31248 $as_echo "$ac_res" >&6; }
31250 if eval test \
$wx_cv_func_$wx_func = yes
31252 cat >>confdefs.h
<<_ACEOF
31253 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31263 if test "$wx_cv_func_uname" != yes; then
31265 for wx_func
in gethostname
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31268 $as_echo_n "checking for $wx_func... " >&6; }
31269 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31270 $as_echo_n "(cached) " >&6
31273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31274 /* end confdefs.h. */
31278 $ac_includes_default
31294 if ac_fn_c_try_link
"$LINENO"; then :
31295 eval wx_cv_func_
$wx_func=yes
31297 eval wx_cv_func_
$wx_func=no
31299 rm -f core conftest.err conftest.
$ac_objext \
31300 conftest
$ac_exeext conftest.
$ac_ext
31303 eval ac_res
=\
$wx_cv_func_$wx_func
31304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31305 $as_echo "$ac_res" >&6; }
31307 if eval test \
$wx_cv_func_$wx_func = yes
31309 cat >>confdefs.h
<<_ACEOF
31310 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31323 for wx_func
in strtok_r
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31326 $as_echo_n "checking for $wx_func... " >&6; }
31327 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31328 $as_echo_n "(cached) " >&6
31331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31336 $ac_includes_default
31352 if ac_fn_c_try_link
"$LINENO"; then :
31353 eval wx_cv_func_
$wx_func=yes
31355 eval wx_cv_func_
$wx_func=no
31357 rm -f core conftest.err conftest.
$ac_objext \
31358 conftest
$ac_exeext conftest.
$ac_ext
31361 eval ac_res
=\
$wx_cv_func_$wx_func
31362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31363 $as_echo "$ac_res" >&6; }
31365 if eval test \
$wx_cv_func_$wx_func = yes
31367 cat >>confdefs.h
<<_ACEOF
31368 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31380 for ac_func
in inet_addr
31382 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31383 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31384 cat >>confdefs.h
<<_ACEOF
31385 #define HAVE_INET_ADDR 1
31387 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31392 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31393 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31394 $as_echo_n "(cached) " >&6
31396 ac_check_lib_save_LIBS
=$LIBS
31398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31401 /* Override any GCC internal prototype to avoid an error.
31402 Use char because int might match the return type of a GCC
31403 builtin and then its argument prototype would still apply. */
31411 return inet_addr ();
31416 if ac_fn_c_try_link
"$LINENO"; then :
31417 ac_cv_lib_nsl_inet_addr
=yes
31419 ac_cv_lib_nsl_inet_addr
=no
31421 rm -f core conftest.err conftest.
$ac_objext \
31422 conftest
$ac_exeext conftest.
$ac_ext
31423 LIBS
=$ac_check_lib_save_LIBS
31425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31426 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31427 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31432 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31433 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31434 $as_echo_n "(cached) " >&6
31436 ac_check_lib_save_LIBS
=$LIBS
31437 LIBS
="-lresolv $LIBS"
31438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31439 /* end confdefs.h. */
31441 /* Override any GCC internal prototype to avoid an error.
31442 Use char because int might match the return type of a GCC
31443 builtin and then its argument prototype would still apply. */
31451 return inet_addr ();
31456 if ac_fn_c_try_link
"$LINENO"; then :
31457 ac_cv_lib_resolv_inet_addr
=yes
31459 ac_cv_lib_resolv_inet_addr
=no
31461 rm -f core conftest.err conftest.
$ac_objext \
31462 conftest
$ac_exeext conftest.
$ac_ext
31463 LIBS
=$ac_check_lib_save_LIBS
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31466 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31467 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31472 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31473 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31474 $as_echo_n "(cached) " >&6
31476 ac_check_lib_save_LIBS
=$LIBS
31477 LIBS
="-lsocket $LIBS"
31478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31479 /* end confdefs.h. */
31481 /* Override any GCC internal prototype to avoid an error.
31482 Use char because int might match the return type of a GCC
31483 builtin and then its argument prototype would still apply. */
31491 return inet_addr ();
31496 if ac_fn_c_try_link
"$LINENO"; then :
31497 ac_cv_lib_socket_inet_addr
=yes
31499 ac_cv_lib_socket_inet_addr
=no
31501 rm -f core conftest.err conftest.
$ac_objext \
31502 conftest
$ac_exeext conftest.
$ac_ext
31503 LIBS
=$ac_check_lib_save_LIBS
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31506 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31507 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31526 for ac_func
in inet_aton
31528 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31529 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31530 cat >>confdefs.h
<<_ACEOF
31531 #define HAVE_INET_ATON 1
31533 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31537 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31539 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31540 if eval \
${$as_ac_Lib+:} false
; then :
31541 $as_echo_n "(cached) " >&6
31543 ac_check_lib_save_LIBS
=$LIBS
31544 LIBS
="-l$INET_LINK $LIBS"
31545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31548 /* Override any GCC internal prototype to avoid an error.
31549 Use char because int might match the return type of a GCC
31550 builtin and then its argument prototype would still apply. */
31558 return inet_aton ();
31563 if ac_fn_c_try_link
"$LINENO"; then :
31564 eval "$as_ac_Lib=yes"
31566 eval "$as_ac_Lib=no"
31568 rm -f core conftest.err conftest.
$ac_objext \
31569 conftest
$ac_exeext conftest.
$ac_ext
31570 LIBS
=$ac_check_lib_save_LIBS
31572 eval ac_res
=\$
$as_ac_Lib
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31574 $as_echo "$ac_res" >&6; }
31575 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31576 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31585 if test "x$INET_LINK" != "x"; then
31586 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31588 INET_LINK
=" -l$INET_LINK"
31592 for wx_func
in fdopen
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31595 $as_echo_n "checking for $wx_func... " >&6; }
31596 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31597 $as_echo_n "(cached) " >&6
31600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31601 /* end confdefs.h. */
31605 $ac_includes_default
31621 if ac_fn_c_try_link
"$LINENO"; then :
31622 eval wx_cv_func_
$wx_func=yes
31624 eval wx_cv_func_
$wx_func=no
31626 rm -f core conftest.err conftest.
$ac_objext \
31627 conftest
$ac_exeext conftest.
$ac_ext
31630 eval ac_res
=\
$wx_cv_func_$wx_func
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31632 $as_echo "$ac_res" >&6; }
31634 if eval test \
$wx_cv_func_$wx_func = yes
31636 cat >>confdefs.h
<<_ACEOF
31637 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31648 if test "$wxUSE_TARSTREAM" = "yes"; then
31650 for wx_func
in sysconf
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31653 $as_echo_n "checking for $wx_func... " >&6; }
31654 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31655 $as_echo_n "(cached) " >&6
31658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31659 /* end confdefs.h. */
31663 $ac_includes_default
31679 if ac_fn_c_try_link
"$LINENO"; then :
31680 eval wx_cv_func_
$wx_func=yes
31682 eval wx_cv_func_
$wx_func=no
31684 rm -f core conftest.err conftest.
$ac_objext \
31685 conftest
$ac_exeext conftest.
$ac_ext
31688 eval ac_res
=\
$wx_cv_func_$wx_func
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31690 $as_echo "$ac_res" >&6; }
31692 if eval test \
$wx_cv_func_$wx_func = yes
31694 cat >>confdefs.h
<<_ACEOF
31695 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31707 for wx_func
in getpwuid_r
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31710 $as_echo_n "checking for $wx_func... " >&6; }
31711 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31712 $as_echo_n "(cached) " >&6
31715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31716 /* end confdefs.h. */
31723 $ac_includes_default
31733 struct passwd pw, *ppw;
31735 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31743 if ac_fn_c_try_link
"$LINENO"; then :
31744 eval wx_cv_func_
$wx_func=yes
31746 eval wx_cv_func_
$wx_func=no
31748 rm -f core conftest.err conftest.
$ac_objext \
31749 conftest
$ac_exeext conftest.
$ac_ext
31752 eval ac_res
=\
$wx_cv_func_$wx_func
31753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31754 $as_echo "$ac_res" >&6; }
31756 if eval test \
$wx_cv_func_$wx_func = yes
31758 cat >>confdefs.h
<<_ACEOF
31759 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31771 for wx_func
in getgrgid_r
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31774 $as_echo_n "checking for $wx_func... " >&6; }
31775 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31776 $as_echo_n "(cached) " >&6
31779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31780 /* end confdefs.h. */
31787 $ac_includes_default
31797 struct group grp, *pgrp;
31799 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31807 if ac_fn_c_try_link
"$LINENO"; then :
31808 eval wx_cv_func_
$wx_func=yes
31810 eval wx_cv_func_
$wx_func=no
31812 rm -f core conftest.err conftest.
$ac_objext \
31813 conftest
$ac_exeext conftest.
$ac_ext
31816 eval ac_res
=\
$wx_cv_func_$wx_func
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31818 $as_echo "$ac_res" >&6; }
31820 if eval test \
$wx_cv_func_$wx_func = yes
31822 cat >>confdefs.h
<<_ACEOF
31823 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31839 cat >confcache
<<\_ACEOF
31840 # This file is a shell script that caches the results of configure
31841 # tests run on this system so they can be shared between configure
31842 # scripts and configure runs, see configure's option --config-cache.
31843 # It is not useful on other systems. If it contains results you don't
31844 # want to keep, you may remove or edit it.
31846 # config.status only pays attention to the cache file if you give it
31847 # the --recheck option to rerun configure.
31849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31851 # following values.
31855 # The following way of writing the cache mishandles newlines in values,
31856 # but we know of no workaround that is simple, portable, and efficient.
31857 # So, we kill variables containing newlines.
31858 # Ultrix sh set writes to stderr and can't be redirected directly,
31859 # and sets the high bit in the cache file unless we assign to the vars.
31861 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31862 eval ac_val
=\$
$ac_var
31866 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31870 _
| IFS
| as_nl
) ;; #(
31871 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31872 *) { eval $ac_var=; unset $ac_var;} ;;
31878 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31879 *${as_nl}ac_space
=\
*)
31880 # `set' does not quote correctly, so add quotes: double-quote
31881 # substitution turns \\\\ into \\, and sed turns \\ into \.
31884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31887 # `set' quotes correctly as required by POSIX, so do not add quotes.
31888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31901 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31902 if test -w "$cache_file"; then
31903 if test "x$cache_file" != "x/dev/null"; then
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31905 $as_echo "$as_me: updating cache $cache_file" >&6;}
31906 if test ! -f "$cache_file" || test -h "$cache_file"; then
31907 cat confcache
>"$cache_file"
31909 case $cache_file in #(
31911 mv -f confcache
"$cache_file"$$
&&
31912 mv -f "$cache_file"$$
"$cache_file" ;; #(
31914 mv -f confcache
"$cache_file" ;;
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31920 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31926 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31932 if test "$wxUSE_THREADS" = "yes" ; then
31933 if test "$USE_BEOS" = 1; then
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31935 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31940 if test "$wxUSE_THREADS" = "yes" ; then
31943 THREAD_OPTS
="-pthread"
31944 if test "x$SUNCXX" = xyes
; then
31945 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31949 *-*-solaris2* | *-*-sunos4* )
31950 if test "x$GCC" = "xyes"; then
31951 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31955 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31957 *-*-darwin* | *-*-cygwin* )
31961 THREAD_OPTS
="pthreads"
31964 if test "x$GCC" = "xyes"; then
31965 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31973 if test "x$GCC" = "xyes"; then
31983 if test "x$GCC" != "xyes"; then
31984 THREAD_OPTS
="-Ethread"
31991 THREAD_OPTS
="none pthread"
31995 THREAD_OPTS
="$THREAD_OPTS pthread none"
32000 for flag
in $THREAD_OPTS; do
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32004 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32009 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32010 THREADS_CFLAGS
="$flag"
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32015 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32016 THREADS_LINK
="-l$flag"
32021 save_CFLAGS
="$CFLAGS"
32022 LIBS
="$THREADS_LINK $LIBS"
32023 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h. */
32027 #include <pthread.h>
32031 pthread_create(0,0,0,0);
32036 if ac_fn_c_try_link
"$LINENO"; then :
32039 rm -f core conftest.err conftest.
$ac_objext \
32040 conftest
$ac_exeext conftest.
$ac_ext
32043 CFLAGS
="$save_CFLAGS"
32045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32046 $as_echo "$THREADS_OK" >&6; }
32047 if test "x$THREADS_OK" = "xyes"; then
32055 if test "x$THREADS_OK" != "xyes"; then
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32058 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32060 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32061 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32062 LIBS
="$THREADS_LINK $LIBS"
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32065 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32069 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32070 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32071 flag
="-D_THREAD_SAFE"
32074 flag
="-D_THREAD_SAFE"
32077 flag
="-D_REENTRANT"
32078 if test "x$GCC" != "xyes"; then
32079 flag
="$flag -D_RWSTD_MULTI_THREAD"
32082 *solaris
* | alpha
*-osf*)
32083 flag
="-D_REENTRANT"
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32087 $as_echo "${flag}" >&6; }
32088 if test "x$flag" != xno
; then
32089 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32092 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32096 if test "$wxUSE_THREADS" = "yes" ; then
32097 for ac_func
in pthread_setconcurrency
32099 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32100 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32101 cat >>confdefs.h
<<_ACEOF
32102 #define HAVE_PTHREAD_SETCONCURRENCY 1
32104 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32108 for ac_func
in thr_setconcurrency
32110 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32111 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32112 cat >>confdefs.h
<<_ACEOF
32113 #define HAVE_THR_SETCONCURRENCY 1
32115 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32119 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32129 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32130 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32131 $as_echo_n "(cached) " >&6
32135 ac_cpp
='$CXXCPP $CPPFLAGS'
32136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <pthread.h>
32143 void ThreadCleanupFunc(void *p);
32150 pthread_cleanup_push(ThreadCleanupFunc, p);
32151 pthread_cleanup_pop(0);
32157 if ac_fn_cxx_try_compile
"$LINENO"; then :
32159 wx_cv_func_pthread_cleanup
=yes
32163 wx_cv_func_pthread_cleanup
=no
32167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32169 ac_cpp
='$CPP $CPPFLAGS'
32170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32177 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32178 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32179 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32183 for ac_header
in sched.h
32185 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32187 if test "x$ac_cv_header_sched_h" = xyes
; then :
32188 cat >>confdefs.h
<<_ACEOF
32189 #define HAVE_SCHED_H 1
32196 if test "$ac_cv_header_sched_h" = "yes"; then
32197 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32198 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32199 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32204 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32205 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32206 $as_echo_n "(cached) " >&6
32208 ac_check_lib_save_LIBS
=$LIBS
32209 LIBS
="-lposix4 $LIBS"
32210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32211 /* end confdefs.h. */
32213 /* Override any GCC internal prototype to avoid an error.
32214 Use char because int might match the return type of a GCC
32215 builtin and then its argument prototype would still apply. */
32219 char sched_yield ();
32223 return sched_yield ();
32228 if ac_fn_c_try_link
"$LINENO"; then :
32229 ac_cv_lib_posix4_sched_yield
=yes
32231 ac_cv_lib_posix4_sched_yield
=no
32233 rm -f core conftest.err conftest.
$ac_objext \
32234 conftest
$ac_exeext conftest.
$ac_ext
32235 LIBS
=$ac_check_lib_save_LIBS
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32238 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32239 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32240 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32241 POSIX4_LINK
=" -lposix4"
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32244 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32255 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32256 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32257 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32258 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32259 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32260 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32264 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32265 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32266 $as_echo_n "(cached) " >&6
32268 ac_check_lib_save_LIBS
=$LIBS
32269 LIBS
="-lposix4 $LIBS"
32270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h. */
32273 /* Override any GCC internal prototype to avoid an error.
32274 Use char because int might match the return type of a GCC
32275 builtin and then its argument prototype would still apply. */
32279 char sched_get_priority_max ();
32283 return sched_get_priority_max ();
32288 if ac_fn_c_try_link
"$LINENO"; then :
32289 ac_cv_lib_posix4_sched_get_priority_max
=yes
32291 ac_cv_lib_posix4_sched_get_priority_max
=no
32293 rm -f core conftest.err conftest.
$ac_objext \
32294 conftest
$ac_exeext conftest.
$ac_ext
32295 LIBS
=$ac_check_lib_save_LIBS
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32298 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32299 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32302 POSIX4_LINK
=" -lposix4"
32316 if test "$HAVE_PRIOR_FUNCS" = 1; then
32317 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32321 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32324 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32325 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32326 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32330 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32334 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32335 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32336 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32340 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32344 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32345 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32346 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32353 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32354 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32355 $as_echo_n "(cached) " >&6
32358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32359 /* end confdefs.h. */
32360 #include <pthread.h>
32365 pthread_mutexattr_t attr;
32366 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32372 if ac_fn_c_try_compile
"$LINENO"; then :
32373 wx_cv_type_pthread_mutexattr_t
=yes
32375 wx_cv_type_pthread_mutexattr_t
=no
32378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32382 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32384 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32385 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32389 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32390 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32391 $as_echo_n "(cached) " >&6
32394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32395 /* end confdefs.h. */
32396 #include <pthread.h>
32401 pthread_mutexattr_t attr;
32402 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32408 if ac_fn_c_try_compile
"$LINENO"; then :
32409 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32411 wx_cv_func_pthread_mutexattr_settype_decl
=no
32414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32418 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32419 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32420 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32425 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32426 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32427 $as_echo_n "(cached) " >&6
32430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h. */
32432 #include <pthread.h>
32437 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32443 if ac_fn_c_try_compile
"$LINENO"; then :
32445 wx_cv_type_pthread_rec_mutex_init
=yes
32449 wx_cv_type_pthread_rec_mutex_init
=no
32453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32457 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32458 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32459 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32463 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32467 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32468 if test "$USE_NETBSD" = 1; then
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32470 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32471 wxUSE_COMPILER_TLS
=no
32473 wxUSE_COMPILER_TLS
=yes
32477 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32479 $as_echo_n "checking for __thread keyword... " >&6; }
32480 if ${wx_cv_cc___thread+:} false
; then :
32481 $as_echo_n "(cached) " >&6
32484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32485 /* end confdefs.h. */
32486 #include <pthread.h>
32491 static __thread int n = 0;
32492 static __thread int *p = 0;
32498 if ac_fn_c_try_compile
"$LINENO"; then :
32499 wx_cv_cc___thread
=yes
32501 wx_cv_cc___thread
=no
32504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32509 $as_echo "$wx_cv_cc___thread" >&6; }
32511 if test "$wx_cv_cc___thread" = "yes"; then
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32518 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32520 if test "x$GCC" = "xyes" ; then :
32522 if test -z "" ; then :
32524 ax_gcc_option_test
="int main()
32531 ax_gcc_option_test
=""
32535 # Dump the test program to file
32536 cat <<EOF > conftest.c
32537 $ax_gcc_option_test
32540 # Dump back the file to the log, useful for debugging purposes
32541 { ac_try
='cat conftest.c 1>&5'
32542 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32543 (eval $ac_try) 2>&5
32545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32546 test $ac_status = 0; }; }
32548 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32549 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32550 (eval $ac_try) 2>&5
32552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32553 test $ac_status = 0; }; } ; then :
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32556 $as_echo "yes" >&6; }
32558 ax_gcc_version_option
=yes
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32564 $as_echo "no" >&6; }
32566 ax_gcc_version_option
=no
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32574 $as_echo "no gcc available" >&6; }
32578 if test "x$GXX" = "xyes"; then :
32580 if test "x$ax_gxx_version_option" != "no"; then :
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32583 $as_echo_n "checking gxx version... " >&6; }
32584 if ${ax_cv_gxx_version+:} false
; then :
32585 $as_echo_n "(cached) " >&6
32588 ax_cv_gxx_version
="`$CXX -dumpversion`"
32589 if test "x$ax_cv_gxx_version" = "x"; then :
32591 ax_cv_gxx_version
=""
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32597 $as_echo "$ax_cv_gxx_version" >&6; }
32598 GXX_VERSION
=$ax_cv_gxx_version
32605 if test -n "$ax_cv_gxx_version"; then
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32607 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32608 case "$ax_cv_gxx_version" in
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32611 $as_echo "no, it's broken" >&6; }
32612 wx_cv_cc___thread
=no
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32616 $as_echo "yes, it works" >&6; }
32622 if test "$wx_cv_cc___thread" = "yes"; then
32623 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32628 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32630 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32631 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32632 $as_echo_n "(cached) " >&6
32636 ac_cpp
='$CXXCPP $CPPFLAGS'
32637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32642 /* end confdefs.h. */
32643 #include <cxxabi.h>
32648 void foo(abi::__forced_unwind&);
32654 if ac_fn_cxx_try_compile
"$LINENO"; then :
32655 wx_cv_type_abi_forced_unwind
=yes
32657 wx_cv_type_abi_forced_unwind
=no
32660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32662 ac_cpp
='$CPP $CPPFLAGS'
32663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32671 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32673 wx_cv_type_abi_forced_unwind
=no
32676 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32677 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32683 if test "$wxUSE_THREADS" = "yes" ; then
32685 x86_64
-*-mingw32* )
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32689 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32690 if ${wx_cv_cflags_mthread+:} false
; then :
32691 $as_echo_n "(cached) " >&6
32694 CFLAGS_OLD
="$CFLAGS"
32695 CFLAGS
="-mthreads $CFLAGS"
32696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32707 if ac_fn_c_try_compile
"$LINENO"; then :
32708 wx_cv_cflags_mthread
=yes
32710 wx_cv_cflags_mthread
=no
32713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32718 $as_echo "$wx_cv_cflags_mthread" >&6; }
32720 if test "$wx_cv_cflags_mthread" = "yes"; then
32721 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32722 LDFLAGS
="$LDFLAGS -mthreads"
32724 CFLAGS
="$CFLAGS_OLD"
32728 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32729 LDFLAGS
="$LDFLAGS -Zmt"
32735 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32736 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32737 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32741 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32742 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32743 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32751 ac_cpp
='$CPP $CPPFLAGS'
32752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32757 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32759 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32760 $as_echo_n "(cached) " >&6
32764 ################################################################
32766 ac_cv_func_which_gethostbyname_r
=unknown
32769 # ONE ARGUMENT (sanity check)
32772 # This should fail, as there is no variant of gethostbyname_r() that takes
32773 # a single argument. If it actually compiles, then we can assume that
32774 # netdb.h is not declaring the function, and the compiler is thereby
32775 # assuming an implicit prototype. In which case, we're out of luck.
32777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32784 char *name = "www.gnu.org";
32785 (void)gethostbyname_r(name) /* ; */
32792 if ac_fn_c_try_compile
"$LINENO"; then :
32793 ac_cv_func_which_gethostbyname_r
=no
32796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32803 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32812 char *name = "www.gnu.org";
32813 struct hostent ret, *retp;
32817 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32824 if ac_fn_c_try_compile
"$LINENO"; then :
32825 ac_cv_func_which_gethostbyname_r
=six
32828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32837 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h. */
32846 char *name = "www.gnu.org";
32847 struct hostent ret;
32851 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32858 if ac_fn_c_try_compile
"$LINENO"; then :
32859 ac_cv_func_which_gethostbyname_r
=five
32862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32868 # (e.g. AIX, HP-UX, Tru64)
32871 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32874 /* end confdefs.h. */
32880 char *name = "www.gnu.org";
32881 struct hostent ret;
32882 struct hostent_data data;
32883 (void)gethostbyname_r(name, &ret, &data) /* ; */
32890 if ac_fn_c_try_compile
"$LINENO"; then :
32891 ac_cv_func_which_gethostbyname_r
=three
32894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32898 ################################################################
32903 case "$ac_cv_func_which_gethostbyname_r" in
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32906 $as_echo "three" >&6; }
32907 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32913 $as_echo "five" >&6; }
32914 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32920 $as_echo "six" >&6; }
32921 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32927 $as_echo "cannot find function declaration in netdb.h" >&6; }
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32932 $as_echo "can't tell" >&6; }
32936 as_fn_error $?
"internal error" "$LINENO" 5
32941 ac_cpp
='$CPP $CPPFLAGS'
32942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32948 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32949 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32950 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32951 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32952 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32959 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32960 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32961 $as_echo_n "(cached) " >&6
32965 ac_cpp
='$CXXCPP $CPPFLAGS'
32966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32972 /* end confdefs.h. */
32980 struct servent *se, *res;
32983 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32989 if ac_fn_cxx_try_compile
"$LINENO"; then :
32990 ac_cv_func_which_getservbyname_r
=six
32993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32994 /* end confdefs.h. */
33002 struct servent *se;
33005 (void) getservbyname_r(name, proto, se, buffer, buflen)
33011 if ac_fn_cxx_try_compile
"$LINENO"; then :
33012 ac_cv_func_which_getservbyname_r
=five
33015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33024 struct servent *se;
33025 struct servent_data data;
33026 (void) getservbyname_r(name, proto, se, &data);
33032 if ac_fn_cxx_try_compile
"$LINENO"; then :
33033 ac_cv_func_which_getservbyname_r
=four
33035 ac_cv_func_which_getservbyname_r
=no
33038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33048 ac_cpp
='$CPP $CPPFLAGS'
33049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33057 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33059 if test $ac_cv_func_which_getservbyname_r = six
; then
33060 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33062 elif test $ac_cv_func_which_getservbyname_r = five
; then
33063 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33065 elif test $ac_cv_func_which_getservbyname_r = four
; then
33066 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33071 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33072 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33073 for ac_func
in getservbyname
33075 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33076 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33077 cat >>confdefs.h
<<_ACEOF
33078 #define HAVE_GETSERVBYNAME 1
33080 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33087 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33090 if test "$wxUSE_THREADS" = "yes"; then
33091 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33096 if test "$wx_cv_func_strtok_r" = "yes"; then
33097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33098 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33099 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33100 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33102 $as_echo "yes" >&6; }
33104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33105 $as_echo "no" >&6; }
33110 if test "$WXGTK3" = 1 ; then
33111 cat >>confdefs.h
<<_ACEOF
33112 #define __WXGTK3__ 1
33117 if test "$WXGTK2" = 1 ; then
33118 cat >>confdefs.h
<<_ACEOF
33119 #define __WXGTK20__ $WXGTK2
33124 if test "$WXGTK127" = 1 ; then
33125 cat >>confdefs.h
<<_ACEOF
33126 #define __WXGTK127__ $WXGTK127
33131 if test "$WXGPE" = 1 ; then
33132 cat >>confdefs.h
<<_ACEOF
33133 #define __WXGPE__ $WXGPE
33139 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33141 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33142 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33146 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33147 wxUSE_DEBUG_INFO
=yes
33148 if test "$GCC" = yes; then
33149 DEBUG_CFLAGS
="-ggdb"
33153 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33154 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33156 if test "$wxUSE_GTK" = 1 ; then
33157 if test "$WXGTK2" = 1 ; then
33158 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33160 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33165 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33166 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33168 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33170 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33175 if test "$wxUSE_DMALLOC" = "yes" ; then
33176 DMALLOC_LIBS
="-ldmallocthcxx"
33180 if test "$wxUSE_PROFILE" = "yes" ; then
33181 PROFILE_FLAGS
=" -pg"
33184 if test "$GCC" = "yes" ; then
33185 if test "$wxUSE_NO_RTTI" = "yes" ; then
33186 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33188 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33189 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33191 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33192 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33197 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33200 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33206 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33208 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33210 if test "$wxUSE_OPTIMISE" = "no" ; then
33211 if test "$GCC" = yes ; then
33212 OPTIMISE_CFLAGS
="-O0"
33215 if test "$GCC" = yes ; then
33217 *-pc-os2_emx | *-pc-os2-emx )
33218 OPTIMISE_CFLAGS
="-O2"
33221 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33225 OPTIMISE_CFLAGS
="-O"
33231 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33232 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33235 WXWIN_COMPATIBILITY_2_8
="yes"
33238 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33239 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33244 if test "$wxUSE_GUI" = "yes"; then
33245 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33251 if test "$wxUSE_UNIX" = "yes"; then
33252 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33257 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33261 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33262 if test "$USE_DOS" = 1; then
33265 for ac_func
in dlopen
33267 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33268 if test "x$ac_cv_func_dlopen" = xyes
; then :
33269 cat >>confdefs.h
<<_ACEOF
33270 #define HAVE_DLOPEN 1
33273 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33281 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33282 $as_echo_n "(cached) " >&6
33284 ac_check_lib_save_LIBS
=$LIBS
33286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33287 /* end confdefs.h. */
33289 /* Override any GCC internal prototype to avoid an error.
33290 Use char because int might match the return type of a GCC
33291 builtin and then its argument prototype would still apply. */
33304 if ac_fn_c_try_link
"$LINENO"; then :
33305 ac_cv_lib_dl_dlopen
=yes
33307 ac_cv_lib_dl_dlopen
=no
33309 rm -f core conftest.err conftest.
$ac_objext \
33310 conftest
$ac_exeext conftest.
$ac_ext
33311 LIBS
=$ac_check_lib_save_LIBS
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33315 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33317 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33320 DL_LINK
=" -ldl$DL_LINK"
33324 for ac_func
in shl_load
33326 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33327 if test "x$ac_cv_func_shl_load" = xyes
; then :
33328 cat >>confdefs.h
<<_ACEOF
33329 #define HAVE_SHL_LOAD 1
33332 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33339 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33340 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33341 $as_echo_n "(cached) " >&6
33343 ac_check_lib_save_LIBS
=$LIBS
33344 LIBS
="-lshl_load $LIBS"
33345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33346 /* end confdefs.h. */
33348 /* Override any GCC internal prototype to avoid an error.
33349 Use char because int might match the return type of a GCC
33350 builtin and then its argument prototype would still apply. */
33363 if ac_fn_c_try_link
"$LINENO"; then :
33364 ac_cv_lib_shl_load_dld
=yes
33366 ac_cv_lib_shl_load_dld
=no
33368 rm -f core conftest.err conftest.
$ac_objext \
33369 conftest
$ac_exeext conftest.
$ac_ext
33370 LIBS
=$ac_check_lib_save_LIBS
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33373 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33374 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33377 DL_LINK
=" -ldld$DL_LINK"
33393 if test "$HAVE_DL_FUNCS" = 1; then
33394 for ac_func
in dlerror
33396 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33397 if test "x$ac_cv_func_dlerror" = xyes
; then :
33398 cat >>confdefs.h
<<_ACEOF
33399 #define HAVE_DLERROR 1
33401 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33406 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33407 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33408 $as_echo_n "(cached) " >&6
33410 ac_check_lib_save_LIBS
=$LIBS
33412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33413 /* end confdefs.h. */
33415 /* Override any GCC internal prototype to avoid an error.
33416 Use char because int might match the return type of a GCC
33417 builtin and then its argument prototype would still apply. */
33430 if ac_fn_c_try_link
"$LINENO"; then :
33431 ac_cv_lib_dl_dlerror
=yes
33433 ac_cv_lib_dl_dlerror
=no
33435 rm -f core conftest.err conftest.
$ac_objext \
33436 conftest
$ac_exeext conftest.
$ac_ext
33437 LIBS
=$ac_check_lib_save_LIBS
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33440 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33441 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33442 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33454 if test "$USE_DARWIN" = 1; then
33458 if test "$HAVE_DL_FUNCS" = 0; then
33459 if test "$HAVE_SHL_FUNCS" = 0; then
33460 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33462 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33463 wxUSE_DYNAMIC_LOADER
=no
33464 wxUSE_DYNLIB_CLASS
=no
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33467 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33474 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33475 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33478 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33479 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33485 if test "$wxUSE_PLUGINS" = "yes" ; then
33486 if test "$wxUSE_SHARED" = "no" ; then
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33488 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33491 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33493 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33496 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33498 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33501 if test "$wxUSE_PLUGINS" = "yes" ; then
33502 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33508 if test "$wxUSE_FSWATCHER" = "yes"; then
33509 if test "$wxUSE_MSW" != "1"; then
33510 if test "$wxUSE_UNIX" = "yes"; then
33511 for ac_header
in sys
/inotify.h
33513 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33515 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33516 cat >>confdefs.h
<<_ACEOF
33517 #define HAVE_SYS_INOTIFY_H 1
33524 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33525 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33528 for ac_header
in sys
/event.h
33530 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33532 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33533 cat >>confdefs.h
<<_ACEOF
33534 #define HAVE_SYS_EVENT_H 1
33541 if test "$ac_cv_header_sys_event_h" = "yes"; then
33542 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33552 if test "$wxUSE_THREADS" != "yes"; then
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33554 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33559 if test "$wxUSE_FSWATCHER" = "yes"; then
33560 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33565 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33570 if test "$wxUSE_STL" = "yes"; then
33571 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33575 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33576 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33580 if test "$wxUSE_ANY" = "yes"; then
33581 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33585 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33586 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33590 if test "$wxUSE_TIMER" = "yes"; then
33591 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33595 if test "$USE_UNIX" = 1 ; then
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33597 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33598 if ${ac_cv_header_sys_soundcard+:} false
; then :
33599 $as_echo_n "(cached) " >&6
33602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33603 /* end confdefs.h. */
33605 #include <sys/ioctl.h>
33606 #include <sys/soundcard.h>
33612 ioctl(0, SNDCTL_DSP_SPEED, 0);
33618 if ac_fn_c_try_link
"$LINENO"; then :
33619 ac_cv_header_sys_soundcard
=yes
33623 LIBS
="$saveLibs -lossaudio"
33624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33627 #include <sys/ioctl.h>
33628 #include <sys/soundcard.h>
33634 ioctl(0, SNDCTL_DSP_SPEED, 0);
33640 if ac_fn_c_try_link
"$LINENO"; then :
33641 ac_cv_header_sys_soundcard
=yes
33645 ac_cv_header_sys_soundcard
=no
33649 rm -f core conftest.err conftest.
$ac_objext \
33650 conftest
$ac_exeext conftest.
$ac_ext
33654 rm -f core conftest.err conftest.
$ac_objext \
33655 conftest
$ac_exeext conftest.
$ac_ext
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33659 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33661 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33662 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33668 if test "$wxUSE_SOUND" = "yes"; then
33669 if test "$USE_UNIX" = 1 ; then
33670 if test "$wxUSE_LIBSDL" != "no"; then
33672 # Check whether --with-sdl-prefix was given.
33673 if test "${with_sdl_prefix+set}" = set; then :
33674 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33680 # Check whether --with-sdl-exec-prefix was given.
33681 if test "${with_sdl_exec_prefix+set}" = set; then :
33682 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33687 # Check whether --enable-sdltest was given.
33688 if test "${enable_sdltest+set}" = set; then :
33689 enableval
=$enable_sdltest;
33695 if test x
$sdl_exec_prefix != x
; then
33696 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33697 if test x
${SDL_CONFIG+set} != xset
; then
33698 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33701 if test x
$sdl_prefix != x
; then
33702 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33703 if test x
${SDL_CONFIG+set} != xset
; then
33704 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33708 if test "x$prefix" != xNONE
; then
33709 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33711 # Extract the first word of "sdl-config", so it can be a program name with args.
33712 set dummy sdl
-config; ac_word
=$2
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33714 $as_echo_n "checking for $ac_word... " >&6; }
33715 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33716 $as_echo_n "(cached) " >&6
33718 case $SDL_CONFIG in
33720 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33724 for as_dir
in $PATH
33727 test -z "$as_dir" && as_dir
=.
33728 for ac_exec_ext
in '' $ac_executable_extensions; do
33729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33730 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33738 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33742 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33743 if test -n "$SDL_CONFIG"; then
33744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33745 $as_echo "$SDL_CONFIG" >&6; }
33747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33748 $as_echo "no" >&6; }
33752 min_sdl_version
=1.2.0
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33754 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33756 if test "$SDL_CONFIG" = "no" ; then
33759 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33760 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33762 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33764 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33766 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33768 if test "x$enable_sdltest" = "xyes" ; then
33769 ac_save_CFLAGS
="$CFLAGS"
33770 ac_save_CXXFLAGS
="$CXXFLAGS"
33771 ac_save_LIBS
="$LIBS"
33772 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33773 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33774 LIBS
="$LIBS $SDL_LIBS"
33776 if test "$cross_compiling" = yes; then :
33777 echo $ac_n "cross compiling; assumed OK... $ac_c"
33779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33780 /* end confdefs.h. */
33783 #include <stdlib.h>
33784 #include <string.h>
33788 my_strdup (char *str)
33794 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33795 strcpy (new_str, str);
33803 int main (int argc, char *argv[])
33805 int major, minor, micro;
33808 /* This hangs on some systems (?)
33809 system ("touch conf.sdltest");
33811 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33813 /* HP/UX 9 (%@#!) writes to sscanf strings */
33814 tmp_version = my_strdup("$min_sdl_version");
33815 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33816 printf("%s, bad version string\n", "$min_sdl_version");
33820 if (($sdl_major_version > major) ||
33821 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33822 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33828 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33829 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33830 printf("*** best to upgrade to the required version.\n");
33831 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33832 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33833 printf("*** config.cache before re-running configure\n");
33840 if ac_fn_c_try_run
"$LINENO"; then :
33845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33846 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33849 CFLAGS
="$ac_save_CFLAGS"
33850 CXXFLAGS
="$ac_save_CXXFLAGS"
33851 LIBS
="$ac_save_LIBS"
33854 if test "x$no_sdl" = x
; then
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33856 $as_echo "yes" >&6; }
33858 EXTRALIBS_SDL
="$SDL_LIBS"
33859 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33860 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33861 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33866 $as_echo "no" >&6; }
33867 if test "$SDL_CONFIG" = "no" ; then
33868 echo "*** The sdl-config script installed by SDL could not be found"
33869 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33870 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33871 echo "*** full path to sdl-config."
33873 if test -f conf.sdltest
; then
33876 echo "*** Could not run SDL test program, checking why..."
33877 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33878 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33879 LIBS
="$LIBS $SDL_LIBS"
33880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33881 /* end confdefs.h. */
33886 int main(int argc, char *argv[])
33889 #define main K_and_R_C_main
33899 if ac_fn_c_try_link
"$LINENO"; then :
33900 echo "*** The test program compiled, but did not run. This usually means"
33901 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33902 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33905 echo "*** is required on your system"
33907 echo "*** If you have an old version installed, it is best to remove it, although"
33908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33910 echo "*** The test program failed to compile or link. See the file config.log for the"
33911 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33912 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33913 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33915 rm -f core conftest.err conftest.
$ac_objext \
33916 conftest
$ac_exeext conftest.
$ac_ext
33917 CFLAGS
="$ac_save_CFLAGS"
33918 CXXFLAGS
="$ac_save_CXXFLAGS"
33919 LIBS
="$ac_save_LIBS"
33930 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33937 if test "$wxUSE_SOUND" = "yes"; then
33938 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33943 if test "$WXGTK2" = 1; then
33946 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33947 if test -n "$ac_tool_prefix"; then
33948 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33949 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33951 $as_echo_n "checking for $ac_word... " >&6; }
33952 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33953 $as_echo_n "(cached) " >&6
33955 case $PKG_CONFIG in
33957 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33961 for as_dir
in $PATH
33964 test -z "$as_dir" && as_dir
=.
33965 for ac_exec_ext
in '' $ac_executable_extensions; do
33966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33967 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33978 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33979 if test -n "$PKG_CONFIG"; then
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33981 $as_echo "$PKG_CONFIG" >&6; }
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33984 $as_echo "no" >&6; }
33989 if test -z "$ac_cv_path_PKG_CONFIG"; then
33990 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33991 # Extract the first word of "pkg-config", so it can be a program name with args.
33992 set dummy pkg
-config; ac_word
=$2
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33994 $as_echo_n "checking for $ac_word... " >&6; }
33995 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33996 $as_echo_n "(cached) " >&6
33998 case $ac_pt_PKG_CONFIG in
34000 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34004 for as_dir
in $PATH
34007 test -z "$as_dir" && as_dir
=.
34008 for ac_exec_ext
in '' $ac_executable_extensions; do
34009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34010 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34021 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34022 if test -n "$ac_pt_PKG_CONFIG"; then
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34024 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34027 $as_echo "no" >&6; }
34030 if test "x$ac_pt_PKG_CONFIG" = x
; then
34033 case $cross_compiling:$ac_tool_warned in
34035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34037 ac_tool_warned
=yes ;;
34039 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34042 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34046 if test -n "$PKG_CONFIG"; then
34047 _pkg_min_version
=0.9.0
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34049 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34050 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34052 $as_echo "yes" >&6; }
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34055 $as_echo "no" >&6; }
34061 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34063 if test "$wxUSE_GTKPRINT" = "yes" ; then
34064 if test "$WXGTK3" = 1; then
34065 gtk_unix_print
="gtk+-unix-print-3.0"
34067 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34072 $as_echo_n "checking for GTKPRINT... " >&6; }
34074 if test -n "$PKG_CONFIG"; then
34075 if test -n "$GTKPRINT_CFLAGS"; then
34076 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34078 if test -n "$PKG_CONFIG" && \
34079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34080 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34083 test $ac_status = 0; }; then
34084 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34092 if test -n "$PKG_CONFIG"; then
34093 if test -n "$GTKPRINT_LIBS"; then
34094 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34096 if test -n "$PKG_CONFIG" && \
34097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34098 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34101 test $ac_status = 0; }; then
34102 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34113 if test $pkg_failed = yes; then
34115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34116 _pkg_short_errors_supported
=yes
34118 _pkg_short_errors_supported
=no
34120 if test $_pkg_short_errors_supported = yes; then
34121 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34123 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34125 # Put the nasty error message in config.log where it belongs
34126 echo "$GTKPRINT_PKG_ERRORS" >&5
34129 { $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
34130 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34131 wxUSE_GTKPRINT
="no"
34134 elif test $pkg_failed = untried
; then
34136 { $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
34137 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34138 wxUSE_GTKPRINT
="no"
34142 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34143 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34145 $as_echo "yes" >&6; }
34147 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34148 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34149 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34150 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34156 if test "$WXGTK3" = 1; then
34157 wxUSE_LIBGNOMEPRINT
=no
34160 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34165 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34167 if test -n "$PKG_CONFIG"; then
34168 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34169 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34171 if test -n "$PKG_CONFIG" && \
34172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34173 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34176 test $ac_status = 0; }; then
34177 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34185 if test -n "$PKG_CONFIG"; then
34186 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34187 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34189 if test -n "$PKG_CONFIG" && \
34190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34191 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34194 test $ac_status = 0; }; then
34195 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34206 if test $pkg_failed = yes; then
34208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34209 _pkg_short_errors_supported
=yes
34211 _pkg_short_errors_supported
=no
34213 if test $_pkg_short_errors_supported = yes; then
34214 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34216 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34218 # Put the nasty error message in config.log where it belongs
34219 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34222 if test "$wxUSE_GTKPRINT" = yes; then
34223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34224 $as_echo "no" >&6; }
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34227 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34229 wxUSE_LIBGNOMEPRINT
="no"
34232 elif test $pkg_failed = untried
; then
34234 if test "$wxUSE_GTKPRINT" = yes; then
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34236 $as_echo "no" >&6; }
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34239 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34241 wxUSE_LIBGNOMEPRINT
="no"
34245 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34246 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34248 $as_echo "yes" >&6; }
34250 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34251 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34252 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34253 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34260 if test "$wxUSE_MIMETYPE" = "yes" ; then
34261 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34266 $as_echo_n "checking for GNOMEVFS... " >&6; }
34268 if test -n "$PKG_CONFIG"; then
34269 if test -n "$GNOMEVFS_CFLAGS"; then
34270 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34272 if test -n "$PKG_CONFIG" && \
34273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34274 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277 test $ac_status = 0; }; then
34278 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34286 if test -n "$PKG_CONFIG"; then
34287 if test -n "$GNOMEVFS_LIBS"; then
34288 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34290 if test -n "$PKG_CONFIG" && \
34291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34292 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34295 test $ac_status = 0; }; then
34296 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34307 if test $pkg_failed = yes; then
34309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34310 _pkg_short_errors_supported
=yes
34312 _pkg_short_errors_supported
=no
34314 if test $_pkg_short_errors_supported = yes; then
34315 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34317 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34319 # Put the nasty error message in config.log where it belongs
34320 echo "$GNOMEVFS_PKG_ERRORS" >&5
34323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34324 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34325 wxUSE_LIBGNOMEVFS
="no"
34328 elif test $pkg_failed = untried
; then
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34331 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34332 wxUSE_LIBGNOMEVFS
="no"
34336 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34337 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34339 $as_echo "yes" >&6; }
34341 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34342 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34343 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34344 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34351 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34352 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34357 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34359 if test -n "$PKG_CONFIG"; then
34360 if test -n "$LIBNOTIFY_CFLAGS"; then
34361 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34363 if test -n "$PKG_CONFIG" && \
34364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34365 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34368 test $ac_status = 0; }; then
34369 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34377 if test -n "$PKG_CONFIG"; then
34378 if test -n "$LIBNOTIFY_LIBS"; then
34379 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34381 if test -n "$PKG_CONFIG" && \
34382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34383 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34386 test $ac_status = 0; }; then
34387 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34398 if test $pkg_failed = yes; then
34400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34401 _pkg_short_errors_supported
=yes
34403 _pkg_short_errors_supported
=no
34405 if test $_pkg_short_errors_supported = yes; then
34406 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34408 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34410 # Put the nasty error message in config.log where it belongs
34411 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34417 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34419 if test -n "$PKG_CONFIG"; then
34420 if test -n "$LIBNOTIFY_CFLAGS"; then
34421 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34423 if test -n "$PKG_CONFIG" && \
34424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34425 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34428 test $ac_status = 0; }; then
34429 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34437 if test -n "$PKG_CONFIG"; then
34438 if test -n "$LIBNOTIFY_LIBS"; then
34439 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34441 if test -n "$PKG_CONFIG" && \
34442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34443 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34446 test $ac_status = 0; }; then
34447 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34458 if test $pkg_failed = yes; then
34460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34461 _pkg_short_errors_supported
=yes
34463 _pkg_short_errors_supported
=no
34465 if test $_pkg_short_errors_supported = yes; then
34466 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34468 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34470 # Put the nasty error message in config.log where it belongs
34471 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34474 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34476 elif test $pkg_failed = untried
; then
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34478 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34481 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34482 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34484 $as_echo "yes" >&6; }
34489 elif test $pkg_failed = untried
; then
34493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34494 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34496 if test -n "$PKG_CONFIG"; then
34497 if test -n "$LIBNOTIFY_CFLAGS"; then
34498 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34500 if test -n "$PKG_CONFIG" && \
34501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34502 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34505 test $ac_status = 0; }; then
34506 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34514 if test -n "$PKG_CONFIG"; then
34515 if test -n "$LIBNOTIFY_LIBS"; then
34516 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34518 if test -n "$PKG_CONFIG" && \
34519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34520 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34523 test $ac_status = 0; }; then
34524 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34535 if test $pkg_failed = yes; then
34537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34538 _pkg_short_errors_supported
=yes
34540 _pkg_short_errors_supported
=no
34542 if test $_pkg_short_errors_supported = yes; then
34543 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34545 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34547 # Put the nasty error message in config.log where it belongs
34548 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34551 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34553 elif test $pkg_failed = untried
; then
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34555 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34558 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34559 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34561 $as_echo "yes" >&6; }
34567 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34568 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34570 $as_echo "yes" >&6; }
34573 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34578 if test "$HAVE_LIBNOTIFY" = "1" ; then
34579 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34580 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34581 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34582 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34588 if test "$wxUSE_LIBHILDON" = "yes" ; then
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34592 $as_echo_n "checking for HILDON... " >&6; }
34594 if test -n "$PKG_CONFIG"; then
34595 if test -n "$HILDON_CFLAGS"; then
34596 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34598 if test -n "$PKG_CONFIG" && \
34599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34600 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34603 test $ac_status = 0; }; then
34604 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34612 if test -n "$PKG_CONFIG"; then
34613 if test -n "$HILDON_LIBS"; then
34614 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34616 if test -n "$PKG_CONFIG" && \
34617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34618 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34621 test $ac_status = 0; }; then
34622 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34633 if test $pkg_failed = yes; then
34635 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34636 _pkg_short_errors_supported
=yes
34638 _pkg_short_errors_supported
=no
34640 if test $_pkg_short_errors_supported = yes; then
34641 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34643 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34645 # Put the nasty error message in config.log where it belongs
34646 echo "$HILDON_PKG_ERRORS" >&5
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34650 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34651 wxUSE_LIBHILDON
="no"
34655 elif test $pkg_failed = untried
; then
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34658 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34659 wxUSE_LIBHILDON
="no"
34664 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34665 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34667 $as_echo "yes" >&6; }
34669 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34670 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34671 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34672 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34678 if test "$ac_hildon_lgpl" = 0 ; then
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34682 $as_echo_n "checking for HILDON2... " >&6; }
34684 if test -n "$PKG_CONFIG"; then
34685 if test -n "$HILDON2_CFLAGS"; then
34686 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34688 if test -n "$PKG_CONFIG" && \
34689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34690 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34693 test $ac_status = 0; }; then
34694 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34702 if test -n "$PKG_CONFIG"; then
34703 if test -n "$HILDON2_LIBS"; then
34704 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34706 if test -n "$PKG_CONFIG" && \
34707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34708 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34711 test $ac_status = 0; }; then
34712 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34723 if test $pkg_failed = yes; then
34725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34726 _pkg_short_errors_supported
=yes
34728 _pkg_short_errors_supported
=no
34730 if test $_pkg_short_errors_supported = yes; then
34731 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34733 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34735 # Put the nasty error message in config.log where it belongs
34736 echo "$HILDON2_PKG_ERRORS" >&5
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34740 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34741 wxUSE_LIBHILDON2
="no"
34744 elif test $pkg_failed = untried
; then
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34747 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34748 wxUSE_LIBHILDON2
="no"
34752 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34753 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34755 $as_echo "yes" >&6; }
34757 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34758 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34759 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34760 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34768 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34769 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34773 if test "$wxUSE_STOPWATCH" = "yes"; then
34774 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34778 if test "$wxUSE_DATETIME" = "yes"; then
34779 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34783 if test "$wxUSE_FILE" = "yes"; then
34784 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34788 if test "$wxUSE_FFILE" = "yes"; then
34789 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34793 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34794 if test "$wxUSE_STREAMS" != yes; then
34795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34796 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34797 wxUSE_ARCHIVE_STREAMS
=no
34799 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34804 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34805 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34807 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34808 elif test "$wxUSE_ZLIB" = "no"; then
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34810 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34812 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34817 if test "$wxUSE_TARSTREAM" = "yes"; then
34818 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34820 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34822 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34827 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34828 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34832 if test "$wxUSE_FILESYSTEM" = "yes"; then
34833 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34835 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34836 wxUSE_FILESYSTEM
=no
34838 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34843 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34844 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34846 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34848 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34853 if test "$wxUSE_FS_ZIP" = "yes"; then
34854 if test "$wxUSE_FS_ARCHIVE" != yes; then
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34856 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34858 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34863 if test "$wxUSE_FSVOLUME" = "yes"; then
34864 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34868 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34869 if test "$USE_UNIX" != 1; then
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34871 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34872 wxUSE_ON_FATAL_EXCEPTION
=no
34874 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34879 if test "$wxUSE_STACKWALKER" = "yes"; then
34880 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34884 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34885 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34887 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34888 wxUSE_DEBUGREPORT
=no
34890 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34892 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34898 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34899 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34903 if test "$wxUSE_BUSYINFO" = "yes"; then
34904 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34908 if test "$wxUSE_HOTKEY" = "yes"; then
34909 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34911 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34914 elif test "$wxUSE_HOTKEY" = "auto"; then
34915 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34919 if test "$wxUSE_HOTKEY" = "yes"; then
34920 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34924 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34925 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34929 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34930 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34934 if test "$wxUSE_STD_STRING" = "yes"; then
34935 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34939 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34940 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34944 if test "$wxUSE_STDPATHS" = "yes"; then
34945 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34949 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34950 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34954 if test "$wxUSE_TEXTFILE" = "yes"; then
34955 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34957 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34959 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34964 if test "$wxUSE_CONFIG" = "yes" ; then
34965 if test "$wxUSE_TEXTFILE" != "yes"; then
34966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34967 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34969 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34971 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34977 if test "$wxUSE_INTL" = "yes" ; then
34978 if test "$wxUSE_FILE" != "yes"; then
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34980 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34982 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34985 GUIDIST
="$GUIDIST INTL_DIST"
34989 if test "$wxUSE_XLOCALE" = "yes" ; then
34990 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34992 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34993 #include <locale.h>
34995 if test "x$ac_cv_type_locale_t" = xyes
; then :
34997 cat >>confdefs.h
<<_ACEOF
34998 #define HAVE_LOCALE_T 1
35006 if test "$wxUSE_LOG" = "yes"; then
35007 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35010 if test "$wxUSE_LOGGUI" = "yes"; then
35011 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35015 if test "$wxUSE_LOGWINDOW" = "yes"; then
35016 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35020 if test "$wxUSE_LOGDIALOG" = "yes"; then
35021 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
35028 if test "$wxUSE_LONGLONG" = "yes"; then
35029 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35033 if test "$wxUSE_GEOMETRY" = "yes"; then
35034 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35038 if test "$wxUSE_BASE64" = "yes"; then
35039 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35043 if test "$wxUSE_STREAMS" = "yes" ; then
35044 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35048 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35049 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35053 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35054 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35059 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35060 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35063 if test "$wxUSE_UNIX" = "yes"; then
35064 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35065 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35069 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35070 for ac_header
in sys
/epoll.h
35072 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35074 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35075 cat >>confdefs.h
<<_ACEOF
35076 #define HAVE_SYS_EPOLL_H 1
35083 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35084 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35088 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35095 for ac_func
in gettimeofday ftime
35097 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35098 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35099 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35100 cat >>confdefs.h
<<_ACEOF
35101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35108 if test "$ac_cv_func_gettimeofday" = "yes"; then
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35110 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35111 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35112 $as_echo_n "(cached) " >&6
35115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35116 /* end confdefs.h. */
35118 #include <sys/time.h>
35119 #include <unistd.h>
35126 gettimeofday(&tv, NULL);
35132 if ac_fn_c_try_compile
"$LINENO"; then :
35133 wx_cv_func_gettimeofday_has_2_args
=yes
35135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h. */
35138 #include <sys/time.h>
35139 #include <unistd.h>
35152 if ac_fn_c_try_compile
"$LINENO"; then :
35153 wx_cv_func_gettimeofday_has_2_args
=no
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35157 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35158 wx_cv_func_gettimeofday_has_2_args
=unknown
35162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35169 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35171 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35172 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35177 if test "$wxUSE_DATETIME" = "yes"; then
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35179 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35180 if ${wx_cv_var_timezone+:} false
; then :
35181 $as_echo_n "(cached) " >&6
35185 ac_cpp
='$CXXCPP $CPPFLAGS'
35186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35191 /* end confdefs.h. */
35206 if ac_fn_cxx_try_compile
"$LINENO"; then :
35208 wx_cv_var_timezone
=timezone
35212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35213 /* end confdefs.h. */
35228 if ac_fn_cxx_try_compile
"$LINENO"; then :
35230 wx_cv_var_timezone
=_timezone
35234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35235 /* end confdefs.h. */
35250 if ac_fn_cxx_try_compile
"$LINENO"; then :
35252 wx_cv_var_timezone
=__timezone
35256 if test "$USE_DOS" = 0 ; then
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35258 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35273 ac_cpp
='$CPP $CPPFLAGS'
35274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35282 $as_echo "$wx_cv_var_timezone" >&6; }
35284 if test "x$wx_cv_var_timezone" != x
; then
35285 cat >>confdefs.h
<<_ACEOF
35286 #define WX_TIMEZONE $wx_cv_var_timezone
35291 for ac_func
in localtime
35293 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35294 if test "x$ac_cv_func_localtime" = xyes
; then :
35295 cat >>confdefs.h
<<_ACEOF
35296 #define HAVE_LOCALTIME 1
35303 if test "$ac_cv_func_localtime" = "yes"; then
35304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35305 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35306 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35307 $as_echo_n "(cached) " >&6
35310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35311 /* end confdefs.h. */
35326 if ac_fn_c_try_compile
"$LINENO"; then :
35328 wx_cv_struct_tm_has_gmtoff
=yes
35331 wx_cv_struct_tm_has_gmtoff
=no
35334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35338 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35341 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35342 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35350 for ac_func
in setpriority
35352 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35353 if test "x$ac_cv_func_setpriority" = xyes
; then :
35354 cat >>confdefs.h
<<_ACEOF
35355 #define HAVE_SETPRIORITY 1
35363 if test "$wxUSE_SOCKETS" = "yes"; then
35364 if test "$TOOLKIT" != "MSW"; then
35365 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35366 if test "x$ac_cv_func_socket" = xyes
; then :
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35371 $as_echo_n "checking for socket in -lsocket... " >&6; }
35372 if ${ac_cv_lib_socket_socket+:} false
; then :
35373 $as_echo_n "(cached) " >&6
35375 ac_check_lib_save_LIBS
=$LIBS
35376 LIBS
="-lsocket $LIBS"
35377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35378 /* end confdefs.h. */
35380 /* Override any GCC internal prototype to avoid an error.
35381 Use char because int might match the return type of a GCC
35382 builtin and then its argument prototype would still apply. */
35395 if ac_fn_c_try_link
"$LINENO"; then :
35396 ac_cv_lib_socket_socket
=yes
35398 ac_cv_lib_socket_socket
=no
35400 rm -f core conftest.err conftest.
$ac_objext \
35401 conftest
$ac_exeext conftest.
$ac_ext
35402 LIBS
=$ac_check_lib_save_LIBS
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35405 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35406 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35407 if test "$INET_LINK" != " -lsocket"; then
35408 INET_LINK
="$INET_LINK -lsocket"
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35413 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35426 if test "$wxUSE_SOCKETS" = "yes" ; then
35427 if test "$TOOLKIT" != "MSW"; then
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35429 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35430 if ${wx_cv_type_getsockname3+:} false
; then :
35431 $as_echo_n "(cached) " >&6
35435 ac_cpp
='$CXXCPP $CPPFLAGS'
35436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35441 /* end confdefs.h. */
35443 #include <sys/types.h>
35444 #include <sys/socket.h>
35451 getsockname(0, 0, &len);
35457 if ac_fn_cxx_try_compile
"$LINENO"; then :
35458 wx_cv_type_getsockname3
=socklen_t
35461 CFLAGS_OLD
="$CFLAGS"
35462 if test "$GCC" = yes ; then
35463 CFLAGS
="-Werror $CFLAGS"
35466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35467 /* end confdefs.h. */
35469 #include <sys/types.h>
35470 #include <sys/socket.h>
35477 getsockname(0, 0, &len);
35483 if ac_fn_cxx_try_compile
"$LINENO"; then :
35484 wx_cv_type_getsockname3
=size_t
35486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35487 /* end confdefs.h. */
35489 #include <sys/types.h>
35490 #include <sys/socket.h>
35497 getsockname(0, 0, &len);
35503 if ac_fn_cxx_try_compile
"$LINENO"; then :
35504 wx_cv_type_getsockname3
=int
35506 wx_cv_type_getsockname3
=unknown
35509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35514 CFLAGS
="$CFLAGS_OLD"
35518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35520 ac_cpp
='$CPP $CPPFLAGS'
35521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35528 $as_echo "$wx_cv_type_getsockname3" >&6; }
35530 if test "$wx_cv_type_getsockname3" = "unknown"; then
35532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35533 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35535 cat >>confdefs.h
<<_ACEOF
35536 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35541 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35542 if ${wx_cv_type_getsockopt5+:} false
; then :
35543 $as_echo_n "(cached) " >&6
35547 ac_cpp
='$CXXCPP $CPPFLAGS'
35548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35553 /* end confdefs.h. */
35555 #include <sys/types.h>
35556 #include <sys/socket.h>
35563 getsockopt(0, 0, 0, 0, &len);
35569 if ac_fn_cxx_try_compile
"$LINENO"; then :
35570 wx_cv_type_getsockopt5
=socklen_t
35573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h. */
35576 #include <sys/types.h>
35577 #include <sys/socket.h>
35584 getsockopt(0, 0, 0, 0, &len);
35590 if ac_fn_cxx_try_compile
"$LINENO"; then :
35591 wx_cv_type_getsockopt5
=size_t
35593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35594 /* end confdefs.h. */
35596 #include <sys/types.h>
35597 #include <sys/socket.h>
35604 getsockopt(0, 0, 0, 0, &len);
35610 if ac_fn_cxx_try_compile
"$LINENO"; then :
35611 wx_cv_type_getsockopt5
=int
35613 wx_cv_type_getsockopt5
=unknown
35616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35625 ac_cpp
='$CPP $CPPFLAGS'
35626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35633 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35635 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35638 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35640 cat >>confdefs.h
<<_ACEOF
35641 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35648 if test "$wxUSE_SOCKETS" = "yes" ; then
35649 if test "$wxUSE_IPV6" = "yes"; then
35650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35651 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35652 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35653 $as_echo_n "(cached) " >&6
35656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35659 #include <sys/types.h>
35660 #include <sys/socket.h>
35661 #include <netinet/in.h>
35667 struct sockaddr_in6 sa6;
35673 if ac_fn_c_try_compile
"$LINENO"; then :
35674 wx_cv_type_sockaddr_in6
=yes
35676 wx_cv_type_sockaddr_in6
=no
35679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35684 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35686 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35687 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35691 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35695 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35700 if test "$wxUSE_PROTOCOL" = "yes"; then
35701 if test "$wxUSE_SOCKETS" != "yes"; then
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35703 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35708 if test "$wxUSE_PROTOCOL" = "yes"; then
35709 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35712 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35713 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35716 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35717 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35720 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35721 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35725 if test "$wxUSE_FS_INET" = "yes"; then
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35727 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35732 if test "$wxUSE_URL" = "yes"; then
35733 if test "$wxUSE_PROTOCOL" != "yes"; then
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35735 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35738 if test "$wxUSE_URL" = "yes"; then
35739 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35744 if test "$wxUSE_VARIANT" = "yes"; then
35745 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35749 if test "$wxUSE_FS_INET" = "yes"; then
35750 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35755 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35758 if test "$TOOLKIT" = "MSW"; then
35761 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35762 if test "$USE_DARWIN" = 1; then
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35764 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35766 ac_cpp
='$CXXCPP $CPPFLAGS'
35767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35772 /* end confdefs.h. */
35773 #include <IOKit/hid/IOHIDLib.h>
35777 IOHIDQueueInterface *qi = NULL;
35778 IOHIDCallbackFunction cb = NULL;
35779 qi->setEventCallout(NULL, cb, NULL, NULL);
35784 if ac_fn_cxx_try_compile
"$LINENO"; then :
35788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35790 ac_cpp
='$CPP $CPPFLAGS'
35791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35796 $as_echo "$wxUSE_JOYSTICK" >&6; }
35800 for ac_header
in linux
/joystick.h
35802 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35804 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35805 cat >>confdefs.h
<<_ACEOF
35806 #define HAVE_LINUX_JOYSTICK_H 1
35815 if test "$wxUSE_JOYSTICK" = "yes"; then
35816 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35821 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35827 if test "$wxUSE_FONTENUM" = "yes" ; then
35828 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35832 if test "$wxUSE_FONTMAP" = "yes" ; then
35833 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35837 if test "$wxUSE_UNICODE" = "yes" ; then
35838 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35841 if test "$USE_WIN32" != 1; then
35842 wxUSE_UNICODE_MSLU
=no
35845 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35847 $as_echo_n "checking for main in -lunicows... " >&6; }
35848 if ${ac_cv_lib_unicows_main+:} false
; then :
35849 $as_echo_n "(cached) " >&6
35851 ac_check_lib_save_LIBS
=$LIBS
35852 LIBS
="-lunicows $LIBS"
35853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h. */
35865 if ac_fn_c_try_link
"$LINENO"; then :
35866 ac_cv_lib_unicows_main
=yes
35868 ac_cv_lib_unicows_main
=no
35870 rm -f core conftest.err conftest.
$ac_objext \
35871 conftest
$ac_exeext conftest.
$ac_ext
35872 LIBS
=$ac_check_lib_save_LIBS
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35875 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35876 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35878 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35884 Applications will only run on Windows NT/2000/XP!" >&5
35885 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35886 Applications will only run on Windows NT/2000/XP!" >&2;}
35887 wxUSE_UNICODE_MSLU
=no
35894 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35895 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35898 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35899 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35905 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35906 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35911 if test "$wxUSE_MDI" = "yes"; then
35912 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35915 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35916 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35922 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35923 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35928 if test "$wxUSE_HELP" = "yes"; then
35929 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35933 if test "$wxUSE_MSW" = 1; then
35934 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35935 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35940 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35941 if test "$wxUSE_HTML" = "yes"; then
35942 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35946 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35947 wxUSE_WXHTML_HELP
=no
35952 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35953 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35958 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35959 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35963 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35966 if test "$wxUSE_SVG" = "yes"; then
35967 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35972 if test "$wxUSE_METAFILE" = "yes"; then
35973 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35975 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35978 elif test "$wxUSE_METAFILE" = "auto"; then
35979 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35984 if test "$wxUSE_METAFILE" = "yes"; then
35985 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35987 if test "$wxUSE_MSW" = 1; then
35988 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35994 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35995 -o "$wxUSE_CLIPBOARD" = "yes" \
35996 -o "$wxUSE_OLE" = "yes" \
35997 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35998 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36000 if test "x$ac_cv_header_ole2_h" = xyes
; then :
36006 if test "$ac_cv_header_ole2_h" = "yes" ; then
36007 if test "$GCC" = yes ; then
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36009 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36011 /* end confdefs.h. */
36012 #include <windows.h>
36022 if ac_fn_c_try_compile
"$LINENO"; then :
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36024 $as_echo "no" >&6; }
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36027 $as_echo "yes" >&6; }
36028 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36031 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36032 if test "$wxUSE_OLE" = "yes" ; then
36033 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36035 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36037 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
36043 if test "$wxUSE_DATAOBJ" = "yes" ; then
36044 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36049 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36052 wxUSE_DRAG_AND_DROP
=no
36058 if test "$wxUSE_IPC" = "yes"; then
36059 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36061 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36065 if test "$wxUSE_IPC" = "yes"; then
36066 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36072 if test "$wxUSE_DATAOBJ" = "yes"; then
36073 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36077 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36079 wxUSE_DRAG_AND_DROP
=no
36082 if test "$wxUSE_CLIPBOARD" = "yes"; then
36083 if test "$wxUSE_DFB" = 1; then
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36085 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36089 if test "$wxUSE_CLIPBOARD" = "yes"; then
36090 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36095 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36096 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36098 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36099 wxUSE_DRAG_AND_DROP
=no
36102 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36103 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36109 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36113 if test "$wxUSE_CLIPBOARD" = "yes"; then
36114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36117 if test "$wxUSE_SPLINES" = "yes" ; then
36118 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36122 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36123 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36127 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36128 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36133 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36134 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36140 if test "$wxUSE_CONTROLS" = "yes"; then
36144 if test "$wxUSE_MARKUP" = "yes"; then
36145 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36149 if test "$wxUSE_ACCEL" = "yes"; then
36150 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36155 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36156 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36162 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36163 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36167 if test "$wxUSE_BUTTON" = "yes"; then
36168 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36173 if test "$wxUSE_BMPBUTTON" = "yes"; then
36174 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36179 if test "$wxUSE_CALCTRL" = "yes"; then
36180 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36186 if test "$wxUSE_CARET" = "yes"; then
36187 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36193 if test "$wxUSE_COLLPANE" = "yes"; then
36194 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36200 if test "$wxUSE_COMBOBOX" = "yes"; then
36201 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36206 if test "$wxUSE_COMBOCTRL" = "yes"; then
36207 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36212 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36213 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36218 if test "$wxUSE_CHOICE" = "yes"; then
36219 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36224 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36225 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36230 if test "$wxUSE_CHECKBOX" = "yes"; then
36231 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36236 if test "$wxUSE_CHECKLST" = "yes"; then
36237 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36242 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36243 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36248 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36249 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36254 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36255 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36260 if test "$wxUSE_FILECTRL" = "yes"; then
36261 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36266 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36267 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36272 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36273 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36278 if test "$wxUSE_DISPLAY" = "yes"; then
36279 if test "$wxUSE_DFB" = 1; then
36280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36281 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36284 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36290 if test "$wxUSE_DETECT_SM" = "yes"; then
36291 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36295 if test "$wxUSE_GAUGE" = "yes"; then
36296 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36301 if test "$wxUSE_GRID" = "yes"; then
36302 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36308 if test "$wxUSE_HEADERCTRL" = "yes"; then
36309 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36314 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36315 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36320 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36321 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36326 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36327 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36333 if test "$wxUSE_IMAGLIST" = "yes"; then
36334 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36338 if test "$wxUSE_INFOBAR" = "yes"; then
36339 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36343 if test "$wxUSE_LISTBOOK" = "yes"; then
36344 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36349 if test "$wxUSE_LISTBOX" = "yes"; then
36350 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36355 if test "$wxUSE_LISTCTRL" = "yes"; then
36356 if test "$wxUSE_IMAGLIST" = "yes"; then
36357 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36363 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36367 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36368 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36373 if test "$wxUSE_NOTEBOOK" = "yes"; then
36374 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36380 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36381 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36385 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36386 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36392 if test "$wxUSE_RADIOBOX" = "yes"; then
36393 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36398 if test "$wxUSE_RADIOBTN" = "yes"; then
36399 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36404 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36405 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36409 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36410 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36414 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36415 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36419 if test "$wxUSE_SASH" = "yes"; then
36420 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36425 if test "$wxUSE_SCROLLBAR" = "yes"; then
36426 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36432 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36433 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36438 if test "$wxUSE_SLIDER" = "yes"; then
36439 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36444 if test "$wxUSE_SPINBTN" = "yes"; then
36445 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36450 if test "$wxUSE_SPINCTRL" = "yes"; then
36451 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36456 if test "$wxUSE_SPLITTER" = "yes"; then
36457 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36462 if test "$wxUSE_STATBMP" = "yes"; then
36463 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36468 if test "$wxUSE_STATBOX" = "yes"; then
36469 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36474 if test "$wxUSE_STATTEXT" = "yes"; then
36475 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36480 if test "$wxUSE_STATLINE" = "yes"; then
36481 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36486 if test "$wxUSE_STATUSBAR" = "yes"; then
36487 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36489 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36496 if test "$wxUSE_TEXTCTRL" = "yes"; then
36497 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36502 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36504 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36508 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36509 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36514 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36515 if test "$wxUSE_OLD_COCOA" = 1 ; then
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36517 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36521 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36522 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36528 if test "$wxUSE_TOOLBAR" = "yes"; then
36529 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36533 if test "$wxUSE_UNIVERSAL" = "yes"; then
36534 wxUSE_TOOLBAR_NATIVE
="no"
36536 wxUSE_TOOLBAR_NATIVE
="yes"
36537 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36544 if test "$wxUSE_TOOLTIPS" = "yes"; then
36545 if test "$wxUSE_MOTIF" = 1; then
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36547 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36549 if test "$wxUSE_UNIVERSAL" = "yes"; then
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36551 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36553 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36559 if test "$wxUSE_TREEBOOK" = "yes"; then
36560 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36565 if test "$wxUSE_TOOLBOOK" = "yes"; then
36566 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36571 if test "$wxUSE_TREECTRL" = "yes"; then
36572 if test "$wxUSE_IMAGLIST" = "yes"; then
36573 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36579 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36583 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36584 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36590 if test "$wxUSE_POPUPWIN" = "yes"; then
36591 if test "$wxUSE_OLD_COCOA" = 1 ; then
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36593 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36595 if test "$wxUSE_PM" = 1; then
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36597 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36599 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36608 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36609 $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS prefseditor"
36614 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36615 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36617 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36619 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36625 if test "$wxUSE_TIPWINDOW" = "yes"; then
36626 if test "$wxUSE_PM" = 1; then
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36628 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36630 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36635 if test "$USES_CONTROLS" = 1; then
36636 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36641 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36642 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36647 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36648 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36652 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36653 if test "$wxUSE_GTK" != 1; then
36654 if test "$wxUSE_LIBPNG" != no
-a \
36655 "$wxUSE_IMAGE" = yes -a \
36656 "$wxUSE_STREAMS" = yes; then
36657 wxUSE_ARTPROVIDER_TANGO
="yes"
36662 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36663 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36667 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36668 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36673 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36674 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36676 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36678 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36685 if test "$wxUSE_HTML" = "yes"; then
36686 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36691 if test "$wxUSE_WEBKIT" = "yes"; then
36692 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36693 old_CPPFLAGS
="$CPPFLAGS"
36694 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36695 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36696 #include <Carbon/Carbon.h>
36697 #include <WebKit/WebKit.h>
36700 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36702 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36704 WEBKIT_LINK
="-framework WebKit"
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36709 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36715 CPPFLAGS
="$old_CPPFLAGS"
36716 elif test "$wxUSE_OLD_COCOA" = 1; then
36717 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36722 if test "$wxUSE_WEBKIT" = "yes"; then
36723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36728 if test "$wxUSE_XRC" = "yes"; then
36729 if test "$wxUSE_XML" != "yes"; then
36730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36731 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36734 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36742 if test "$wxUSE_AUI" = "yes"; then
36743 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36750 if test "$wxUSE_PROPGRID" = "yes"; then
36751 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36758 if test "$wxUSE_RIBBON" = "yes"; then
36759 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36766 if test "$wxUSE_STC" = "yes"; then
36767 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36772 # Extract the first word of "python", so it can be a program name with args.
36773 set dummy python
; ac_word
=$2
36774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36775 $as_echo_n "checking for $ac_word... " >&6; }
36776 if ${ac_cv_path_PYTHON+:} false
; then :
36777 $as_echo_n "(cached) " >&6
36781 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36785 for as_dir
in $PATH
36788 test -z "$as_dir" && as_dir
=.
36789 for ac_exec_ext
in '' $ac_executable_extensions; do
36790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36791 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36802 PYTHON
=$ac_cv_path_PYTHON
36803 if test -n "$PYTHON"; then
36804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36805 $as_echo "$PYTHON" >&6; }
36807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36808 $as_echo "no" >&6; }
36812 if test "x$PYTHON" = "x"; then
36818 if test "$wxUSE_MENUS" = "yes"; then
36819 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36824 if test "$wxUSE_MIMETYPE" = "yes"; then
36825 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36829 if test "$wxUSE_MINIFRAME" = "yes"; then
36830 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36834 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36835 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36839 if test "$wxUSE_TASKBARICON" = "yes"; then
36840 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36842 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36848 if test "$wxUSE_VALIDATORS" = "yes"; then
36849 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36854 if test "$wxUSE_PALETTE" = "yes" ; then
36855 if test "$wxUSE_DFB" = 1; then
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36857 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36860 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36865 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36866 LIBS
=" -lunicows $LIBS"
36870 if test "$wxUSE_RICHTEXT" = "yes"; then
36871 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36877 if test "$wxUSE_WEBVIEW" = "yes"; then
36878 USE_WEBVIEW_WEBKIT
=0
36879 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36880 if test "$wxUSE_GTK" = 1; then
36881 webkitgtk
=webkit
-1.0
36882 if test "$WXGTK3" = 1; then
36883 webkitgtk
=webkitgtk
-3.0
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36888 $as_echo_n "checking for WEBKIT... " >&6; }
36890 if test -n "$PKG_CONFIG"; then
36891 if test -n "$WEBKIT_CFLAGS"; then
36892 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36894 if test -n "$PKG_CONFIG" && \
36895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36896 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36899 test $ac_status = 0; }; then
36900 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36908 if test -n "$PKG_CONFIG"; then
36909 if test -n "$WEBKIT_LIBS"; then
36910 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36912 if test -n "$PKG_CONFIG" && \
36913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36914 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36917 test $ac_status = 0; }; then
36918 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36929 if test $pkg_failed = yes; then
36931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36932 _pkg_short_errors_supported
=yes
36934 _pkg_short_errors_supported
=no
36936 if test $_pkg_short_errors_supported = yes; then
36937 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36939 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36941 # Put the nasty error message in config.log where it belongs
36942 echo "$WEBKIT_PKG_ERRORS" >&5
36945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36946 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36948 elif test $pkg_failed = untried
; then
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36951 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36954 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36955 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36957 $as_echo "yes" >&6; }
36959 USE_WEBVIEW_WEBKIT
=1
36960 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36964 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36965 old_CPPFLAGS
="$CPPFLAGS"
36966 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36967 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36968 #include <Carbon/Carbon.h>
36969 #include <WebKit/WebKit.h>
36972 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36974 USE_WEBVIEW_WEBKIT
=1
36975 WEBKIT_LINK
="-framework WebKit"
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36980 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36985 CPPFLAGS
="$old_CPPFLAGS"
36990 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36991 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36992 wxUSE_WEBVIEW
="yes"
36993 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36997 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36999 elif test "$wxUSE_MSW" = 1; then
37000 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37001 wxUSE_WEBVIEW
="yes"
37002 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37008 if test "$wxUSE_WEBVIEW" = "yes"; then
37010 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
37018 if test "$wxUSE_IMAGE" = "yes" ; then
37019 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37022 if test "$wxUSE_GIF" = "yes" ; then
37023 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37027 if test "$wxUSE_PCX" = "yes" ; then
37028 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37032 if test "$wxUSE_TGA" = "yes" ; then
37033 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37037 if test "$wxUSE_IFF" = "yes" ; then
37038 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37042 if test "$wxUSE_PNM" = "yes" ; then
37043 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37047 if test "$wxUSE_XPM" = "yes" ; then
37048 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37052 if test "$wxUSE_ICO_CUR" = "yes" ; then
37053 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37059 if test "$wxUSE_ABOUTDLG" = "yes"; then
37060 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37064 if test "$wxUSE_CHOICEDLG" = "yes"; then
37065 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37069 if test "$wxUSE_COLOURDLG" = "yes"; then
37070 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37074 if test "$wxUSE_FILEDLG" = "yes"; then
37075 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37079 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37080 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37084 if test "$wxUSE_FONTDLG" = "yes"; then
37085 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37089 if test "$wxUSE_DIRDLG" = "yes"; then
37090 if test "$wxUSE_TREECTRL" != "yes"; then
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37092 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37094 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37099 if test "$wxUSE_MSGDLG" = "yes"; then
37100 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37104 if test "$wxUSE_NUMBERDLG" = "yes"; then
37105 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37109 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37110 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37114 if test "$wxUSE_SPLASH" = "yes"; then
37115 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37120 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37121 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37125 if test "$wxUSE_TEXTDLG" = "yes"; then
37126 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37130 if test "$wxUSE_WIZARDDLG" = "yes"; then
37131 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37137 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37138 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37139 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37145 if test "$wxUSE_MSW" = 1 ; then
37147 if test "$wxUSE_DC_CACHEING" = "yes"; then
37148 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37152 if test "$wxUSE_DIB" = "yes"; then
37153 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37157 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37158 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37162 if test "$wxUSE_UXTHEME" = "yes"; then
37163 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37169 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37170 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37174 if test "$USE_WIN32" = 1 ; then
37175 if test "$wxUSE_INICONF" = "yes"; then
37176 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37180 if test "$wxUSE_REGKEY" = "yes"; then
37181 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37187 if test "$wxUSE_MAC" = 1; then
37188 wxUSE_GRAPHICS_CONTEXT
="yes"
37191 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37193 if test "$wxUSE_MSW" = 1; then
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37195 $as_echo_n "checking if GDI+ is available... " >&6; }
37196 if ${wx_cv_lib_gdiplus+:} false
; then :
37197 $as_echo_n "(cached) " >&6
37201 ac_cpp
='$CXXCPP $CPPFLAGS'
37202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <windows.h>
37209 #include <gdiplus.h>
37214 using namespace Gdiplus;
37220 if ac_fn_cxx_try_compile
"$LINENO"; then :
37221 wx_cv_lib_gdiplus
=yes
37223 wx_cv_lib_gdiplus
=no
37226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37228 ac_cpp
='$CPP $CPPFLAGS'
37229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37237 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37238 if test "$wx_cv_lib_gdiplus" = "yes"; then
37241 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37245 $as_echo_n "checking for CAIRO... " >&6; }
37247 if test -n "$PKG_CONFIG"; then
37248 if test -n "$CAIRO_CFLAGS"; then
37249 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37251 if test -n "$PKG_CONFIG" && \
37252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37253 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37256 test $ac_status = 0; }; then
37257 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37265 if test -n "$PKG_CONFIG"; then
37266 if test -n "$CAIRO_LIBS"; then
37267 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37269 if test -n "$PKG_CONFIG" && \
37270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37271 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37274 test $ac_status = 0; }; then
37275 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37286 if test $pkg_failed = yes; then
37288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37289 _pkg_short_errors_supported
=yes
37291 _pkg_short_errors_supported
=no
37293 if test $_pkg_short_errors_supported = yes; then
37294 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37296 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37298 # Put the nasty error message in config.log where it belongs
37299 echo "$CAIRO_PKG_ERRORS" >&5
37301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37302 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37304 elif test $pkg_failed = untried
; then
37305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37306 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37309 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37310 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37312 $as_echo "yes" >&6; }
37315 if test "$wx_has_graphics" = 1; then
37317 LIBS
="$LIBS $CAIRO_LIBS"
37318 for ac_func
in cairo_push_group
37320 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37321 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37322 cat >>confdefs.h
<<_ACEOF
37323 #define HAVE_CAIRO_PUSH_GROUP 1
37330 if test "$ac_cv_func_cairo_push_group" = "no"; then
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37333 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37335 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37338 if test "$wxUSE_GTK" != 1; then
37339 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37340 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37348 if test "$wx_has_graphics" = 1; then
37349 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37353 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37360 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37363 if test "$wxUSE_GTK" = 1; then
37364 wxUSE_GSTREAMER
="no"
37366 GST_VERSION_MAJOR
=0
37367 GST_VERSION_MINOR
=10
37368 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37370 if test "$wxUSE_GSTREAMER8" = "no"; then
37373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37374 $as_echo_n "checking for GST... " >&6; }
37376 if test -n "$PKG_CONFIG"; then
37377 if test -n "$GST_CFLAGS"; then
37378 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37380 if test -n "$PKG_CONFIG" && \
37381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37382 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37385 test $ac_status = 0; }; then
37386 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37394 if test -n "$PKG_CONFIG"; then
37395 if test -n "$GST_LIBS"; then
37396 pkg_cv_GST_LIBS
="$GST_LIBS"
37398 if test -n "$PKG_CONFIG" && \
37399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37400 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37403 test $ac_status = 0; }; then
37404 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37415 if test $pkg_failed = yes; then
37417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37418 _pkg_short_errors_supported
=yes
37420 _pkg_short_errors_supported
=no
37422 if test $_pkg_short_errors_supported = yes; then
37423 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37425 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37427 # Put the nasty error message in config.log where it belongs
37428 echo "$GST_PKG_ERRORS" >&5
37431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37432 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37433 GST_VERSION_MINOR
=8
37436 elif test $pkg_failed = untried
; then
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37439 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37440 GST_VERSION_MINOR
=8
37444 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37445 GST_LIBS
=$pkg_cv_GST_LIBS
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37447 $as_echo "yes" >&6; }
37449 wxUSE_GSTREAMER
="yes"
37450 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37454 GST_VERSION_MINOR
=8
37457 if test $GST_VERSION_MINOR = "8"; then
37458 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37462 $as_echo_n "checking for GST... " >&6; }
37464 if test -n "$PKG_CONFIG"; then
37465 if test -n "$GST_CFLAGS"; then
37466 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37468 if test -n "$PKG_CONFIG" && \
37469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37470 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37473 test $ac_status = 0; }; then
37474 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37482 if test -n "$PKG_CONFIG"; then
37483 if test -n "$GST_LIBS"; then
37484 pkg_cv_GST_LIBS
="$GST_LIBS"
37486 if test -n "$PKG_CONFIG" && \
37487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37488 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37491 test $ac_status = 0; }; then
37492 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37503 if test $pkg_failed = yes; then
37505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37506 _pkg_short_errors_supported
=yes
37508 _pkg_short_errors_supported
=no
37510 if test $_pkg_short_errors_supported = yes; then
37511 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37513 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37515 # Put the nasty error message in config.log where it belongs
37516 echo "$GST_PKG_ERRORS" >&5
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37520 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37522 elif test $pkg_failed = untried
; then
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37525 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37528 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37529 GST_LIBS
=$pkg_cv_GST_LIBS
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37531 $as_echo "yes" >&6; }
37532 wxUSE_GSTREAMER
="yes"
37537 if test "$wxUSE_GSTREAMER" = "yes"; then
37538 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37539 EXTRALIBS_MEDIA
="$GST_LIBS"
37541 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37547 elif test "$wxUSE_MAC" = 1; then
37548 GST_LIBS
="-framework QTKit"
37551 if test $USE_MEDIA = 1; then
37552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37553 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37556 if test "$wxUSE_MEDIACTRL" = "yes"; then
37557 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37560 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37566 if test "$cross_compiling" != "no"; then
37569 OSINFO
=`uname -s -r -m`
37570 OSINFO
="\"$OSINFO\""
37573 cat >>confdefs.h
<<_ACEOF
37574 #define WXWIN_OS_DESCRIPTION $OSINFO
37579 if test "x$prefix" != "xNONE"; then
37582 wxPREFIX
=$ac_default_prefix
37585 cat >>confdefs.h
<<_ACEOF
37586 #define wxINSTALL_PREFIX "$wxPREFIX"
37592 STD_BASE_LIBS
="base"
37594 BUILT_WX_LIBS
="base"
37595 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37597 if test "$wxUSE_SOCKETS" = "yes" ; then
37598 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37599 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37601 if test "$wxUSE_XML" = "yes" ; then
37602 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37603 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37606 if test "$wxUSE_GUI" = "yes"; then
37607 STD_GUI_LIBS
="adv core"
37608 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37610 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37611 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37612 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37614 if test "$wxUSE_HTML" = "yes" ; then
37615 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37616 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37618 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37619 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37621 if test "$wxUSE_OPENGL" = "yes" ; then
37622 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37624 if test "$wxUSE_AUI" = "yes" ; then
37625 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37627 if test "$wxUSE_PROPGRID" = "yes" ; then
37628 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37630 if test "$wxUSE_RIBBON" = "yes" ; then
37631 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37633 if test "$wxUSE_RICHTEXT" = "yes" ; then
37634 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37636 if test "$wxUSE_STC" = "yes" ; then
37637 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37639 if test "$wxUSE_WEBVIEW" = "yes" ; then
37640 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37641 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37643 if test "$wxUSE_XRC" = "yes" ; then
37644 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37645 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37656 if test "$wxUSE_MAC" = 1 ; then
37657 if test "$USE_DARWIN" = 1; then
37658 if test "$wxUSE_OSX_IPHONE" = 1; then
37659 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37661 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37664 if test "$cross_compiling" != "no"; then
37665 wx_cv_target_x86_64
=no
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37668 $as_echo_n "checking if we target only x86_64... " >&6; }
37669 if ${wx_cv_target_x86_64+:} false
; then :
37670 $as_echo_n "(cached) " >&6
37672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37673 /* end confdefs.h. */
37674 int main() { return 0; }
37676 if ac_fn_c_try_link
"$LINENO"; then :
37677 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37678 wx_cv_target_x86_64
=no
37680 wx_cv_target_x86_64
=yes
37684 rm -f core conftest.err conftest.
$ac_objext \
37685 conftest
$ac_exeext conftest.
$ac_ext
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37689 $as_echo "$wx_cv_target_x86_64" >&6; }
37692 if test "$wx_cv_target_x86_64" != "yes"; then
37693 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37698 if test "$wxUSE_OLD_COCOA" = 1 ; then
37699 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37700 if test "$wxUSE_MEDIACTRL" = "yes"; then
37701 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37704 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37705 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37708 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37709 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37711 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37713 if test "$wxUSE_GUI" = "yes"; then
37716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37717 erase event exec font image minimal render \
37718 shaped svg taborder vscroll widgets wrapsizer"
37720 if test "$wxUSE_MONOLITHIC" != "yes"; then
37721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37723 if test "$TOOLKIT" = "MSW"; then
37724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37725 if test "$wxUSE_UNIVERSAL" != "yes"; then
37726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37729 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37733 SAMPLES_SUBDIRS
="console"
37734 if test "$wxUSE_SOCKETS" = "yes" ; then
37735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37737 if test "$wxUSE_IPC" = "yes" ; then
37738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37743 if test "x$INTELCC" = "xyes" ; then
37744 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37745 elif test "$GCC" = yes ; then
37746 CWARNINGS
="-Wall -Wundef"
37749 if test "x$INTELCXX" = "xyes" ; then
37750 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37751 elif test "$GXX" = yes ; then
37752 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37754 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37755 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37756 $as_echo_n "(cached) " >&6
37758 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37761 ac_cpp
='$CXXCPP $CPPFLAGS'
37762 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37763 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37764 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37766 ac_save_CXXFLAGS
="$CXXFLAGS"
37767 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37768 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37770 /* end confdefs.h. */
37780 if ac_fn_cxx_try_compile
"$LINENO"; then :
37781 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37785 CXXFLAGS
="$ac_save_CXXFLAGS"
37787 ac_cpp
='$CPP $CPPFLAGS'
37788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37795 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37796 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37800 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37801 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37802 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37805 test $ac_status = 0; }
37806 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37807 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37810 test $ac_status = 0; }
37811 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37817 if test "$wxUSE_MAC" = 1 ; then
37818 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37823 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37824 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37827 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37828 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37829 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37832 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37833 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37834 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37835 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37836 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37838 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37841 if test "x$MWCC" = "xyes"; then
37843 CC
="$CC -cwd source -I-"
37844 CXX
="$CXX -cwd source -I-"
37849 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37850 EXTRALIBS_XML
="$EXPAT_LINK"
37851 EXTRALIBS_HTML
="$MSPACK_LINK"
37852 EXTRALIBS_MEDIA
="$GST_LIBS"
37853 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37854 if test "$wxUSE_GUI" = "yes"; then
37855 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37857 if test "$wxUSE_OPENGL" = "yes"; then
37858 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37861 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37863 WXCONFIG_LIBS
="$LIBS"
37865 if test "$wxUSE_REGEX" = "builtin" ; then
37866 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37868 if test "$wxUSE_EXPAT" = "builtin" ; then
37869 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37871 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37872 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37874 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37875 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37877 if test "$wxUSE_LIBPNG" = "builtin" ; then
37878 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37880 if test "$wxUSE_ZLIB" = "builtin" ; then
37881 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37884 for i
in $wxconfig_3rdparty ; do
37885 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37889 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37892 case "$wxUNIV_THEMES" in
37894 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37899 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37900 cat >>confdefs.h
<<_ACEOF
37901 #define wxUSE_THEME_$t 1
37917 if test $wxUSE_MONOLITHIC = "yes" ; then
37923 if test $wxUSE_PLUGINS = "yes" ; then
37929 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37935 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37963 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37976 TOOLKIT_DESC
="GTK+"
37977 if test "$WXGTK2" = 1; then
37978 if test "$WXGTK3" = 1; then
37979 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37981 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37983 if test "$wxUSE_GTKPRINT" = "yes" ; then
37984 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37986 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37987 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37989 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37990 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37992 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37993 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37995 if test "$wxUSE_LIBHILDON" = "yes"; then
37996 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37998 if test "$wxUSE_LIBHILDON2" = "yes"; then
37999 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38002 if test "$TOOLKIT_EXTRA" != ""; then
38003 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38009 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
38013 TOOLKIT_DESC
="base only"
38017 if test "$wxUSE_WINE" = "yes"; then
38018 BAKEFILE_FORCE_PLATFORM
=win32
38021 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38024 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38025 if ${wx_cv_gcc_pch_bug+:} false
; then :
38026 $as_echo_n "(cached) " >&6
38029 echo '#include <stdio.h>
38030 const wchar_t test_var[] = L"awidetest";' > conftest.h
38032 echo '#include "conftest.h"
38035 printf("%ls", test_var);
38039 wx_cv_gcc_pch_bug
="pch not supported"
38041 if $CXX conftest.h
>/dev
/null
2>&1
38045 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
38047 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
38048 grep awidetest
>/dev
/null
38050 wx_cv_gcc_pch_bug
=no
38052 wx_cv_gcc_pch_bug
=yes
38057 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38061 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38063 if test "$wx_cv_gcc_pch_bug" = yes; then
38068 # Find a good install program. We prefer a C program (faster),
38069 # so one script is as good as another. But avoid the broken or
38070 # incompatible versions:
38071 # SysV /etc/install, /usr/sbin/install
38072 # SunOS /usr/etc/install
38073 # IRIX /sbin/install
38075 # AmigaOS /C/install, which installs bootblocks on floppy discs
38076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38079 # OS/2's system install, which has a completely different semantic
38080 # ./install, which can be erroneously created by make from ./install.sh.
38081 # Reject install programs that cannot install multiple files.
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38083 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38084 if test -z "$INSTALL"; then
38085 if ${ac_cv_path_install+:} false
; then :
38086 $as_echo_n "(cached) " >&6
38088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38089 for as_dir
in $PATH
38092 test -z "$as_dir" && as_dir
=.
38093 # Account for people who put trailing slashes in PATH elements.
38094 case $as_dir/ in #((
38095 .
/ | .
// | /[cC
]/* | \
38096 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38097 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38100 # OSF1 and SCO ODT 3.0 have their own names for install.
38101 # Don't use installbsd from OSF since it installs stuff as root
38103 for ac_prog
in ginstall scoinst
install; do
38104 for ac_exec_ext
in '' $ac_executable_extensions; do
38105 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38106 if test $ac_prog = install &&
38107 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38108 # AIX install. It has an incompatible calling convention.
38110 elif test $ac_prog = install &&
38111 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38112 # program-specific install script used by HP pwplus--don't use.
38115 rm -rf conftest.one conftest.two conftest.dir
38116 echo one
> conftest.one
38117 echo two
> conftest.two
38119 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38120 test -s conftest.one
&& test -s conftest.two
&&
38121 test -s conftest.dir
/conftest.one
&&
38122 test -s conftest.dir
/conftest.two
38124 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38137 rm -rf conftest.one conftest.two conftest.dir
38140 if test "${ac_cv_path_install+set}" = set; then
38141 INSTALL
=$ac_cv_path_install
38143 # As a last resort, use the slow shell script. Don't cache a
38144 # value for INSTALL within a source directory, because that will
38145 # break other packages using the cache if that directory is
38146 # removed, or if the value is a relative name.
38147 INSTALL
=$ac_install_sh
38150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38151 $as_echo "$INSTALL" >&6; }
38153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38154 # It thinks the first close brace ends the variable substitution.
38155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38159 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38167 if test "x$BAKEFILE_HOST" = "x"; then
38168 if test "x${host}" = "x" ; then
38169 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38172 BAKEFILE_HOST
="${host}"
38175 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38177 if test -n "$ac_tool_prefix"; then
38178 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38179 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38181 $as_echo_n "checking for $ac_word... " >&6; }
38182 if ${ac_cv_prog_RANLIB+:} false
; then :
38183 $as_echo_n "(cached) " >&6
38185 if test -n "$RANLIB"; then
38186 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38189 for as_dir
in $PATH
38192 test -z "$as_dir" && as_dir
=.
38193 for ac_exec_ext
in '' $ac_executable_extensions; do
38194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38195 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38205 RANLIB
=$ac_cv_prog_RANLIB
38206 if test -n "$RANLIB"; then
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38208 $as_echo "$RANLIB" >&6; }
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38211 $as_echo "no" >&6; }
38216 if test -z "$ac_cv_prog_RANLIB"; then
38217 ac_ct_RANLIB
=$RANLIB
38218 # Extract the first word of "ranlib", so it can be a program name with args.
38219 set dummy ranlib
; ac_word
=$2
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38221 $as_echo_n "checking for $ac_word... " >&6; }
38222 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38223 $as_echo_n "(cached) " >&6
38225 if test -n "$ac_ct_RANLIB"; then
38226 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38229 for as_dir
in $PATH
38232 test -z "$as_dir" && as_dir
=.
38233 for ac_exec_ext
in '' $ac_executable_extensions; do
38234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38235 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38245 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38246 if test -n "$ac_ct_RANLIB"; then
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38248 $as_echo "$ac_ct_RANLIB" >&6; }
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38251 $as_echo "no" >&6; }
38254 if test "x$ac_ct_RANLIB" = x
; then
38257 case $cross_compiling:$ac_tool_warned in
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38261 ac_tool_warned
=yes ;;
38263 RANLIB
=$ac_ct_RANLIB
38266 RANLIB
="$ac_cv_prog_RANLIB"
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38271 $as_echo_n "checking whether ln -s works... " >&6; }
38273 if test "$LN_S" = "ln -s"; then
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38275 $as_echo "yes" >&6; }
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38278 $as_echo "no, using $LN_S" >&6; }
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38283 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38285 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38286 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38287 $as_echo_n "(cached) " >&6
38289 cat >conftest.
make <<\_ACEOF
38292 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38294 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38295 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38296 *@@@
%%%=?
*=@@@
%%%*)
38297 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38299 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38301 rm -f conftest.
make
38303 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38305 $as_echo "yes" >&6; }
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38309 $as_echo "no" >&6; }
38310 SET_MAKE
="MAKE=${MAKE-make}"
38315 if test "x$SUNCXX" = "xyes"; then
38317 AROPTIONS
="-xar -o"
38319 elif test "x$SGICC" = "xyes"; then
38324 if test -n "$ac_tool_prefix"; then
38325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38326 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38328 $as_echo_n "checking for $ac_word... " >&6; }
38329 if ${ac_cv_prog_AR+:} false
; then :
38330 $as_echo_n "(cached) " >&6
38332 if test -n "$AR"; then
38333 ac_cv_prog_AR
="$AR" # Let the user override the test.
38335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38336 for as_dir
in $PATH
38339 test -z "$as_dir" && as_dir
=.
38340 for ac_exec_ext
in '' $ac_executable_extensions; do
38341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38342 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38353 if test -n "$AR"; then
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38355 $as_echo "$AR" >&6; }
38357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38358 $as_echo "no" >&6; }
38363 if test -z "$ac_cv_prog_AR"; then
38365 # Extract the first word of "ar", so it can be a program name with args.
38366 set dummy
ar; ac_word
=$2
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38368 $as_echo_n "checking for $ac_word... " >&6; }
38369 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38370 $as_echo_n "(cached) " >&6
38372 if test -n "$ac_ct_AR"; then
38373 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38376 for as_dir
in $PATH
38379 test -z "$as_dir" && as_dir
=.
38380 for ac_exec_ext
in '' $ac_executable_extensions; do
38381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38382 ac_cv_prog_ac_ct_AR
="ar"
38383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38392 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38393 if test -n "$ac_ct_AR"; then
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38395 $as_echo "$ac_ct_AR" >&6; }
38397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38398 $as_echo "no" >&6; }
38401 if test "x$ac_ct_AR" = x
; then
38404 case $cross_compiling:$ac_tool_warned in
38406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38408 ac_tool_warned
=yes ;;
38413 AR
="$ac_cv_prog_AR"
38420 if test -n "$ac_tool_prefix"; then
38421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38422 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38424 $as_echo_n "checking for $ac_word... " >&6; }
38425 if ${ac_cv_prog_STRIP+:} false
; then :
38426 $as_echo_n "(cached) " >&6
38428 if test -n "$STRIP"; then
38429 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38432 for as_dir
in $PATH
38435 test -z "$as_dir" && as_dir
=.
38436 for ac_exec_ext
in '' $ac_executable_extensions; do
38437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38438 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38448 STRIP
=$ac_cv_prog_STRIP
38449 if test -n "$STRIP"; then
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38451 $as_echo "$STRIP" >&6; }
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38454 $as_echo "no" >&6; }
38459 if test -z "$ac_cv_prog_STRIP"; then
38461 # Extract the first word of "strip", so it can be a program name with args.
38462 set dummy strip
; ac_word
=$2
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38464 $as_echo_n "checking for $ac_word... " >&6; }
38465 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38466 $as_echo_n "(cached) " >&6
38468 if test -n "$ac_ct_STRIP"; then
38469 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38472 for as_dir
in $PATH
38475 test -z "$as_dir" && as_dir
=.
38476 for ac_exec_ext
in '' $ac_executable_extensions; do
38477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38478 ac_cv_prog_ac_ct_STRIP
="strip"
38479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38488 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38489 if test -n "$ac_ct_STRIP"; then
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38491 $as_echo "$ac_ct_STRIP" >&6; }
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38494 $as_echo "no" >&6; }
38497 if test "x$ac_ct_STRIP" = x
; then
38500 case $cross_compiling:$ac_tool_warned in
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38504 ac_tool_warned
=yes ;;
38509 STRIP
="$ac_cv_prog_STRIP"
38512 if test -n "$ac_tool_prefix"; then
38513 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38514 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38516 $as_echo_n "checking for $ac_word... " >&6; }
38517 if ${ac_cv_prog_NM+:} false
; then :
38518 $as_echo_n "(cached) " >&6
38520 if test -n "$NM"; then
38521 ac_cv_prog_NM
="$NM" # Let the user override the test.
38523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38524 for as_dir
in $PATH
38527 test -z "$as_dir" && as_dir
=.
38528 for ac_exec_ext
in '' $ac_executable_extensions; do
38529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38530 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38541 if test -n "$NM"; then
38542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38543 $as_echo "$NM" >&6; }
38545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38546 $as_echo "no" >&6; }
38551 if test -z "$ac_cv_prog_NM"; then
38553 # Extract the first word of "nm", so it can be a program name with args.
38554 set dummy nm
; ac_word
=$2
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38556 $as_echo_n "checking for $ac_word... " >&6; }
38557 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38558 $as_echo_n "(cached) " >&6
38560 if test -n "$ac_ct_NM"; then
38561 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38564 for as_dir
in $PATH
38567 test -z "$as_dir" && as_dir
=.
38568 for ac_exec_ext
in '' $ac_executable_extensions; do
38569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38570 ac_cv_prog_ac_ct_NM
="nm"
38571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38580 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38581 if test -n "$ac_ct_NM"; then
38582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38583 $as_echo "$ac_ct_NM" >&6; }
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38586 $as_echo "no" >&6; }
38589 if test "x$ac_ct_NM" = x
; then
38592 case $cross_compiling:$ac_tool_warned in
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38596 ac_tool_warned
=yes ;;
38601 NM
="$ac_cv_prog_NM"
38605 INSTALL_DIR
="mkdir -p"
38609 case ${BAKEFILE_HOST} in
38610 *-*-cygwin* | *-*-mingw32* )
38611 LDFLAGS_GUI
="-mwindows"
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38618 $as_echo_n "checking if make is GNU make... " >&6; }
38619 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38620 $as_echo_n "(cached) " >&6
38623 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38624 egrep -s GNU
> /dev
/null
); then
38625 bakefile_cv_prog_makeisgnu
="yes"
38627 bakefile_cv_prog_makeisgnu
="no"
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38632 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38634 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38651 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38652 case "${BAKEFILE_HOST}" in
38659 *-pc-os2_emx | *-pc-os2-emx )
38669 powerpc
-apple-macos* )
38678 case "$BAKEFILE_FORCE_PLATFORM" in
38699 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38714 # Check whether --enable-omf was given.
38715 if test "${enable_omf+set}" = set; then :
38716 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38720 case "${BAKEFILE_HOST}" in
38722 if test "x$GCC" = "xyes"; then
38723 CFLAGS
="$CFLAGS -fno-common"
38724 CXXFLAGS
="$CXXFLAGS -fno-common"
38726 if test "x$XLCC" = "xyes"; then
38727 CFLAGS
="$CFLAGS -qnocommon"
38728 CXXFLAGS
="$CXXFLAGS -qnocommon"
38732 *-pc-os2_emx | *-pc-os2-emx )
38733 if test "x$bk_os2_use_omf" = "xyes" ; then
38736 LDFLAGS
="-Zomf $LDFLAGS"
38737 CFLAGS
="-Zomf $CFLAGS"
38738 CXXFLAGS
="-Zomf $CXXFLAGS"
38746 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38752 SO_SUFFIX_MODULE
="so"
38757 DLLPREFIX_MODULE
=""
38761 case "${BAKEFILE_HOST}" in
38766 SO_SUFFIX_MODULE
="sl"
38770 SO_SUFFIX_MODULE
="a"
38774 SO_SUFFIX_MODULE
="dll"
38775 DLLIMP_SUFFIX
="dll.a"
38782 SO_SUFFIX_MODULE
="dll"
38783 DLLIMP_SUFFIX
="dll.a"
38793 *-pc-os2_emx | *-pc-os2-emx )
38795 SO_SUFFIX_MODULE
="dll"
38796 DLLIMP_SUFFIX
=$OS2_LIBEXT
38800 LIBEXT
=".$OS2_LIBEXT"
38805 SO_SUFFIX_MODULE
="bundle"
38809 if test "x$DLLIMP_SUFFIX" = "x" ; then
38810 DLLIMP_SUFFIX
="$SO_SUFFIX"
38825 if test "x$GCC" = "xyes"; then
38829 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38830 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38833 case "${BAKEFILE_HOST}" in
38835 if test "x$GCC" != "xyes"; then
38836 LDFLAGS
="$LDFLAGS -L/usr/lib"
38838 SHARED_LD_CC
="${CC} -b -o"
38839 SHARED_LD_CXX
="${CXX} -b -o"
38845 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38847 elif test "x$SUNCXX" = "xyes"; then
38848 SHARED_LD_CC
="${CC} -G -o"
38849 SHARED_LD_CXX
="${CXX} -G -o"
38855 if test "x$SUNCXX" = xyes
; then
38856 SHARED_LD_CC
="${CC} -G -o"
38857 SHARED_LD_CXX
="${CXX} -G -o"
38865 cat <<EOF >shared-ld-sh
38867 #-----------------------------------------------------------------------------
38868 #-- Name: distrib/mac/shared-ld-sh
38869 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38870 #-- Author: Gilles Depeyrot
38871 #-- Copyright: (c) 2002 Gilles Depeyrot
38872 #-- Licence: any use permitted
38873 #-----------------------------------------------------------------------------
38878 linking_flag="-dynamiclib"
38879 ldargs="-r -keep_private_externs -nostdlib"
38881 if test "x${D}CXX" = "x"; then
38885 while test ${D}# -gt 0; do
38892 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38893 # collect these options and values
38894 args="${D}{args} ${D}1 ${D}2"
38899 # collect these options and values
38900 ldargs="${D}{ldargs} ${D}1 ${D}2"
38905 # collect these load args
38906 ldargs="${D}{ldargs} ${D}1"
38909 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38910 # collect these options
38911 args="${D}{args} ${D}1"
38914 -dynamiclib|-bundle)
38915 linking_flag="${D}1"
38919 echo "shared-ld: unhandled option '${D}1'"
38923 *.o | *.a | *.dylib)
38924 # collect object files
38925 objects="${D}{objects} ${D}1"
38929 echo "shared-ld: unhandled argument '${D}1'"
38940 # Link one module containing all the others
38942 if test ${D}{verbose} = 1; then
38943 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38945 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38949 # Link the shared library from the single module created, but only if the
38950 # previous command didn't fail:
38952 if test ${D}{status} = 0; then
38953 if test ${D}{verbose} = 1; then
38954 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38956 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38961 # Remove intermediate module
38963 rm -f master.${D}${D}.o
38968 chmod +x shared
-ld-sh
38970 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38971 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38975 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38976 if ${bakefile_cv_gcc31+:} false
; then :
38977 $as_echo_n "(cached) " >&6
38980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38981 /* end confdefs.h. */
38987 #if (__GNUC__ < 3) || \
38988 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38996 if ac_fn_c_try_compile
"$LINENO"; then :
38998 bakefile_cv_gcc31
=yes
39002 bakefile_cv_gcc31
=no
39006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39010 $as_echo "$bakefile_cv_gcc31" >&6; }
39011 if test "$bakefile_cv_gcc31" = "no"; then
39012 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39013 SHARED_LD_CXX
="$SHARED_LD_CC"
39015 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39016 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39019 if test "x$GCC" == "xyes"; then
39020 PIC_FLAG
="-dynamic -fPIC"
39022 if test "x$XLCC" = "xyes"; then
39023 PIC_FLAG
="-dynamic -DPIC"
39028 if test "x$GCC" = "xyes"; then
39031 case "${BAKEFILE_HOST}" in
39033 LD_EXPFULL
="-Wl,-bexpfull"
39037 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
39038 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
39040 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39041 set dummy makeC
++SharedLib
; ac_word
=$2
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39043 $as_echo_n "checking for $ac_word... " >&6; }
39044 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
39045 $as_echo_n "(cached) " >&6
39047 if test -n "$AIX_CXX_LD"; then
39048 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39051 for as_dir
in $PATH
39054 test -z "$as_dir" && as_dir
=.
39055 for ac_exec_ext
in '' $ac_executable_extensions; do
39056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39057 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39065 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39068 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39069 if test -n "$AIX_CXX_LD"; then
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39071 $as_echo "$AIX_CXX_LD" >&6; }
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39074 $as_echo "no" >&6; }
39078 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39079 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39084 SHARED_LD_CC
="${LD} -nostart -o"
39085 SHARED_LD_CXX
="${LD} -nostart -o"
39089 if test "x$GCC" != "xyes"; then
39094 *-*-cygwin* | *-*-mingw32* )
39096 SHARED_LD_CC
="\$(CC) -shared -o"
39097 SHARED_LD_CXX
="\$(CXX) -shared -o"
39101 *-pc-os2_emx | *-pc-os2-emx )
39102 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39103 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39107 cat <<EOF >dllar.sh
39110 # dllar - a tool to build both a .dll and an .a file
39111 # from a set of object (.o) files for EMX/OS2.
39113 # Written by Andrew Zabolotny, bit@freya.etu.ru
39114 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39116 # This script will accept a set of files on the command line.
39117 # All the public symbols from the .o files will be exported into
39118 # a .DEF file, then linker will be run (through gcc) against them to
39119 # build a shared library consisting of all given .o files. All libraries
39120 # (.a) will be first decompressed into component .o files then act as
39121 # described above. You can optionally give a description (-d "description")
39122 # which will be put into .DLL. To see the list of accepted options (as well
39123 # as command-line format) simply run this program without options. The .DLL
39124 # is built to be imported by name (there is no guarantee that new versions
39125 # of the library you build will have same ordinals for same symbols).
39127 # dllar is free software; you can redistribute it and/or modify
39128 # it under the terms of the GNU General Public License as published by
39129 # the Free Software Foundation; either version 2, or (at your option)
39130 # any later version.
39132 # dllar is distributed in the hope that it will be useful,
39133 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39135 # GNU General Public License for more details.
39137 # You should have received a copy of the GNU General Public License
39138 # along with dllar; see the file COPYING. If not, write to the Free
39139 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39142 # To successfuly run this program you will need:
39143 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39144 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39146 # (used to build the .dll)
39148 # (used to create .def file from .o files)
39150 # (used to create .a file from .def file)
39151 # - GNU text utilites (cat, sort, uniq)
39152 # used to process emxexp output
39153 # - GNU file utilities (mv, rm)
39155 # - lxlite (optional, see flag below)
39156 # (used for general .dll cleanup)
39163 # basnam, variant of basename, which does _not_ remove the path, _iff_
39164 # second argument (suffix to remove) is given
39168 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39171 echo ${D}1 | sed 's/'${D}2'${D}//'
39174 echo "error in basnam ${D}*"
39180 # Cleanup temporary files and output
39183 for i in ${D}inputFiles ; do
39186 rm -rf \`basnam ${D}i !\`
39193 # Kill result in case of failure as there is just to many stupid make/nmake
39194 # things out there which doesn't do this.
39195 if [ ${D}# -eq 0 ]; then
39196 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39200 # Print usage and exit script with rc=1.
39202 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39203 echo ' [-name-mangler-script script.sh]'
39204 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39205 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39206 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39207 echo ' [*.o] [*.a]'
39208 echo '*> "output_file" should have no extension.'
39209 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39210 echo ' The import library name is derived from this and is set to "name".a,'
39211 echo ' unless overridden by -import'
39212 echo '*> "importlib_name" should have no extension.'
39213 echo ' If it has the .o, or .a extension, it is automatically removed.'
39214 echo ' This name is used as the import library name and may be longer and'
39215 echo ' more descriptive than the DLL name which has to follow the old '
39216 echo ' 8.3 convention of FAT.'
39217 echo '*> "script.sh may be given to override the output_file name by a'
39218 echo ' different name. It is mainly useful if the regular make process'
39219 echo ' of some package does not take into account OS/2 restriction of'
39220 echo ' DLL name lengths. It takes the importlib name as input and is'
39221 echo ' supposed to procude a shorter name as output. The script should'
39222 echo ' expect to get importlib_name without extension and should produce'
39223 echo ' a (max.) 8 letter name without extension.'
39224 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39225 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39226 echo ' These flags will be put at the start of GCC command line.'
39227 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39228 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39229 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39230 echo ' If the last character of a symbol is "*", all symbols beginning'
39231 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39232 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39233 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39234 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39235 echo ' C runtime DLLs.'
39236 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39237 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39238 echo ' unchanged to GCC at the end of command line.'
39239 echo '*> If you create a DLL from a library and you do not specify -o,'
39240 echo ' the basename for DLL and import library will be set to library name,'
39241 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39242 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39243 echo ' library will be renamed into gcc_s.a.'
39246 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39247 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39252 # Execute a command.
39253 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39254 # @Uses Whatever CleanUp() uses.
39260 if [ ${D}rcCmd -ne 0 ]; then
39261 echo "command failed, exit code="${D}rcCmd
39276 CFLAGS="-s -Zcrtdll"
39278 EXPORT_BY_ORDINALS=0
39283 case ${D}curDirS in
39287 curDirS=${D}{curDirS}"/"
39290 # Parse commandline
39293 while [ ${D}1 ]; do
39296 EXPORT_BY_ORDINALS=1;
39306 -name-mangler-script)
39327 exclude_symbols=${D}{exclude_symbols}${D}1" "
39331 library_flags=${D}{library_flags}${D}1" "
39350 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39353 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39354 if [ ${D}omfLinking -eq 1 ]; then
39355 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39357 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39362 if [ ${D}libsToLink -ne 0 ]; then
39363 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39365 for file in ${D}1 ; do
39366 if [ -f ${D}file ]; then
39367 inputFiles="${D}{inputFiles} ${D}file"
39371 if [ ${D}found -eq 0 ]; then
39372 echo "ERROR: No file(s) found: "${D}1
39379 done # iterate cmdline words
39382 if [ -z "${D}inputFiles" ]; then
39383 echo "dllar: no input files"
39387 # Now extract all .o files from .a files
39389 for file in ${D}inputFiles ; do
39400 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39405 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39407 if [ ${D}? -ne 0 ]; then
39408 echo "Failed to create subdirectory ./${D}dirname"
39412 # Append '!' to indicate archive
39413 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39414 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39417 for subfile in ${D}dirname/*.o* ; do
39418 if [ -f ${D}subfile ]; then
39420 if [ -s ${D}subfile ]; then
39421 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39422 newInputFiles="${D}newInputFiles ${D}subfile"
39426 if [ ${D}found -eq 0 ]; then
39427 echo "WARNING: there are no files in archive \\'${D}file\\'"
39431 newInputFiles="${D}{newInputFiles} ${D}file"
39435 inputFiles="${D}newInputFiles"
39437 # Output filename(s).
39439 if [ -z ${D}outFile ]; then
39441 set outFile ${D}inputFiles; outFile=${D}2
39444 # If it is an archive, remove the '!' and the '_%' suffixes
39445 case ${D}outFile in
39447 outFile=\`basnam ${D}outFile _%!\`
39452 case ${D}outFile in
39454 outFile=\`basnam ${D}outFile .dll\`
39457 outFile=\`basnam ${D}outFile .DLL\`
39460 outFile=\`basnam ${D}outFile .o\`
39463 outFile=\`basnam ${D}outFile .obj\`
39466 outFile=\`basnam ${D}outFile .a\`
39469 outFile=\`basnam ${D}outFile .lib\`
39474 case ${D}outimpFile in
39476 outimpFile=\`basnam ${D}outimpFile .a\`
39479 outimpFile=\`basnam ${D}outimpFile .lib\`
39484 if [ -z ${D}outimpFile ]; then
39485 outimpFile=${D}outFile
39487 defFile="${D}{outFile}.def"
39488 arcFile="${D}{outimpFile}.a"
39489 arcFile2="${D}{outimpFile}.lib"
39491 #create ${D}dllFile as something matching 8.3 restrictions,
39492 if [ -z ${D}renameScript ] ; then
39493 dllFile="${D}outFile"
39495 dllFile=\`${D}renameScript ${D}outimpFile\`
39498 if [ ${D}do_backup -ne 0 ] ; then
39499 if [ -f ${D}arcFile ] ; then
39500 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39502 if [ -f ${D}arcFile2 ] ; then
39503 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39507 # Extract public symbols from all the object files.
39508 tmpdefFile=${D}{defFile}_%
39509 rm -f ${D}tmpdefFile
39510 for file in ${D}inputFiles ; do
39515 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39520 # Create the def file.
39522 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39523 dllFile="${D}{dllFile}.dll"
39524 if [ ! -z ${D}description ]; then
39525 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39527 echo "EXPORTS" >> ${D}defFile
39529 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39530 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39532 # Checks if the export is ok or not.
39533 for word in ${D}exclude_symbols; do
39534 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39535 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39539 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39540 sed "=" < ${D}tmpdefFile | \\
39544 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39546 ' > ${D}{tmpdefFile}%
39547 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39549 rm -f ${D}{tmpdefFile}%
39551 cat ${D}tmpdefFile >> ${D}defFile
39552 rm -f ${D}tmpdefFile
39554 # Do linking, create implib, and apply lxlite.
39556 for file in ${D}inputFiles ; do
39561 gccCmdl="${D}gccCmdl ${D}file"
39565 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39566 touch "${D}{outFile}.dll"
39568 doCommand "emximp -o ${D}arcFile ${D}defFile"
39569 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39571 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39574 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39576 doCommand "emxomf -s -l ${D}arcFile"
39586 powerpc
-apple-macos* | \
39587 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39597 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39600 if test "x$PIC_FLAG" != "x" ; then
39601 PIC_FLAG
="$PIC_FLAG -DPIC"
39604 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39605 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39607 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39608 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39623 USE_SOTWOSYMLINKS
=0
39627 case "${BAKEFILE_HOST}" in
39628 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39629 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39630 if test "x$SUNCXX" = "xyes"; then
39633 SONAME_FLAG
="-Wl,-soname,"
39637 USE_SOTWOSYMLINKS
=1
39649 USE_SOTWOSYMLINKS
=1
39667 # Check whether --enable-dependency-tracking was given.
39668 if test "${enable_dependency_tracking+set}" = set; then :
39669 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39674 $as_echo_n "checking for dependency tracking method... " >&6; }
39677 if test "x$bk_use_trackdeps" = "xno" ; then
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39680 $as_echo "disabled" >&6; }
39684 if test "x$GCC" = "xyes"; then
39687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39688 $as_echo "gcc" >&6; }
39689 elif test "x$MWCC" = "xyes"; then
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39693 $as_echo "mwcc" >&6; }
39694 elif test "x$SUNCC" = "xyes"; then
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39698 $as_echo "Sun cc" >&6; }
39699 elif test "x$SGICC" = "xyes"; then
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39703 $as_echo "SGI cc" >&6; }
39704 elif test "x$HPCC" = "xyes"; then
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39708 $as_echo "HP cc" >&6; }
39709 elif test "x$COMPAQCC" = "xyes"; then
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39713 $as_echo "Compaq cc" >&6; }
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39717 $as_echo "none" >&6; }
39720 if test $DEPS_TRACKING = 1 ; then
39726 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39727 # script. It is used to track C/C++ files dependencies in portable way.
39729 # Permission is given to use this file in any way.
39731 DEPSMODE=${DEPSMODE}
39732 DEPSFLAG="${DEPSFLAG}"
39735 if test ${D}DEPSMODE = gcc ; then
39736 ${D}* ${D}{DEPSFLAG}
39739 # determine location of created files:
39740 while test ${D}# -gt 0; do
39754 objfilebase=\`basename ${D}objfile\`
39755 builddir=\`dirname ${D}objfile\`
39756 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39757 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39758 depsdir=${D}builddir/${D}DEPSDIRBASE
39759 mkdir -p ${D}depsdir
39761 # if the compiler failed, we're done:
39762 if test ${D}{status} != 0 ; then
39767 # move created file to the location we want it in:
39768 if test -f ${D}depfile ; then
39769 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39772 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39773 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39774 if test ! -f ${D}depfile ; then
39775 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39776 depfile="${D}objfile.d"
39778 if test -f ${D}depfile ; then
39779 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39785 elif test ${D}DEPSMODE = mwcc ; then
39786 ${D}* || exit ${D}?
39787 # Run mwcc again with -MM and redirect into the dep file we want
39788 # NOTE: We can't use shift here because we need ${D}* to be valid
39790 for arg in ${D}* ; do
39791 if test "${D}prevarg" = "-o"; then
39805 objfilebase=\`basename ${D}objfile\`
39806 builddir=\`dirname ${D}objfile\`
39807 depsdir=${D}builddir/${D}DEPSDIRBASE
39808 mkdir -p ${D}depsdir
39810 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39813 elif test ${D}DEPSMODE = unixcc; then
39814 ${D}* || exit ${D}?
39815 # Run compiler again with deps flag and redirect into the dep file.
39816 # It doesn't work if the '-o FILE' option is used, but without it the
39817 # dependency file will contain the wrong name for the object. So it is
39818 # removed from the command line, and the dep file is fixed with sed.
39820 while test ${D}# -gt 0; do
39827 eval arg${D}#=\\${D}1
39828 cmd="${D}cmd \\${D}arg${D}#"
39834 objfilebase=\`basename ${D}objfile\`
39835 builddir=\`dirname ${D}objfile\`
39836 depsdir=${D}builddir/${D}DEPSDIRBASE
39837 mkdir -p ${D}depsdir
39839 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39849 BK_DEPS
="`pwd`/bk-deps"
39857 case ${BAKEFILE_HOST} in
39858 *-*-cygwin* | *-*-mingw32* )
39859 if test -n "$ac_tool_prefix"; then
39860 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39861 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39863 $as_echo_n "checking for $ac_word... " >&6; }
39864 if ${ac_cv_prog_WINDRES+:} false
; then :
39865 $as_echo_n "(cached) " >&6
39867 if test -n "$WINDRES"; then
39868 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39871 for as_dir
in $PATH
39874 test -z "$as_dir" && as_dir
=.
39875 for ac_exec_ext
in '' $ac_executable_extensions; do
39876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39877 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39887 WINDRES
=$ac_cv_prog_WINDRES
39888 if test -n "$WINDRES"; then
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39890 $as_echo "$WINDRES" >&6; }
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39893 $as_echo "no" >&6; }
39898 if test -z "$ac_cv_prog_WINDRES"; then
39899 ac_ct_WINDRES
=$WINDRES
39900 # Extract the first word of "windres", so it can be a program name with args.
39901 set dummy windres
; ac_word
=$2
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39903 $as_echo_n "checking for $ac_word... " >&6; }
39904 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39905 $as_echo_n "(cached) " >&6
39907 if test -n "$ac_ct_WINDRES"; then
39908 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39911 for as_dir
in $PATH
39914 test -z "$as_dir" && as_dir
=.
39915 for ac_exec_ext
in '' $ac_executable_extensions; do
39916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39917 ac_cv_prog_ac_ct_WINDRES
="windres"
39918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39927 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39928 if test -n "$ac_ct_WINDRES"; then
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39930 $as_echo "$ac_ct_WINDRES" >&6; }
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39933 $as_echo "no" >&6; }
39936 if test "x$ac_ct_WINDRES" = x
; then
39939 case $cross_compiling:$ac_tool_warned in
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39943 ac_tool_warned
=yes ;;
39945 WINDRES
=$ac_ct_WINDRES
39948 WINDRES
="$ac_cv_prog_WINDRES"
39953 *-*-darwin* | powerpc
-apple-macos* )
39954 # Extract the first word of "Rez", so it can be a program name with args.
39955 set dummy Rez
; ac_word
=$2
39956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39957 $as_echo_n "checking for $ac_word... " >&6; }
39958 if ${ac_cv_prog_REZ+:} false
; then :
39959 $as_echo_n "(cached) " >&6
39961 if test -n "$REZ"; then
39962 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39965 for as_dir
in $PATH
39968 test -z "$as_dir" && as_dir
=.
39969 for ac_exec_ext
in '' $ac_executable_extensions; do
39970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39971 ac_cv_prog_REZ
="Rez"
39972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39979 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39982 REZ
=$ac_cv_prog_REZ
39983 if test -n "$REZ"; then
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39985 $as_echo "$REZ" >&6; }
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39988 $as_echo "no" >&6; }
39992 # Extract the first word of "SetFile", so it can be a program name with args.
39993 set dummy SetFile
; ac_word
=$2
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39995 $as_echo_n "checking for $ac_word... " >&6; }
39996 if ${ac_cv_prog_SETFILE+:} false
; then :
39997 $as_echo_n "(cached) " >&6
39999 if test -n "$SETFILE"; then
40000 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40003 for as_dir
in $PATH
40006 test -z "$as_dir" && as_dir
=.
40007 for ac_exec_ext
in '' $ac_executable_extensions; do
40008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40009 ac_cv_prog_SETFILE
="SetFile"
40010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40017 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40020 SETFILE
=$ac_cv_prog_SETFILE
40021 if test -n "$SETFILE"; then
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40023 $as_echo "$SETFILE" >&6; }
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40026 $as_echo "no" >&6; }
40041 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
40044 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
40048 # Check whether --enable-precomp-headers was given.
40049 if test "${enable_precomp_headers+set}" = set; then :
40050 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
40059 case ${BAKEFILE_HOST} in
40065 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40066 if test "x$GCC" = "xyes"; then
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40068 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40070 /* end confdefs.h. */
40076 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40077 There is no PCH support
40080 There is no PCH support
40082 #if (__GNUC__ == 3) && \
40083 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40084 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40085 ( defined(__INTEL_COMPILER) )
40086 There is no PCH support
40093 if ac_fn_c_try_compile
"$LINENO"; then :
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40096 $as_echo "yes" >&6; }
40101 if test "$INTELCXX8" = "yes"; then
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40103 $as_echo "yes" >&6; }
40105 if test "$INTELCXX10" = "yes"; then
40106 ICC_PCH_CREATE_SWITCH
="-pch-create"
40107 ICC_PCH_USE_SWITCH
="-pch-use"
40109 ICC_PCH_CREATE_SWITCH
="-create-pch"
40110 ICC_PCH_USE_SWITCH
="-use-pch"
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40114 $as_echo "no" >&6; }
40118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40119 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40123 cat <<EOF >bk-make-pch
40126 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40127 # script. It is used to generated precompiled headers.
40129 # Permission is given to use this file in any way.
40136 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40141 while test ${D}{#} -gt 0; do
40145 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40146 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40147 headerfile="${D}{incdir}/${D}{header}"
40150 -use-pch|-use_pch|-pch-use )
40155 if test ${D}add_to_cmdline = 1 ; then
40156 compiler="${D}{compiler} ${D}{1}"
40161 if test "x${D}{headerfile}" = "x" ; then
40162 echo "error: can't find header ${D}{header} in include paths" >&2
40164 if test -f ${D}{outfile} ; then
40165 rm -f ${D}{outfile}
40167 mkdir -p \`dirname ${D}{outfile}\`
40169 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40170 mkdir -p ${D}{builddir}/.deps
40171 if test "x${GCC_PCH}" = "x1" ; then
40172 # can do this because gcc is >= 3.4:
40173 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40174 elif test "x${ICC_PCH}" = "x1" ; then
40175 filename=pch_gen-${D}${D}
40176 file=${D}{filename}.c
40177 dfile=${D}{filename}.d
40178 cat > ${D}file <<EOT
40179 #include "${D}header"
40181 # using -MF icc complains about differing command lines in creation/use
40182 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40183 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40184 rm -f ${D}file ${D}dfile ${D}{filename}.o
40190 chmod +x bk
-make-pch
40191 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40202 COND_BUILD_debug
="#"
40203 if test "x$BUILD" = "xdebug" ; then
40204 COND_BUILD_debug
=""
40207 COND_BUILD_debug_DEBUG_INFO_default
="#"
40208 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40209 COND_BUILD_debug_DEBUG_INFO_default
=""
40212 COND_BUILD_release
="#"
40213 if test "x$BUILD" = "xrelease" ; then
40214 COND_BUILD_release
=""
40217 COND_BUILD_release_DEBUG_INFO_default
="#"
40218 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40219 COND_BUILD_release_DEBUG_INFO_default
=""
40222 COND_DEBUG_FLAG_0
="#"
40223 if test "x$DEBUG_FLAG" = "x0" ; then
40224 COND_DEBUG_FLAG_0
=""
40227 COND_DEBUG_INFO_0
="#"
40228 if test "x$DEBUG_INFO" = "x0" ; then
40229 COND_DEBUG_INFO_0
=""
40232 COND_DEBUG_INFO_1
="#"
40233 if test "x$DEBUG_INFO" = "x1" ; then
40234 COND_DEBUG_INFO_1
=""
40237 COND_DEPS_TRACKING_0
="#"
40238 if test "x$DEPS_TRACKING" = "x0" ; then
40239 COND_DEPS_TRACKING_0
=""
40242 COND_DEPS_TRACKING_1
="#"
40243 if test "x$DEPS_TRACKING" = "x1" ; then
40244 COND_DEPS_TRACKING_1
=""
40248 if test "x$GCC_PCH" = "x1" ; then
40253 if test "x$ICC_PCH" = "x1" ; then
40257 COND_MONOLITHIC_0
="#"
40258 if test "x$MONOLITHIC" = "x0" ; then
40259 COND_MONOLITHIC_0
=""
40262 COND_MONOLITHIC_0_SHARED_0
="#"
40263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40264 COND_MONOLITHIC_0_SHARED_0
=""
40267 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40269 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40272 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40274 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40279 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40284 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40297 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40299 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40302 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40304 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40307 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40309 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40312 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40314 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40317 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40319 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40322 COND_MONOLITHIC_0_SHARED_1
="#"
40323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40324 COND_MONOLITHIC_0_SHARED_1
=""
40327 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40329 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40334 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40339 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40342 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40344 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40354 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40357 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40359 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40362 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40364 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40367 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40368 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40369 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40372 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40373 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40374 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40377 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40379 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40382 COND_MONOLITHIC_0_USE_AUI_1
="#"
40383 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40384 COND_MONOLITHIC_0_USE_AUI_1
=""
40387 COND_MONOLITHIC_0_USE_GUI_1
="#"
40388 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40389 COND_MONOLITHIC_0_USE_GUI_1
=""
40392 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40393 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40394 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40397 COND_MONOLITHIC_0_USE_HTML_1
="#"
40398 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40399 COND_MONOLITHIC_0_USE_HTML_1
=""
40402 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40403 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40404 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40407 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40408 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40409 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40412 COND_MONOLITHIC_0_USE_QA_1
="#"
40413 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40414 COND_MONOLITHIC_0_USE_QA_1
=""
40417 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40418 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40419 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40422 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40423 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40424 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40427 COND_MONOLITHIC_0_USE_STC_1
="#"
40428 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40429 COND_MONOLITHIC_0_USE_STC_1
=""
40432 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40433 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40434 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40437 COND_MONOLITHIC_0_USE_XRC_1
="#"
40438 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40439 COND_MONOLITHIC_0_USE_XRC_1
=""
40442 COND_MONOLITHIC_1
="#"
40443 if test "x$MONOLITHIC" = "x1" ; then
40444 COND_MONOLITHIC_1
=""
40447 COND_MONOLITHIC_1_SHARED_0
="#"
40448 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40449 COND_MONOLITHIC_1_SHARED_0
=""
40452 COND_MONOLITHIC_1_SHARED_1
="#"
40453 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40454 COND_MONOLITHIC_1_SHARED_1
=""
40457 COND_MONOLITHIC_1_USE_STC_1
="#"
40458 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40459 COND_MONOLITHIC_1_USE_STC_1
=""
40462 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40463 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40464 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40467 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40468 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40469 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40472 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40473 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40474 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40477 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40478 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40479 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40482 COND_PLATFORM_MACOSX_1
="#"
40483 if test "x$PLATFORM_MACOSX" = "x1" ; then
40484 COND_PLATFORM_MACOSX_1
=""
40487 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40488 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40489 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40492 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40493 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40494 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40497 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40498 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40499 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40502 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40503 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40504 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40507 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40508 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40509 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40512 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40513 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40514 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40517 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40518 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40519 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40522 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40523 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40524 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40527 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40528 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40529 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40532 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40533 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40534 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40537 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40538 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40539 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40542 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40543 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40544 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40547 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40548 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40549 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40552 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40553 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40554 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40557 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40558 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40559 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40562 COND_PLATFORM_MAC_0
="#"
40563 if test "x$PLATFORM_MAC" = "x0" ; then
40564 COND_PLATFORM_MAC_0
=""
40567 COND_PLATFORM_MAC_1
="#"
40568 if test "x$PLATFORM_MAC" = "x1" ; then
40569 COND_PLATFORM_MAC_1
=""
40572 COND_PLATFORM_MSDOS_0
="#"
40573 if test "x$PLATFORM_MSDOS" = "x0" ; then
40574 COND_PLATFORM_MSDOS_0
=""
40577 COND_PLATFORM_MSDOS_1
="#"
40578 if test "x$PLATFORM_MSDOS" = "x1" ; then
40579 COND_PLATFORM_MSDOS_1
=""
40582 COND_PLATFORM_OS2_1
="#"
40583 if test "x$PLATFORM_OS2" = "x1" ; then
40584 COND_PLATFORM_OS2_1
=""
40587 COND_PLATFORM_UNIX_0
="#"
40588 if test "x$PLATFORM_UNIX" = "x0" ; then
40589 COND_PLATFORM_UNIX_0
=""
40592 COND_PLATFORM_UNIX_1
="#"
40593 if test "x$PLATFORM_UNIX" = "x1" ; then
40594 COND_PLATFORM_UNIX_1
=""
40597 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40598 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40599 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40602 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40603 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40604 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40607 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40608 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40609 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40612 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40613 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40614 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40617 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40618 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40619 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40622 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40623 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40624 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40627 COND_PLATFORM_WIN32_0
="#"
40628 if test "x$PLATFORM_WIN32" = "x0" ; then
40629 COND_PLATFORM_WIN32_0
=""
40632 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40633 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40634 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40637 COND_PLATFORM_WIN32_1
="#"
40638 if test "x$PLATFORM_WIN32" = "x1" ; then
40639 COND_PLATFORM_WIN32_1
=""
40642 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40643 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40644 COND_PLATFORM_WIN32_1_SHARED_0
=""
40647 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40648 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40649 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40652 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40653 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40654 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40657 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40658 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40659 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40662 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40663 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40664 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40668 if test "x$SHARED" = "x0" ; then
40672 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40673 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40674 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40677 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40678 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40679 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40682 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40683 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40684 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40687 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40688 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40692 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40693 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40694 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40697 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40698 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40699 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40702 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40703 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40704 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40707 COND_SHARED_0_USE_STC_1
="#"
40708 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40709 COND_SHARED_0_USE_STC_1
=""
40712 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40713 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40714 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40717 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40718 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40719 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40722 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40723 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40724 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40728 if test "x$SHARED" = "x1" ; then
40732 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40733 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40738 if test "x$TOOLKIT" = "x" ; then
40742 COND_TOOLKIT_COCOA
="#"
40743 if test "x$TOOLKIT" = "xCOCOA" ; then
40744 COND_TOOLKIT_COCOA
=""
40747 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40748 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40749 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40752 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40753 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40754 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40757 COND_TOOLKIT_DFB
="#"
40758 if test "x$TOOLKIT" = "xDFB" ; then
40759 COND_TOOLKIT_DFB
=""
40762 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40763 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40764 COND_TOOLKIT_DFB_USE_GUI_1
=""
40767 COND_TOOLKIT_GTK
="#"
40768 if test "x$TOOLKIT" = "xGTK" ; then
40769 COND_TOOLKIT_GTK
=""
40772 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40773 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40774 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40777 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40778 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40779 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40783 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40784 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40788 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40793 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40813 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40817 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40818 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40819 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40822 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40823 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40827 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40828 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40829 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40832 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40833 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40834 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40837 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40838 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40839 COND_TOOLKIT_GTK_USE_GUI_1
=""
40842 COND_TOOLKIT_MAC
="#"
40843 if test "x$TOOLKIT" = "xMAC" ; then
40844 COND_TOOLKIT_MAC
=""
40847 COND_TOOLKIT_MOTIF
="#"
40848 if test "x$TOOLKIT" = "xMOTIF" ; then
40849 COND_TOOLKIT_MOTIF
=""
40852 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40853 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40854 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40858 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40862 COND_TOOLKIT_MSW
="#"
40863 if test "x$TOOLKIT" = "xMSW" ; then
40864 COND_TOOLKIT_MSW
=""
40867 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40868 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40869 COND_TOOLKIT_MSW_USE_GUI_1
=""
40872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40873 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40877 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40878 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40879 COND_TOOLKIT_MSW_WXUNIV_0
=""
40882 COND_TOOLKIT_OSX_CARBON
="#"
40883 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40884 COND_TOOLKIT_OSX_CARBON
=""
40887 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40888 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40889 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40892 COND_TOOLKIT_OSX_COCOA
="#"
40893 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40894 COND_TOOLKIT_OSX_COCOA
=""
40897 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40898 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40899 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40902 COND_TOOLKIT_OSX_IPHONE
="#"
40903 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40904 COND_TOOLKIT_OSX_IPHONE
=""
40907 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40908 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40909 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40912 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40913 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40914 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40917 COND_TOOLKIT_PM
="#"
40918 if test "x$TOOLKIT" = "xPM" ; then
40922 COND_TOOLKIT_PM_USE_GUI_1
="#"
40923 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40924 COND_TOOLKIT_PM_USE_GUI_1
=""
40927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40928 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40932 COND_TOOLKIT_WINCE
="#"
40933 if test "x$TOOLKIT" = "xWINCE" ; then
40934 COND_TOOLKIT_WINCE
=""
40937 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40938 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40939 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40942 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40943 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40944 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40947 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40948 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40949 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40952 COND_TOOLKIT_X11
="#"
40953 if test "x$TOOLKIT" = "xX11" ; then
40954 COND_TOOLKIT_X11
=""
40957 COND_TOOLKIT_X11_USE_GUI_1
="#"
40958 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40959 COND_TOOLKIT_X11_USE_GUI_1
=""
40962 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
40963 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40964 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
40967 COND_TOOLKIT_X11_WXUNIV_1
="#"
40968 if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40969 COND_TOOLKIT_X11_WXUNIV_1
=""
40973 if test "x$UNICODE" = "x1" ; then
40977 COND_USE_CAIRO_1
="#"
40978 if test "x$USE_CAIRO" = "x1" ; then
40979 COND_USE_CAIRO_1
=""
40982 COND_USE_EXCEPTIONS_0
="#"
40983 if test "x$USE_EXCEPTIONS" = "x0" ; then
40984 COND_USE_EXCEPTIONS_0
=""
40987 COND_USE_EXCEPTIONS_1
="#"
40988 if test "x$USE_EXCEPTIONS" = "x1" ; then
40989 COND_USE_EXCEPTIONS_1
=""
40993 if test "x$USE_GUI" = "x0" ; then
40998 if test "x$USE_GUI" = "x1" ; then
41002 COND_USE_GUI_1_USE_OPENGL_1
="#"
41003 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41004 COND_USE_GUI_1_USE_OPENGL_1
=""
41007 COND_USE_GUI_1_WXUNIV_0
="#"
41008 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41009 COND_USE_GUI_1_WXUNIV_0
=""
41012 COND_USE_GUI_1_WXUNIV_1
="#"
41013 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41014 COND_USE_GUI_1_WXUNIV_1
=""
41017 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
41018 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41019 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
41022 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
41023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41024 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
41027 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
41028 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41029 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
41032 COND_USE_OPENGL_1
="#"
41033 if test "x$USE_OPENGL" = "x1" ; then
41034 COND_USE_OPENGL_1
=""
41038 if test "x$USE_PCH" = "x1" ; then
41042 COND_USE_PLUGINS_0
="#"
41043 if test "x$USE_PLUGINS" = "x0" ; then
41044 COND_USE_PLUGINS_0
=""
41047 COND_USE_RTTI_0
="#"
41048 if test "x$USE_RTTI" = "x0" ; then
41052 COND_USE_RTTI_1
="#"
41053 if test "x$USE_RTTI" = "x1" ; then
41057 COND_USE_SOTWOSYMLINKS_1
="#"
41058 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41059 COND_USE_SOTWOSYMLINKS_1
=""
41062 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41063 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41064 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41067 COND_USE_SOVERLINUX_1
="#"
41068 if test "x$USE_SOVERLINUX" = "x1" ; then
41069 COND_USE_SOVERLINUX_1
=""
41072 COND_USE_SOVERSION_0
="#"
41073 if test "x$USE_SOVERSION" = "x0" ; then
41074 COND_USE_SOVERSION_0
=""
41077 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41078 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41079 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41082 COND_USE_SOVERSOLARIS_1
="#"
41083 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41084 COND_USE_SOVERSOLARIS_1
=""
41088 if test "x$USE_STC" = "x1" ; then
41092 COND_USE_THREADS_0
="#"
41093 if test "x$USE_THREADS" = "x0" ; then
41094 COND_USE_THREADS_0
=""
41097 COND_USE_THREADS_1
="#"
41098 if test "x$USE_THREADS" = "x1" ; then
41099 COND_USE_THREADS_1
=""
41103 if test "x$USE_XRC" = "x1" ; then
41107 COND_WINDOWS_IMPLIB_1
="#"
41108 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41109 COND_WINDOWS_IMPLIB_1
=""
41112 COND_WITH_PLUGIN_SDL_1
="#"
41113 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41114 COND_WITH_PLUGIN_SDL_1
=""
41118 if test "x$WXUNIV" = "x0" ; then
41123 if test "x$WXUNIV" = "x1" ; then
41127 COND_wxUSE_EXPAT_builtin
="#"
41128 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41129 COND_wxUSE_EXPAT_builtin
=""
41132 COND_wxUSE_LIBJPEG_builtin
="#"
41133 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41134 COND_wxUSE_LIBJPEG_builtin
=""
41137 COND_wxUSE_LIBPNG_builtin
="#"
41138 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41139 COND_wxUSE_LIBPNG_builtin
=""
41142 COND_wxUSE_LIBTIFF_builtin
="#"
41143 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41144 COND_wxUSE_LIBTIFF_builtin
=""
41147 COND_wxUSE_REGEX_builtin
="#"
41148 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41149 COND_wxUSE_REGEX_builtin
=""
41152 COND_wxUSE_ZLIB_builtin
="#"
41153 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41154 COND_wxUSE_ZLIB_builtin
=""
41159 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41160 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
41163 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41164 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
41171 ?
:* ) # Drive letter, considered as absolute.
41174 INSTALL
=`pwd`/${INSTALL} ;;
41177 if test "$wxUSE_GUI" = "yes"; then
41179 if test "$wxUSE_MSW" = 1 ; then
41180 if test "x$WINDRES" = "x"; then
41181 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41188 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41189 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41191 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41193 # Extract the first word of "DeRez", so it can be a program name with args.
41194 set dummy DeRez
; ac_word
=$2
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41196 $as_echo_n "checking for $ac_word... " >&6; }
41197 if ${ac_cv_prog_DEREZ+:} false
; then :
41198 $as_echo_n "(cached) " >&6
41200 if test -n "$DEREZ"; then
41201 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41204 for as_dir
in $PATH
41207 test -z "$as_dir" && as_dir
=.
41208 for ac_exec_ext
in '' $ac_executable_extensions; do
41209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41210 ac_cv_prog_DEREZ
="DeRez"
41211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41218 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41221 DEREZ
=$ac_cv_prog_DEREZ
41222 if test -n "$DEREZ"; then
41223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41224 $as_echo "$DEREZ" >&6; }
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41227 $as_echo "no" >&6; }
41232 MACSETFILE
="\$(SETFILE)"
41234 if test "$wxUSE_OSX_CARBON" = 1; then
41235 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41237 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41239 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41240 RESCOMP
="cat /dev/null \| $REZ"
41241 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41247 if test "$wxUSE_PM" = 1; then
41249 WXCONFIG_RESFLAGS
="-ep"
41251 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41253 POSTLINK_COMMAND
="@true"
41260 if test $GCC_PCH = 1
41262 if test "$wx_cv_gcc_pch_bug" = yes; then
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41264 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41266 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41268 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41271 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41272 # the headers that benefit from precompilation are mostly C++ headers.
41273 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41274 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41275 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41279 if test "$wxUSE_MAC" = 1 ; then
41280 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41281 if test "x$disable_macosx_deps" = "xyes"; then
41282 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41289 if test "$wxUSE_SHARED" = "yes"; then
41291 *-pc-os2_emx | *-pc-os2-emx )
41292 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41293 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41294 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41295 cp -p ${srcdir}/src
/os
2/dllar.sh .
41299 if test "$wxUSE_OMF" = "yes"; then
41301 *-pc-os2_emx | *-pc-os2-emx )
41302 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41303 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41304 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41309 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41314 if test "$GCC" = yes; then
41315 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41316 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41317 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41322 if test "x$SUNCXX" = xyes
; then
41323 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41324 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41325 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41330 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41331 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41332 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41333 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41335 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41395 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41396 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41397 $as_echo_n "(cached) " >&6
41399 cat >conftest.
make <<\_ACEOF
41402 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41406 *@@@
%%%=?
*=@@@
%%%*)
41407 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41409 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41411 rm -f conftest.
make
41413 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41415 $as_echo "yes" >&6; }
41418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41419 $as_echo "no" >&6; }
41420 SET_MAKE
="MAKE=${MAKE-make}"
41425 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41428 if test "$USE_WIN32" = 1; then
41429 ac_config_commands
="$ac_config_commands rcdefs.h"
41433 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41436 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41439 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41442 if test "$wx_cv_version_script" = "yes"; then
41443 ac_config_files
="$ac_config_files version-script"
41446 ac_config_files
="$ac_config_files Makefile"
41449 ac_config_commands
="$ac_config_commands wx-config"
41453 if test "$wxWITH_SUBDIRS" != "no"; then
41454 if test "$wxUSE_GUI" = "yes"; then
41455 SUBDIRS
="samples demos utils"
41457 SUBDIRS
="samples utils"
41462 # Check whether --with-cppunit-prefix was given.
41463 if test "${with_cppunit_prefix+set}" = set; then :
41464 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41466 cppunit_config_prefix
=""
41470 # Check whether --with-cppunit-exec-prefix was given.
41471 if test "${with_cppunit_exec_prefix+set}" = set; then :
41472 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41474 cppunit_config_exec_prefix
=""
41478 if test x
$cppunit_config_exec_prefix != x
; then
41479 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41480 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41481 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41484 if test x
$cppunit_config_prefix != x
; then
41485 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41486 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41487 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41491 # Extract the first word of "cppunit-config", so it can be a program name with args.
41492 set dummy cppunit
-config; ac_word
=$2
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41494 $as_echo_n "checking for $ac_word... " >&6; }
41495 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41496 $as_echo_n "(cached) " >&6
41498 case $CPPUNIT_CONFIG in
41500 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41504 for as_dir
in $PATH
41507 test -z "$as_dir" && as_dir
=.
41508 for ac_exec_ext
in '' $ac_executable_extensions; do
41509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41510 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41518 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41522 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41523 if test -n "$CPPUNIT_CONFIG"; then
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41525 $as_echo "$CPPUNIT_CONFIG" >&6; }
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41528 $as_echo "no" >&6; }
41532 cppunit_version_min
=1.8.0
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41535 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41537 if test "$CPPUNIT_CONFIG" = "no" ; then
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41539 $as_echo "no" >&6; }
41542 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41543 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41544 cppunit_version
=`$CPPUNIT_CONFIG --version`
41546 cppunit_major_version
=`echo $cppunit_version | \
41547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41548 cppunit_minor_version
=`echo $cppunit_version | \
41549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41550 cppunit_micro_version
=`echo $cppunit_version | \
41551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41553 cppunit_major_min
=`echo $cppunit_version_min | \
41554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41555 cppunit_minor_min
=`echo $cppunit_version_min | \
41556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41557 cppunit_micro_min
=`echo $cppunit_version_min | \
41558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41560 cppunit_version_proper
=`expr \
41561 $cppunit_major_version \> $cppunit_major_min \| \
41562 $cppunit_major_version \= $cppunit_major_min \& \
41563 $cppunit_minor_version \> $cppunit_minor_min \| \
41564 $cppunit_major_version \= $cppunit_major_min \& \
41565 $cppunit_minor_version \= $cppunit_minor_min \& \
41566 $cppunit_micro_version \>= $cppunit_micro_min `
41568 if test "$cppunit_version_proper" = "1" ; then
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41570 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41573 $as_echo "no" >&6; }
41578 if test "x$no_cppunit" = x
; then
41579 SUBDIRS
="$SUBDIRS tests"
41590 for subdir
in $SUBDIRS; do
41591 if test -d ${srcdir}/${subdir} ; then
41592 if test "$wxUSE_GUI" = "yes"; then
41593 if test ${subdir} = "samples"; then
41594 makefiles
="samples/Makefile.in $makefiles"
41595 for sample
in $SAMPLES_SUBDIRS; do
41596 if test -d $srcdir/samples
/$sample; then
41597 makefiles
="samples/$sample/Makefile.in $makefiles"
41601 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41602 eval "disabled=\$$disabled_var"
41603 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41604 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41607 if test ${subdir} = "samples"; then
41608 makefiles
="samples/Makefile.in $makefiles"
41609 for sample
in `echo $SAMPLES_SUBDIRS`; do
41610 if test -d $srcdir/samples
/$sample; then
41611 makefiles
="samples/$sample/Makefile.in $makefiles"
41614 elif test ${subdir} = "utils"; then
41616 for util
in ifacecheck
; do
41617 if test -d $srcdir/utils
/$util ; then
41618 makefiles
="utils/$util/src/Makefile.in \
41623 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41627 for mkin
in $makefiles ; do
41628 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41629 ac_config_files
="$ac_config_files $mk"
41635 cat >confcache
<<\_ACEOF
41636 # This file is a shell script that caches the results of configure
41637 # tests run on this system so they can be shared between configure
41638 # scripts and configure runs, see configure's option --config-cache.
41639 # It is not useful on other systems. If it contains results you don't
41640 # want to keep, you may remove or edit it.
41642 # config.status only pays attention to the cache file if you give it
41643 # the --recheck option to rerun configure.
41645 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41646 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41647 # following values.
41651 # The following way of writing the cache mishandles newlines in values,
41652 # but we know of no workaround that is simple, portable, and efficient.
41653 # So, we kill variables containing newlines.
41654 # Ultrix sh set writes to stderr and can't be redirected directly,
41655 # and sets the high bit in the cache file unless we assign to the vars.
41657 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41658 eval ac_val
=\$
$ac_var
41662 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41663 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41666 _
| IFS
| as_nl
) ;; #(
41667 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41668 *) { eval $ac_var=; unset $ac_var;} ;;
41674 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41675 *${as_nl}ac_space
=\
*)
41676 # `set' does not quote correctly, so add quotes: double-quote
41677 # substitution turns \\\\ into \\, and sed turns \\ into \.
41680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41683 # `set' quotes correctly as required by POSIX, so do not add quotes.
41684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41697 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41698 if test -w "$cache_file"; then
41699 if test "x$cache_file" != "x/dev/null"; then
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41701 $as_echo "$as_me: updating cache $cache_file" >&6;}
41702 if test ! -f "$cache_file" || test -h "$cache_file"; then
41703 cat confcache
>"$cache_file"
41705 case $cache_file in #(
41707 mv -f confcache
"$cache_file"$$
&&
41708 mv -f "$cache_file"$$
"$cache_file" ;; #(
41710 mv -f confcache
"$cache_file" ;;
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41716 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41721 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41722 # Let make expand exec_prefix.
41723 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41725 DEFS
=-DHAVE_CONFIG_H
41730 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41731 # 1. Remove the extension, and $U if already installed.
41732 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41733 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41735 # will be set to the directory where LIBOBJS objects are built.
41736 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41737 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41739 LIBOBJS
=$ac_libobjs
41741 LTLIBOBJS
=$ac_ltlibobjs
41745 : "${CONFIG_STATUS=./config.status}"
41747 ac_clean_files_save
=$ac_clean_files
41748 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41754 # Generated by $as_me.
41755 # Run this file to recreate the current configuration.
41756 # Compiler output produced by configure, useful for debugging
41757 # configure, is in config.log if it exists.
41760 ac_cs_recheck=false
41763 SHELL=\${CONFIG_SHELL-$SHELL}
41766 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41767 ## -------------------- ##
41768 ## M4sh Initialization. ##
41769 ## -------------------- ##
41771 # Be more Bourne compatible
41772 DUALCASE
=1; export DUALCASE
# for MKS sh
41773 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41776 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41777 # is contrary to our usage. Disable this feature.
41778 alias -g '${1+"$@"}'='"$@"'
41779 setopt NO_GLOB_SUBST
41781 case `(set -o) 2>/dev/null` in #(
41793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41794 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41797 # Prefer a ksh shell builtin over an external printf program on Solaris,
41798 # but without wasting forks for bash or zsh.
41799 if test -z "$BASH_VERSION$ZSH_VERSION" \
41800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41801 as_echo='print
-r --'
41802 as_echo_n='print
-rn --'
41803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41804 as_echo='printf %s
\n'
41805 as_echo_n='printf %s
'
41807 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41808 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41809 as_echo_n='/usr
/ucb
/echo -n'
41811 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41812 as_echo_n_body='eval
41816 expr "X$arg" : "X\\(.*\\)$as_nl";
41817 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41819 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41821 export as_echo_n_body
41822 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41824 export as_echo_body
41825 as_echo='sh
-c $as_echo_body as_echo
'
41828 # The user is always right.
41829 if test "${PATH_SEPARATOR+set}" != set; then
41831 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41832 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41839 # We need space, tab and new line, in precisely that order. Quoting is
41840 # there to prevent editors from complaining about space-tab.
41841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41842 # splitting by setting IFS to empty value.)
41845 # Find who we are. Look in the path if we contain no directory separator.
41848 *[\\/]* ) as_myself=$0 ;;
41849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41850 for as_dir in $PATH
41853 test -z "$as_dir" && as_dir=.
41854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41860 # We did not find ourselves, most probably we were run as `sh COMMAND'
41861 # in which case we are not to be found in the path.
41862 if test "x$as_myself" = x
; then
41865 if test ! -f "$as_myself"; then
41866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41870 # Unset variables that we do not need and which cause bugs (e.g. in
41871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41872 # suppresses any "Segmentation fault" message there. '((' could
41873 # trigger a bug in pdksh 5.2.14.
41874 for as_var
in BASH_ENV ENV MAIL MAILPATH
41875 do eval test x\
${$as_var+set} = xset \
41876 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41889 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41892 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41893 # ----------------------------------------
41894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41896 # script with STATUS, using 1 if that was 0.
41899 as_status
=$1; test $as_status -eq 0 && as_status
=1
41901 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41904 $as_echo "$as_me: error: $2" >&2
41905 as_fn_exit
$as_status
41909 # as_fn_set_status STATUS
41910 # -----------------------
41911 # Set $? to STATUS, without forking.
41912 as_fn_set_status
()
41915 } # as_fn_set_status
41917 # as_fn_exit STATUS
41918 # -----------------
41919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41923 as_fn_set_status
$1
41929 # Portably unset VAR.
41932 { eval $1=; unset $1;}
41934 as_unset
=as_fn_unset
41935 # as_fn_append VAR VALUE
41936 # ----------------------
41937 # Append the text in VALUE to the end of the definition contained in VAR. Take
41938 # advantage of any shell optimizations that allow amortized linear growth over
41939 # repeated appends, instead of the typical quadratic growth present in naive
41941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41942 eval 'as_fn_append ()
41953 # as_fn_arith ARG...
41954 # ------------------
41955 # Perform arithmetic evaluation on the ARGs, and store the result in the
41956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41957 # must be portable across $(()) and expr.
41958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41959 eval 'as_fn_arith ()
41966 as_val
=`expr "$@" || test $? -eq 1`
41971 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41972 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41978 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41979 as_basename
=basename
41984 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41990 as_me
=`$as_basename -- "$0" ||
41991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41992 X"$0" : 'X\(//\)$' \| \
41993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41995 sed '/^.*\/\([^/][^/]*\)\/*$/{
42009 # Avoid depending upon Character Ranges.
42010 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42011 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42012 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42013 as_cr_digits
='0123456789'
42014 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42016 ECHO_C
= ECHO_N
= ECHO_T
=
42017 case `echo -n x` in #(((((
42019 case `echo 'xy\c'` in
42020 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42022 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42029 rm -f conf$$ conf$$.exe conf$$.
file
42030 if test -d conf$$.dir
; then
42031 rm -f conf$$.dir
/conf$$.
file
42034 mkdir conf$$.dir
2>/dev
/null
42036 if (echo >conf$$.
file) 2>/dev
/null
; then
42037 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42039 # ... but there are two gotchas:
42040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42042 # In both cases, we have to default to `cp -pR'.
42043 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42045 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42053 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42054 rmdir conf$$.dir
2>/dev
/null
42059 # Create "$as_dir" as a directory, including parents if necessary.
42064 -*) as_dir
=.
/$as_dir;;
42066 test -d "$as_dir" || eval $as_mkdir_p || {
42070 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42071 *) as_qdir
=$as_dir;;
42073 as_dirs
="'$as_qdir' $as_dirs"
42074 as_dir
=`$as_dirname -- "$as_dir" ||
42075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42076 X"$as_dir" : 'X\(//\)[^/]' \| \
42077 X"$as_dir" : 'X\(//\)$' \| \
42078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42079 $as_echo X"$as_dir" |
42080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42084 /^X\(\/\/\)[^/].*/{
42097 test -d "$as_dir" && break
42099 test -z "$as_dirs" || eval "mkdir $as_dirs"
42100 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42104 if mkdir -p .
2>/dev
/null
; then
42105 as_mkdir_p
='mkdir -p "$as_dir"'
42107 test -d .
/-p && rmdir .
/-p
42112 # as_fn_executable_p FILE
42113 # -----------------------
42114 # Test if FILE is an executable regular file.
42115 as_fn_executable_p
()
42117 test -f "$1" && test -x "$1"
42118 } # as_fn_executable_p
42119 as_test_x
='test -x'
42120 as_executable_p
=as_fn_executable_p
42122 # Sed expression to map a string onto a valid CPP name.
42123 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42125 # Sed expression to map a string onto a valid variable name.
42126 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42130 ## ----------------------------------- ##
42131 ## Main body of $CONFIG_STATUS script. ##
42132 ## ----------------------------------- ##
42134 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42136 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42137 # Save the log message, to keep $0 and so on meaningful, and to
42138 # report actual input values of CONFIG_FILES etc. instead of their
42139 # values after options handling.
42141 This file was extended by wxWidgets $as_me 2.9.5, which was
42142 generated by GNU Autoconf 2.69. Invocation command line was
42144 CONFIG_FILES = $CONFIG_FILES
42145 CONFIG_HEADERS = $CONFIG_HEADERS
42146 CONFIG_LINKS = $CONFIG_LINKS
42147 CONFIG_COMMANDS = $CONFIG_COMMANDS
42150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42155 case $ac_config_files in *"
42156 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42159 case $ac_config_headers in *"
42160 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42165 # Files that config.status was made for.
42166 config_files="$ac_config_files"
42167 config_headers="$ac_config_headers"
42168 config_commands="$ac_config_commands"
42172 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42174 \`$as_me' instantiates files and other configuration actions
42175 from templates according to the current configuration. Unless the files
42176 and actions are specified as TAGs, all are instantiated by default.
42178 Usage: $0 [OPTION]... [TAG]...
42180 -h, --help print this help, then exit
42181 -V, --version print version number and configuration settings, then exit
42182 --config print configuration, then exit
42183 -q, --quiet, --silent
42184 do not print progress messages
42185 -d, --debug don't remove temporary files
42186 --recheck update $as_me by reconfiguring in the same conditions
42187 --file=FILE[:TEMPLATE]
42188 instantiate the configuration file FILE
42189 --header=FILE[:TEMPLATE]
42190 instantiate the configuration header FILE
42192 Configuration files:
42195 Configuration headers:
42198 Configuration commands:
42201 Report bugs to <wx-dev@lists.wxwidgets.org>."
42204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42205 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42207 wxWidgets config.status 2.9.5
42208 configured by $0, generated by GNU Autoconf 2.69,
42209 with options \\"\$ac_cs_config\\"
42211 Copyright (C) 2012 Free Software Foundation, Inc.
42212 This config.status script is free software; the Free Software Foundation
42213 gives unlimited permission to copy, distribute and modify it."
42218 test -n "\$AWK" || AWK=awk
42221 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42222 # The default lists apply if the user does not specify any file.
42228 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42229 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42233 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42245 # Handling of the options.
42246 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42248 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42249 $as_echo "$ac_cs_version"; exit ;;
42250 --config | --confi | --conf | --con | --co | --c )
42251 $as_echo "$ac_cs_config"; exit ;;
42252 --debug | --debu | --deb | --de | --d | -d )
42254 --file | --fil | --fi | --f )
42257 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42258 '') as_fn_error $?
"missing file argument" ;;
42260 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42261 ac_need_defaults
=false
;;
42262 --header | --heade | --head | --hea )
42265 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42267 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42268 ac_need_defaults
=false
;;
42270 # Conflict between --help and --header
42271 as_fn_error $?
"ambiguous option: \`$1'
42272 Try \`$0 --help' for more information.";;
42273 --help | --hel | -h )
42274 $as_echo "$ac_cs_usage"; exit ;;
42275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42276 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42279 # This is an error.
42280 -*) as_fn_error $?
"unrecognized option: \`$1'
42281 Try \`$0 --help' for more information." ;;
42283 *) as_fn_append ac_config_targets
" $1"
42284 ac_need_defaults
=false
;;
42290 ac_configure_extra_args
=
42292 if $ac_cs_silent; then
42294 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42299 if \$ac_cs_recheck; then
42300 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42302 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42303 CONFIG_SHELL='$SHELL'
42304 export CONFIG_SHELL
42309 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42313 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42314 ## Running $as_me. ##
42320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42326 infile="$srcdir/include/wx/msw/genrcdefs.h"
42327 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42330 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42332 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42338 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42340 # Handling of arguments.
42341 for ac_config_target
in $ac_config_targets
42343 case $ac_config_target in
42344 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42345 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42346 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42347 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42348 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42349 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42350 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42351 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42352 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42354 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42359 # If the user did not use the arguments to specify the items to instantiate,
42360 # then the envvar interface is used. Set only those that are not.
42361 # We use the long form for the default assignment because of an extremely
42362 # bizarre bug on SunOS 4.1.3.
42363 if $ac_need_defaults; then
42364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42369 # Have a temporary directory for convenience. Make it in the build tree
42370 # simply because there is no reason against having it here, and in addition,
42371 # creating and moving files from /tmp can sometimes cause problems.
42372 # Hook for its removal unless debugging.
42373 # Note that there is a small window in which the directory will not be cleaned:
42374 # after its creation but before its name has been assigned to `$tmp'.
42378 trap 'exit_status=$?
42379 : "${ac_tmp:=$tmp}"
42380 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42382 trap 'as_fn_exit 1' 1 2 13 15
42384 # Create a (secure) tmp directory for tmp files.
42387 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42391 tmp
=.
/conf$$
-$RANDOM
42392 (umask 077 && mkdir "$tmp")
42393 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42396 # Set up the scripts for CONFIG_FILES section.
42397 # No need to generate them if there are no CONFIG_FILES.
42398 # This happens for instance with `./config.status config.h'.
42399 if test -n "$CONFIG_FILES"; then
42402 ac_cr
=`echo X | tr X '\015'`
42403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42404 # But we know of no other shell where ac_cr would be empty at this
42405 # point, so we can use a bashism as a fallback.
42406 if test "x$ac_cr" = x
; then
42407 eval ac_cr
=\$
\'\\r
\'
42409 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42413 ac_cs_awk_cr
=$ac_cr
42416 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42421 echo "cat >conf$$subs.awk <<_ACEOF" &&
42422 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42424 } >conf$$subs.sh ||
42425 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42428 for ac_last_try in false false false false false :; do
42429 . ./conf$$subs.sh ||
42430 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42432 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42433 if test $ac_delim_n = $ac_delim_num; then
42435 elif $ac_last_try; then
42436 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42438 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42441 rm -f conf$$subs.sh
42443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42444 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42448 s/^/S["/; s
/!.
*/"]=/
42458 s/\(.\{148\}\)..*/\1/
42460 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42465 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42472 s/\(.\{148\}\)..*/\1/
42474 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42478 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42483 ' <conf$$subs.awk | sed '
42488 ' >>$CONFIG_STATUS || ac_write_fail=1
42489 rm -f conf$$subs.awk
42490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42492 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42493 for (key in S) S_is_set[key] = 1
42499 nfields = split(line, field, "@
")
42501 len = length(field[1])
42502 for (i = 2; i < nfields; i++) {
42504 keylen = length(key)
42505 if (S_is_set[key]) {
42507 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42508 len += length(value) + length(field[++i])
42519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42520 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42521 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42524 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42525 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42530 # trailing colons and then remove the whole line if VPATH becomes empty
42531 # (actually we leave an empty line to preserve line numbers).
42532 if test "x
$srcdir" = x.; then
42533 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42552 fi # test -n "$CONFIG_FILES"
42554 # Set up the scripts for CONFIG_HEADERS section.
42555 # No need to generate them if there are no CONFIG_HEADERS.
42556 # This happens for instance with `./config.status Makefile'.
42557 if test -n "$CONFIG_HEADERS"; then
42558 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42562 # Transform confdefs.h into an awk script `defines.awk', embedded as
42563 # here-document in config.status, that substitutes the proper values into
42564 # config.h.in to produce config.h.
42566 # Create a delimiter string that does not exist in confdefs.h, to ease
42567 # handling of long lines.
42569 for ac_last_try in false false :; do
42570 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42571 if test -z "$ac_tt"; then
42573 elif $ac_last_try; then
42574 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42576 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42580 # For the awk script, D is an array of macro values keyed by name,
42581 # likewise P contains macro parameters if any. Preserve backslash
42582 # newline sequences.
42584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42586 s/.\{148\}/&'"$ac_delim"'/g
42589 s/^[ ]*#[ ]*define[ ][ ]*/ /
42596 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42598 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42603 D["\
1"]=" \
3\\\\\\n
"\\/p
42605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42610 s/.\{148\}/&'"$ac_delim"'/g
42615 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42618 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42620 ' <confdefs.h | sed '
42621 s/'"$ac_delim"'/"\\\
42622 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42625 for (key in D) D_is_set[key] = 1
42628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42630 split(line, arg, " ")
42631 if (arg[1] == "#") {
42635 defundef
= substr
(arg
[1], 2)
42638 split(mac1
, mac2
, "(") #)
42640 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42641 if (D_is_set
[macro
]) {
42642 # Preserve the white space surrounding the "#".
42643 print prefix
"define", macro P
[macro
] D
[macro
]
42646 # Replace #undef with comments. This is necessary, for example,
42647 # in the case of _POSIX_SOURCE, which is predefined and required
42648 # on some systems where configure will not decide to define it.
42649 if (defundef
== "undef") {
42650 print
"/*", prefix defundef
, macro
, "*/"
42658 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42659 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42660 fi # test -n "$CONFIG_HEADERS"
42663 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42668 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42670 case $ac_mode$ac_tag in
42672 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42673 :[FH
]-) ac_tag
=-:-;;
42674 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42691 -) ac_f
="$ac_tmp/stdin";;
42692 *) # Look for the file first in the build tree, then in the source tree
42693 # (if the path is not absolute). The absolute path cannot be DOS-style,
42694 # because $ac_f cannot contain `:'.
42698 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42700 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42702 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42703 as_fn_append ac_file_inputs
" '$ac_f'"
42706 # Let's still pretend it is `configure' which instantiates (i.e., don't
42707 # use $as_me), people would be surprised to read:
42708 # /* config.h. Generated by config.status. */
42709 configure_input
='Generated from '`
42710 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42712 if test x
"$ac_file" != x
-; then
42713 configure_input
="$ac_file. $configure_input"
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42715 $as_echo "$as_me: creating $ac_file" >&6;}
42717 # Neutralize special characters interpreted by sed in replacement strings.
42718 case $configure_input in #(
42719 *\
&* | *\
|* | *\\* )
42720 ac_sed_conf_input
=`$as_echo "$configure_input" |
42721 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42722 *) ac_sed_conf_input
=$configure_input;;
42726 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42727 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42732 ac_dir
=`$as_dirname -- "$ac_file" ||
42733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42734 X"$ac_file" : 'X\(//\)[^/]' \| \
42735 X"$ac_file" : 'X\(//\)$' \| \
42736 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42737 $as_echo X"$ac_file" |
42738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42742 /^X\(\/\/\)[^/].*/{
42755 as_dir
="$ac_dir"; as_fn_mkdir_p
42759 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42761 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42762 # A ".." for each directory in $ac_dir_suffix.
42763 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42764 case $ac_top_builddir_sub in
42765 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42766 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42769 ac_abs_top_builddir
=$ac_pwd
42770 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42771 # for backward compatibility:
42772 ac_top_builddir
=$ac_top_build_prefix
42775 .
) # We are building in place.
42777 ac_top_srcdir
=$ac_top_builddir_sub
42778 ac_abs_top_srcdir
=$ac_pwd ;;
42779 [\\/]* | ?
:[\\/]* ) # Absolute name.
42780 ac_srcdir
=$srcdir$ac_dir_suffix;
42781 ac_top_srcdir
=$srcdir
42782 ac_abs_top_srcdir
=$srcdir ;;
42783 *) # Relative name.
42784 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42785 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42786 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42788 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42798 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42799 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42803 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42804 # If the template does not know about datarootdir, expand it.
42805 # FIXME: This hack should be removed a few years after 2.60.
42806 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42818 *datarootdir
*) ac_datarootdir_seen
=yes;;
42819 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42824 ac_datarootdir_hack='
42825 s&@datadir@&$datadir&g
42826 s&@docdir@&$docdir&g
42827 s&@infodir@&$infodir&g
42828 s&@localedir@&$localedir&g
42829 s&@mandir@&$mandir&g
42830 s&\\\${datarootdir}&$datarootdir&g' ;;
42834 # Neutralize VPATH when `$srcdir' = `.'.
42835 # Shell code in configure.ac might set extrasub.
42836 # FIXME: do we really want to maintain this feature?
42837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42838 ac_sed_extra="$ac_vpsub
42841 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42843 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42844 s
|@configure_input@
|$ac_sed_conf_input|;t t
42845 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42846 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42847 s
&@srcdir@
&$ac_srcdir&;t t
42848 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42849 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42850 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42851 s
&@builddir@
&$ac_builddir&;t t
42852 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42853 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42854 s
&@INSTALL@
&$ac_INSTALL&;t t
42855 $ac_datarootdir_hack
42857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42858 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42861 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42863 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42865 which seems to be undefined. Please make sure it is defined" >&5
42866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42867 which seems to be undefined. Please make sure it is defined" >&2;}
42869 rm -f "$ac_tmp/stdin"
42871 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42872 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42880 if test x"$ac_file" != x-; then
42882 $as_echo "/* $configure_input */" \
42883 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42884 } >"$ac_tmp/config.h" \
42885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42886 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42891 mv "$ac_tmp/config.h" "$ac_file" \
42892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42895 $as_echo "/* $configure_input */" \
42896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42897 || as_fn_error $? "could not create -" "$LINENO" 5
42901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42902 $as_echo "$as_me: executing $ac_file commands" >&6;}
42907 case $ac_file$ac_mode in
42909 mkdir -p $outdir &&
42910 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42912 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42913 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42914 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42915 "wx-config":C
) rm -f wx
-config
42916 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42925 ac_clean_files
=$ac_clean_files_save
42927 test $ac_write_fail = 0 ||
42928 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42931 # configure is writing to config.log, and then calls config.status.
42932 # config.status does its own redirection, appending to config.log.
42933 # Unfortunately, on DOS this fails, as config.log is still kept open
42934 # by configure, so config.status won't be able to write to it; its
42935 # output is simply discarded. So we exec the FD to /dev/null,
42936 # effectively closing config.log, so it can be properly (re)opened and
42937 # appended to by config.status. When coming back to configure, we
42938 # need to make the FD available again.
42939 if test "$no_create" != yes; then
42941 ac_config_status_args
=
42942 test "$silent" = yes &&
42943 ac_config_status_args
="$ac_config_status_args --quiet"
42945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42948 # would make configure fail if this is the last instruction.
42949 $ac_cs_success || as_fn_exit
1
42953 # CONFIG_SUBDIRS section.
42955 if test "$no_recursion" != yes; then
42957 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42958 # so they do not pile up.
42959 ac_sub_configure_args
=
42961 eval "set x $ac_configure_args"
42965 if test -n "$ac_prev"; then
42970 -cache-file | --cache-file | --cache-fil | --cache-fi \
42971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42972 ac_prev
=cache_file
;;
42973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42977 --config-cache | -C)
42979 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42981 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42987 --disable-option-checking)
42991 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42993 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42997 # Always prepend --prefix to ensure using the same prefix
42998 # in subdir configurations.
42999 ac_arg
="--prefix=$prefix"
43001 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43003 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
43006 if test "$silent" = yes; then
43007 ac_sub_configure_args
="--silent $ac_sub_configure_args"
43010 # Always prepend --disable-option-checking to silence warnings, since
43011 # different subdirs can have different --enable and --with options.
43012 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43015 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43017 # Do not complain, so a configure script can configure whichever
43018 # parts of a large source tree are present.
43019 test -d "$srcdir/$ac_dir" || continue
43021 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43022 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43023 $as_echo "$ac_msg" >&6
43024 as_dir
="$ac_dir"; as_fn_mkdir_p
43028 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43030 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43031 # A ".." for each directory in $ac_dir_suffix.
43032 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43033 case $ac_top_builddir_sub in
43034 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43035 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43038 ac_abs_top_builddir
=$ac_pwd
43039 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43040 # for backward compatibility:
43041 ac_top_builddir
=$ac_top_build_prefix
43044 .
) # We are building in place.
43046 ac_top_srcdir
=$ac_top_builddir_sub
43047 ac_abs_top_srcdir
=$ac_pwd ;;
43048 [\\/]* | ?
:[\\/]* ) # Absolute name.
43049 ac_srcdir
=$srcdir$ac_dir_suffix;
43050 ac_top_srcdir
=$srcdir
43051 ac_abs_top_srcdir
=$srcdir ;;
43052 *) # Relative name.
43053 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43054 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43055 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43057 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43062 # Check for guested configure; otherwise get Cygnus style configure.
43063 if test -f "$ac_srcdir/configure.gnu"; then
43064 ac_sub_configure
=$ac_srcdir/configure.gnu
43065 elif test -f "$ac_srcdir/configure"; then
43066 ac_sub_configure
=$ac_srcdir/configure
43067 elif test -f "$ac_srcdir/configure.in"; then
43068 # This should be Cygnus configure.
43069 ac_sub_configure
=$ac_aux_dir/configure
43071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43072 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43076 # The recursion is here.
43077 if test -n "$ac_sub_configure"; then
43078 # Make the cache file name correct relative to the subdirectory.
43079 case $cache_file in
43080 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43081 *) # Relative name.
43082 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43085 { $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
43086 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43087 # The eval makes quoting arguments work.
43088 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43089 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43090 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43096 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43098 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43103 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43105 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43106 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43107 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43108 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43109 if test "$wxUSE_UNICODE" = "yes"; then
43110 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43111 echo " (using UTF-8)"
43113 echo " (using wchar_t)"
43119 echo " What level of wxWidgets compatibility should be enabled?"
43120 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43121 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43123 echo " Which libraries should wxWidgets use?"
43124 echo " STL ${wxUSE_STL}"
43125 echo " jpeg ${wxUSE_LIBJPEG-none}"
43126 echo " png ${wxUSE_LIBPNG-none}"
43127 echo " regex ${wxUSE_REGEX}"
43128 echo " tiff ${wxUSE_LIBTIFF-none}"
43129 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43130 echo " xpm ${wxUSE_LIBXPM-none}"
43132 echo " zlib ${wxUSE_ZLIB}"
43133 echo " expat ${wxUSE_EXPAT}"
43134 echo " libmspack ${wxUSE_LIBMSPACK}"
43135 echo " sdl ${wxUSE_LIBSDL}"