2 # From configure.in Id: configure.in 47615 2007-07-21 12:56:22Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
1670 --enable-compat26 enable wxWidgets
2.6 compatibility
1671 --disable-compat28 disable wxWidgets
2.8 compatibility
1672 --disable-rpath disable use of rpath
for uninstalled builds
1673 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even
if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP
/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support
in wxProtocol
1730 --enable-protocol-ftp FTP support
in wxProtocol
1731 --enable-protocol-file FILE support
in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use
help subsystem
1735 --enable-mshtmlhelp use MS HTML Help
(win32
)
1736 --enable-html use wxHTML sub
-library
1737 --enable-htmlhelp use wxHTML
-based help
1738 --enable-xrc use XRC resources sub
-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout
-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl
(Mac
)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context
2D drawing API
1751 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag
'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile
(Win32 only
)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1850 --enable-regkey use wxRegKey class
(Win32 only
)
1851 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1852 --enable-wxdib use wxDIB class
(Win32 only
)
1853 --disable-largefile omit support
for large files
1854 --disable-gtktest do not try to compile and run a
test GTK
+ program
1855 --disable-gtktest Do not try to compile and run a
test GTK program
1856 --disable-sdltest Do not try to compile and run a
test SDL program
1857 --enable-omf use OMF object format
(OS
/2)
1858 --disable-dependency-tracking
1859 don
't use dependency tracking even if the compiler
1861 --disable-precomp-headers
1862 don't use precompiled headers even
if compiler can
1865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1867 --without-subdirs don
't generate makefiles for samples/demos/...
1868 --with-flavour=NAME specify a name to identify this build
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1871 --with-motif use Motif/Lesstif
1872 --with-mac use Mac OS X
1873 --with-cocoa use Cocoa
1874 --with-wine use Wine
1875 --with-msw use MS-Windows
1876 --with-pm use OS/2 Presentation Manager
1877 --with-mgl use SciTech MGL
1878 --with-directfb use DirectFB
1879 --with-microwin use MicroWindows
1881 --with-libpng use libpng (PNG image format)
1882 --with-libjpeg use libjpeg (JPEG file format)
1883 --with-libtiff use libtiff (TIFF file format)
1884 --with-libxpm use libxpm (XPM file format)
1885 --with-libmspack use libmspack (CHM help files loading)
1886 --without-gnomeprint don't use GNOME printing libraries
1887 --with-gnomevfs use GNOME VFS
for associating MIME types
1888 --with-hildon use Hildon framework
for Nokia
770
1889 --with-opengl use OpenGL
(or Mesa
)
1890 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1891 --with-sdl use SDL
for audio on Unix
1892 --with-regex enable support
for wxRegEx class
1893 --with-zlib use zlib
for LZW compression
1894 --with-odbc use the IODBC and wxODBC classes
1895 --with-expat enable XML support using expat parser
1896 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1905 Some influential environment variables
:
1906 CC C compiler
command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1909 nonstandard directory
<lib dir
>
1910 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1911 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1912 you have headers
in a nonstandard directory
<include dir
>
1914 CXX C
++ compiler
command
1915 CXXFLAGS C
++ compiler flags
1916 PKG_CONFIG path to pkg
-config utility
1918 C compiler flags
for DIRECTFB
, overriding pkg
-config
1920 linker flags
for DIRECTFB
, overriding pkg
-config
1921 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1923 C compiler flags
for PANGOX
, overriding pkg
-config
1924 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1926 C compiler flags
for PANGOFT2
, overriding pkg
-config
1928 linker flags
for PANGOFT2
, overriding pkg
-config
1930 C compiler flags
for PANGOXFT
, overriding pkg
-config
1932 linker flags
for PANGOXFT
, overriding pkg
-config
1933 LIBGNOMEPRINTUI_CFLAGS
1934 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1935 LIBGNOMEPRINTUI_LIBS
1936 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1938 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1940 linker flags
for GNOMEVFS
, overriding pkg
-config
1942 C compiler flags
for HILDON
, overriding pkg
-config
1943 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1945 C compiler flags
for CAIRO
, overriding pkg
-config
1946 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1947 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1948 GST_LIBS linker flags
for GST
, overriding pkg
-config
1950 Use these variables to override the choices made by
`configure' or to help
1951 it to find libraries and programs with nonstandard names/locations.
1953 Report bugs to <wx-dev@lists.wxwidgets.org>.
1958 if test "$ac_init_help" = "recursive"; then
1959 # If there are subdirs, report their specific --help.
1960 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1961 test -d "$ac_dir" || continue
1965 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1967 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1968 # A ".." for each directory in $ac_dir_suffix.
1969 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1970 case $ac_top_builddir_sub in
1971 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 ac_abs_top_builddir=$ac_pwd
1976 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1977 # for backward compatibility:
1978 ac_top_builddir=$ac_top_build_prefix
1981 .) # We are building in place.
1983 ac_top_srcdir=$ac_top_builddir_sub
1984 ac_abs_top_srcdir=$ac_pwd ;;
1985 [\\/]* | ?:[\\/]* ) # Absolute name.
1986 ac_srcdir=$srcdir$ac_dir_suffix;
1987 ac_top_srcdir=$srcdir
1988 ac_abs_top_srcdir=$srcdir ;;
1990 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1991 ac_top_srcdir=$ac_top_build_prefix$srcdir
1992 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1994 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1996 cd "$ac_dir" || { ac_status=$?; continue; }
1997 # Check for guested configure.
1998 if test -f "$ac_srcdir/configure.gnu"; then
2000 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2001 elif test -f "$ac_srcdir/configure"; then
2003 $SHELL "$ac_srcdir/configure" --help=recursive
2005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2007 cd "$ac_pwd" || { ac_status=$?; break; }
2011 test -n "$ac_init_help" && exit $ac_status
2012 if $ac_init_version; then
2014 wxWidgets configure 2.9.0
2015 generated by GNU Autoconf 2.61
2017 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2018 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2019 This configure script is free software; the Free Software Foundation
2020 gives unlimited permission to copy, distribute and modify it.
2024 cat >config.log <<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2028 It was created by wxWidgets $as_me 2.9.0, which was
2029 generated by GNU Autoconf 2.61. Invocation command line was
2041 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2042 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2043 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2044 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2045 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2047 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2048 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2050 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2051 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2052 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2053 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2054 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2055 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2056 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 echo "PATH: $as_dir"
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_must_keep_next=false
2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2106 if test $ac_must_keep_next = true; then
2107 ac_must_keep_next=false # Got value, back to normal.
2110 *=* | --config-cache | -C | -disable-* | --disable-* \
2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2113 | -with-* | --with-* | -without-* | --without-* | --x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 -* ) ac_must_keep_next=true ;;
2121 ac_configure_args="$ac_configure_args '$ac_arg'"
2126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2140 ## ---------------- ##
2141 ## Cache variables. ##
2142 ## ---------------- ##
2145 # The following way of writing the cache mishandles newlines in values,
2147 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2148 eval ac_val=\$$ac_var
2152 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2153 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 _ | IFS | as_nl) ;; #(
2157 *) $as_unset $ac_var ;;
2162 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2163 *${as_nl}ac_space=\ *)
2165 "s/'\''/'\''\\\\'\'''\''/g;
2166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 ## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##
2182 for ac_var in $ac_subst_vars
2184 eval ac_val=\$$ac_var
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 echo "$ac_var='\''$ac_val'\''"
2192 if test -n "$ac_subst_files"; then
2194 ## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##
2199 for ac_var in $ac_subst_files
2201 eval ac_val=\$$ac_var
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 echo "$ac_var='\''$ac_val'\''"
2210 if test -s confdefs.h; then
2220 test "$ac_signal" != 0 &&
2221 echo "$as_me: caught signal $ac_signal"
2222 echo "$as_me: exit $exit_status"
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2236 # Predefined preprocessor variables.
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 # Let the site file select an alternate cache file if it wants to.
2264 # Prefer explicitly selected file to automatically selected ones.
2265 if test -n "$CONFIG_SITE"; then
2266 set x "$CONFIG_SITE"
2267 elif test "x$prefix" != xNONE; then
2268 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2270 set x "$ac_default_prefix/share/config.site" \
2271 "$ac_default_prefix/etc/config.site"
2276 if test -r "$ac_site_file"; then
2277 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2278 echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2284 if test -r "$cache_file"; then
2285 # Some versions of bash will fail to source /dev/null (special
2286 # files actually), so we avoid doing that.
2287 if test -f "$cache_file"; then
2288 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2289 echo "$as_me: loading cache $cache_file" >&6;}
2291 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2292 *) . "./$cache_file";;
2296 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2297 echo "$as_me: creating cache $cache_file" >&6;}
2301 # Check that the precious variables saved in the cache have kept the same
2303 ac_cache_corrupted=false
2304 for ac_var in $ac_precious_vars; do
2305 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2306 eval ac_new_set=\$ac_env_${ac_var}_set
2307 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2308 eval ac_new_val=\$ac_env_${ac_var}_value
2309 case $ac_old_set,$ac_new_set in
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2312 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2316 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2320 if test "x$ac_old_val" != "x$ac_new_val"; then
2321 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2322 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2323 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2324 echo "$as_me: former value
: $ac_old_val" >&2;}
2325 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2326 echo "$as_me: current value
: $ac_new_val" >&2;}
2327 ac_cache_corrupted=:
2330 # Pass precious variables to config.status.
2331 if test "$ac_new_set" = set; then
2333 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2334 *) ac_arg=$ac_var=$ac_new_val ;;
2336 case " $ac_configure_args " in
2337 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2338 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2342 if $ac_cache_corrupted; then
2343 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2344 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2345 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2346 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2347 { (exit 1); exit 1; }; }
2375 ac_cpp='$CPP $CPPFLAGS'
2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2385 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2386 if test -f "$ac_dir/install-sh"; then
2388 ac_install_sh="$ac_aux_dir/install-sh -c"
2390 elif test -f "$ac_dir/install.sh"; then
2392 ac_install_sh="$ac_aux_dir/install.sh -c"
2394 elif test -f "$ac_dir/shtool"; then
2396 ac_install_sh="$ac_aux_dir/shtool install -c"
2400 if test -z "$ac_aux_dir"; then
2401 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2402 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2403 { (exit 1); exit 1; }; }
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415 # Make sure we can run config.sub.
2416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2417 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2418 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2419 { (exit 1); exit 1; }; }
2421 { echo "$as_me:$LINENO: checking build system type" >&5
2422 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2423 if test "${ac_cv_build+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 ac_build_alias=$build_alias
2427 test "x$ac_build_alias" = x &&
2428 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2429 test "x$ac_build_alias" = x &&
2430 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2431 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2432 { (exit 1); exit 1; }; }
2433 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2434 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2435 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2436 { (exit 1); exit 1; }; }
2439 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2440 echo "${ECHO_T}$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2443 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2444 echo "$as_me: error: invalid value of canonical build" >&2;}
2445 { (exit 1); exit 1; }; };;
2448 ac_save_IFS=$IFS; IFS='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461 { echo "$as_me:$LINENO: checking host system type" >&5
2462 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_host+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test "x$host_alias" = x; then
2467 ac_cv_host=$ac_cv_build
2469 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2471 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2472 { (exit 1); exit 1; }; }
2476 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2477 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2481 echo "$as_me: error: invalid value of canonical host" >&2;}
2482 { (exit 1); exit 1; }; };;
2485 ac_save_IFS=$IFS; IFS='-'
2491 # Remember, the first character of IFS is used to create $*,
2492 # except with old shells:
2495 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498 { echo "$as_me:$LINENO: checking target system type" >&5
2499 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_target+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 if test "x$target_alias" = x; then
2504 ac_cv_target=$ac_cv_host
2506 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2507 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2508 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2509 { (exit 1); exit 1; }; }
2513 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2514 echo "${ECHO_T}$ac_cv_target" >&6; }
2515 case $ac_cv_target in
2517 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2518 echo "$as_me: error: invalid value of canonical target" >&2;}
2519 { (exit 1); exit 1; }; };;
2521 target=$ac_cv_target
2522 ac_save_IFS=$IFS; IFS='-'
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2532 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535 # The aliases save the names the user supplied, while $host etc.
2536 # will get canonicalized.
2537 test -n "$target_alias" &&
2538 test "$program_prefix$program_suffix$program_transform_name" = \
2540 program_prefix=${target_alias}-
2544 wx_major_version_number=2
2545 wx_minor_version_number=9
2547 wx_subrelease_number=0
2549 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2550 WX_VERSION=$WX_RELEASE.$wx_release_number
2551 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2553 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556 wx_top_builddir="`pwd`"
2569 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2583 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2585 DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_wxUSE_MICROWIN=0
2590 DEFAULT_wxUSE_MOTIF=0
2596 DEFAULT_DEFAULT_wxUSE_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_GTK=0
2598 DEFAULT_DEFAULT_wxUSE_MAC=0
2599 DEFAULT_DEFAULT_wxUSE_MGL=0
2600 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2602 DEFAULT_DEFAULT_wxUSE_MSW=0
2603 DEFAULT_DEFAULT_wxUSE_PM=0
2604 DEFAULT_DEFAULT_wxUSE_X11=0
2605 DEFAULT_DEFAULT_wxUSE_DFB=0
2610 SAMPLES_RPATH_POSTLINK=
2612 DEFAULT_STD_FLAG=yes
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2618 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2620 cat >>confdefs.h <<\_ACEOF
2625 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2629 cat >>confdefs.h <<\_ACEOF
2634 if test "x$TMP" = "xalpha"; then
2636 cat >>confdefs.h <<\_ACEOF
2641 DEFAULT_DEFAULT_wxUSE_GTK=1
2643 *-*-gnu* | *-*-k*bsd*-gnu )
2646 if test "x$TMP" = "xalpha"; then
2648 cat >>confdefs.h <<\_ACEOF
2653 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 *-*-irix5* | *-*-irix6* )
2658 cat >>confdefs.h <<\_ACEOF
2662 cat >>confdefs.h <<\_ACEOF
2666 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 cat >>confdefs.h <<\_ACEOF
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SOLARIS__ 1
2680 cat >>confdefs.h <<\_ACEOF
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2685 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2691 cat >>confdefs.h <<\_ACEOF
2695 cat >>confdefs.h <<\_ACEOF
2699 cat >>confdefs.h <<\_ACEOF
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __FREEBSD__ 1
2712 cat >>confdefs.h <<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 *-*-openbsd*|*-*-mirbsd*)
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __OPENBSD__ 1
2725 cat >>confdefs.h <<\_ACEOF
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __NETBSD__ 1
2738 cat >>confdefs.h <<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2750 cat >>confdefs.h <<\_ACEOF
2754 cat >>confdefs.h <<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764 cat >>confdefs.h <<\_ACEOF
2768 cat >>confdefs.h <<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 cat >>confdefs.h <<\_ACEOF
2781 cat >>confdefs.h <<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 cat >>confdefs.h <<\_ACEOF
2796 cat >>confdefs.h <<\_ACEOF
2800 cat >>confdefs.h <<\_ACEOF
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __UNIXWARE__ 1
2817 *-*-cygwin* | *-*-mingw32* )
2820 DEFAULT_DEFAULT_wxUSE_MSW=1
2826 cat >>confdefs.h <<\_ACEOF
2831 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 *-pc-os2_emx | *-pc-os2-emx )
2835 cat >>confdefs.h <<\_ACEOF
2840 cat >>confdefs.h <<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_PM=1
2847 LDFLAGS="$LDFLAGS -Zcrtdll"
2848 ac_executable_extensions=".exe"
2849 export ac_executable_extensions
2853 for ac_dir in $PATH; do
2855 if test -z "$ac_TEMP_PATH"; then
2856 ac_TEMP_PATH="$ac_dir"
2858 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 export PATH="$ac_TEMP_PATH"
2870 cat >>confdefs.h <<\_ACEOF
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DARWIN__ 1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define TARGET_CARBON 1
2882 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 powerpc-apple-macos* )
2887 ac_cv_c_bigendian=yes
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 cat >>confdefs.h <<\_ACEOF
2902 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2903 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2904 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2905 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2907 DEFAULT_DEFAULT_wxUSE_X11=1
2908 DEFAULT_wxUSE_SHARED=no
2914 wx_arg_cache_file="configarg.cache"
2915 echo "loading argument cache $wx_arg_cache_file"
2916 rm -f ${wx_arg_cache_file}.tmp
2917 touch ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}
2921 DEFAULT_wxUSE_ALL_FEATURES=yes
2923 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_LIBGNOMEVFS=no
2928 DEFAULT_wxUSE_LIBHILDON=no
2929 DEFAULT_wxUSE_LIBMSPACK=no
2930 DEFAULT_wxUSE_LIBSDL=no
2931 DEFAULT_wxUSE_ODBC=no
2932 DEFAULT_wxUSE_OPENGL=no
2934 DEFAULT_wxUSE_ACCESSIBILITY=no
2935 DEFAULT_wxUSE_DATAVIEWCTRL=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_MEDIACTRL=no
2938 DEFAULT_wxUSE_TAB_DIALOG=no
2940 DEFAULT_wxUSE_UNICODE_UTF8=auto
2941 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2943 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2945 DEFAULT_wxUSE_GTK2=yes
2947 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2950 for toolkit in `echo $ALL_TOOLKITS`; do
2951 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2952 if test "x$LINE" != "x" ; then
2953 has_toolkit_in_cache=1
2954 eval "DEFAULT_$LINE"
2955 eval "CACHE_$toolkit=1"
2957 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2958 if test "x$LINE" != "x" ; then
2959 eval "DEFAULT_$LINE"
2968 enablestring=disable
2970 if test -z "$defaultval"; then
2971 if test x"$enablestring" = xdisable; then
2978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2979 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2980 # Check whether --enable-gui was given.
2981 if test "${enable_gui+set}" = set; then
2982 enableval=$enable_gui;
2983 if test "$enableval" = yes; then
2984 wx_cv_use_gui='wxUSE_GUI=yes'
2986 wx_cv_use_gui='wxUSE_GUI=no'
2992 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x ; then
2994 eval "DEFAULT_$LINE"
2997 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3002 eval "$wx_cv_use_gui"
3003 if test "x$cache" = xyes; then
3004 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3007 if test x"$enablestring" = xdisable; then
3008 if test $wxUSE_GUI = yes; then
3017 { echo "$as_me:$LINENO: result: $result" >&5
3018 echo "${ECHO_T}$result" >&6; }
3023 if test -z "$defaultval"; then
3024 if test x"$enablestring" = xdisable; then
3031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3032 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3033 # Check whether --enable-monolithic was given.
3034 if test "${enable_monolithic+set}" = set; then
3035 enableval=$enable_monolithic;
3036 if test "$enableval" = yes; then
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3045 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055 eval "$wx_cv_use_monolithic"
3056 if test "x$cache" = xyes; then
3057 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3067 result=$wxUSE_MONOLITHIC
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3098 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3103 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3108 eval "$wx_cv_use_plugins"
3109 if test "x$cache" = xyes; then
3110 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3113 if test x"$enablestring" = xdisable; then
3114 if test $wxUSE_PLUGINS = yes; then
3120 result=$wxUSE_PLUGINS
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3128 defaultval=$wxUSE_ALL_FEATURES
3129 if test -z "$defaultval"; then
3130 if test x"$withstring" = xwithout; then
3136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3139 # Check whether --with-subdirs was given.
3140 if test "${with_subdirs+set}" = set; then
3141 withval=$with_subdirs;
3142 if test "$withval" = yes; then
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3151 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3156 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3161 eval "$wx_cv_use_subdirs"
3162 if test "x$cache" != xyes; then
3163 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3166 if test x"$withstring" = xwithout; then
3167 if test $wxWITH_SUBDIRS = yes; then
3173 result=$wxWITH_SUBDIRS
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3180 # Check whether --with-flavour was given.
3181 if test "${with_flavour+set}" = set; then
3182 withval=$with_flavour; WX_FLAVOUR="$withval"
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3197 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3198 # Check whether --enable-official_build was given.
3199 if test "${enable_official_build+set}" = set; then
3200 enableval=$enable_official_build;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3210 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3220 eval "$wx_cv_use_official_build"
3221 if test "x$cache" = xyes; then
3222 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = yes; then
3232 result=$wxUSE_OFFICIAL_BUILD
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3243 if test "x$VENDOR" = "x"; then
3248 enablestring=disable
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3272 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3282 eval "$wx_cv_use_all_features"
3283 if test "x$cache" = xyes; then
3284 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3287 if test x"$enablestring" = xdisable; then
3288 if test $wxUSE_ALL_FEATURES = yes; then
3294 result=$wxUSE_ALL_FEATURES
3297 { echo "$as_me:$LINENO: result: $result" >&5
3298 echo "${ECHO_T}$result" >&6; }
3302 if test "$wxUSE_GUI" = "yes"; then
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3329 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x ; then
3331 eval "DEFAULT_$LINE"
3334 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3339 eval "$wx_cv_use_universal"
3340 if test "x$cache" = xyes; then
3341 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3344 if test x"$enablestring" = xdisable; then
3345 if test $wxUSE_UNIVERSAL = yes; then
3351 result=$wxUSE_UNIVERSAL
3354 { echo "$as_me:$LINENO: result: $result" >&5
3355 echo "${ECHO_T}$result" >&6; }
3357 if test "$wxUSE_UNIVERSAL" = "yes"; then
3359 # Check whether --with-themes was given.
3360 if test "${with_themes+set}" = set; then
3361 withval=$with_themes; wxUNIV_THEMES="$withval"
3367 # Check whether --with-gtk was given.
3368 if test "${with_gtk+set}" = set; then
3369 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3373 # Check whether --with-motif was given.
3374 if test "${with_motif+set}" = set; then
3375 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3379 # Check whether --with-mac was given.
3380 if test "${with_mac+set}" = set; then
3381 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3391 # Check whether --with-wine was given.
3392 if test "${with_wine+set}" = set; then
3393 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3397 # Check whether --with-msw was given.
3398 if test "${with_msw+set}" = set; then
3399 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-pm was given.
3404 if test "${with_pm+set}" = set; then
3405 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-mgl was given.
3410 if test "${with_mgl+set}" = set; then
3411 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3415 # Check whether --with-directfb was given.
3416 if test "${with_directfb+set}" = set; then
3417 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3421 # Check whether --with-microwin was given.
3422 if test "${with_microwin+set}" = set; then
3423 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3427 # Check whether --with-x11 was given.
3428 if test "${with_x11+set}" = set; then
3429 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3435 if test -z "$defaultval"; then
3436 if test x"$enablestring" = xdisable; then
3443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3445 # Check whether --enable-nanox was given.
3446 if test "${enable_nanox+set}" = set; then
3447 enableval=$enable_nanox;
3448 if test "$enableval" = yes; then
3449 wx_cv_use_nanox='wxUSE_NANOX=yes'
3451 wx_cv_use_nanox='wxUSE_NANOX=no'
3457 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3458 if test "x$LINE" != x ; then
3459 eval "DEFAULT_$LINE"
3462 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3467 eval "$wx_cv_use_nanox"
3468 if test "x$cache" = xyes; then
3469 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = yes; then
3482 { echo "$as_me:$LINENO: result: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3504 # Check whether --enable-gpe was given.
3505 if test "${enable_gpe+set}" = set; then
3506 enableval=$enable_gpe;
3507 if test "$enableval" = yes; then
3508 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 wx_cv_use_gpe='wxUSE_GPE=no'
3516 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3521 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3526 eval "$wx_cv_use_gpe"
3527 if test "x$cache" = xyes; then
3528 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = yes; then
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3547 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3548 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550 # Check whether --with-libpng was given.
3551 if test "${with_libpng+set}" = set; then
3552 withval=$with_libpng;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3555 elif test "$withval" = no; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3557 elif test "$withval" = sys; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3562 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3563 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3570 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3575 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580 eval "$wx_cv_use_libpng"
3581 if test "x$cache" = xyes; then
3582 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_LIBPNG" = yes; then
3586 { echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6; }
3588 elif test "$wxUSE_LIBPNG" = no; then
3589 { echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6; }
3591 elif test "$wxUSE_LIBPNG" = sys; then
3592 { echo "$as_me:$LINENO: result: system version" >&5
3593 echo "${ECHO_T}system version" >&6; }
3594 elif test "$wxUSE_LIBPNG" = builtin; then
3595 { echo "$as_me:$LINENO: result: builtin version" >&5
3596 echo "${ECHO_T}builtin version" >&6; }
3598 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3599 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3600 { (exit 1); exit 1; }; }
3604 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3605 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3607 # Check whether --with-libjpeg was given.
3608 if test "${with_libjpeg+set}" = set; then
3609 withval=$with_libjpeg;
3610 if test "$withval" = yes; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3612 elif test "$withval" = no; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3614 elif test "$withval" = sys; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3616 elif test "$withval" = builtin; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3627 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3628 if test "x$LINE" != x ; then
3629 eval "DEFAULT_$LINE"
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3637 eval "$wx_cv_use_libjpeg"
3638 if test "x$cache" = xyes; then
3639 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_LIBJPEG" = yes; then
3643 { echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6; }
3645 elif test "$wxUSE_LIBJPEG" = no; then
3646 { echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6; }
3648 elif test "$wxUSE_LIBJPEG" = sys; then
3649 { echo "$as_me:$LINENO: result: system version" >&5
3650 echo "${ECHO_T}system version" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = builtin; then
3652 { echo "$as_me:$LINENO: result: builtin version" >&5
3653 echo "${ECHO_T}builtin version" >&6; }
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3661 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3662 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3664 # Check whether --with-libtiff was given.
3665 if test "${with_libtiff+set}" = set; then
3666 withval=$with_libtiff;
3667 if test "$withval" = yes; then
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3669 elif test "$withval" = no; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3671 elif test "$withval" = sys; then
3672 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3673 elif test "$withval" = builtin; then
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3684 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3694 eval "$wx_cv_use_libtiff"
3695 if test "x$cache" = xyes; then
3696 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3741 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3751 eval "$wx_cv_use_libxpm"
3752 if test "x$cache" = xyes; then
3753 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_LIBXPM" = yes; then
3757 { echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6; }
3759 elif test "$wxUSE_LIBXPM" = no; then
3760 { echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6; }
3762 elif test "$wxUSE_LIBXPM" = sys; then
3763 { echo "$as_me:$LINENO: result: system version" >&5
3764 echo "${ECHO_T}system version" >&6; }
3765 elif test "$wxUSE_LIBXPM" = builtin; then
3766 { echo "$as_me:$LINENO: result: builtin version" >&5
3767 echo "${ECHO_T}builtin version" >&6; }
3769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3770 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3776 defaultval=$wxUSE_ALL_FEATURES
3777 if test -z "$defaultval"; then
3778 if test x"$withstring" = xwithout; then
3784 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3785 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3787 # Check whether --with-libmspack was given.
3788 if test "${with_libmspack+set}" = set; then
3789 withval=$with_libmspack;
3790 if test "$withval" = yes; then
3791 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3793 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3799 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x ; then
3801 eval "DEFAULT_$LINE"
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3809 eval "$wx_cv_use_libmspack"
3810 if test "x$cache" != xyes; then
3811 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3821 result=$wxUSE_LIBMSPACK
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3840 # Check whether --with-gnomeprint was given.
3841 if test "${with_gnomeprint+set}" = set; then
3842 withval=$with_gnomeprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3846 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3852 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3857 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3862 eval "$wx_cv_use_gnomeprint"
3863 if test "x$cache" != xyes; then
3864 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_LIBGNOMEPRINT = yes; then
3874 result=$wxUSE_LIBGNOMEPRINT
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3893 # Check whether --with-gnomevfs was given.
3894 if test "${with_gnomevfs+set}" = set; then
3895 withval=$with_gnomevfs;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3899 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3905 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3910 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3915 eval "$wx_cv_use_gnomevfs"
3916 if test "x$cache" != xyes; then
3917 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3920 if test x"$withstring" = xwithout; then
3921 if test $wxUSE_LIBGNOMEVFS = yes; then
3927 result=$wxUSE_LIBGNOMEVFS
3930 { echo "$as_me:$LINENO: result: $result" >&5
3931 echo "${ECHO_T}$result" >&6; }
3935 defaultval=$wxUSE_ALL_FEATURES
3936 if test -z "$defaultval"; then
3937 if test x"$withstring" = xwithout; then
3943 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3944 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3946 # Check whether --with-hildon was given.
3947 if test "${with_hildon+set}" = set; then
3948 withval=$with_hildon;
3949 if test "$withval" = yes; then
3950 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3952 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3958 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x ; then
3960 eval "DEFAULT_$LINE"
3963 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3968 eval "$wx_cv_use_hildon"
3969 if test "x$cache" != xyes; then
3970 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_LIBHILDON = yes; then
3980 result=$wxUSE_LIBHILDON
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3999 # Check whether --with-opengl was given.
4000 if test "${with_opengl+set}" = set; then
4001 withval=$with_opengl;
4002 if test "$withval" = yes; then
4003 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4005 wx_cv_use_opengl='wxUSE_OPENGL=no'
4011 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4016 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4021 eval "$wx_cv_use_opengl"
4022 if test "x$cache" != xyes; then
4023 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4026 if test x"$withstring" = xwithout; then
4027 if test $wxUSE_OPENGL = yes; then
4033 result=$wxUSE_OPENGL
4036 { echo "$as_me:$LINENO: result: $result" >&5
4037 echo "${ECHO_T}$result" >&6; }
4044 defaultval=$wxUSE_ALL_FEATURES
4045 if test -z "$defaultval"; then
4046 if test x"$withstring" = xwithout; then
4052 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4053 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4055 # Check whether --with-dmalloc was given.
4056 if test "${with_dmalloc+set}" = set; then
4057 withval=$with_dmalloc;
4058 if test "$withval" = yes; then
4059 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4061 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4067 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4077 eval "$wx_cv_use_dmalloc"
4078 if test "x$cache" != xyes; then
4079 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_DMALLOC = yes; then
4089 result=$wxUSE_DMALLOC
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4114 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4120 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4125 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4130 eval "$wx_cv_use_sdl"
4131 if test "x$cache" != xyes; then
4132 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4135 if test x"$withstring" = xwithout; then
4136 if test $wxUSE_LIBSDL = yes; then
4142 result=$wxUSE_LIBSDL
4145 { echo "$as_me:$LINENO: result: $result" >&5
4146 echo "${ECHO_T}$result" >&6; }
4149 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4152 # Check whether --with-regex was given.
4153 if test "${with_regex+set}" = set; then
4154 withval=$with_regex;
4155 if test "$withval" = yes; then
4156 wx_cv_use_regex='wxUSE_REGEX=yes'
4157 elif test "$withval" = no; then
4158 wx_cv_use_regex='wxUSE_REGEX=no'
4159 elif test "$withval" = sys; then
4160 wx_cv_use_regex='wxUSE_REGEX=sys'
4161 elif test "$withval" = builtin; then
4162 wx_cv_use_regex='wxUSE_REGEX=builtin'
4164 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4165 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4166 { (exit 1); exit 1; }; }
4172 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4177 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4182 eval "$wx_cv_use_regex"
4183 if test "x$cache" = xyes; then
4184 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_REGEX" = yes; then
4188 { echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6; }
4190 elif test "$wxUSE_REGEX" = no; then
4191 { echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6; }
4193 elif test "$wxUSE_REGEX" = sys; then
4194 { echo "$as_me:$LINENO: result: system version" >&5
4195 echo "${ECHO_T}system version" >&6; }
4196 elif test "$wxUSE_REGEX" = builtin; then
4197 { echo "$as_me:$LINENO: result: builtin version" >&5
4198 echo "${ECHO_T}builtin version" >&6; }
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4206 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4207 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4209 # Check whether --with-zlib was given.
4210 if test "${with_zlib+set}" = set; then
4212 if test "$withval" = yes; then
4213 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4214 elif test "$withval" = no; then
4215 wx_cv_use_zlib='wxUSE_ZLIB=no'
4216 elif test "$withval" = sys; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4218 elif test "$withval" = builtin; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4221 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4222 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4223 { (exit 1); exit 1; }; }
4229 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x ; then
4231 eval "DEFAULT_$LINE"
4234 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4239 eval "$wx_cv_use_zlib"
4240 if test "x$cache" = xyes; then
4241 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4263 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4264 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4266 # Check whether --with-odbc was given.
4267 if test "${with_odbc+set}" = set; then
4269 if test "$withval" = yes; then
4270 wx_cv_use_odbc='wxUSE_ODBC=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_odbc='wxUSE_ODBC=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_odbc='wxUSE_ODBC=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4286 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x ; then
4288 eval "DEFAULT_$LINE"
4291 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4296 eval "$wx_cv_use_odbc"
4297 if test "x$cache" = xyes; then
4298 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_ODBC" = yes; then
4302 { echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6; }
4304 elif test "$wxUSE_ODBC" = no; then
4305 { echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6; }
4307 elif test "$wxUSE_ODBC" = sys; then
4308 { echo "$as_me:$LINENO: result: system version" >&5
4309 echo "${ECHO_T}system version" >&6; }
4310 elif test "$wxUSE_ODBC" = builtin; then
4311 { echo "$as_me:$LINENO: result: builtin version" >&5
4312 echo "${ECHO_T}builtin version" >&6; }
4314 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4315 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4316 { (exit 1); exit 1; }; }
4320 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4321 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4323 # Check whether --with-expat was given.
4324 if test "${with_expat+set}" = set; then
4325 withval=$with_expat;
4326 if test "$withval" = yes; then
4327 wx_cv_use_expat='wxUSE_EXPAT=yes'
4328 elif test "$withval" = no; then
4329 wx_cv_use_expat='wxUSE_EXPAT=no'
4330 elif test "$withval" = sys; then
4331 wx_cv_use_expat='wxUSE_EXPAT=sys'
4332 elif test "$withval" = builtin; then
4333 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4335 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4336 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4337 { (exit 1); exit 1; }; }
4343 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4348 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4353 eval "$wx_cv_use_expat"
4354 if test "x$cache" = xyes; then
4355 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_EXPAT" = yes; then
4359 { echo "$as_me:$LINENO: result: yes" >&5
4360 echo "${ECHO_T}yes" >&6; }
4361 elif test "$wxUSE_EXPAT" = no; then
4362 { echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6; }
4364 elif test "$wxUSE_EXPAT" = sys; then
4365 { echo "$as_me:$LINENO: result: system version" >&5
4366 echo "${ECHO_T}system version" >&6; }
4367 elif test "$wxUSE_EXPAT" = builtin; then
4368 { echo "$as_me:$LINENO: result: builtin version" >&5
4369 echo "${ECHO_T}builtin version" >&6; }
4371 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4372 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4373 { (exit 1); exit 1; }; }
4379 enablestring=disable
4381 if test -z "$defaultval"; then
4382 if test x"$enablestring" = xdisable; then
4389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4391 # Check whether --enable-shared was given.
4392 if test "${enable_shared+set}" = set; then
4393 enableval=$enable_shared;
4394 if test "$enableval" = yes; then
4395 wx_cv_use_shared='wxUSE_SHARED=yes'
4397 wx_cv_use_shared='wxUSE_SHARED=no'
4403 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4408 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4413 eval "$wx_cv_use_shared"
4414 if test "x$cache" = xyes; then
4415 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4418 if test x"$enablestring" = xdisable; then
4419 if test $wxUSE_SHARED = yes; then
4425 result=$wxUSE_SHARED
4428 { echo "$as_me:$LINENO: result: $result" >&5
4429 echo "${ECHO_T}$result" >&6; }
4432 enablestring=disable
4434 if test -z "$defaultval"; then
4435 if test x"$enablestring" = xdisable; then
4442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4444 # Check whether --enable-optimise was given.
4445 if test "${enable_optimise+set}" = set; then
4446 enableval=$enable_optimise;
4447 if test "$enableval" = yes; then
4448 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4450 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4456 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x ; then
4458 eval "DEFAULT_$LINE"
4461 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4466 eval "$wx_cv_use_optimise"
4467 if test "x$cache" = xyes; then
4468 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4471 if test x"$enablestring" = xdisable; then
4472 if test $wxUSE_OPTIMISE = yes; then
4478 result=$wxUSE_OPTIMISE
4481 { echo "$as_me:$LINENO: result: $result" >&5
4482 echo "${ECHO_T}$result" >&6; }
4487 if test -z "$defaultval"; then
4488 if test x"$enablestring" = xdisable; then
4495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4497 # Check whether --enable-debug was given.
4498 if test "${enable_debug+set}" = set; then
4499 enableval=$enable_debug;
4500 if test "$enableval" = yes; then
4501 wx_cv_use_debug='wxUSE_DEBUG=yes'
4503 wx_cv_use_debug='wxUSE_DEBUG=no'
4509 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4514 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4519 eval "$wx_cv_use_debug"
4520 if test "x$cache" = xyes; then
4521 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4524 if test x"$enablestring" = xdisable; then
4525 if test $wxUSE_DEBUG = yes; then
4534 { echo "$as_me:$LINENO: result: $result" >&5
4535 echo "${ECHO_T}$result" >&6; }
4540 if test -z "$defaultval"; then
4541 if test x"$enablestring" = xdisable; then
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4550 # Check whether --enable-stl was given.
4551 if test "${enable_stl+set}" = set; then
4552 enableval=$enable_stl;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_stl='wxUSE_STL=yes'
4556 wx_cv_use_stl='wxUSE_STL=no'
4562 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4567 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4572 eval "$wx_cv_use_stl"
4573 if test "x$cache" = xyes; then
4574 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4577 if test x"$enablestring" = xdisable; then
4578 if test $wxUSE_STL = yes; then
4587 { echo "$as_me:$LINENO: result: $result" >&5
4588 echo "${ECHO_T}$result" >&6; }
4593 if test -z "$defaultval"; then
4594 if test x"$enablestring" = xdisable; then
4601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4603 # Check whether --enable-std_iostreams was given.
4604 if test "${enable_std_iostreams+set}" = set; then
4605 enableval=$enable_std_iostreams;
4606 if test "$enableval" = yes; then
4607 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4609 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4615 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4620 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4625 eval "$wx_cv_use_std_iostreams"
4626 if test "x$cache" = xyes; then
4627 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_STD_IOSTREAM = yes; then
4637 result=$wxUSE_STD_IOSTREAM
4640 { echo "$as_me:$LINENO: result: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4656 # Check whether --enable-std_string was given.
4657 if test "${enable_std_string+set}" = set; then
4658 enableval=$enable_std_string;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4662 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4668 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4673 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4678 eval "$wx_cv_use_std_string"
4679 if test "x$cache" = xyes; then
4680 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4683 if test x"$enablestring" = xdisable; then
4684 if test $wxUSE_STD_STRING = yes; then
4690 result=$wxUSE_STD_STRING
4693 { echo "$as_me:$LINENO: result: $result" >&5
4694 echo "${ECHO_T}$result" >&6; }
4697 enablestring=disable
4699 if test -z "$defaultval"; then
4700 if test x"$enablestring" = xdisable; then
4707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4708 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4709 # Check whether --enable-unicode was given.
4710 if test "${enable_unicode+set}" = set; then
4711 enableval=$enable_unicode;
4712 if test "$enableval" = yes; then
4713 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4715 wx_cv_use_unicode='wxUSE_UNICODE=no'
4721 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4726 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4731 eval "$wx_cv_use_unicode"
4732 if test "x$cache" = xyes; then
4733 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_UNICODE = yes; then
4743 result=$wxUSE_UNICODE
4746 { echo "$as_me:$LINENO: result: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4762 # Check whether --enable-mslu was given.
4763 if test "${enable_mslu+set}" = set; then
4764 enableval=$enable_mslu;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4768 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4774 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4779 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4784 eval "$wx_cv_use_mslu"
4785 if test "x$cache" = xyes; then
4786 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4789 if test x"$enablestring" = xdisable; then
4790 if test $wxUSE_UNICODE_MSLU = yes; then
4796 result=$wxUSE_UNICODE_MSLU
4799 { echo "$as_me:$LINENO: result: $result" >&5
4800 echo "${ECHO_T}$result" >&6; }
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4806 # Check whether --enable-utf8 was given.
4807 if test "${enable_utf8+set}" = set; then
4808 enableval=$enable_utf8;
4809 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4814 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x ; then
4816 eval "DEFAULT_$LINE"
4819 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4824 eval "$wx_cv_use_utf8"
4825 if test "x$cache" = xyes; then
4826 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4829 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4830 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4845 # Check whether --enable-utf8only was given.
4846 if test "${enable_utf8only+set}" = set; then
4847 enableval=$enable_utf8only;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4851 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4857 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4862 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4867 eval "$wx_cv_use_utf8only"
4868 if test "x$cache" = xyes; then
4869 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4872 if test x"$enablestring" = xdisable; then
4873 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4879 result=$wxUSE_UNICODE_UTF8_LOCALE
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4898 # Check whether --enable-extended_rtti was given.
4899 if test "${enable_extended_rtti+set}" = set; then
4900 enableval=$enable_extended_rtti;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4904 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4910 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4915 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4920 eval "$wx_cv_use_extended_rtti"
4921 if test "x$cache" = xyes; then
4922 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_EXTENDED_RTTI = yes; then
4932 result=$wxUSE_EXTENDED_RTTI
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4938 if test "$USE_OS2" = "1"; then
4939 DEFAULT_wxUSE_OMF=no
4943 if test -z "$defaultval"; then
4944 if test x"$enablestring" = xdisable; then
4951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4953 # Check whether --enable-omf was given.
4954 if test "${enable_omf+set}" = set; then
4955 enableval=$enable_omf;
4956 if test "$enableval" = yes; then
4957 wx_cv_use_omf='wxUSE_OMF=yes'
4959 wx_cv_use_omf='wxUSE_OMF=no'
4965 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x ; then
4967 eval "DEFAULT_$LINE"
4970 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4975 eval "$wx_cv_use_omf"
4976 if test "x$cache" = xyes; then
4977 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4980 if test x"$enablestring" = xdisable; then
4981 if test $wxUSE_OMF = yes; then
4990 { echo "$as_me:$LINENO: result: $result" >&5
4991 echo "${ECHO_T}$result" >&6; }
4995 if test "$wxUSE_DEBUG" = "yes"; then
4996 DEFAULT_wxUSE_DEBUG_FLAG=yes
4997 DEFAULT_wxUSE_DEBUG_INFO=yes
4999 elif test "$wxUSE_DEBUG" = "no"; then
5000 DEFAULT_wxUSE_DEBUG_FLAG=no
5001 DEFAULT_wxUSE_DEBUG_INFO=no
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5018 # Check whether --enable-debug_flag was given.
5019 if test "${enable_debug_flag+set}" = set; then
5020 enableval=$enable_debug_flag;
5021 if test "$enableval" = yes; then
5022 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5024 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5030 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5035 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5040 eval "$wx_cv_use_debug_flag"
5041 if test "x$cache" = xyes; then
5042 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5045 if test x"$enablestring" = xdisable; then
5046 if test $wxUSE_DEBUG_FLAG = yes; then
5052 result=$wxUSE_DEBUG_FLAG
5055 { echo "$as_me:$LINENO: result: $result" >&5
5056 echo "${ECHO_T}$result" >&6; }
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5071 # Check whether --enable-debug_info was given.
5072 if test "${enable_debug_info+set}" = set; then
5073 enableval=$enable_debug_info;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5077 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5083 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5088 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5093 eval "$wx_cv_use_debug_info"
5094 if test "x$cache" = xyes; then
5095 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5098 if test x"$enablestring" = xdisable; then
5099 if test $wxUSE_DEBUG_INFO = yes; then
5105 result=$wxUSE_DEBUG_INFO
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5114 if test -z "$defaultval"; then
5115 if test x"$enablestring" = xdisable; then
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5124 # Check whether --enable-debug_gdb was given.
5125 if test "${enable_debug_gdb+set}" = set; then
5126 enableval=$enable_debug_gdb;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5130 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5136 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5141 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5146 eval "$wx_cv_use_debug_gdb"
5147 if test "x$cache" = xyes; then
5148 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5151 if test x"$enablestring" = xdisable; then
5152 if test $wxUSE_DEBUG_GDB = yes; then
5158 result=$wxUSE_DEBUG_GDB
5161 { echo "$as_me:$LINENO: result: $result" >&5
5162 echo "${ECHO_T}$result" >&6; }
5167 if test -z "$defaultval"; then
5168 if test x"$enablestring" = xdisable; then
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5177 # Check whether --enable-debug_cntxt was given.
5178 if test "${enable_debug_cntxt+set}" = set; then
5179 enableval=$enable_debug_cntxt;
5180 if test "$enableval" = yes; then
5181 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5183 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5189 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5194 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5199 eval "$wx_cv_use_debug_cntxt"
5200 if test "x$cache" = xyes; then
5201 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5204 if test x"$enablestring" = xdisable; then
5205 if test $wxUSE_DEBUG_CONTEXT = yes; then
5211 result=$wxUSE_DEBUG_CONTEXT
5214 { echo "$as_me:$LINENO: result: $result" >&5
5215 echo "${ECHO_T}$result" >&6; }
5220 if test -z "$defaultval"; then
5221 if test x"$enablestring" = xdisable; then
5228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5229 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5230 # Check whether --enable-mem_tracing was given.
5231 if test "${enable_mem_tracing+set}" = set; then
5232 enableval=$enable_mem_tracing;
5233 if test "$enableval" = yes; then
5234 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5236 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5242 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5247 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5252 eval "$wx_cv_use_mem_tracing"
5253 if test "x$cache" = xyes; then
5254 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5257 if test x"$enablestring" = xdisable; then
5258 if test $wxUSE_MEM_TRACING = yes; then
5264 result=$wxUSE_MEM_TRACING
5267 { echo "$as_me:$LINENO: result: $result" >&5
5268 echo "${ECHO_T}$result" >&6; }
5273 if test -z "$defaultval"; then
5274 if test x"$enablestring" = xdisable; then
5281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5282 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5283 # Check whether --enable-profile was given.
5284 if test "${enable_profile+set}" = set; then
5285 enableval=$enable_profile;
5286 if test "$enableval" = yes; then
5287 wx_cv_use_profile='wxUSE_PROFILE=yes'
5289 wx_cv_use_profile='wxUSE_PROFILE=no'
5295 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5296 if test "x$LINE" != x ; then
5297 eval "DEFAULT_$LINE"
5300 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5305 eval "$wx_cv_use_profile"
5306 if test "x$cache" = xyes; then
5307 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_PROFILE = yes; then
5317 result=$wxUSE_PROFILE
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5326 if test -z "$defaultval"; then
5327 if test x"$enablestring" = xdisable; then
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5336 # Check whether --enable-no_rtti was given.
5337 if test "${enable_no_rtti+set}" = set; then
5338 enableval=$enable_no_rtti;
5339 if test "$enableval" = yes; then
5340 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5342 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5348 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5353 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5358 eval "$wx_cv_use_no_rtti"
5359 if test "x$cache" = xyes; then
5360 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5363 if test x"$enablestring" = xdisable; then
5364 if test $wxUSE_NO_RTTI = yes; then
5370 result=$wxUSE_NO_RTTI
5373 { echo "$as_me:$LINENO: result: $result" >&5
5374 echo "${ECHO_T}$result" >&6; }
5379 if test -z "$defaultval"; then
5380 if test x"$enablestring" = xdisable; then
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5389 # Check whether --enable-no_exceptions was given.
5390 if test "${enable_no_exceptions+set}" = set; then
5391 enableval=$enable_no_exceptions;
5392 if test "$enableval" = yes; then
5393 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5395 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5401 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5406 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5411 eval "$wx_cv_use_no_exceptions"
5412 if test "x$cache" = xyes; then
5413 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_NO_EXCEPTIONS = yes; then
5423 result=$wxUSE_NO_EXCEPTIONS
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5432 if test -z "$defaultval"; then
5433 if test x"$enablestring" = xdisable; then
5440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5442 # Check whether --enable-permissive was given.
5443 if test "${enable_permissive+set}" = set; then
5444 enableval=$enable_permissive;
5445 if test "$enableval" = yes; then
5446 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5448 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5454 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5459 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5464 eval "$wx_cv_use_permissive"
5465 if test "x$cache" = xyes; then
5466 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5469 if test x"$enablestring" = xdisable; then
5470 if test $wxUSE_PERMISSIVE = yes; then
5476 result=$wxUSE_PERMISSIVE
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5495 # Check whether --enable-no_deps was given.
5496 if test "${enable_no_deps+set}" = set; then
5497 enableval=$enable_no_deps;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5501 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5507 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5512 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5517 eval "$wx_cv_use_no_deps"
5518 if test "x$cache" = xyes; then
5519 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_NO_DEPS = yes; then
5529 result=$wxUSE_NO_DEPS
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5536 enablestring=disable
5538 if test -z "$defaultval"; then
5539 if test x"$enablestring" = xdisable; then
5546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5548 # Check whether --enable-vararg_macros was given.
5549 if test "${enable_vararg_macros+set}" = set; then
5550 enableval=$enable_vararg_macros;
5551 if test "$enableval" = yes; then
5552 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5554 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5560 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x ; then
5562 eval "DEFAULT_$LINE"
5565 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5570 eval "$wx_cv_use_vararg_macros"
5571 if test "x$cache" = xyes; then
5572 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5575 if test x"$enablestring" = xdisable; then
5576 if test $wxUSE_VARARG_MACROS = yes; then
5582 result=$wxUSE_VARARG_MACROS
5585 { echo "$as_me:$LINENO: result: $result" >&5
5586 echo "${ECHO_T}$result" >&6; }
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5592 # Check whether --enable-universal_binary was given.
5593 if test "${enable_universal_binary+set}" = set; then
5594 enableval=$enable_universal_binary;
5595 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5600 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5605 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5610 eval "$wx_cv_use_universal_binary"
5611 if test "x$cache" = xyes; then
5612 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5615 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5616 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5622 if test -z "$defaultval"; then
5623 if test x"$enablestring" = xdisable; then
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5632 # Check whether --enable-compat26 was given.
5633 if test "${enable_compat26+set}" = set; then
5634 enableval=$enable_compat26;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5638 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5644 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5649 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5654 eval "$wx_cv_use_compat26"
5655 if test "x$cache" = xyes; then
5656 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5659 if test x"$enablestring" = xdisable; then
5660 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5666 result=$WXWIN_COMPATIBILITY_2_6
5669 { echo "$as_me:$LINENO: result: $result" >&5
5670 echo "${ECHO_T}$result" >&6; }
5673 enablestring=disable
5675 if test -z "$defaultval"; then
5676 if test x"$enablestring" = xdisable; then
5683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5685 # Check whether --enable-compat28 was given.
5686 if test "${enable_compat28+set}" = set; then
5687 enableval=$enable_compat28;
5688 if test "$enableval" = yes; then
5689 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5697 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x ; then
5699 eval "DEFAULT_$LINE"
5702 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5707 eval "$wx_cv_use_compat28"
5708 if test "x$cache" = xyes; then
5709 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5712 if test x"$enablestring" = xdisable; then
5713 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5719 result=$WXWIN_COMPATIBILITY_2_8
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5727 enablestring=disable
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5739 # Check whether --enable-rpath was given.
5740 if test "${enable_rpath+set}" = set; then
5741 enableval=$enable_rpath;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_rpath='wxUSE_RPATH=yes'
5745 wx_cv_use_rpath='wxUSE_RPATH=no'
5751 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5756 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5761 eval "$wx_cv_use_rpath"
5762 if test "x$cache" = xyes; then
5763 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_RPATH = yes; then
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5793 # Check whether --enable-objc_uniquifying was given.
5794 if test "${enable_objc_uniquifying+set}" = set; then
5795 enableval=$enable_objc_uniquifying;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5799 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5805 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5810 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5815 eval "$wx_cv_use_objc_uniquifying"
5816 if test "x$cache" = xyes; then
5817 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5827 result=$wxUSE_OBJC_UNIQUIFYING
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5835 enablestring=disable
5837 if test -z "$defaultval"; then
5838 if test x"$enablestring" = xdisable; then
5845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5847 # Check whether --enable-visibility was given.
5848 if test "${enable_visibility+set}" = set; then
5849 enableval=$enable_visibility;
5850 if test "$enableval" = yes; then
5851 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5853 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5859 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5864 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5869 eval "$wx_cv_use_visibility"
5870 if test "x$cache" = xyes; then
5871 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_VISIBILITY = yes; then
5881 result=$wxUSE_VISIBILITY
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5891 defaultval=$wxUSE_ALL_FEATURES
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5902 # Check whether --enable-intl was given.
5903 if test "${enable_intl+set}" = set; then
5904 enableval=$enable_intl;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_intl='wxUSE_INTL=yes'
5908 wx_cv_use_intl='wxUSE_INTL=no'
5914 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5919 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5924 eval "$wx_cv_use_intl"
5925 if test "x$cache" = xyes; then
5926 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_INTL = yes; then
5939 { echo "$as_me:$LINENO: result: $result" >&5
5940 echo "${ECHO_T}$result" >&6; }
5944 defaultval=$wxUSE_ALL_FEATURES
5945 if test -z "$defaultval"; then
5946 if test x"$enablestring" = xdisable; then
5953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5955 # Check whether --enable-config was given.
5956 if test "${enable_config+set}" = set; then
5957 enableval=$enable_config;
5958 if test "$enableval" = yes; then
5959 wx_cv_use_config='wxUSE_CONFIG=yes'
5961 wx_cv_use_config='wxUSE_CONFIG=no'
5967 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5972 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5977 eval "$wx_cv_use_config"
5978 if test "x$cache" = xyes; then
5979 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_CONFIG = yes; then
5989 result=$wxUSE_CONFIG
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5998 defaultval=$wxUSE_ALL_FEATURES
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6009 # Check whether --enable-protocols was given.
6010 if test "${enable_protocols+set}" = set; then
6011 enableval=$enable_protocols;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6015 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6021 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6026 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6031 eval "$wx_cv_use_protocols"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_PROTOCOL = yes; then
6043 result=$wxUSE_PROTOCOL
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6051 defaultval=$wxUSE_ALL_FEATURES
6052 if test -z "$defaultval"; then
6053 if test x"$enablestring" = xdisable; then
6060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6061 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6062 # Check whether --enable-ftp was given.
6063 if test "${enable_ftp+set}" = set; then
6064 enableval=$enable_ftp;
6065 if test "$enableval" = yes; then
6066 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6068 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6074 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6075 if test "x$LINE" != x ; then
6076 eval "DEFAULT_$LINE"
6079 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6084 eval "$wx_cv_use_ftp"
6085 if test "x$cache" = xyes; then
6086 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_PROTOCOL_FTP = yes; then
6096 result=$wxUSE_PROTOCOL_FTP
6099 { echo "$as_me:$LINENO: result: $result" >&5
6100 echo "${ECHO_T}$result" >&6; }
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6115 # Check whether --enable-http was given.
6116 if test "${enable_http+set}" = set; then
6117 enableval=$enable_http;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6121 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6127 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6132 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6137 eval "$wx_cv_use_http"
6138 if test "x$cache" = xyes; then
6139 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6142 if test x"$enablestring" = xdisable; then
6143 if test $wxUSE_PROTOCOL_HTTP = yes; then
6149 result=$wxUSE_PROTOCOL_HTTP
6152 { echo "$as_me:$LINENO: result: $result" >&5
6153 echo "${ECHO_T}$result" >&6; }
6157 defaultval=$wxUSE_ALL_FEATURES
6158 if test -z "$defaultval"; then
6159 if test x"$enablestring" = xdisable; then
6166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6168 # Check whether --enable-fileproto was given.
6169 if test "${enable_fileproto+set}" = set; then
6170 enableval=$enable_fileproto;
6171 if test "$enableval" = yes; then
6172 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6174 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6180 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6185 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6190 eval "$wx_cv_use_fileproto"
6191 if test "x$cache" = xyes; then
6192 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6195 if test x"$enablestring" = xdisable; then
6196 if test $wxUSE_PROTOCOL_FILE = yes; then
6202 result=$wxUSE_PROTOCOL_FILE
6205 { echo "$as_me:$LINENO: result: $result" >&5
6206 echo "${ECHO_T}$result" >&6; }
6210 defaultval=$wxUSE_ALL_FEATURES
6211 if test -z "$defaultval"; then
6212 if test x"$enablestring" = xdisable; then
6219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6221 # Check whether --enable-sockets was given.
6222 if test "${enable_sockets+set}" = set; then
6223 enableval=$enable_sockets;
6224 if test "$enableval" = yes; then
6225 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6227 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6233 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x ; then
6235 eval "DEFAULT_$LINE"
6238 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6243 eval "$wx_cv_use_sockets"
6244 if test "x$cache" = xyes; then
6245 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_SOCKETS = yes; then
6255 result=$wxUSE_SOCKETS
6258 { echo "$as_me:$LINENO: result: $result" >&5
6259 echo "${ECHO_T}$result" >&6; }
6263 defaultval=$wxUSE_ALL_FEATURES
6264 if test -z "$defaultval"; then
6265 if test x"$enablestring" = xdisable; then
6272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6274 # Check whether --enable-ole was given.
6275 if test "${enable_ole+set}" = set; then
6276 enableval=$enable_ole;
6277 if test "$enableval" = yes; then
6278 wx_cv_use_ole='wxUSE_OLE=yes'
6280 wx_cv_use_ole='wxUSE_OLE=no'
6286 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6287 if test "x$LINE" != x ; then
6288 eval "DEFAULT_$LINE"
6291 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6296 eval "$wx_cv_use_ole"
6297 if test "x$cache" = xyes; then
6298 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6301 if test x"$enablestring" = xdisable; then
6302 if test $wxUSE_OLE = yes; then
6311 { echo "$as_me:$LINENO: result: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6316 defaultval=$wxUSE_ALL_FEATURES
6317 if test -z "$defaultval"; then
6318 if test x"$enablestring" = xdisable; then
6325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6327 # Check whether --enable-dataobj was given.
6328 if test "${enable_dataobj+set}" = set; then
6329 enableval=$enable_dataobj;
6330 if test "$enableval" = yes; then
6331 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6333 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6339 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6344 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6349 eval "$wx_cv_use_dataobj"
6350 if test "x$cache" = xyes; then
6351 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_DATAOBJ = yes; then
6361 result=$wxUSE_DATAOBJ
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6381 # Check whether --enable-ipc was given.
6382 if test "${enable_ipc+set}" = set; then
6383 enableval=$enable_ipc;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_ipc='wxUSE_IPC=yes'
6387 wx_cv_use_ipc='wxUSE_IPC=no'
6393 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6398 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6403 eval "$wx_cv_use_ipc"
6404 if test "x$cache" = xyes; then
6405 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6408 if test x"$enablestring" = xdisable; then
6409 if test $wxUSE_IPC = yes; then
6418 { echo "$as_me:$LINENO: result: $result" >&5
6419 echo "${ECHO_T}$result" >&6; }
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6435 # Check whether --enable-baseevtloop was given.
6436 if test "${enable_baseevtloop+set}" = set; then
6437 enableval=$enable_baseevtloop;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6441 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6447 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6452 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6457 eval "$wx_cv_use_baseevtloop"
6458 if test "x$cache" = xyes; then
6459 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6462 if test x"$enablestring" = xdisable; then
6463 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6469 result=$wxUSE_CONSOLE_EVENTLOOP
6472 { echo "$as_me:$LINENO: result: $result" >&5
6473 echo "${ECHO_T}$result" >&6; }
6477 defaultval=$wxUSE_ALL_FEATURES
6478 if test -z "$defaultval"; then
6479 if test x"$enablestring" = xdisable; then
6486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6487 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6488 # Check whether --enable-epoolloop was given.
6489 if test "${enable_epoolloop+set}" = set; then
6490 enableval=$enable_epoolloop;
6491 if test "$enableval" = yes; then
6492 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6494 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6500 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x ; then
6502 eval "DEFAULT_$LINE"
6505 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6510 eval "$wx_cv_use_epoolloop"
6511 if test "x$cache" = xyes; then
6512 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6522 result=$wxUSE_EPOLL_DISPATCHER
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6541 # Check whether --enable-selectloop was given.
6542 if test "${enable_selectloop+set}" = set; then
6543 enableval=$enable_selectloop;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6553 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x ; then
6555 eval "DEFAULT_$LINE"
6558 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6563 eval "$wx_cv_use_selectloop"
6564 if test "x$cache" = xyes; then
6565 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_SELECT_DISPATCHER = yes; then
6575 result=$wxUSE_SELECT_DISPATCHER
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6584 defaultval=$wxUSE_ALL_FEATURES
6585 if test -z "$defaultval"; then
6586 if test x"$enablestring" = xdisable; then
6593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6595 # Check whether --enable-apple_ieee was given.
6596 if test "${enable_apple_ieee+set}" = set; then
6597 enableval=$enable_apple_ieee;
6598 if test "$enableval" = yes; then
6599 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6601 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6607 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6612 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6617 eval "$wx_cv_use_apple_ieee"
6618 if test "x$cache" = xyes; then
6619 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6622 if test x"$enablestring" = xdisable; then
6623 if test $wxUSE_APPLE_IEEE = yes; then
6629 result=$wxUSE_APPLE_IEEE
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6637 defaultval=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x"$enablestring" = xdisable; then
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6648 # Check whether --enable-arcstream was given.
6649 if test "${enable_arcstream+set}" = set; then
6650 enableval=$enable_arcstream;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6654 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6660 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6665 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6670 eval "$wx_cv_use_arcstream"
6671 if test "x$cache" = xyes; then
6672 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6675 if test x"$enablestring" = xdisable; then
6676 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6682 result=$wxUSE_ARCHIVE_STREAMS
6685 { echo "$as_me:$LINENO: result: $result" >&5
6686 echo "${ECHO_T}$result" >&6; }
6690 defaultval=$wxUSE_ALL_FEATURES
6691 if test -z "$defaultval"; then
6692 if test x"$enablestring" = xdisable; then
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6701 # Check whether --enable-base64 was given.
6702 if test "${enable_base64+set}" = set; then
6703 enableval=$enable_base64;
6704 if test "$enableval" = yes; then
6705 wx_cv_use_base64='wxUSE_BASE64=yes'
6707 wx_cv_use_base64='wxUSE_BASE64=no'
6713 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6718 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6723 eval "$wx_cv_use_base64"
6724 if test "x$cache" = xyes; then
6725 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6728 if test x"$enablestring" = xdisable; then
6729 if test $wxUSE_BASE64 = yes; then
6735 result=$wxUSE_BASE64
6738 { echo "$as_me:$LINENO: result: $result" >&5
6739 echo "${ECHO_T}$result" >&6; }
6743 defaultval=$wxUSE_ALL_FEATURES
6744 if test -z "$defaultval"; then
6745 if test x"$enablestring" = xdisable; then
6752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6753 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6754 # Check whether --enable-backtrace was given.
6755 if test "${enable_backtrace+set}" = set; then
6756 enableval=$enable_backtrace;
6757 if test "$enableval" = yes; then
6758 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6760 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6766 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6771 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6776 eval "$wx_cv_use_backtrace"
6777 if test "x$cache" = xyes; then
6778 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_STACKWALKER = yes; then
6788 result=$wxUSE_STACKWALKER
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6807 # Check whether --enable-catch_segvs was given.
6808 if test "${enable_catch_segvs+set}" = set; then
6809 enableval=$enable_catch_segvs;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6813 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6819 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6824 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6829 eval "$wx_cv_use_catch_segvs"
6830 if test "x$cache" = xyes; then
6831 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6834 if test x"$enablestring" = xdisable; then
6835 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6841 result=$wxUSE_ON_FATAL_EXCEPTION
6844 { echo "$as_me:$LINENO: result: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6849 defaultval=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x"$enablestring" = xdisable; then
6858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6860 # Check whether --enable-cmdline was given.
6861 if test "${enable_cmdline+set}" = set; then
6862 enableval=$enable_cmdline;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6866 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6872 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6877 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6882 eval "$wx_cv_use_cmdline"
6883 if test "x$cache" = xyes; then
6884 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_CMDLINE_PARSER = yes; then
6894 result=$wxUSE_CMDLINE_PARSER
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6913 # Check whether --enable-datetime was given.
6914 if test "${enable_datetime+set}" = set; then
6915 enableval=$enable_datetime;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6919 wx_cv_use_datetime='wxUSE_DATETIME=no'
6925 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6930 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6935 eval "$wx_cv_use_datetime"
6936 if test "x$cache" = xyes; then
6937 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6940 if test x"$enablestring" = xdisable; then
6941 if test $wxUSE_DATETIME = yes; then
6947 result=$wxUSE_DATETIME
6950 { echo "$as_me:$LINENO: result: $result" >&5
6951 echo "${ECHO_T}$result" >&6; }
6955 defaultval=$wxUSE_ALL_FEATURES
6956 if test -z "$defaultval"; then
6957 if test x"$enablestring" = xdisable; then
6964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6965 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6966 # Check whether --enable-debugreport was given.
6967 if test "${enable_debugreport+set}" = set; then
6968 enableval=$enable_debugreport;
6969 if test "$enableval" = yes; then
6970 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6972 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6978 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6983 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6988 eval "$wx_cv_use_debugreport"
6989 if test "x$cache" = xyes; then
6990 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_DEBUGREPORT = yes; then
7000 result=$wxUSE_DEBUGREPORT
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7019 # Check whether --enable-dialupman was given.
7020 if test "${enable_dialupman+set}" = set; then
7021 enableval=$enable_dialupman;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7025 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7031 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7032 if test "x$LINE" != x ; then
7033 eval "DEFAULT_$LINE"
7036 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7041 eval "$wx_cv_use_dialupman"
7042 if test "x$cache" = xyes; then
7043 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_DIALUP_MANAGER = yes; then
7053 result=$wxUSE_DIALUP_MANAGER
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7072 # Check whether --enable-dynlib was given.
7073 if test "${enable_dynlib+set}" = set; then
7074 enableval=$enable_dynlib;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7078 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7084 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7089 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7094 eval "$wx_cv_use_dynlib"
7095 if test "x$cache" = xyes; then
7096 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_DYNLIB_CLASS = yes; then
7106 result=$wxUSE_DYNLIB_CLASS
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7125 # Check whether --enable-dynamicloader was given.
7126 if test "${enable_dynamicloader+set}" = set; then
7127 enableval=$enable_dynamicloader;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7131 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7137 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7142 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7147 eval "$wx_cv_use_dynamicloader"
7148 if test "x$cache" = xyes; then
7149 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_DYNAMIC_LOADER = yes; then
7159 result=$wxUSE_DYNAMIC_LOADER
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7178 # Check whether --enable-exceptions was given.
7179 if test "${enable_exceptions+set}" = set; then
7180 enableval=$enable_exceptions;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7184 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7190 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x ; then
7192 eval "DEFAULT_$LINE"
7195 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7200 eval "$wx_cv_use_exceptions"
7201 if test "x$cache" = xyes; then
7202 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7205 if test x"$enablestring" = xdisable; then
7206 if test $wxUSE_EXCEPTIONS = yes; then
7212 result=$wxUSE_EXCEPTIONS
7215 { echo "$as_me:$LINENO: result: $result" >&5
7216 echo "${ECHO_T}$result" >&6; }
7220 defaultval=$wxUSE_ALL_FEATURES
7221 if test -z "$defaultval"; then
7222 if test x"$enablestring" = xdisable; then
7229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7231 # Check whether --enable-ffile was given.
7232 if test "${enable_ffile+set}" = set; then
7233 enableval=$enable_ffile;
7234 if test "$enableval" = yes; then
7235 wx_cv_use_ffile='wxUSE_FFILE=yes'
7237 wx_cv_use_ffile='wxUSE_FFILE=no'
7243 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7248 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7253 eval "$wx_cv_use_ffile"
7254 if test "x$cache" = xyes; then
7255 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7258 if test x"$enablestring" = xdisable; then
7259 if test $wxUSE_FFILE = yes; then
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7273 defaultval=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x"$enablestring" = xdisable; then
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7284 # Check whether --enable-file was given.
7285 if test "${enable_file+set}" = set; then
7286 enableval=$enable_file;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_file='wxUSE_FILE=yes'
7290 wx_cv_use_file='wxUSE_FILE=no'
7296 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x ; then
7298 eval "DEFAULT_$LINE"
7301 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7306 eval "$wx_cv_use_file"
7307 if test "x$cache" = xyes; then
7308 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FILE = yes; then
7321 { echo "$as_me:$LINENO: result: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7337 # Check whether --enable-filesystem was given.
7338 if test "${enable_filesystem+set}" = set; then
7339 enableval=$enable_filesystem;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7343 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7349 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x ; then
7351 eval "DEFAULT_$LINE"
7354 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7359 eval "$wx_cv_use_filesystem"
7360 if test "x$cache" = xyes; then
7361 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FILESYSTEM = yes; then
7371 result=$wxUSE_FILESYSTEM
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7390 # Check whether --enable-fontenum was given.
7391 if test "${enable_fontenum+set}" = set; then
7392 enableval=$enable_fontenum;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7396 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7402 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7407 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7412 eval "$wx_cv_use_fontenum"
7413 if test "x$cache" = xyes; then
7414 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7417 if test x"$enablestring" = xdisable; then
7418 if test $wxUSE_FONTENUM = yes; then
7424 result=$wxUSE_FONTENUM
7427 { echo "$as_me:$LINENO: result: $result" >&5
7428 echo "${ECHO_T}$result" >&6; }
7432 defaultval=$wxUSE_ALL_FEATURES
7433 if test -z "$defaultval"; then
7434 if test x"$enablestring" = xdisable; then
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7443 # Check whether --enable-fontmap was given.
7444 if test "${enable_fontmap+set}" = set; then
7445 enableval=$enable_fontmap;
7446 if test "$enableval" = yes; then
7447 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7449 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7455 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7460 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7465 eval "$wx_cv_use_fontmap"
7466 if test "x$cache" = xyes; then
7467 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7470 if test x"$enablestring" = xdisable; then
7471 if test $wxUSE_FONTMAP = yes; then
7477 result=$wxUSE_FONTMAP
7480 { echo "$as_me:$LINENO: result: $result" >&5
7481 echo "${ECHO_T}$result" >&6; }
7485 defaultval=$wxUSE_ALL_FEATURES
7486 if test -z "$defaultval"; then
7487 if test x"$enablestring" = xdisable; then
7494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7495 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7496 # Check whether --enable-fs_archive was given.
7497 if test "${enable_fs_archive+set}" = set; then
7498 enableval=$enable_fs_archive;
7499 if test "$enableval" = yes; then
7500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7502 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7508 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x ; then
7510 eval "DEFAULT_$LINE"
7513 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7518 eval "$wx_cv_use_fs_archive"
7519 if test "x$cache" = xyes; then
7520 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_FS_ARCHIVE = yes; then
7530 result=$wxUSE_FS_ARCHIVE
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7549 # Check whether --enable-fs_inet was given.
7550 if test "${enable_fs_inet+set}" = set; then
7551 enableval=$enable_fs_inet;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7555 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7561 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7566 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7571 eval "$wx_cv_use_fs_inet"
7572 if test "x$cache" = xyes; then
7573 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_FS_INET = yes; then
7583 result=$wxUSE_FS_INET
7586 { echo "$as_me:$LINENO: result: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7602 # Check whether --enable-fs_zip was given.
7603 if test "${enable_fs_zip+set}" = set; then
7604 enableval=$enable_fs_zip;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7608 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7614 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7615 if test "x$LINE" != x ; then
7616 eval "DEFAULT_$LINE"
7619 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7624 eval "$wx_cv_use_fs_zip"
7625 if test "x$cache" = xyes; then
7626 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_FS_ZIP = yes; then
7636 result=$wxUSE_FS_ZIP
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7655 # Check whether --enable-geometry was given.
7656 if test "${enable_geometry+set}" = set; then
7657 enableval=$enable_geometry;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7661 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7667 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7672 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7677 eval "$wx_cv_use_geometry"
7678 if test "x$cache" = xyes; then
7679 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_GEOMETRY = yes; then
7689 result=$wxUSE_GEOMETRY
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7708 # Check whether --enable-log was given.
7709 if test "${enable_log+set}" = set; then
7710 enableval=$enable_log;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_log='wxUSE_LOG=yes'
7714 wx_cv_use_log='wxUSE_LOG=no'
7720 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x ; then
7722 eval "DEFAULT_$LINE"
7725 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7730 eval "$wx_cv_use_log"
7731 if test "x$cache" = xyes; then
7732 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7735 if test x"$enablestring" = xdisable; then
7736 if test $wxUSE_LOG = yes; then
7745 { echo "$as_me:$LINENO: result: $result" >&5
7746 echo "${ECHO_T}$result" >&6; }
7750 defaultval=$wxUSE_ALL_FEATURES
7751 if test -z "$defaultval"; then
7752 if test x"$enablestring" = xdisable; then
7759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7761 # Check whether --enable-longlong was given.
7762 if test "${enable_longlong+set}" = set; then
7763 enableval=$enable_longlong;
7764 if test "$enableval" = yes; then
7765 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7767 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7773 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7778 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7783 eval "$wx_cv_use_longlong"
7784 if test "x$cache" = xyes; then
7785 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_LONGLONG = yes; then
7795 result=$wxUSE_LONGLONG
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7814 # Check whether --enable-mimetype was given.
7815 if test "${enable_mimetype+set}" = set; then
7816 enableval=$enable_mimetype;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7820 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7826 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7831 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7836 eval "$wx_cv_use_mimetype"
7837 if test "x$cache" = xyes; then
7838 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7841 if test x"$enablestring" = xdisable; then
7842 if test $wxUSE_MIMETYPE = yes; then
7848 result=$wxUSE_MIMETYPE
7851 { echo "$as_me:$LINENO: result: $result" >&5
7852 echo "${ECHO_T}$result" >&6; }
7856 defaultval=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x"$enablestring" = xdisable; then
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7867 # Check whether --enable-snglinst was given.
7868 if test "${enable_snglinst+set}" = set; then
7869 enableval=$enable_snglinst;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7873 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7879 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7884 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7889 eval "$wx_cv_use_snglinst"
7890 if test "x$cache" = xyes; then
7891 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_SNGLINST_CHECKER = yes; then
7901 result=$wxUSE_SNGLINST_CHECKER
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7920 # Check whether --enable-stdpaths was given.
7921 if test "${enable_stdpaths+set}" = set; then
7922 enableval=$enable_stdpaths;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7926 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7932 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7937 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7942 eval "$wx_cv_use_stdpaths"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_STDPATHS = yes; then
7954 result=$wxUSE_STDPATHS
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7973 # Check whether --enable-stopwatch was given.
7974 if test "${enable_stopwatch+set}" = set; then
7975 enableval=$enable_stopwatch;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7979 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7985 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7990 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7995 eval "$wx_cv_use_stopwatch"
7996 if test "x$cache" = xyes; then
7997 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8000 if test x"$enablestring" = xdisable; then
8001 if test $wxUSE_STOPWATCH = yes; then
8007 result=$wxUSE_STOPWATCH
8010 { echo "$as_me:$LINENO: result: $result" >&5
8011 echo "${ECHO_T}$result" >&6; }
8015 defaultval=$wxUSE_ALL_FEATURES
8016 if test -z "$defaultval"; then
8017 if test x"$enablestring" = xdisable; then
8024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8025 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8026 # Check whether --enable-streams was given.
8027 if test "${enable_streams+set}" = set; then
8028 enableval=$enable_streams;
8029 if test "$enableval" = yes; then
8030 wx_cv_use_streams='wxUSE_STREAMS=yes'
8032 wx_cv_use_streams='wxUSE_STREAMS=no'
8038 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x ; then
8040 eval "DEFAULT_$LINE"
8043 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8048 eval "$wx_cv_use_streams"
8049 if test "x$cache" = xyes; then
8050 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_STREAMS = yes; then
8060 result=$wxUSE_STREAMS
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8079 # Check whether --enable-system_options was given.
8080 if test "${enable_system_options+set}" = set; then
8081 enableval=$enable_system_options;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8085 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8091 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8096 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8101 eval "$wx_cv_use_system_options"
8102 if test "x$cache" = xyes; then
8103 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8106 if test x"$enablestring" = xdisable; then
8107 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8113 result=$wxUSE_SYSTEM_OPTIONS
8116 { echo "$as_me:$LINENO: result: $result" >&5
8117 echo "${ECHO_T}$result" >&6; }
8121 defaultval=$wxUSE_ALL_FEATURES
8122 if test -z "$defaultval"; then
8123 if test x"$enablestring" = xdisable; then
8130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8132 # Check whether --enable-tarstream was given.
8133 if test "${enable_tarstream+set}" = set; then
8134 enableval=$enable_tarstream;
8135 if test "$enableval" = yes; then
8136 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8138 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8144 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x ; then
8146 eval "DEFAULT_$LINE"
8149 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8154 eval "$wx_cv_use_tarstream"
8155 if test "x$cache" = xyes; then
8156 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_TARSTREAM = yes; then
8166 result=$wxUSE_TARSTREAM
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8185 # Check whether --enable-textbuf was given.
8186 if test "${enable_textbuf+set}" = set; then
8187 enableval=$enable_textbuf;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8191 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8197 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8202 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8207 eval "$wx_cv_use_textbuf"
8208 if test "x$cache" = xyes; then
8209 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8212 if test x"$enablestring" = xdisable; then
8213 if test $wxUSE_TEXTBUFFER = yes; then
8219 result=$wxUSE_TEXTBUFFER
8222 { echo "$as_me:$LINENO: result: $result" >&5
8223 echo "${ECHO_T}$result" >&6; }
8227 defaultval=$wxUSE_ALL_FEATURES
8228 if test -z "$defaultval"; then
8229 if test x"$enablestring" = xdisable; then
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8238 # Check whether --enable-textfile was given.
8239 if test "${enable_textfile+set}" = set; then
8240 enableval=$enable_textfile;
8241 if test "$enableval" = yes; then
8242 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8244 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8250 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8255 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8260 eval "$wx_cv_use_textfile"
8261 if test "x$cache" = xyes; then
8262 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8265 if test x"$enablestring" = xdisable; then
8266 if test $wxUSE_TEXTFILE = yes; then
8272 result=$wxUSE_TEXTFILE
8275 { echo "$as_me:$LINENO: result: $result" >&5
8276 echo "${ECHO_T}$result" >&6; }
8280 defaultval=$wxUSE_ALL_FEATURES
8281 if test -z "$defaultval"; then
8282 if test x"$enablestring" = xdisable; then
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8291 # Check whether --enable-timer was given.
8292 if test "${enable_timer+set}" = set; then
8293 enableval=$enable_timer;
8294 if test "$enableval" = yes; then
8295 wx_cv_use_timer='wxUSE_TIMER=yes'
8297 wx_cv_use_timer='wxUSE_TIMER=no'
8303 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8308 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8313 eval "$wx_cv_use_timer"
8314 if test "x$cache" = xyes; then
8315 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8318 if test x"$enablestring" = xdisable; then
8319 if test $wxUSE_TIMER = yes; then
8328 { echo "$as_me:$LINENO: result: $result" >&5
8329 echo "${ECHO_T}$result" >&6; }
8333 defaultval=$wxUSE_ALL_FEATURES
8334 if test -z "$defaultval"; then
8335 if test x"$enablestring" = xdisable; then
8342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8344 # Check whether --enable-sound was given.
8345 if test "${enable_sound+set}" = set; then
8346 enableval=$enable_sound;
8347 if test "$enableval" = yes; then
8348 wx_cv_use_sound='wxUSE_SOUND=yes'
8350 wx_cv_use_sound='wxUSE_SOUND=no'
8356 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x ; then
8358 eval "DEFAULT_$LINE"
8361 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8366 eval "$wx_cv_use_sound"
8367 if test "x$cache" = xyes; then
8368 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8371 if test x"$enablestring" = xdisable; then
8372 if test $wxUSE_SOUND = yes; then
8381 { echo "$as_me:$LINENO: result: $result" >&5
8382 echo "${ECHO_T}$result" >&6; }
8386 defaultval=$wxUSE_ALL_FEATURES
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8397 # Check whether --enable-mediactrl was given.
8398 if test "${enable_mediactrl+set}" = set; then
8399 enableval=$enable_mediactrl;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8409 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8414 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8419 eval "$wx_cv_use_mediactrl"
8420 if test "x$cache" = xyes; then
8421 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_MEDIACTRL = yes; then
8431 result=$wxUSE_MEDIACTRL
8434 { echo "$as_me:$LINENO: result: $result" >&5
8435 echo "${ECHO_T}$result" >&6; }
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8450 # Check whether --enable-gstreamer8 was given.
8451 if test "${enable_gstreamer8+set}" = set; then
8452 enableval=$enable_gstreamer8;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8456 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8462 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x ; then
8464 eval "DEFAULT_$LINE"
8467 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8472 eval "$wx_cv_use_gstreamer8"
8473 if test "x$cache" = xyes; then
8474 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_GSTREAMER8 = yes; then
8484 result=$wxUSE_GSTREAMER8
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8503 # Check whether --enable-printfposparam was given.
8504 if test "${enable_printfposparam+set}" = set; then
8505 enableval=$enable_printfposparam;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8515 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8520 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8525 eval "$wx_cv_use_printfposparam"
8526 if test "x$cache" = xyes; then
8527 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8530 if test x"$enablestring" = xdisable; then
8531 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8537 result=$wxUSE_PRINTF_POS_PARAMS
8540 { echo "$as_me:$LINENO: result: $result" >&5
8541 echo "${ECHO_T}$result" >&6; }
8545 defaultval=$wxUSE_ALL_FEATURES
8546 if test -z "$defaultval"; then
8547 if test x"$enablestring" = xdisable; then
8554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8556 # Check whether --enable-zipstream was given.
8557 if test "${enable_zipstream+set}" = set; then
8558 enableval=$enable_zipstream;
8559 if test "$enableval" = yes; then
8560 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8562 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8568 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8573 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8578 eval "$wx_cv_use_zipstream"
8579 if test "x$cache" = xyes; then
8580 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_ZIPSTREAM = yes; then
8590 result=$wxUSE_ZIPSTREAM
8593 { echo "$as_me:$LINENO: result: $result" >&5
8594 echo "${ECHO_T}$result" >&6; }
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8610 # Check whether --enable-url was given.
8611 if test "${enable_url+set}" = set; then
8612 enableval=$enable_url;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_url='wxUSE_URL=yes'
8616 wx_cv_use_url='wxUSE_URL=no'
8622 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8627 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8632 eval "$wx_cv_use_url"
8633 if test "x$cache" = xyes; then
8634 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_URL = yes; then
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8663 # Check whether --enable-variant was given.
8664 if test "${enable_variant+set}" = set; then
8665 enableval=$enable_variant;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_variant='wxUSE_VARIANT=yes'
8669 wx_cv_use_variant='wxUSE_VARIANT=no'
8675 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x ; then
8677 eval "DEFAULT_$LINE"
8680 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8685 eval "$wx_cv_use_variant"
8686 if test "x$cache" = xyes; then
8687 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_VARIANT = yes; then
8697 result=$wxUSE_VARIANT
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8716 # Check whether --enable-protocol was given.
8717 if test "${enable_protocol+set}" = set; then
8718 enableval=$enable_protocol;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8722 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8728 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8729 if test "x$LINE" != x ; then
8730 eval "DEFAULT_$LINE"
8733 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8738 eval "$wx_cv_use_protocol"
8739 if test "x$cache" = xyes; then
8740 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_PROTOCOL = yes; then
8750 result=$wxUSE_PROTOCOL
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8769 # Check whether --enable-protocol_http was given.
8770 if test "${enable_protocol_http+set}" = set; then
8771 enableval=$enable_protocol_http;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8775 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8781 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8782 if test "x$LINE" != x ; then
8783 eval "DEFAULT_$LINE"
8786 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8791 eval "$wx_cv_use_protocol_http"
8792 if test "x$cache" = xyes; then
8793 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8796 if test x"$enablestring" = xdisable; then
8797 if test $wxUSE_PROTOCOL_HTTP = yes; then
8803 result=$wxUSE_PROTOCOL_HTTP
8806 { echo "$as_me:$LINENO: result: $result" >&5
8807 echo "${ECHO_T}$result" >&6; }
8811 defaultval=$wxUSE_ALL_FEATURES
8812 if test -z "$defaultval"; then
8813 if test x"$enablestring" = xdisable; then
8820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8822 # Check whether --enable-protocol_ftp was given.
8823 if test "${enable_protocol_ftp+set}" = set; then
8824 enableval=$enable_protocol_ftp;
8825 if test "$enableval" = yes; then
8826 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8828 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8834 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x ; then
8836 eval "DEFAULT_$LINE"
8839 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8844 eval "$wx_cv_use_protocol_ftp"
8845 if test "x$cache" = xyes; then
8846 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8849 if test x"$enablestring" = xdisable; then
8850 if test $wxUSE_PROTOCOL_FTP = yes; then
8856 result=$wxUSE_PROTOCOL_FTP
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8864 defaultval=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x"$enablestring" = xdisable; then
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8875 # Check whether --enable-protocol_file was given.
8876 if test "${enable_protocol_file+set}" = set; then
8877 enableval=$enable_protocol_file;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8881 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8887 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8892 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8897 eval "$wx_cv_use_protocol_file"
8898 if test "x$cache" = xyes; then
8899 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_PROTOCOL_FILE = yes; then
8909 result=$wxUSE_PROTOCOL_FILE
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8918 defaultval=$wxUSE_ALL_FEATURES
8919 if test -z "$defaultval"; then
8920 if test x"$enablestring" = xdisable; then
8927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8928 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8929 # Check whether --enable-threads was given.
8930 if test "${enable_threads+set}" = set; then
8931 enableval=$enable_threads;
8932 if test "$enableval" = yes; then
8933 wx_cv_use_threads='wxUSE_THREADS=yes'
8935 wx_cv_use_threads='wxUSE_THREADS=no'
8941 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8942 if test "x$LINE" != x ; then
8943 eval "DEFAULT_$LINE"
8946 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8951 eval "$wx_cv_use_threads"
8952 if test "x$cache" = xyes; then
8953 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_THREADS = yes; then
8963 result=$wxUSE_THREADS
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8970 if test "$wxUSE_GUI" = "yes"; then
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8986 # Check whether --enable-docview was given.
8987 if test "${enable_docview+set}" = set; then
8988 enableval=$enable_docview;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8992 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8998 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x ; then
9000 eval "DEFAULT_$LINE"
9003 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9008 eval "$wx_cv_use_docview"
9009 if test "x$cache" = xyes; then
9010 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9013 if test x"$enablestring" = xdisable; then
9014 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9020 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9023 { echo "$as_me:$LINENO: result: $result" >&5
9024 echo "${ECHO_T}$result" >&6; }
9028 defaultval=$wxUSE_ALL_FEATURES
9029 if test -z "$defaultval"; then
9030 if test x"$enablestring" = xdisable; then
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9039 # Check whether --enable-help was given.
9040 if test "${enable_help+set}" = set; then
9041 enableval=$enable_help;
9042 if test "$enableval" = yes; then
9043 wx_cv_use_help='wxUSE_HELP=yes'
9045 wx_cv_use_help='wxUSE_HELP=no'
9051 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9056 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9061 eval "$wx_cv_use_help"
9062 if test "x$cache" = xyes; then
9063 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9066 if test x"$enablestring" = xdisable; then
9067 if test $wxUSE_HELP = yes; then
9076 { echo "$as_me:$LINENO: result: $result" >&5
9077 echo "${ECHO_T}$result" >&6; }
9081 defaultval=$wxUSE_ALL_FEATURES
9082 if test -z "$defaultval"; then
9083 if test x"$enablestring" = xdisable; then
9090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9091 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9092 # Check whether --enable-mshtmlhelp was given.
9093 if test "${enable_mshtmlhelp+set}" = set; then
9094 enableval=$enable_mshtmlhelp;
9095 if test "$enableval" = yes; then
9096 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9098 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9104 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9109 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9114 eval "$wx_cv_use_mshtmlhelp"
9115 if test "x$cache" = xyes; then
9116 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_MS_HTML_HELP = yes; then
9126 result=$wxUSE_MS_HTML_HELP
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9134 defaultval=$wxUSE_ALL_FEATURES
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9145 # Check whether --enable-html was given.
9146 if test "${enable_html+set}" = set; then
9147 enableval=$enable_html;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_html='wxUSE_HTML=yes'
9151 wx_cv_use_html='wxUSE_HTML=no'
9157 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9162 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9167 eval "$wx_cv_use_html"
9168 if test "x$cache" = xyes; then
9169 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_HTML = yes; then
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9198 # Check whether --enable-htmlhelp was given.
9199 if test "${enable_htmlhelp+set}" = set; then
9200 enableval=$enable_htmlhelp;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9204 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9210 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9215 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9220 eval "$wx_cv_use_htmlhelp"
9221 if test "x$cache" = xyes; then
9222 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_WXHTML_HELP = yes; then
9232 result=$wxUSE_WXHTML_HELP
9235 { echo "$as_me:$LINENO: result: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9251 # Check whether --enable-xrc was given.
9252 if test "${enable_xrc+set}" = set; then
9253 enableval=$enable_xrc;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_xrc='wxUSE_XRC=yes'
9257 wx_cv_use_xrc='wxUSE_XRC=no'
9263 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9268 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9273 eval "$wx_cv_use_xrc"
9274 if test "x$cache" = xyes; then
9275 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9278 if test x"$enablestring" = xdisable; then
9279 if test $wxUSE_XRC = yes; then
9288 { echo "$as_me:$LINENO: result: $result" >&5
9289 echo "${ECHO_T}$result" >&6; }
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9304 # Check whether --enable-aui was given.
9305 if test "${enable_aui+set}" = set; then
9306 enableval=$enable_aui;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_aui='wxUSE_AUI=yes'
9310 wx_cv_use_aui='wxUSE_AUI=no'
9316 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9321 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9326 eval "$wx_cv_use_aui"
9327 if test "x$cache" = xyes; then
9328 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9331 if test x"$enablestring" = xdisable; then
9332 if test $wxUSE_AUI = yes; then
9341 { echo "$as_me:$LINENO: result: $result" >&5
9342 echo "${ECHO_T}$result" >&6; }
9346 defaultval=$wxUSE_ALL_FEATURES
9347 if test -z "$defaultval"; then
9348 if test x"$enablestring" = xdisable; then
9355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9357 # Check whether --enable-stc was given.
9358 if test "${enable_stc+set}" = set; then
9359 enableval=$enable_stc;
9360 if test "$enableval" = yes; then
9361 wx_cv_use_stc='wxUSE_STC=yes'
9363 wx_cv_use_stc='wxUSE_STC=no'
9369 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9374 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9379 eval "$wx_cv_use_stc"
9380 if test "x$cache" = xyes; then
9381 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_STC = yes; then
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9410 # Check whether --enable-constraints was given.
9411 if test "${enable_constraints+set}" = set; then
9412 enableval=$enable_constraints;
9413 if test "$enableval" = yes; then
9414 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9416 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9422 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9427 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9432 eval "$wx_cv_use_constraints"
9433 if test "x$cache" = xyes; then
9434 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_CONSTRAINTS = yes; then
9444 result=$wxUSE_CONSTRAINTS
9447 { echo "$as_me:$LINENO: result: $result" >&5
9448 echo "${ECHO_T}$result" >&6; }
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9463 # Check whether --enable-printarch was given.
9464 if test "${enable_printarch+set}" = set; then
9465 enableval=$enable_printarch;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9469 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9475 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9476 if test "x$LINE" != x ; then
9477 eval "DEFAULT_$LINE"
9480 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9485 eval "$wx_cv_use_printarch"
9486 if test "x$cache" = xyes; then
9487 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9497 result=$wxUSE_PRINTING_ARCHITECTURE
9500 { echo "$as_me:$LINENO: result: $result" >&5
9501 echo "${ECHO_T}$result" >&6; }
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9516 # Check whether --enable-mdi was given.
9517 if test "${enable_mdi+set}" = set; then
9518 enableval=$enable_mdi;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_mdi='wxUSE_MDI=yes'
9522 wx_cv_use_mdi='wxUSE_MDI=no'
9528 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x ; then
9530 eval "DEFAULT_$LINE"
9533 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9538 eval "$wx_cv_use_mdi"
9539 if test "x$cache" = xyes; then
9540 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9543 if test x"$enablestring" = xdisable; then
9544 if test $wxUSE_MDI = yes; then
9553 { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9558 defaultval=$wxUSE_ALL_FEATURES
9559 if test -z "$defaultval"; then
9560 if test x"$enablestring" = xdisable; then
9567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9569 # Check whether --enable-mdidoc was given.
9570 if test "${enable_mdidoc+set}" = set; then
9571 enableval=$enable_mdidoc;
9572 if test "$enableval" = yes; then
9573 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9575 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9581 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x ; then
9583 eval "DEFAULT_$LINE"
9586 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9591 eval "$wx_cv_use_mdidoc"
9592 if test "x$cache" = xyes; then
9593 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9596 if test x"$enablestring" = xdisable; then
9597 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9603 result=$wxUSE_MDI_ARCHITECTURE
9606 { echo "$as_me:$LINENO: result: $result" >&5
9607 echo "${ECHO_T}$result" >&6; }
9611 defaultval=$wxUSE_ALL_FEATURES
9612 if test -z "$defaultval"; then
9613 if test x"$enablestring" = xdisable; then
9620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9622 # Check whether --enable-loggui was given.
9623 if test "${enable_loggui+set}" = set; then
9624 enableval=$enable_loggui;
9625 if test "$enableval" = yes; then
9626 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9628 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9634 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x ; then
9636 eval "DEFAULT_$LINE"
9639 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9644 eval "$wx_cv_use_loggui"
9645 if test "x$cache" = xyes; then
9646 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9649 if test x"$enablestring" = xdisable; then
9650 if test $wxUSE_LOGGUI = yes; then
9656 result=$wxUSE_LOGGUI
9659 { echo "$as_me:$LINENO: result: $result" >&5
9660 echo "${ECHO_T}$result" >&6; }
9664 defaultval=$wxUSE_ALL_FEATURES
9665 if test -z "$defaultval"; then
9666 if test x"$enablestring" = xdisable; then
9673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9675 # Check whether --enable-logwin was given.
9676 if test "${enable_logwin+set}" = set; then
9677 enableval=$enable_logwin;
9678 if test "$enableval" = yes; then
9679 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9681 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9687 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x ; then
9689 eval "DEFAULT_$LINE"
9692 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9697 eval "$wx_cv_use_logwin"
9698 if test "x$cache" = xyes; then
9699 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9702 if test x"$enablestring" = xdisable; then
9703 if test $wxUSE_LOGWINDOW = yes; then
9709 result=$wxUSE_LOGWINDOW
9712 { echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6; }
9717 defaultval=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x"$enablestring" = xdisable; then
9726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9728 # Check whether --enable-logdialog was given.
9729 if test "${enable_logdialog+set}" = set; then
9730 enableval=$enable_logdialog;
9731 if test "$enableval" = yes; then
9732 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9734 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9740 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x ; then
9742 eval "DEFAULT_$LINE"
9745 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9750 eval "$wx_cv_use_logdialog"
9751 if test "x$cache" = xyes; then
9752 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9755 if test x"$enablestring" = xdisable; then
9756 if test $wxUSE_LOGDIALOG = yes; then
9762 result=$wxUSE_LOGDIALOG
9765 { echo "$as_me:$LINENO: result: $result" >&5
9766 echo "${ECHO_T}$result" >&6; }
9770 defaultval=$wxUSE_ALL_FEATURES
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9781 # Check whether --enable-webkit was given.
9782 if test "${enable_webkit+set}" = set; then
9783 enableval=$enable_webkit;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9787 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9793 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9798 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9803 eval "$wx_cv_use_webkit"
9804 if test "x$cache" = xyes; then
9805 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9808 if test x"$enablestring" = xdisable; then
9809 if test $wxUSE_WEBKIT = yes; then
9815 result=$wxUSE_WEBKIT
9818 { echo "$as_me:$LINENO: result: $result" >&5
9819 echo "${ECHO_T}$result" >&6; }
9823 defaultval=$wxUSE_ALL_FEATURES
9824 if test -z "$defaultval"; then
9825 if test x"$enablestring" = xdisable; then
9832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9834 # Check whether --enable-richtext was given.
9835 if test "${enable_richtext+set}" = set; then
9836 enableval=$enable_richtext;
9837 if test "$enableval" = yes; then
9838 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9840 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9846 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x ; then
9848 eval "DEFAULT_$LINE"
9851 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9856 eval "$wx_cv_use_richtext"
9857 if test "x$cache" = xyes; then
9858 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_RICHTEXT = yes; then
9868 result=$wxUSE_RICHTEXT
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9887 # Check whether --enable-graphics_ctx was given.
9888 if test "${enable_graphics_ctx+set}" = set; then
9889 enableval=$enable_graphics_ctx;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9893 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9899 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9904 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9909 eval "$wx_cv_use_graphics_ctx"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9921 result=$wxUSE_GRAPHICS_CONTEXT
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9940 # Check whether --enable-postscript was given.
9941 if test "${enable_postscript+set}" = set; then
9942 enableval=$enable_postscript;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9946 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9952 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9957 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9962 eval "$wx_cv_use_postscript"
9963 if test "x$cache" = xyes; then
9964 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9967 if test x"$enablestring" = xdisable; then
9968 if test $wxUSE_POSTSCRIPT = yes; then
9974 result=$wxUSE_POSTSCRIPT
9977 { echo "$as_me:$LINENO: result: $result" >&5
9978 echo "${ECHO_T}$result" >&6; }
9982 defaultval=$wxUSE_ALL_FEATURES
9983 if test -z "$defaultval"; then
9984 if test x"$enablestring" = xdisable; then
9991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9993 # Check whether --enable-svg was given.
9994 if test "${enable_svg+set}" = set; then
9995 enableval=$enable_svg;
9996 if test "$enableval" = yes; then
9997 wx_cv_use_svg='wxUSE_SVG=yes'
9999 wx_cv_use_svg='wxUSE_SVG=no'
10005 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x ; then
10007 eval "DEFAULT_$LINE"
10010 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10015 eval "$wx_cv_use_svg"
10016 if test "x$cache" = xyes; then
10017 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_SVG = yes; then
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10048 # Check whether --enable-clipboard was given.
10049 if test "${enable_clipboard+set}" = set; then
10050 enableval=$enable_clipboard;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10054 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10060 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10061 if test "x$LINE" != x ; then
10062 eval "DEFAULT_$LINE"
10065 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10070 eval "$wx_cv_use_clipboard"
10071 if test "x$cache" = xyes; then
10072 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10075 if test x"$enablestring" = xdisable; then
10076 if test $wxUSE_CLIPBOARD = yes; then
10082 result=$wxUSE_CLIPBOARD
10085 { echo "$as_me:$LINENO: result: $result" >&5
10086 echo "${ECHO_T}$result" >&6; }
10090 defaultval=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x"$enablestring" = xdisable; then
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10101 # Check whether --enable-dnd was given.
10102 if test "${enable_dnd+set}" = set; then
10103 enableval=$enable_dnd;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10107 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10113 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10118 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10123 eval "$wx_cv_use_dnd"
10124 if test "x$cache" = xyes; then
10125 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_DRAG_AND_DROP = yes; then
10135 result=$wxUSE_DRAG_AND_DROP
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10154 # Check whether --enable-metafile was given.
10155 if test "${enable_metafile+set}" = set; then
10156 enableval=$enable_metafile;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10160 wx_cv_use_metafile='wxUSE_METAFILE=no'
10166 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x ; then
10168 eval "DEFAULT_$LINE"
10171 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10176 eval "$wx_cv_use_metafile"
10177 if test "x$cache" = xyes; then
10178 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_METAFILE = yes; then
10188 result=$wxUSE_METAFILE
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10196 DEFAULT_wxUSE_CONTROLS=none
10198 enablestring=disable
10200 if test -z "$defaultval"; then
10201 if test x"$enablestring" = xdisable; then
10208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10210 # Check whether --enable-controls was given.
10211 if test "${enable_controls+set}" = set; then
10212 enableval=$enable_controls;
10213 if test "$enableval" = yes; then
10214 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10216 wx_cv_use_controls='wxUSE_CONTROLS=no'
10222 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x ; then
10224 eval "DEFAULT_$LINE"
10227 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10232 eval "$wx_cv_use_controls"
10233 if test "x$cache" = xyes; then
10234 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10237 if test x"$enablestring" = xdisable; then
10238 if test $wxUSE_CONTROLS = yes; then
10244 result=$wxUSE_CONTROLS
10247 { echo "$as_me:$LINENO: result: $result" >&5
10248 echo "${ECHO_T}$result" >&6; }
10251 if test "$wxUSE_CONTROLS" = "yes"; then
10252 DEFAULT_wxUSE_ACCEL=yes
10253 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10254 DEFAULT_wxUSE_BMPBUTTON=yes
10255 DEFAULT_wxUSE_BUTTON=yes
10256 DEFAULT_wxUSE_CALCTRL=yes
10257 DEFAULT_wxUSE_CARET=yes
10258 DEFAULT_wxUSE_COMBOBOX=yes
10259 DEFAULT_wxUSE_CHECKBOX=yes
10260 DEFAULT_wxUSE_CHECKLISTBOX=yes
10261 DEFAULT_wxUSE_CHOICE=yes
10262 DEFAULT_wxUSE_CHOICEBOOK=yes
10263 DEFAULT_wxUSE_COLLPANE=yes
10264 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10265 DEFAULT_wxUSE_COMBOBOX=yes
10266 DEFAULT_wxUSE_DATEPICKCTRL=yes
10267 DEFAULT_wxUSE_DISPLAY=yes
10268 DEFAULT_wxUSE_DETECT_SM=yes
10269 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10270 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10271 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10272 DEFAULT_wxUSE_GAUGE=yes
10273 DEFAULT_wxUSE_GRID=yes
10274 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10275 DEFAULT_wxUSE_DATAVIEWCTRL=no
10276 DEFAULT_wxUSE_IMAGLIST=yes
10277 DEFAULT_wxUSE_LISTBOOK=yes
10278 DEFAULT_wxUSE_LISTBOX=yes
10279 DEFAULT_wxUSE_LISTCTRL=yes
10280 DEFAULT_wxUSE_NOTEBOOK=yes
10281 DEFAULT_wxUSE_RADIOBOX=yes
10282 DEFAULT_wxUSE_RADIOBTN=yes
10283 DEFAULT_wxUSE_SASH=yes
10284 DEFAULT_wxUSE_SCROLLBAR=yes
10285 DEFAULT_wxUSE_SEARCHCTRL=yes
10286 DEFAULT_wxUSE_SLIDER=yes
10287 DEFAULT_wxUSE_SPINBTN=yes
10288 DEFAULT_wxUSE_SPINCTRL=yes
10289 DEFAULT_wxUSE_SPLITTER=yes
10290 DEFAULT_wxUSE_STATBMP=yes
10291 DEFAULT_wxUSE_STATBOX=yes
10292 DEFAULT_wxUSE_STATLINE=yes
10293 DEFAULT_wxUSE_STATUSBAR=yes
10294 DEFAULT_wxUSE_TAB_DIALOG=yes
10295 DEFAULT_wxUSE_TOGGLEBTN=yes
10296 DEFAULT_wxUSE_TOOLBAR=yes
10297 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10298 DEFAULT_wxUSE_TOOLTIPS=yes
10299 DEFAULT_wxUSE_TREEBOOK=yes
10300 DEFAULT_wxUSE_TOOLBOOK=yes
10301 DEFAULT_wxUSE_TREECTRL=yes
10302 DEFAULT_wxUSE_POPUPWIN=yes
10303 DEFAULT_wxUSE_TIPWINDOW=yes
10304 elif test "$wxUSE_CONTROLS" = "no"; then
10305 DEFAULT_wxUSE_ACCEL=no
10306 DEFAULT_wxUSE_ANIMATIONCTRL=no
10307 DEFAULT_wxUSE_BMPBUTTON=no
10308 DEFAULT_wxUSE_BUTTON=no
10309 DEFAULT_wxUSE_CALCTRL=no
10310 DEFAULT_wxUSE_CARET=no
10311 DEFAULT_wxUSE_COLLPANE=no
10312 DEFAULT_wxUSE_COMBOBOX=no
10313 DEFAULT_wxUSE_CHECKBOX=no
10314 DEFAULT_wxUSE_CHECKLISTBOX=no
10315 DEFAULT_wxUSE_CHOICE=no
10316 DEFAULT_wxUSE_CHOICEBOOK=no
10317 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10318 DEFAULT_wxUSE_COMBOBOX=no
10319 DEFAULT_wxUSE_DATEPICKCTRL=no
10320 DEFAULT_wxUSE_DISPLAY=no
10321 DEFAULT_wxUSE_DETECT_SM=no
10322 DEFAULT_wxUSE_DIRPICKERCTRL=no
10323 DEFAULT_wxUSE_FILEPICKERCTRL=no
10324 DEFAULT_wxUSE_FONTPICKERCTRL=no
10325 DEFAULT_wxUSE_GAUGE=no
10326 DEFAULT_wxUSE_GRID=no
10327 DEFAULT_wxUSE_HYPERLINKCTRL=no
10328 DEFAULT_wxUSE_DATAVIEWCTRL=no
10329 DEFAULT_wxUSE_IMAGLIST=no
10330 DEFAULT_wxUSE_LISTBOOK=no
10331 DEFAULT_wxUSE_LISTBOX=no
10332 DEFAULT_wxUSE_LISTCTRL=no
10333 DEFAULT_wxUSE_NOTEBOOK=no
10334 DEFAULT_wxUSE_RADIOBOX=no
10335 DEFAULT_wxUSE_RADIOBTN=no
10336 DEFAULT_wxUSE_SASH=no
10337 DEFAULT_wxUSE_SCROLLBAR=no
10338 DEFAULT_wxUSE_SEARCHCTRL=no
10339 DEFAULT_wxUSE_SLIDER=no
10340 DEFAULT_wxUSE_SPINBTN=no
10341 DEFAULT_wxUSE_SPINCTRL=no
10342 DEFAULT_wxUSE_SPLITTER=no
10343 DEFAULT_wxUSE_STATBMP=no
10344 DEFAULT_wxUSE_STATBOX=no
10345 DEFAULT_wxUSE_STATLINE=no
10346 DEFAULT_wxUSE_STATUSBAR=no
10347 DEFAULT_wxUSE_TAB_DIALOG=no
10348 DEFAULT_wxUSE_TOGGLEBTN=no
10349 DEFAULT_wxUSE_TOOLBAR=no
10350 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10351 DEFAULT_wxUSE_TOOLTIPS=no
10352 DEFAULT_wxUSE_TREEBOOK=no
10353 DEFAULT_wxUSE_TOOLBOOK=no
10354 DEFAULT_wxUSE_TREECTRL=no
10355 DEFAULT_wxUSE_POPUPWIN=no
10356 DEFAULT_wxUSE_TIPWINDOW=no
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10372 # Check whether --enable-accel was given.
10373 if test "${enable_accel+set}" = set; then
10374 enableval=$enable_accel;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_accel='wxUSE_ACCEL=yes'
10378 wx_cv_use_accel='wxUSE_ACCEL=no'
10384 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10389 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10394 eval "$wx_cv_use_accel"
10395 if test "x$cache" = xyes; then
10396 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_ACCEL = yes; then
10406 result=$wxUSE_ACCEL
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10425 # Check whether --enable-animatectrl was given.
10426 if test "${enable_animatectrl+set}" = set; then
10427 enableval=$enable_animatectrl;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10431 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10437 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10438 if test "x$LINE" != x ; then
10439 eval "DEFAULT_$LINE"
10442 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10447 eval "$wx_cv_use_animatectrl"
10448 if test "x$cache" = xyes; then
10449 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10452 if test x"$enablestring" = xdisable; then
10453 if test $wxUSE_ANIMATIONCTRL = yes; then
10459 result=$wxUSE_ANIMATIONCTRL
10462 { echo "$as_me:$LINENO: result: $result" >&5
10463 echo "${ECHO_T}$result" >&6; }
10467 defaultval=$wxUSE_ALL_FEATURES
10468 if test -z "$defaultval"; then
10469 if test x"$enablestring" = xdisable; then
10476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10477 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10478 # Check whether --enable-button was given.
10479 if test "${enable_button+set}" = set; then
10480 enableval=$enable_button;
10481 if test "$enableval" = yes; then
10482 wx_cv_use_button='wxUSE_BUTTON=yes'
10484 wx_cv_use_button='wxUSE_BUTTON=no'
10490 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10491 if test "x$LINE" != x ; then
10492 eval "DEFAULT_$LINE"
10495 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10500 eval "$wx_cv_use_button"
10501 if test "x$cache" = xyes; then
10502 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_BUTTON = yes; then
10512 result=$wxUSE_BUTTON
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10520 defaultval=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x"$enablestring" = xdisable; then
10529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10530 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10531 # Check whether --enable-bmpbutton was given.
10532 if test "${enable_bmpbutton+set}" = set; then
10533 enableval=$enable_bmpbutton;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10543 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10544 if test "x$LINE" != x ; then
10545 eval "DEFAULT_$LINE"
10548 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10553 eval "$wx_cv_use_bmpbutton"
10554 if test "x$cache" = xyes; then
10555 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10558 if test x"$enablestring" = xdisable; then
10559 if test $wxUSE_BMPBUTTON = yes; then
10565 result=$wxUSE_BMPBUTTON
10568 { echo "$as_me:$LINENO: result: $result" >&5
10569 echo "${ECHO_T}$result" >&6; }
10573 defaultval=$wxUSE_ALL_FEATURES
10574 if test -z "$defaultval"; then
10575 if test x"$enablestring" = xdisable; then
10582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10584 # Check whether --enable-bmpcombobox was given.
10585 if test "${enable_bmpcombobox+set}" = set; then
10586 enableval=$enable_bmpcombobox;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10590 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10596 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x ; then
10598 eval "DEFAULT_$LINE"
10601 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10606 eval "$wx_cv_use_bmpcombobox"
10607 if test "x$cache" = xyes; then
10608 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10618 result=$wxUSE_BITMAPCOMBOBOX
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10637 # Check whether --enable-calendar was given.
10638 if test "${enable_calendar+set}" = set; then
10639 enableval=$enable_calendar;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10643 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10649 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10650 if test "x$LINE" != x ; then
10651 eval "DEFAULT_$LINE"
10654 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10659 eval "$wx_cv_use_calendar"
10660 if test "x$cache" = xyes; then
10661 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_CALCTRL = yes; then
10671 result=$wxUSE_CALCTRL
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10690 # Check whether --enable-caret was given.
10691 if test "${enable_caret+set}" = set; then
10692 enableval=$enable_caret;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_caret='wxUSE_CARET=yes'
10696 wx_cv_use_caret='wxUSE_CARET=no'
10702 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10703 if test "x$LINE" != x ; then
10704 eval "DEFAULT_$LINE"
10707 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10712 eval "$wx_cv_use_caret"
10713 if test "x$cache" = xyes; then
10714 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10717 if test x"$enablestring" = xdisable; then
10718 if test $wxUSE_CARET = yes; then
10724 result=$wxUSE_CARET
10727 { echo "$as_me:$LINENO: result: $result" >&5
10728 echo "${ECHO_T}$result" >&6; }
10732 defaultval=$wxUSE_ALL_FEATURES
10733 if test -z "$defaultval"; then
10734 if test x"$enablestring" = xdisable; then
10741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10743 # Check whether --enable-checkbox was given.
10744 if test "${enable_checkbox+set}" = set; then
10745 enableval=$enable_checkbox;
10746 if test "$enableval" = yes; then
10747 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10749 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10755 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10756 if test "x$LINE" != x ; then
10757 eval "DEFAULT_$LINE"
10760 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10765 eval "$wx_cv_use_checkbox"
10766 if test "x$cache" = xyes; then
10767 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_CHECKBOX = yes; then
10777 result=$wxUSE_CHECKBOX
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10796 # Check whether --enable-checklst was given.
10797 if test "${enable_checklst+set}" = set; then
10798 enableval=$enable_checklst;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10802 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10808 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10809 if test "x$LINE" != x ; then
10810 eval "DEFAULT_$LINE"
10813 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10818 eval "$wx_cv_use_checklst"
10819 if test "x$cache" = xyes; then
10820 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_CHECKLST = yes; then
10830 result=$wxUSE_CHECKLST
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10838 defaultval=$wxUSE_ALL_FEATURES
10839 if test -z "$defaultval"; then
10840 if test x"$enablestring" = xdisable; then
10847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10848 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10849 # Check whether --enable-choice was given.
10850 if test "${enable_choice+set}" = set; then
10851 enableval=$enable_choice;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_choice='wxUSE_CHOICE=yes'
10855 wx_cv_use_choice='wxUSE_CHOICE=no'
10861 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x ; then
10863 eval "DEFAULT_$LINE"
10866 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10871 eval "$wx_cv_use_choice"
10872 if test "x$cache" = xyes; then
10873 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_CHOICE = yes; then
10883 result=$wxUSE_CHOICE
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10902 # Check whether --enable-choicebook was given.
10903 if test "${enable_choicebook+set}" = set; then
10904 enableval=$enable_choicebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10908 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10914 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10915 if test "x$LINE" != x ; then
10916 eval "DEFAULT_$LINE"
10919 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10924 eval "$wx_cv_use_choicebook"
10925 if test "x$cache" = xyes; then
10926 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_CHOICEBOOK = yes; then
10936 result=$wxUSE_CHOICEBOOK
10939 { echo "$as_me:$LINENO: result: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10955 # Check whether --enable-collpane was given.
10956 if test "${enable_collpane+set}" = set; then
10957 enableval=$enable_collpane;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10961 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10967 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10972 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10977 eval "$wx_cv_use_collpane"
10978 if test "x$cache" = xyes; then
10979 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10982 if test x"$enablestring" = xdisable; then
10983 if test $wxUSE_COLLPANE = yes; then
10989 result=$wxUSE_COLLPANE
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10997 defaultval=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x"$enablestring" = xdisable; then
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11008 # Check whether --enable-colourpicker was given.
11009 if test "${enable_colourpicker+set}" = set; then
11010 enableval=$enable_colourpicker;
11011 if test "$enableval" = yes; then
11012 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11020 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11021 if test "x$LINE" != x ; then
11022 eval "DEFAULT_$LINE"
11025 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11030 eval "$wx_cv_use_colourpicker"
11031 if test "x$cache" = xyes; then
11032 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_COLOURPICKERCTRL = yes; then
11042 result=$wxUSE_COLOURPICKERCTRL
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11061 # Check whether --enable-combobox was given.
11062 if test "${enable_combobox+set}" = set; then
11063 enableval=$enable_combobox;
11064 if test "$enableval" = yes; then
11065 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11067 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11073 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11078 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11083 eval "$wx_cv_use_combobox"
11084 if test "x$cache" = xyes; then
11085 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11088 if test x"$enablestring" = xdisable; then
11089 if test $wxUSE_COMBOBOX = yes; then
11095 result=$wxUSE_COMBOBOX
11098 { echo "$as_me:$LINENO: result: $result" >&5
11099 echo "${ECHO_T}$result" >&6; }
11103 defaultval=$wxUSE_ALL_FEATURES
11104 if test -z "$defaultval"; then
11105 if test x"$enablestring" = xdisable; then
11112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11114 # Check whether --enable-comboctrl was given.
11115 if test "${enable_comboctrl+set}" = set; then
11116 enableval=$enable_comboctrl;
11117 if test "$enableval" = yes; then
11118 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11126 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11127 if test "x$LINE" != x ; then
11128 eval "DEFAULT_$LINE"
11131 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11136 eval "$wx_cv_use_comboctrl"
11137 if test "x$cache" = xyes; then
11138 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_COMBOCTRL = yes; then
11148 result=$wxUSE_COMBOCTRL
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11167 # Check whether --enable-datepick was given.
11168 if test "${enable_datepick+set}" = set; then
11169 enableval=$enable_datepick;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11173 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11179 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11180 if test "x$LINE" != x ; then
11181 eval "DEFAULT_$LINE"
11184 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11189 eval "$wx_cv_use_datepick"
11190 if test "x$cache" = xyes; then
11191 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11194 if test x"$enablestring" = xdisable; then
11195 if test $wxUSE_DATEPICKCTRL = yes; then
11201 result=$wxUSE_DATEPICKCTRL
11204 { echo "$as_me:$LINENO: result: $result" >&5
11205 echo "${ECHO_T}$result" >&6; }
11209 defaultval=$wxUSE_ALL_FEATURES
11210 if test -z "$defaultval"; then
11211 if test x"$enablestring" = xdisable; then
11218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11219 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11220 # Check whether --enable-dirpicker was given.
11221 if test "${enable_dirpicker+set}" = set; then
11222 enableval=$enable_dirpicker;
11223 if test "$enableval" = yes; then
11224 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11232 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11233 if test "x$LINE" != x ; then
11234 eval "DEFAULT_$LINE"
11237 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11242 eval "$wx_cv_use_dirpicker"
11243 if test "x$cache" = xyes; then
11244 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11247 if test x"$enablestring" = xdisable; then
11248 if test $wxUSE_DIRPICKERCTRL = yes; then
11254 result=$wxUSE_DIRPICKERCTRL
11257 { echo "$as_me:$LINENO: result: $result" >&5
11258 echo "${ECHO_T}$result" >&6; }
11262 defaultval=$wxUSE_ALL_FEATURES
11263 if test -z "$defaultval"; then
11264 if test x"$enablestring" = xdisable; then
11271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11272 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11273 # Check whether --enable-display was given.
11274 if test "${enable_display+set}" = set; then
11275 enableval=$enable_display;
11276 if test "$enableval" = yes; then
11277 wx_cv_use_display='wxUSE_DISPLAY=yes'
11279 wx_cv_use_display='wxUSE_DISPLAY=no'
11285 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x ; then
11287 eval "DEFAULT_$LINE"
11290 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11295 eval "$wx_cv_use_display"
11296 if test "x$cache" = xyes; then
11297 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_DISPLAY = yes; then
11307 result=$wxUSE_DISPLAY
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11326 # Check whether --enable-detect_sm was given.
11327 if test "${enable_detect_sm+set}" = set; then
11328 enableval=$enable_detect_sm;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11332 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11338 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11339 if test "x$LINE" != x ; then
11340 eval "DEFAULT_$LINE"
11343 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11348 eval "$wx_cv_use_detect_sm"
11349 if test "x$cache" = xyes; then
11350 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_DETECT_SM = yes; then
11360 result=$wxUSE_DETECT_SM
11363 { echo "$as_me:$LINENO: result: $result" >&5
11364 echo "${ECHO_T}$result" >&6; }
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11379 # Check whether --enable-editablebox was given.
11380 if test "${enable_editablebox+set}" = set; then
11381 enableval=$enable_editablebox;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11391 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11392 if test "x$LINE" != x ; then
11393 eval "DEFAULT_$LINE"
11396 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11401 eval "$wx_cv_use_editablebox"
11402 if test "x$cache" = xyes; then
11403 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11406 if test x"$enablestring" = xdisable; then
11407 if test $wxUSE_EDITABLELISTBOX = yes; then
11413 result=$wxUSE_EDITABLELISTBOX
11416 { echo "$as_me:$LINENO: result: $result" >&5
11417 echo "${ECHO_T}$result" >&6; }
11421 defaultval=$wxUSE_ALL_FEATURES
11422 if test -z "$defaultval"; then
11423 if test x"$enablestring" = xdisable; then
11430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11431 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11432 # Check whether --enable-filepicker was given.
11433 if test "${enable_filepicker+set}" = set; then
11434 enableval=$enable_filepicker;
11435 if test "$enableval" = yes; then
11436 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11438 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11444 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11445 if test "x$LINE" != x ; then
11446 eval "DEFAULT_$LINE"
11449 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11454 eval "$wx_cv_use_filepicker"
11455 if test "x$cache" = xyes; then
11456 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11459 if test x"$enablestring" = xdisable; then
11460 if test $wxUSE_FILEPICKERCTRL = yes; then
11466 result=$wxUSE_FILEPICKERCTRL
11469 { echo "$as_me:$LINENO: result: $result" >&5
11470 echo "${ECHO_T}$result" >&6; }
11474 defaultval=$wxUSE_ALL_FEATURES
11475 if test -z "$defaultval"; then
11476 if test x"$enablestring" = xdisable; then
11483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11485 # Check whether --enable-fontpicker was given.
11486 if test "${enable_fontpicker+set}" = set; then
11487 enableval=$enable_fontpicker;
11488 if test "$enableval" = yes; then
11489 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11491 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11497 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11498 if test "x$LINE" != x ; then
11499 eval "DEFAULT_$LINE"
11502 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11507 eval "$wx_cv_use_fontpicker"
11508 if test "x$cache" = xyes; then
11509 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11512 if test x"$enablestring" = xdisable; then
11513 if test $wxUSE_FONTPICKERCTRL = yes; then
11519 result=$wxUSE_FONTPICKERCTRL
11522 { echo "$as_me:$LINENO: result: $result" >&5
11523 echo "${ECHO_T}$result" >&6; }
11527 defaultval=$wxUSE_ALL_FEATURES
11528 if test -z "$defaultval"; then
11529 if test x"$enablestring" = xdisable; then
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11538 # Check whether --enable-gauge was given.
11539 if test "${enable_gauge+set}" = set; then
11540 enableval=$enable_gauge;
11541 if test "$enableval" = yes; then
11542 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11544 wx_cv_use_gauge='wxUSE_GAUGE=no'
11550 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11555 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11560 eval "$wx_cv_use_gauge"
11561 if test "x$cache" = xyes; then
11562 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_GAUGE = yes; then
11572 result=$wxUSE_GAUGE
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11591 # Check whether --enable-grid was given.
11592 if test "${enable_grid+set}" = set; then
11593 enableval=$enable_grid;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_grid='wxUSE_GRID=yes'
11597 wx_cv_use_grid='wxUSE_GRID=no'
11603 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11604 if test "x$LINE" != x ; then
11605 eval "DEFAULT_$LINE"
11608 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11613 eval "$wx_cv_use_grid"
11614 if test "x$cache" = xyes; then
11615 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_GRID = yes; then
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11644 # Check whether --enable-dataviewctrl was given.
11645 if test "${enable_dataviewctrl+set}" = set; then
11646 enableval=$enable_dataviewctrl;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11650 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11656 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11657 if test "x$LINE" != x ; then
11658 eval "DEFAULT_$LINE"
11661 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11666 eval "$wx_cv_use_dataviewctrl"
11667 if test "x$cache" = xyes; then
11668 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_DATAVIEWCTRL = yes; then
11678 result=$wxUSE_DATAVIEWCTRL
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11697 # Check whether --enable-hyperlink was given.
11698 if test "${enable_hyperlink+set}" = set; then
11699 enableval=$enable_hyperlink;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11703 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11709 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11710 if test "x$LINE" != x ; then
11711 eval "DEFAULT_$LINE"
11714 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11719 eval "$wx_cv_use_hyperlink"
11720 if test "x$cache" = xyes; then
11721 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11724 if test x"$enablestring" = xdisable; then
11725 if test $wxUSE_HYPERLINKCTRL = yes; then
11731 result=$wxUSE_HYPERLINKCTRL
11734 { echo "$as_me:$LINENO: result: $result" >&5
11735 echo "${ECHO_T}$result" >&6; }
11739 defaultval=$wxUSE_ALL_FEATURES
11740 if test -z "$defaultval"; then
11741 if test x"$enablestring" = xdisable; then
11748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11749 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11750 # Check whether --enable-imaglist was given.
11751 if test "${enable_imaglist+set}" = set; then
11752 enableval=$enable_imaglist;
11753 if test "$enableval" = yes; then
11754 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11756 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11762 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11763 if test "x$LINE" != x ; then
11764 eval "DEFAULT_$LINE"
11767 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11772 eval "$wx_cv_use_imaglist"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_IMAGLIST = yes; then
11784 result=$wxUSE_IMAGLIST
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11803 # Check whether --enable-listbook was given.
11804 if test "${enable_listbook+set}" = set; then
11805 enableval=$enable_listbook;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11809 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11815 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11816 if test "x$LINE" != x ; then
11817 eval "DEFAULT_$LINE"
11820 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11825 eval "$wx_cv_use_listbook"
11826 if test "x$cache" = xyes; then
11827 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11830 if test x"$enablestring" = xdisable; then
11831 if test $wxUSE_LISTBOOK = yes; then
11837 result=$wxUSE_LISTBOOK
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11845 defaultval=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x"$enablestring" = xdisable; then
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11856 # Check whether --enable-listbox was given.
11857 if test "${enable_listbox+set}" = set; then
11858 enableval=$enable_listbox;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11862 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11868 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11869 if test "x$LINE" != x ; then
11870 eval "DEFAULT_$LINE"
11873 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11878 eval "$wx_cv_use_listbox"
11879 if test "x$cache" = xyes; then
11880 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_LISTBOX = yes; then
11890 result=$wxUSE_LISTBOX
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11909 # Check whether --enable-listctrl was given.
11910 if test "${enable_listctrl+set}" = set; then
11911 enableval=$enable_listctrl;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11915 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11921 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11922 if test "x$LINE" != x ; then
11923 eval "DEFAULT_$LINE"
11926 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11931 eval "$wx_cv_use_listctrl"
11932 if test "x$cache" = xyes; then
11933 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_LISTCTRL = yes; then
11943 result=$wxUSE_LISTCTRL
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11962 # Check whether --enable-notebook was given.
11963 if test "${enable_notebook+set}" = set; then
11964 enableval=$enable_notebook;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11968 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11974 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11975 if test "x$LINE" != x ; then
11976 eval "DEFAULT_$LINE"
11979 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11984 eval "$wx_cv_use_notebook"
11985 if test "x$cache" = xyes; then
11986 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11989 if test x"$enablestring" = xdisable; then
11990 if test $wxUSE_NOTEBOOK = yes; then
11996 result=$wxUSE_NOTEBOOK
11999 { echo "$as_me:$LINENO: result: $result" >&5
12000 echo "${ECHO_T}$result" >&6; }
12004 defaultval=$wxUSE_ALL_FEATURES
12005 if test -z "$defaultval"; then
12006 if test x"$enablestring" = xdisable; then
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12015 # Check whether --enable-odcombobox was given.
12016 if test "${enable_odcombobox+set}" = set; then
12017 enableval=$enable_odcombobox;
12018 if test "$enableval" = yes; then
12019 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12021 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12027 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12032 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12037 eval "$wx_cv_use_odcombobox"
12038 if test "x$cache" = xyes; then
12039 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12042 if test x"$enablestring" = xdisable; then
12043 if test $wxUSE_ODCOMBOBOX = yes; then
12049 result=$wxUSE_ODCOMBOBOX
12052 { echo "$as_me:$LINENO: result: $result" >&5
12053 echo "${ECHO_T}$result" >&6; }
12057 defaultval=$wxUSE_ALL_FEATURES
12058 if test -z "$defaultval"; then
12059 if test x"$enablestring" = xdisable; then
12066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12067 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12068 # Check whether --enable-radiobox was given.
12069 if test "${enable_radiobox+set}" = set; then
12070 enableval=$enable_radiobox;
12071 if test "$enableval" = yes; then
12072 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12074 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12080 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12081 if test "x$LINE" != x ; then
12082 eval "DEFAULT_$LINE"
12085 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12090 eval "$wx_cv_use_radiobox"
12091 if test "x$cache" = xyes; then
12092 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_RADIOBOX = yes; then
12102 result=$wxUSE_RADIOBOX
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12121 # Check whether --enable-radiobtn was given.
12122 if test "${enable_radiobtn+set}" = set; then
12123 enableval=$enable_radiobtn;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12127 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12133 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12134 if test "x$LINE" != x ; then
12135 eval "DEFAULT_$LINE"
12138 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12143 eval "$wx_cv_use_radiobtn"
12144 if test "x$cache" = xyes; then
12145 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12148 if test x"$enablestring" = xdisable; then
12149 if test $wxUSE_RADIOBTN = yes; then
12155 result=$wxUSE_RADIOBTN
12158 { echo "$as_me:$LINENO: result: $result" >&5
12159 echo "${ECHO_T}$result" >&6; }
12163 defaultval=$wxUSE_ALL_FEATURES
12164 if test -z "$defaultval"; then
12165 if test x"$enablestring" = xdisable; then
12172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12173 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12174 # Check whether --enable-sash was given.
12175 if test "${enable_sash+set}" = set; then
12176 enableval=$enable_sash;
12177 if test "$enableval" = yes; then
12178 wx_cv_use_sash='wxUSE_SASH=yes'
12180 wx_cv_use_sash='wxUSE_SASH=no'
12186 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12187 if test "x$LINE" != x ; then
12188 eval "DEFAULT_$LINE"
12191 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12196 eval "$wx_cv_use_sash"
12197 if test "x$cache" = xyes; then
12198 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_SASH = yes; then
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12227 # Check whether --enable-scrollbar was given.
12228 if test "${enable_scrollbar+set}" = set; then
12229 enableval=$enable_scrollbar;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12233 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12239 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12240 if test "x$LINE" != x ; then
12241 eval "DEFAULT_$LINE"
12244 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12249 eval "$wx_cv_use_scrollbar"
12250 if test "x$cache" = xyes; then
12251 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12254 if test x"$enablestring" = xdisable; then
12255 if test $wxUSE_SCROLLBAR = yes; then
12261 result=$wxUSE_SCROLLBAR
12264 { echo "$as_me:$LINENO: result: $result" >&5
12265 echo "${ECHO_T}$result" >&6; }
12269 defaultval=$wxUSE_ALL_FEATURES
12270 if test -z "$defaultval"; then
12271 if test x"$enablestring" = xdisable; then
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12280 # Check whether --enable-searchctrl was given.
12281 if test "${enable_searchctrl+set}" = set; then
12282 enableval=$enable_searchctrl;
12283 if test "$enableval" = yes; then
12284 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12286 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12292 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12297 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12302 eval "$wx_cv_use_searchctrl"
12303 if test "x$cache" = xyes; then
12304 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12307 if test x"$enablestring" = xdisable; then
12308 if test $wxUSE_SEARCHCTRL = yes; then
12314 result=$wxUSE_SEARCHCTRL
12317 { echo "$as_me:$LINENO: result: $result" >&5
12318 echo "${ECHO_T}$result" >&6; }
12322 defaultval=$wxUSE_ALL_FEATURES
12323 if test -z "$defaultval"; then
12324 if test x"$enablestring" = xdisable; then
12331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12332 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12333 # Check whether --enable-slider was given.
12334 if test "${enable_slider+set}" = set; then
12335 enableval=$enable_slider;
12336 if test "$enableval" = yes; then
12337 wx_cv_use_slider='wxUSE_SLIDER=yes'
12339 wx_cv_use_slider='wxUSE_SLIDER=no'
12345 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12346 if test "x$LINE" != x ; then
12347 eval "DEFAULT_$LINE"
12350 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12355 eval "$wx_cv_use_slider"
12356 if test "x$cache" = xyes; then
12357 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_SLIDER = yes; then
12367 result=$wxUSE_SLIDER
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12386 # Check whether --enable-spinbtn was given.
12387 if test "${enable_spinbtn+set}" = set; then
12388 enableval=$enable_spinbtn;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12392 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12398 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12399 if test "x$LINE" != x ; then
12400 eval "DEFAULT_$LINE"
12403 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12408 eval "$wx_cv_use_spinbtn"
12409 if test "x$cache" = xyes; then
12410 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_SPINBTN = yes; then
12420 result=$wxUSE_SPINBTN
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12439 # Check whether --enable-spinctrl was given.
12440 if test "${enable_spinctrl+set}" = set; then
12441 enableval=$enable_spinctrl;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12451 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12452 if test "x$LINE" != x ; then
12453 eval "DEFAULT_$LINE"
12456 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12461 eval "$wx_cv_use_spinctrl"
12462 if test "x$cache" = xyes; then
12463 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_SPINCTRL = yes; then
12473 result=$wxUSE_SPINCTRL
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12492 # Check whether --enable-splitter was given.
12493 if test "${enable_splitter+set}" = set; then
12494 enableval=$enable_splitter;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12498 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12504 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12505 if test "x$LINE" != x ; then
12506 eval "DEFAULT_$LINE"
12509 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12514 eval "$wx_cv_use_splitter"
12515 if test "x$cache" = xyes; then
12516 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12519 if test x"$enablestring" = xdisable; then
12520 if test $wxUSE_SPLITTER = yes; then
12526 result=$wxUSE_SPLITTER
12529 { echo "$as_me:$LINENO: result: $result" >&5
12530 echo "${ECHO_T}$result" >&6; }
12534 defaultval=$wxUSE_ALL_FEATURES
12535 if test -z "$defaultval"; then
12536 if test x"$enablestring" = xdisable; then
12543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12544 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12545 # Check whether --enable-statbmp was given.
12546 if test "${enable_statbmp+set}" = set; then
12547 enableval=$enable_statbmp;
12548 if test "$enableval" = yes; then
12549 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12551 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12557 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12558 if test "x$LINE" != x ; then
12559 eval "DEFAULT_$LINE"
12562 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12567 eval "$wx_cv_use_statbmp"
12568 if test "x$cache" = xyes; then
12569 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12572 if test x"$enablestring" = xdisable; then
12573 if test $wxUSE_STATBMP = yes; then
12579 result=$wxUSE_STATBMP
12582 { echo "$as_me:$LINENO: result: $result" >&5
12583 echo "${ECHO_T}$result" >&6; }
12587 defaultval=$wxUSE_ALL_FEATURES
12588 if test -z "$defaultval"; then
12589 if test x"$enablestring" = xdisable; then
12596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12597 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12598 # Check whether --enable-statbox was given.
12599 if test "${enable_statbox+set}" = set; then
12600 enableval=$enable_statbox;
12601 if test "$enableval" = yes; then
12602 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12604 wx_cv_use_statbox='wxUSE_STATBOX=no'
12610 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12611 if test "x$LINE" != x ; then
12612 eval "DEFAULT_$LINE"
12615 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12620 eval "$wx_cv_use_statbox"
12621 if test "x$cache" = xyes; then
12622 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_STATBOX = yes; then
12632 result=$wxUSE_STATBOX
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12651 # Check whether --enable-statline was given.
12652 if test "${enable_statline+set}" = set; then
12653 enableval=$enable_statline;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_statline='wxUSE_STATLINE=yes'
12657 wx_cv_use_statline='wxUSE_STATLINE=no'
12663 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12664 if test "x$LINE" != x ; then
12665 eval "DEFAULT_$LINE"
12668 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12673 eval "$wx_cv_use_statline"
12674 if test "x$cache" = xyes; then
12675 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12678 if test x"$enablestring" = xdisable; then
12679 if test $wxUSE_STATLINE = yes; then
12685 result=$wxUSE_STATLINE
12688 { echo "$as_me:$LINENO: result: $result" >&5
12689 echo "${ECHO_T}$result" >&6; }
12693 defaultval=$wxUSE_ALL_FEATURES
12694 if test -z "$defaultval"; then
12695 if test x"$enablestring" = xdisable; then
12702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12703 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12704 # Check whether --enable-stattext was given.
12705 if test "${enable_stattext+set}" = set; then
12706 enableval=$enable_stattext;
12707 if test "$enableval" = yes; then
12708 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12710 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12716 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12717 if test "x$LINE" != x ; then
12718 eval "DEFAULT_$LINE"
12721 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12726 eval "$wx_cv_use_stattext"
12727 if test "x$cache" = xyes; then
12728 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12731 if test x"$enablestring" = xdisable; then
12732 if test $wxUSE_STATTEXT = yes; then
12738 result=$wxUSE_STATTEXT
12741 { echo "$as_me:$LINENO: result: $result" >&5
12742 echo "${ECHO_T}$result" >&6; }
12746 defaultval=$wxUSE_ALL_FEATURES
12747 if test -z "$defaultval"; then
12748 if test x"$enablestring" = xdisable; then
12755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12756 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12757 # Check whether --enable-statusbar was given.
12758 if test "${enable_statusbar+set}" = set; then
12759 enableval=$enable_statusbar;
12760 if test "$enableval" = yes; then
12761 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12763 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12769 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12770 if test "x$LINE" != x ; then
12771 eval "DEFAULT_$LINE"
12774 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12779 eval "$wx_cv_use_statusbar"
12780 if test "x$cache" = xyes; then
12781 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12784 if test x"$enablestring" = xdisable; then
12785 if test $wxUSE_STATUSBAR = yes; then
12791 result=$wxUSE_STATUSBAR
12794 { echo "$as_me:$LINENO: result: $result" >&5
12795 echo "${ECHO_T}$result" >&6; }
12799 defaultval=$wxUSE_ALL_FEATURES
12800 if test -z "$defaultval"; then
12801 if test x"$enablestring" = xdisable; then
12808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12809 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12810 # Check whether --enable-tabdialog was given.
12811 if test "${enable_tabdialog+set}" = set; then
12812 enableval=$enable_tabdialog;
12813 if test "$enableval" = yes; then
12814 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12816 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12822 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12823 if test "x$LINE" != x ; then
12824 eval "DEFAULT_$LINE"
12827 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12832 eval "$wx_cv_use_tabdialog"
12833 if test "x$cache" = xyes; then
12834 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12837 if test x"$enablestring" = xdisable; then
12838 if test $wxUSE_TAB_DIALOG = yes; then
12844 result=$wxUSE_TAB_DIALOG
12847 { echo "$as_me:$LINENO: result: $result" >&5
12848 echo "${ECHO_T}$result" >&6; }
12852 defaultval=$wxUSE_ALL_FEATURES
12853 if test -z "$defaultval"; then
12854 if test x"$enablestring" = xdisable; then
12861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12862 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12863 # Check whether --enable-taskbaricon was given.
12864 if test "${enable_taskbaricon+set}" = set; then
12865 enableval=$enable_taskbaricon;
12866 if test "$enableval" = yes; then
12867 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12869 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12875 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12876 if test "x$LINE" != x ; then
12877 eval "DEFAULT_$LINE"
12880 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12885 eval "$wx_cv_use_taskbaricon"
12886 if test "x$cache" = xyes; then
12887 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12890 if test x"$enablestring" = xdisable; then
12891 if test $wxUSE_TASKBARICON = yes; then
12897 result=$wxUSE_TASKBARICON
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12905 defaultval=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x"$enablestring" = xdisable; then
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12916 # Check whether --enable-textctrl was given.
12917 if test "${enable_textctrl+set}" = set; then
12918 enableval=$enable_textctrl;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12922 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12928 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12929 if test "x$LINE" != x ; then
12930 eval "DEFAULT_$LINE"
12933 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12938 eval "$wx_cv_use_textctrl"
12939 if test "x$cache" = xyes; then
12940 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_TEXTCTRL = yes; then
12950 result=$wxUSE_TEXTCTRL
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12969 # Check whether --enable-togglebtn was given.
12970 if test "${enable_togglebtn+set}" = set; then
12971 enableval=$enable_togglebtn;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12975 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12981 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12982 if test "x$LINE" != x ; then
12983 eval "DEFAULT_$LINE"
12986 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12991 eval "$wx_cv_use_togglebtn"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_TOGGLEBTN = yes; then
13003 result=$wxUSE_TOGGLEBTN
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13022 # Check whether --enable-toolbar was given.
13023 if test "${enable_toolbar+set}" = set; then
13024 enableval=$enable_toolbar;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13028 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13034 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13039 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13044 eval "$wx_cv_use_toolbar"
13045 if test "x$cache" = xyes; then
13046 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13049 if test x"$enablestring" = xdisable; then
13050 if test $wxUSE_TOOLBAR = yes; then
13056 result=$wxUSE_TOOLBAR
13059 { echo "$as_me:$LINENO: result: $result" >&5
13060 echo "${ECHO_T}$result" >&6; }
13064 defaultval=$wxUSE_ALL_FEATURES
13065 if test -z "$defaultval"; then
13066 if test x"$enablestring" = xdisable; then
13073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13074 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13075 # Check whether --enable-tbarnative was given.
13076 if test "${enable_tbarnative+set}" = set; then
13077 enableval=$enable_tbarnative;
13078 if test "$enableval" = yes; then
13079 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13081 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13087 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13088 if test "x$LINE" != x ; then
13089 eval "DEFAULT_$LINE"
13092 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13097 eval "$wx_cv_use_tbarnative"
13098 if test "x$cache" = xyes; then
13099 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13102 if test x"$enablestring" = xdisable; then
13103 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13109 result=$wxUSE_TOOLBAR_NATIVE
13112 { echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6; }
13117 defaultval=$wxUSE_ALL_FEATURES
13118 if test -z "$defaultval"; then
13119 if test x"$enablestring" = xdisable; then
13126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13128 # Check whether --enable-treebook was given.
13129 if test "${enable_treebook+set}" = set; then
13130 enableval=$enable_treebook;
13131 if test "$enableval" = yes; then
13132 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13134 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13140 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13141 if test "x$LINE" != x ; then
13142 eval "DEFAULT_$LINE"
13145 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13150 eval "$wx_cv_use_treebook"
13151 if test "x$cache" = xyes; then
13152 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_TREEBOOK = yes; then
13162 result=$wxUSE_TREEBOOK
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13181 # Check whether --enable-toolbook was given.
13182 if test "${enable_toolbook+set}" = set; then
13183 enableval=$enable_toolbook;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13187 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13193 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13194 if test "x$LINE" != x ; then
13195 eval "DEFAULT_$LINE"
13198 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13203 eval "$wx_cv_use_toolbook"
13204 if test "x$cache" = xyes; then
13205 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_TOOLBOOK = yes; then
13215 result=$wxUSE_TOOLBOOK
13218 { echo "$as_me:$LINENO: result: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13223 defaultval=$wxUSE_ALL_FEATURES
13224 if test -z "$defaultval"; then
13225 if test x"$enablestring" = xdisable; then
13232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13233 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13234 # Check whether --enable-treectrl was given.
13235 if test "${enable_treectrl+set}" = set; then
13236 enableval=$enable_treectrl;
13237 if test "$enableval" = yes; then
13238 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13240 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13246 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13247 if test "x$LINE" != x ; then
13248 eval "DEFAULT_$LINE"
13251 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13256 eval "$wx_cv_use_treectrl"
13257 if test "x$cache" = xyes; then
13258 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_TREECTRL = yes; then
13268 result=$wxUSE_TREECTRL
13271 { echo "$as_me:$LINENO: result: $result" >&5
13272 echo "${ECHO_T}$result" >&6; }
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13286 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13287 # Check whether --enable-tipwindow was given.
13288 if test "${enable_tipwindow+set}" = set; then
13289 enableval=$enable_tipwindow;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13293 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13299 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13300 if test "x$LINE" != x ; then
13301 eval "DEFAULT_$LINE"
13304 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13309 eval "$wx_cv_use_tipwindow"
13310 if test "x$cache" = xyes; then
13311 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13314 if test x"$enablestring" = xdisable; then
13315 if test $wxUSE_TIPWINDOW = yes; then
13321 result=$wxUSE_TIPWINDOW
13324 { echo "$as_me:$LINENO: result: $result" >&5
13325 echo "${ECHO_T}$result" >&6; }
13329 defaultval=$wxUSE_ALL_FEATURES
13330 if test -z "$defaultval"; then
13331 if test x"$enablestring" = xdisable; then
13338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13339 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13340 # Check whether --enable-popupwin was given.
13341 if test "${enable_popupwin+set}" = set; then
13342 enableval=$enable_popupwin;
13343 if test "$enableval" = yes; then
13344 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13346 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13352 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13353 if test "x$LINE" != x ; then
13354 eval "DEFAULT_$LINE"
13357 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13362 eval "$wx_cv_use_popupwin"
13363 if test "x$cache" = xyes; then
13364 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13367 if test x"$enablestring" = xdisable; then
13368 if test $wxUSE_POPUPWIN = yes; then
13374 result=$wxUSE_POPUPWIN
13377 { echo "$as_me:$LINENO: result: $result" >&5
13378 echo "${ECHO_T}$result" >&6; }
13384 defaultval=$wxUSE_ALL_FEATURES
13385 if test -z "$defaultval"; then
13386 if test x"$enablestring" = xdisable; then
13393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13394 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13395 # Check whether --enable-commondlg was given.
13396 if test "${enable_commondlg+set}" = set; then
13397 enableval=$enable_commondlg;
13398 if test "$enableval" = yes; then
13399 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13401 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13407 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13408 if test "x$LINE" != x ; then
13409 eval "DEFAULT_$LINE"
13412 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13417 eval "$wx_cv_use_commondlg"
13418 if test "x$cache" = xyes; then
13419 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_COMMONDLGS = yes; then
13429 result=$wxUSE_COMMONDLGS
13432 { echo "$as_me:$LINENO: result: $result" >&5
13433 echo "${ECHO_T}$result" >&6; }
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13447 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13448 # Check whether --enable-aboutdlg was given.
13449 if test "${enable_aboutdlg+set}" = set; then
13450 enableval=$enable_aboutdlg;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13454 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13460 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13461 if test "x$LINE" != x ; then
13462 eval "DEFAULT_$LINE"
13465 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13470 eval "$wx_cv_use_aboutdlg"
13471 if test "x$cache" = xyes; then
13472 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_ABOUTDLG = yes; then
13482 result=$wxUSE_ABOUTDLG
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13501 # Check whether --enable-choicedlg was given.
13502 if test "${enable_choicedlg+set}" = set; then
13503 enableval=$enable_choicedlg;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13507 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13513 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13514 if test "x$LINE" != x ; then
13515 eval "DEFAULT_$LINE"
13518 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13523 eval "$wx_cv_use_choicedlg"
13524 if test "x$cache" = xyes; then
13525 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_CHOICEDLG = yes; then
13535 result=$wxUSE_CHOICEDLG
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13554 # Check whether --enable-coldlg was given.
13555 if test "${enable_coldlg+set}" = set; then
13556 enableval=$enable_coldlg;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13560 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13566 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13567 if test "x$LINE" != x ; then
13568 eval "DEFAULT_$LINE"
13571 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13576 eval "$wx_cv_use_coldlg"
13577 if test "x$cache" = xyes; then
13578 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13581 if test x"$enablestring" = xdisable; then
13582 if test $wxUSE_COLOURDLG = yes; then
13588 result=$wxUSE_COLOURDLG
13591 { echo "$as_me:$LINENO: result: $result" >&5
13592 echo "${ECHO_T}$result" >&6; }
13596 defaultval=$wxUSE_ALL_FEATURES
13597 if test -z "$defaultval"; then
13598 if test x"$enablestring" = xdisable; then
13605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13606 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13607 # Check whether --enable-filedlg was given.
13608 if test "${enable_filedlg+set}" = set; then
13609 enableval=$enable_filedlg;
13610 if test "$enableval" = yes; then
13611 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13613 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13619 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13620 if test "x$LINE" != x ; then
13621 eval "DEFAULT_$LINE"
13624 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13629 eval "$wx_cv_use_filedlg"
13630 if test "x$cache" = xyes; then
13631 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13634 if test x"$enablestring" = xdisable; then
13635 if test $wxUSE_FILEDLG = yes; then
13641 result=$wxUSE_FILEDLG
13644 { echo "$as_me:$LINENO: result: $result" >&5
13645 echo "${ECHO_T}$result" >&6; }
13649 defaultval=$wxUSE_ALL_FEATURES
13650 if test -z "$defaultval"; then
13651 if test x"$enablestring" = xdisable; then
13658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13659 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13660 # Check whether --enable-finddlg was given.
13661 if test "${enable_finddlg+set}" = set; then
13662 enableval=$enable_finddlg;
13663 if test "$enableval" = yes; then
13664 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13666 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13672 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13673 if test "x$LINE" != x ; then
13674 eval "DEFAULT_$LINE"
13677 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13682 eval "$wx_cv_use_finddlg"
13683 if test "x$cache" = xyes; then
13684 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_FINDREPLDLG = yes; then
13694 result=$wxUSE_FINDREPLDLG
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13713 # Check whether --enable-fontdlg was given.
13714 if test "${enable_fontdlg+set}" = set; then
13715 enableval=$enable_fontdlg;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13719 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13725 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13726 if test "x$LINE" != x ; then
13727 eval "DEFAULT_$LINE"
13730 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13735 eval "$wx_cv_use_fontdlg"
13736 if test "x$cache" = xyes; then
13737 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13740 if test x"$enablestring" = xdisable; then
13741 if test $wxUSE_FONTDLG = yes; then
13747 result=$wxUSE_FONTDLG
13750 { echo "$as_me:$LINENO: result: $result" >&5
13751 echo "${ECHO_T}$result" >&6; }
13755 defaultval=$wxUSE_ALL_FEATURES
13756 if test -z "$defaultval"; then
13757 if test x"$enablestring" = xdisable; then
13764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13765 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13766 # Check whether --enable-dirdlg was given.
13767 if test "${enable_dirdlg+set}" = set; then
13768 enableval=$enable_dirdlg;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13772 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13778 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13779 if test "x$LINE" != x ; then
13780 eval "DEFAULT_$LINE"
13783 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13788 eval "$wx_cv_use_dirdlg"
13789 if test "x$cache" = xyes; then
13790 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_DIRDLG = yes; then
13800 result=$wxUSE_DIRDLG
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13819 # Check whether --enable-msgdlg was given.
13820 if test "${enable_msgdlg+set}" = set; then
13821 enableval=$enable_msgdlg;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13825 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13831 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13832 if test "x$LINE" != x ; then
13833 eval "DEFAULT_$LINE"
13836 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13841 eval "$wx_cv_use_msgdlg"
13842 if test "x$cache" = xyes; then
13843 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13846 if test x"$enablestring" = xdisable; then
13847 if test $wxUSE_MSGDLG = yes; then
13853 result=$wxUSE_MSGDLG
13856 { echo "$as_me:$LINENO: result: $result" >&5
13857 echo "${ECHO_T}$result" >&6; }
13861 defaultval=$wxUSE_ALL_FEATURES
13862 if test -z "$defaultval"; then
13863 if test x"$enablestring" = xdisable; then
13870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13871 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13872 # Check whether --enable-numberdlg was given.
13873 if test "${enable_numberdlg+set}" = set; then
13874 enableval=$enable_numberdlg;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13878 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13884 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13885 if test "x$LINE" != x ; then
13886 eval "DEFAULT_$LINE"
13889 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13894 eval "$wx_cv_use_numberdlg"
13895 if test "x$cache" = xyes; then
13896 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13899 if test x"$enablestring" = xdisable; then
13900 if test $wxUSE_NUMBERDLG = yes; then
13906 result=$wxUSE_NUMBERDLG
13909 { echo "$as_me:$LINENO: result: $result" >&5
13910 echo "${ECHO_T}$result" >&6; }
13914 defaultval=$wxUSE_ALL_FEATURES
13915 if test -z "$defaultval"; then
13916 if test x"$enablestring" = xdisable; then
13923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13924 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13925 # Check whether --enable-splash was given.
13926 if test "${enable_splash+set}" = set; then
13927 enableval=$enable_splash;
13928 if test "$enableval" = yes; then
13929 wx_cv_use_splash='wxUSE_SPLASH=yes'
13931 wx_cv_use_splash='wxUSE_SPLASH=no'
13937 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13938 if test "x$LINE" != x ; then
13939 eval "DEFAULT_$LINE"
13942 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13947 eval "$wx_cv_use_splash"
13948 if test "x$cache" = xyes; then
13949 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13952 if test x"$enablestring" = xdisable; then
13953 if test $wxUSE_SPLASH = yes; then
13959 result=$wxUSE_SPLASH
13962 { echo "$as_me:$LINENO: result: $result" >&5
13963 echo "${ECHO_T}$result" >&6; }
13967 defaultval=$wxUSE_ALL_FEATURES
13968 if test -z "$defaultval"; then
13969 if test x"$enablestring" = xdisable; then
13976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13977 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13978 # Check whether --enable-textdlg was given.
13979 if test "${enable_textdlg+set}" = set; then
13980 enableval=$enable_textdlg;
13981 if test "$enableval" = yes; then
13982 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13984 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13990 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13991 if test "x$LINE" != x ; then
13992 eval "DEFAULT_$LINE"
13995 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14000 eval "$wx_cv_use_textdlg"
14001 if test "x$cache" = xyes; then
14002 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14005 if test x"$enablestring" = xdisable; then
14006 if test $wxUSE_TEXTDLG = yes; then
14012 result=$wxUSE_TEXTDLG
14015 { echo "$as_me:$LINENO: result: $result" >&5
14016 echo "${ECHO_T}$result" >&6; }
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14031 # Check whether --enable-tipdlg was given.
14032 if test "${enable_tipdlg+set}" = set; then
14033 enableval=$enable_tipdlg;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14037 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14043 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14044 if test "x$LINE" != x ; then
14045 eval "DEFAULT_$LINE"
14048 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14053 eval "$wx_cv_use_tipdlg"
14054 if test "x$cache" = xyes; then
14055 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_STARTUP_TIPS = yes; then
14065 result=$wxUSE_STARTUP_TIPS
14068 { echo "$as_me:$LINENO: result: $result" >&5
14069 echo "${ECHO_T}$result" >&6; }
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14083 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14084 # Check whether --enable-progressdlg was given.
14085 if test "${enable_progressdlg+set}" = set; then
14086 enableval=$enable_progressdlg;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14090 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14096 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14097 if test "x$LINE" != x ; then
14098 eval "DEFAULT_$LINE"
14101 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14106 eval "$wx_cv_use_progressdlg"
14107 if test "x$cache" = xyes; then
14108 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14111 if test x"$enablestring" = xdisable; then
14112 if test $wxUSE_PROGRESSDLG = yes; then
14118 result=$wxUSE_PROGRESSDLG
14121 { echo "$as_me:$LINENO: result: $result" >&5
14122 echo "${ECHO_T}$result" >&6; }
14126 defaultval=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x"$enablestring" = xdisable; then
14135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14136 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14137 # Check whether --enable-wizarddlg was given.
14138 if test "${enable_wizarddlg+set}" = set; then
14139 enableval=$enable_wizarddlg;
14140 if test "$enableval" = yes; then
14141 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14143 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14149 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14150 if test "x$LINE" != x ; then
14151 eval "DEFAULT_$LINE"
14154 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14159 eval "$wx_cv_use_wizarddlg"
14160 if test "x$cache" = xyes; then
14161 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_WIZARDDLG = yes; then
14171 result=$wxUSE_WIZARDDLG
14174 { echo "$as_me:$LINENO: result: $result" >&5
14175 echo "${ECHO_T}$result" >&6; }
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14192 # Check whether --enable-menus was given.
14193 if test "${enable_menus+set}" = set; then
14194 enableval=$enable_menus;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_menus='wxUSE_MENUS=yes'
14198 wx_cv_use_menus='wxUSE_MENUS=no'
14204 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14205 if test "x$LINE" != x ; then
14206 eval "DEFAULT_$LINE"
14209 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14214 eval "$wx_cv_use_menus"
14215 if test "x$cache" = xyes; then
14216 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14219 if test x"$enablestring" = xdisable; then
14220 if test $wxUSE_MENUS = yes; then
14226 result=$wxUSE_MENUS
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14234 defaultval=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x"$enablestring" = xdisable; then
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14245 # Check whether --enable-miniframe was given.
14246 if test "${enable_miniframe+set}" = set; then
14247 enableval=$enable_miniframe;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14251 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14257 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14258 if test "x$LINE" != x ; then
14259 eval "DEFAULT_$LINE"
14262 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14267 eval "$wx_cv_use_miniframe"
14268 if test "x$cache" = xyes; then
14269 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14272 if test x"$enablestring" = xdisable; then
14273 if test $wxUSE_MINIFRAME = yes; then
14279 result=$wxUSE_MINIFRAME
14282 { echo "$as_me:$LINENO: result: $result" >&5
14283 echo "${ECHO_T}$result" >&6; }
14287 defaultval=$wxUSE_ALL_FEATURES
14288 if test -z "$defaultval"; then
14289 if test x"$enablestring" = xdisable; then
14296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14297 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14298 # Check whether --enable-tooltips was given.
14299 if test "${enable_tooltips+set}" = set; then
14300 enableval=$enable_tooltips;
14301 if test "$enableval" = yes; then
14302 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14304 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14310 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14311 if test "x$LINE" != x ; then
14312 eval "DEFAULT_$LINE"
14315 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14320 eval "$wx_cv_use_tooltips"
14321 if test "x$cache" = xyes; then
14322 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14325 if test x"$enablestring" = xdisable; then
14326 if test $wxUSE_TOOLTIPS = yes; then
14332 result=$wxUSE_TOOLTIPS
14335 { echo "$as_me:$LINENO: result: $result" >&5
14336 echo "${ECHO_T}$result" >&6; }
14340 defaultval=$wxUSE_ALL_FEATURES
14341 if test -z "$defaultval"; then
14342 if test x"$enablestring" = xdisable; then
14349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14350 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14351 # Check whether --enable-splines was given.
14352 if test "${enable_splines+set}" = set; then
14353 enableval=$enable_splines;
14354 if test "$enableval" = yes; then
14355 wx_cv_use_splines='wxUSE_SPLINES=yes'
14357 wx_cv_use_splines='wxUSE_SPLINES=no'
14363 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14364 if test "x$LINE" != x ; then
14365 eval "DEFAULT_$LINE"
14368 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14373 eval "$wx_cv_use_splines"
14374 if test "x$cache" = xyes; then
14375 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14378 if test x"$enablestring" = xdisable; then
14379 if test $wxUSE_SPLINES = yes; then
14385 result=$wxUSE_SPLINES
14388 { echo "$as_me:$LINENO: result: $result" >&5
14389 echo "${ECHO_T}$result" >&6; }
14393 defaultval=$wxUSE_ALL_FEATURES
14394 if test -z "$defaultval"; then
14395 if test x"$enablestring" = xdisable; then
14402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14403 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14404 # Check whether --enable-mousewheel was given.
14405 if test "${enable_mousewheel+set}" = set; then
14406 enableval=$enable_mousewheel;
14407 if test "$enableval" = yes; then
14408 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14410 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14416 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14417 if test "x$LINE" != x ; then
14418 eval "DEFAULT_$LINE"
14421 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14426 eval "$wx_cv_use_mousewheel"
14427 if test "x$cache" = xyes; then
14428 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_MOUSEWHEEL = yes; then
14438 result=$wxUSE_MOUSEWHEEL
14441 { echo "$as_me:$LINENO: result: $result" >&5
14442 echo "${ECHO_T}$result" >&6; }
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14456 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14457 # Check whether --enable-validators was given.
14458 if test "${enable_validators+set}" = set; then
14459 enableval=$enable_validators;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14463 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14469 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14470 if test "x$LINE" != x ; then
14471 eval "DEFAULT_$LINE"
14474 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14479 eval "$wx_cv_use_validators"
14480 if test "x$cache" = xyes; then
14481 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14484 if test x"$enablestring" = xdisable; then
14485 if test $wxUSE_VALIDATORS = yes; then
14491 result=$wxUSE_VALIDATORS
14494 { echo "$as_me:$LINENO: result: $result" >&5
14495 echo "${ECHO_T}$result" >&6; }
14499 defaultval=$wxUSE_ALL_FEATURES
14500 if test -z "$defaultval"; then
14501 if test x"$enablestring" = xdisable; then
14508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14509 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14510 # Check whether --enable-busyinfo was given.
14511 if test "${enable_busyinfo+set}" = set; then
14512 enableval=$enable_busyinfo;
14513 if test "$enableval" = yes; then
14514 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14516 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14522 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14523 if test "x$LINE" != x ; then
14524 eval "DEFAULT_$LINE"
14527 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14532 eval "$wx_cv_use_busyinfo"
14533 if test "x$cache" = xyes; then
14534 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14537 if test x"$enablestring" = xdisable; then
14538 if test $wxUSE_BUSYINFO = yes; then
14544 result=$wxUSE_BUSYINFO
14547 { echo "$as_me:$LINENO: result: $result" >&5
14548 echo "${ECHO_T}$result" >&6; }
14552 defaultval=$wxUSE_ALL_FEATURES
14553 if test -z "$defaultval"; then
14554 if test x"$enablestring" = xdisable; then
14561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14562 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14563 # Check whether --enable-joystick was given.
14564 if test "${enable_joystick+set}" = set; then
14565 enableval=$enable_joystick;
14566 if test "$enableval" = yes; then
14567 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14569 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14575 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14576 if test "x$LINE" != x ; then
14577 eval "DEFAULT_$LINE"
14580 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14585 eval "$wx_cv_use_joystick"
14586 if test "x$cache" = xyes; then
14587 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14590 if test x"$enablestring" = xdisable; then
14591 if test $wxUSE_JOYSTICK = yes; then
14597 result=$wxUSE_JOYSTICK
14600 { echo "$as_me:$LINENO: result: $result" >&5
14601 echo "${ECHO_T}$result" >&6; }
14605 defaultval=$wxUSE_ALL_FEATURES
14606 if test -z "$defaultval"; then
14607 if test x"$enablestring" = xdisable; then
14614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14615 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14616 # Check whether --enable-metafile was given.
14617 if test "${enable_metafile+set}" = set; then
14618 enableval=$enable_metafile;
14619 if test "$enableval" = yes; then
14620 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14622 wx_cv_use_metafile='wxUSE_METAFILE=no'
14628 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14629 if test "x$LINE" != x ; then
14630 eval "DEFAULT_$LINE"
14633 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14638 eval "$wx_cv_use_metafile"
14639 if test "x$cache" = xyes; then
14640 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14643 if test x"$enablestring" = xdisable; then
14644 if test $wxUSE_METAFILE = yes; then
14650 result=$wxUSE_METAFILE
14653 { echo "$as_me:$LINENO: result: $result" >&5
14654 echo "${ECHO_T}$result" >&6; }
14658 defaultval=$wxUSE_ALL_FEATURES
14659 if test -z "$defaultval"; then
14660 if test x"$enablestring" = xdisable; then
14667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14668 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14669 # Check whether --enable-dragimage was given.
14670 if test "${enable_dragimage+set}" = set; then
14671 enableval=$enable_dragimage;
14672 if test "$enableval" = yes; then
14673 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14675 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14681 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14682 if test "x$LINE" != x ; then
14683 eval "DEFAULT_$LINE"
14686 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14691 eval "$wx_cv_use_dragimage"
14692 if test "x$cache" = xyes; then
14693 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14696 if test x"$enablestring" = xdisable; then
14697 if test $wxUSE_DRAGIMAGE = yes; then
14703 result=$wxUSE_DRAGIMAGE
14706 { echo "$as_me:$LINENO: result: $result" >&5
14707 echo "${ECHO_T}$result" >&6; }
14711 defaultval=$wxUSE_ALL_FEATURES
14712 if test -z "$defaultval"; then
14713 if test x"$enablestring" = xdisable; then
14720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14721 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14722 # Check whether --enable-accessibility was given.
14723 if test "${enable_accessibility+set}" = set; then
14724 enableval=$enable_accessibility;
14725 if test "$enableval" = yes; then
14726 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14728 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14734 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14735 if test "x$LINE" != x ; then
14736 eval "DEFAULT_$LINE"
14739 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14744 eval "$wx_cv_use_accessibility"
14745 if test "x$cache" = xyes; then
14746 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_ACCESSIBILITY = yes; then
14756 result=$wxUSE_ACCESSIBILITY
14759 { echo "$as_me:$LINENO: result: $result" >&5
14760 echo "${ECHO_T}$result" >&6; }
14766 defaultval=$wxUSE_ALL_FEATURES
14767 if test -z "$defaultval"; then
14768 if test x"$enablestring" = xdisable; then
14775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14776 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14777 # Check whether --enable-palette was given.
14778 if test "${enable_palette+set}" = set; then
14779 enableval=$enable_palette;
14780 if test "$enableval" = yes; then
14781 wx_cv_use_palette='wxUSE_PALETTE=yes'
14783 wx_cv_use_palette='wxUSE_PALETTE=no'
14789 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14790 if test "x$LINE" != x ; then
14791 eval "DEFAULT_$LINE"
14794 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14799 eval "$wx_cv_use_palette"
14800 if test "x$cache" = xyes; then
14801 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_PALETTE = yes; then
14811 result=$wxUSE_PALETTE
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14830 # Check whether --enable-image was given.
14831 if test "${enable_image+set}" = set; then
14832 enableval=$enable_image;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_image='wxUSE_IMAGE=yes'
14836 wx_cv_use_image='wxUSE_IMAGE=no'
14842 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14843 if test "x$LINE" != x ; then
14844 eval "DEFAULT_$LINE"
14847 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14852 eval "$wx_cv_use_image"
14853 if test "x$cache" = xyes; then
14854 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14857 if test x"$enablestring" = xdisable; then
14858 if test $wxUSE_IMAGE = yes; then
14864 result=$wxUSE_IMAGE
14867 { echo "$as_me:$LINENO: result: $result" >&5
14868 echo "${ECHO_T}$result" >&6; }
14872 defaultval=$wxUSE_ALL_FEATURES
14873 if test -z "$defaultval"; then
14874 if test x"$enablestring" = xdisable; then
14881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14882 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14883 # Check whether --enable-gif was given.
14884 if test "${enable_gif+set}" = set; then
14885 enableval=$enable_gif;
14886 if test "$enableval" = yes; then
14887 wx_cv_use_gif='wxUSE_GIF=yes'
14889 wx_cv_use_gif='wxUSE_GIF=no'
14895 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14896 if test "x$LINE" != x ; then
14897 eval "DEFAULT_$LINE"
14900 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14905 eval "$wx_cv_use_gif"
14906 if test "x$cache" = xyes; then
14907 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14910 if test x"$enablestring" = xdisable; then
14911 if test $wxUSE_GIF = yes; then
14920 { echo "$as_me:$LINENO: result: $result" >&5
14921 echo "${ECHO_T}$result" >&6; }
14925 defaultval=$wxUSE_ALL_FEATURES
14926 if test -z "$defaultval"; then
14927 if test x"$enablestring" = xdisable; then
14934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14935 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14936 # Check whether --enable-pcx was given.
14937 if test "${enable_pcx+set}" = set; then
14938 enableval=$enable_pcx;
14939 if test "$enableval" = yes; then
14940 wx_cv_use_pcx='wxUSE_PCX=yes'
14942 wx_cv_use_pcx='wxUSE_PCX=no'
14948 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14949 if test "x$LINE" != x ; then
14950 eval "DEFAULT_$LINE"
14953 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14958 eval "$wx_cv_use_pcx"
14959 if test "x$cache" = xyes; then
14960 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_PCX = yes; then
14973 { echo "$as_me:$LINENO: result: $result" >&5
14974 echo "${ECHO_T}$result" >&6; }
14978 defaultval=$wxUSE_ALL_FEATURES
14979 if test -z "$defaultval"; then
14980 if test x"$enablestring" = xdisable; then
14987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14989 # Check whether --enable-tga was given.
14990 if test "${enable_tga+set}" = set; then
14991 enableval=$enable_tga;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_tga='wxUSE_TGA=yes'
14995 wx_cv_use_tga='wxUSE_TGA=no'
15001 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x ; then
15003 eval "DEFAULT_$LINE"
15006 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15011 eval "$wx_cv_use_tga"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_TGA = yes; then
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15042 # Check whether --enable-iff was given.
15043 if test "${enable_iff+set}" = set; then
15044 enableval=$enable_iff;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_iff='wxUSE_IFF=yes'
15048 wx_cv_use_iff='wxUSE_IFF=no'
15054 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15059 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15064 eval "$wx_cv_use_iff"
15065 if test "x$cache" = xyes; then
15066 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15069 if test x"$enablestring" = xdisable; then
15070 if test $wxUSE_IFF = yes; then
15079 { echo "$as_me:$LINENO: result: $result" >&5
15080 echo "${ECHO_T}$result" >&6; }
15084 defaultval=$wxUSE_ALL_FEATURES
15085 if test -z "$defaultval"; then
15086 if test x"$enablestring" = xdisable; then
15093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15094 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15095 # Check whether --enable-pnm was given.
15096 if test "${enable_pnm+set}" = set; then
15097 enableval=$enable_pnm;
15098 if test "$enableval" = yes; then
15099 wx_cv_use_pnm='wxUSE_PNM=yes'
15101 wx_cv_use_pnm='wxUSE_PNM=no'
15107 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15108 if test "x$LINE" != x ; then
15109 eval "DEFAULT_$LINE"
15112 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15117 eval "$wx_cv_use_pnm"
15118 if test "x$cache" = xyes; then
15119 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15122 if test x"$enablestring" = xdisable; then
15123 if test $wxUSE_PNM = yes; then
15132 { echo "$as_me:$LINENO: result: $result" >&5
15133 echo "${ECHO_T}$result" >&6; }
15137 defaultval=$wxUSE_ALL_FEATURES
15138 if test -z "$defaultval"; then
15139 if test x"$enablestring" = xdisable; then
15146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15147 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15148 # Check whether --enable-xpm was given.
15149 if test "${enable_xpm+set}" = set; then
15150 enableval=$enable_xpm;
15151 if test "$enableval" = yes; then
15152 wx_cv_use_xpm='wxUSE_XPM=yes'
15154 wx_cv_use_xpm='wxUSE_XPM=no'
15160 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15161 if test "x$LINE" != x ; then
15162 eval "DEFAULT_$LINE"
15165 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15170 eval "$wx_cv_use_xpm"
15171 if test "x$cache" = xyes; then
15172 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15175 if test x"$enablestring" = xdisable; then
15176 if test $wxUSE_XPM = yes; then
15185 { echo "$as_me:$LINENO: result: $result" >&5
15186 echo "${ECHO_T}$result" >&6; }
15190 defaultval=$wxUSE_ALL_FEATURES
15191 if test -z "$defaultval"; then
15192 if test x"$enablestring" = xdisable; then
15199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15200 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15201 # Check whether --enable-ico_cur was given.
15202 if test "${enable_ico_cur+set}" = set; then
15203 enableval=$enable_ico_cur;
15204 if test "$enableval" = yes; then
15205 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15207 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15213 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15214 if test "x$LINE" != x ; then
15215 eval "DEFAULT_$LINE"
15218 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15223 eval "$wx_cv_use_ico_cur"
15224 if test "x$cache" = xyes; then
15225 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15228 if test x"$enablestring" = xdisable; then
15229 if test $wxUSE_ICO_CUR = yes; then
15235 result=$wxUSE_ICO_CUR
15238 { echo "$as_me:$LINENO: result: $result" >&5
15239 echo "${ECHO_T}$result" >&6; }
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15255 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15256 # Check whether --enable-dccache was given.
15257 if test "${enable_dccache+set}" = set; then
15258 enableval=$enable_dccache;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15262 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15268 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15269 if test "x$LINE" != x ; then
15270 eval "DEFAULT_$LINE"
15273 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15278 eval "$wx_cv_use_dccache"
15279 if test "x$cache" = xyes; then
15280 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15283 if test x"$enablestring" = xdisable; then
15284 if test $wxUSE_DC_CACHEING = yes; then
15290 result=$wxUSE_DC_CACHEING
15293 { echo "$as_me:$LINENO: result: $result" >&5
15294 echo "${ECHO_T}$result" >&6; }
15298 defaultval=$wxUSE_ALL_FEATURES
15299 if test -z "$defaultval"; then
15300 if test x"$enablestring" = xdisable; then
15307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15308 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15309 # Check whether --enable-regkey was given.
15310 if test "${enable_regkey+set}" = set; then
15311 enableval=$enable_regkey;
15312 if test "$enableval" = yes; then
15313 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15315 wx_cv_use_regkey='wxUSE_REGKEY=no'
15321 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15322 if test "x$LINE" != x ; then
15323 eval "DEFAULT_$LINE"
15326 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15331 eval "$wx_cv_use_regkey"
15332 if test "x$cache" = xyes; then
15333 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15336 if test x"$enablestring" = xdisable; then
15337 if test $wxUSE_REGKEY = yes; then
15343 result=$wxUSE_REGKEY
15346 { echo "$as_me:$LINENO: result: $result" >&5
15347 echo "${ECHO_T}$result" >&6; }
15351 defaultval=$wxUSE_ALL_FEATURES
15352 if test -z "$defaultval"; then
15353 if test x"$enablestring" = xdisable; then
15360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15361 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15362 # Check whether --enable-uxtheme was given.
15363 if test "${enable_uxtheme+set}" = set; then
15364 enableval=$enable_uxtheme;
15365 if test "$enableval" = yes; then
15366 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15368 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15374 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15375 if test "x$LINE" != x ; then
15376 eval "DEFAULT_$LINE"
15379 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15384 eval "$wx_cv_use_uxtheme"
15385 if test "x$cache" = xyes; then
15386 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15389 if test x"$enablestring" = xdisable; then
15390 if test $wxUSE_UXTHEME = yes; then
15396 result=$wxUSE_UXTHEME
15399 { echo "$as_me:$LINENO: result: $result" >&5
15400 echo "${ECHO_T}$result" >&6; }
15404 defaultval=$wxUSE_ALL_FEATURES
15405 if test -z "$defaultval"; then
15406 if test x"$enablestring" = xdisable; then
15413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15414 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15415 # Check whether --enable-wxdib was given.
15416 if test "${enable_wxdib+set}" = set; then
15417 enableval=$enable_wxdib;
15418 if test "$enableval" = yes; then
15419 wx_cv_use_wxdib='wxUSE_DIB=yes'
15421 wx_cv_use_wxdib='wxUSE_DIB=no'
15427 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15428 if test "x$LINE" != x ; then
15429 eval "DEFAULT_$LINE"
15432 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15437 eval "$wx_cv_use_wxdib"
15438 if test "x$cache" = xyes; then
15439 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15442 if test x"$enablestring" = xdisable; then
15443 if test $wxUSE_DIB = yes; then
15452 { echo "$as_me:$LINENO: result: $result" >&5
15453 echo "${ECHO_T}$result" >&6; }
15459 echo "saving argument cache $wx_arg_cache_file"
15460 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15464 { echo "$as_me:$LINENO: checking for toolkit" >&5
15465 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15467 # In Wine, we need to default to MSW, not GTK or MOTIF
15468 if test "$wxUSE_WINE" = "yes"; then
15469 DEFAULT_DEFAULT_wxUSE_GTK=0
15470 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15471 DEFAULT_DEFAULT_wxUSE_MSW=1
15474 CXX=${CXX:-wineg++}
15478 if test "$wxUSE_GUI" = "yes"; then
15480 if test "$USE_BEOS" = 1; then
15481 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15482 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15483 { (exit 1); exit 1; }; }
15486 if test "$TOOLKIT_GIVEN" = 1; then
15487 for toolkit in `echo $ALL_TOOLKITS`; do
15489 eval "value=\$${var}"
15490 if test "x$value" = "xno"; then
15492 elif test "x$value" != "x"; then
15496 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15497 eval "wx${toolkit}_VERSION=$value"
15501 for toolkit in `echo $ALL_TOOLKITS`; do
15502 if test "$has_toolkit_in_cache" != 1; then
15503 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15505 var=DEFAULT_wxUSE_$toolkit
15507 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15508 if test "x$version" != "x"; then
15509 eval "wx${toolkit}_VERSION=$version"
15512 eval "wxUSE_$toolkit=\$${var}"
15516 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15517 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15518 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15521 *-pc-os2_emx | *-pc-os2-emx )
15522 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15525 case "$NUM_TOOLKITS" in
15529 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15530 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15531 { (exit 1); exit 1; }; }
15534 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15535 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15536 { (exit 1); exit 1; }; }
15539 # to be removed when --disable-gtk2 isn't needed
15540 if test "x$wxUSE_GTK2" = "xyes"; then
15542 elif test "x$wxUSE_GTK2" = "xno"; then
15546 for toolkit in `echo $ALL_TOOLKITS`; do
15548 eval "value=\$${var}"
15549 if test "x$value" != x; then
15550 cache_var=CACHE_$toolkit
15551 eval "cache=\$${cache_var}"
15552 if test "$cache" = 1; then
15553 echo "$var=$value" >> ${wx_arg_cache_file}
15554 eval "version=\$wx${toolkit}_VERSION"
15555 if test "x$version" != "x"; then
15556 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15559 if test "$value" = 1; then
15560 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15561 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15562 echo "${ECHO_T}$toolkit_echo" >&6; }
15567 if test "x$host_alias" != "x"; then
15568 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15569 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15571 { echo "$as_me:$LINENO: result: base only" >&5
15572 echo "${ECHO_T}base only" >&6; }
15577 cat >confcache <<\_ACEOF
15578 # This file is a shell script that caches the results of configure
15579 # tests run on this system so they can be shared between configure
15580 # scripts and configure runs, see configure's option --config-cache.
15581 # It is not useful on other systems. If it contains results you don't
15582 # want to keep, you may remove or edit it.
15584 # config.status only pays attention to the cache file if you give it
15585 # the --recheck option to rerun configure.
15587 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15589 # following values.
15593 # The following way of writing the cache mishandles newlines in values,
15594 # but we know of no workaround that is simple, portable, and efficient.
15595 # So, we kill variables containing newlines.
15596 # Ultrix sh set writes to stderr and can't be redirected directly,
15597 # and sets the high bit in the cache file unless we assign to the vars.
15599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15600 eval ac_val
=\$
$ac_var
15604 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15605 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15608 _
| IFS
| as_nl
) ;; #(
15609 *) $as_unset $ac_var ;;
15615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15616 *${as_nl}ac_space
=\
*)
15617 # `set' does not quote correctly, so add quotes (double-quote
15618 # substitution turns \\\\ into \\, and sed turns \\ into \).
15621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15624 # `set' quotes correctly as required by POSIX, so do not add quotes.
15625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15638 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15639 if test -w "$cache_file"; then
15640 test "x$cache_file" != "x/dev/null" &&
15641 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15642 echo "$as_me: updating cache $cache_file" >&6;}
15643 cat confcache
>$cache_file
15645 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15646 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15656 ac_cpp
='$CPP $CPPFLAGS'
15657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15660 if test -n "$ac_tool_prefix"; then
15661 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15662 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15665 if test "${ac_cv_prog_CC+set}" = set; then
15666 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 if test -n "$CC"; then
15669 ac_cv_prog_CC
="$CC" # Let the user override the test.
15671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15672 for as_dir
in $PATH
15675 test -z "$as_dir" && as_dir
=.
15676 for ac_exec_ext
in '' $ac_executable_extensions; do
15677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15678 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15689 if test -n "$CC"; then
15690 { echo "$as_me:$LINENO: result: $CC" >&5
15691 echo "${ECHO_T}$CC" >&6; }
15693 { echo "$as_me:$LINENO: result: no" >&5
15694 echo "${ECHO_T}no" >&6; }
15699 if test -z "$ac_cv_prog_CC"; then
15701 # Extract the first word of "gcc", so it can be a program name with args.
15702 set dummy gcc
; ac_word
=$2
15703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15708 if test -n "$ac_ct_CC"; then
15709 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15712 for as_dir
in $PATH
15715 test -z "$as_dir" && as_dir
=.
15716 for ac_exec_ext
in '' $ac_executable_extensions; do
15717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15718 ac_cv_prog_ac_ct_CC
="gcc"
15719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15729 if test -n "$ac_ct_CC"; then
15730 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15731 echo "${ECHO_T}$ac_ct_CC" >&6; }
15733 { echo "$as_me:$LINENO: result: no" >&5
15734 echo "${ECHO_T}no" >&6; }
15737 if test "x$ac_ct_CC" = x
; then
15740 case $cross_compiling:$ac_tool_warned in
15742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15743 whose name does not start with the host triplet. If you think this
15744 configuration is useful to you, please write to autoconf@gnu.org." >&5
15745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15746 whose name does not start with the host triplet. If you think this
15747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15748 ac_tool_warned
=yes ;;
15753 CC
="$ac_cv_prog_CC"
15756 if test -z "$CC"; then
15757 if test -n "$ac_tool_prefix"; then
15758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15759 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15762 if test "${ac_cv_prog_CC+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 if test -n "$CC"; then
15766 ac_cv_prog_CC
="$CC" # Let the user override the test.
15768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15769 for as_dir
in $PATH
15772 test -z "$as_dir" && as_dir
=.
15773 for ac_exec_ext
in '' $ac_executable_extensions; do
15774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15775 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15786 if test -n "$CC"; then
15787 { echo "$as_me:$LINENO: result: $CC" >&5
15788 echo "${ECHO_T}$CC" >&6; }
15790 { echo "$as_me:$LINENO: result: no" >&5
15791 echo "${ECHO_T}no" >&6; }
15797 if test -z "$CC"; then
15798 # Extract the first word of "cc", so it can be a program name with args.
15799 set dummy cc
; ac_word
=$2
15800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15802 if test "${ac_cv_prog_CC+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 if test -n "$CC"; then
15806 ac_cv_prog_CC
="$CC" # Let the user override the test.
15808 ac_prog_rejected
=no
15809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15810 for as_dir
in $PATH
15813 test -z "$as_dir" && as_dir
=.
15814 for ac_exec_ext
in '' $ac_executable_extensions; do
15815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15816 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15817 ac_prog_rejected
=yes
15821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15828 if test $ac_prog_rejected = yes; then
15829 # We found a bogon in the path, so make sure we never use it.
15830 set dummy
$ac_cv_prog_CC
15832 if test $# != 0; then
15833 # We chose a different compiler from the bogus one.
15834 # However, it has the same basename, so the bogon will be chosen
15835 # first if we set CC to just the basename; use the full file name.
15837 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15843 if test -n "$CC"; then
15844 { echo "$as_me:$LINENO: result: $CC" >&5
15845 echo "${ECHO_T}$CC" >&6; }
15847 { echo "$as_me:$LINENO: result: no" >&5
15848 echo "${ECHO_T}no" >&6; }
15853 if test -z "$CC"; then
15854 if test -n "$ac_tool_prefix"; then
15855 for ac_prog
in cl.exe
15857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15858 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15861 if test "${ac_cv_prog_CC+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 if test -n "$CC"; then
15865 ac_cv_prog_CC
="$CC" # Let the user override the test.
15867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15868 for as_dir
in $PATH
15871 test -z "$as_dir" && as_dir
=.
15872 for ac_exec_ext
in '' $ac_executable_extensions; do
15873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15874 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15885 if test -n "$CC"; then
15886 { echo "$as_me:$LINENO: result: $CC" >&5
15887 echo "${ECHO_T}$CC" >&6; }
15889 { echo "$as_me:$LINENO: result: no" >&5
15890 echo "${ECHO_T}no" >&6; }
15894 test -n "$CC" && break
15897 if test -z "$CC"; then
15899 for ac_prog
in cl.exe
15901 # Extract the first word of "$ac_prog", so it can be a program name with args.
15902 set dummy
$ac_prog; ac_word
=$2
15903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 if test -n "$ac_ct_CC"; then
15909 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15912 for as_dir
in $PATH
15915 test -z "$as_dir" && as_dir
=.
15916 for ac_exec_ext
in '' $ac_executable_extensions; do
15917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15918 ac_cv_prog_ac_ct_CC
="$ac_prog"
15919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15928 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15929 if test -n "$ac_ct_CC"; then
15930 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15931 echo "${ECHO_T}$ac_ct_CC" >&6; }
15933 { echo "$as_me:$LINENO: result: no" >&5
15934 echo "${ECHO_T}no" >&6; }
15938 test -n "$ac_ct_CC" && break
15941 if test "x$ac_ct_CC" = x
; then
15944 case $cross_compiling:$ac_tool_warned in
15946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15947 whose name does not start with the host triplet. If you think this
15948 configuration is useful to you, please write to autoconf@gnu.org." >&5
15949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15950 whose name does not start with the host triplet. If you think this
15951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15952 ac_tool_warned
=yes ;;
15961 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15962 See \`config.log' for more details." >&5
15963 echo "$as_me: error: no acceptable C compiler found in \$PATH
15964 See \`config.log' for more details." >&2;}
15965 { (exit 1); exit 1; }; }
15967 # Provide some information about the compiler.
15968 echo "$as_me:$LINENO: checking for C compiler version" >&5
15969 ac_compiler
=`set X $ac_compile; echo $2`
15970 { (ac_try
="$ac_compiler --version >&5"
15971 case "(($ac_try" in
15972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_compiler --version >&5") 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }
15980 { (ac_try="$ac_compiler -v >&5"
15981 case "(($ac_try" in
15982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15983 *) ac_try_echo
=$ac_try;;
15985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15986 (eval "$ac_compiler -v >&5") 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }
15990 { (ac_try
="$ac_compiler -V >&5"
15991 case "(($ac_try" in
15992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_compiler -V >&5") 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16016 ac_clean_files_save=$ac_clean_files
16017 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16018 # Try to create an executable without -o first, disregard a.out.
16019 # It will help us diagnose broken compilers, and finding out an intuition
16021 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16022 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16023 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16025 # List of possible output files, starting from the most likely.
16026 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16027 # only as a last resort. b.out is created by i960 compilers.
16028 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16030 # The IRIX 6 linker writes into existing files which may not be
16031 # executable, retaining their permissions. Remove them first so a
16032 # subsequent execution test works.
16034 for ac_file in $ac_files
16037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16038 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16043 if { (ac_try="$ac_link_default"
16044 case "(($ac_try" in
16045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16046 *) ac_try_echo=$ac_try;;
16048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16049 (eval "$ac_link_default") 2>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; then
16053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16055 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16056 # so that the user can short-circuit this test for compilers unknown to
16058 for ac_file
in $ac_files ''
16060 test -f "$ac_file" || continue
16062 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16065 # We found the default executable, but exeext='' is most
16069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16071 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16073 # We set ac_cv_exeext here because the later test for it is not
16074 # safe: cross compilers may not add the suffix if given an `-o'
16075 # argument, so we may need to know it at that point already.
16076 # Even if this section looks crufty: it has the advantage of
16077 # actually working.
16083 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16089 { echo "$as_me:$LINENO: result: $ac_file" >&5
16090 echo "${ECHO_T}$ac_file" >&6; }
16091 if test -z "$ac_file"; then
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.
$ac_ext >&5
16095 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: C compiler cannot create executables
16098 See \`config.log' for more details." >&2;}
16099 { (exit 77); exit 77; }; }
16102 ac_exeext
=$ac_cv_exeext
16104 # Check that the compiler produces executables we can run. If not, either
16105 # the compiler is broken, or we cross compile.
16106 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16107 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16108 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16109 # If not cross compiling, check that we can run a simple program.
16110 if test "$cross_compiling" != yes; then
16111 if { ac_try
='./$ac_file'
16112 { (case "(($ac_try" in
16113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16114 *) ac_try_echo=$ac_try;;
16116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16117 (eval "$ac_try") 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16123 if test "$cross_compiling" = maybe; then
16124 cross_compiling=yes
16126 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16127 If you meant to cross compile, use \`--host'.
16128 See \`config.log' for more details.
" >&5
16129 echo "$as_me: error
: cannot run C compiled programs.
16130 If you meant to cross compile
, use \
`--host'.
16131 See \`config.log
' for more details." >&2;}
16132 { (exit 1); exit 1; }; }
16136 { echo "$as_me:$LINENO: result: yes" >&5
16137 echo "${ECHO_T}yes" >&6; }
16139 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16140 ac_clean_files=$ac_clean_files_save
16141 # Check that the compiler produces executables we can run. If not, either
16142 # the compiler is broken, or we cross compile.
16143 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16144 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16145 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16146 echo "${ECHO_T}$cross_compiling" >&6; }
16148 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16149 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16150 if { (ac_try="$ac_link"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_link") 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; then
16160 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
16161 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
16162 # work properly (i.e., refer to `conftest.exe
'), while it won't with
16164 for ac_file
in conftest.exe conftest conftest.
*; do
16165 test -f "$ac_file" || continue
16167 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
16168 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16174 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16175 See \`config.log' for more details." >&5
16176 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16177 See \`config.log' for more details." >&2;}
16178 { (exit 1); exit 1; }; }
16181 rm -f conftest
$ac_cv_exeext
16182 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16183 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16185 rm -f conftest.
$ac_ext
16186 EXEEXT
=$ac_cv_exeext
16188 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16189 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16190 if test "${ac_cv_objext+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.
$ac_ext <<_ACEOF
16196 cat confdefs.h
>>conftest.
$ac_ext
16197 cat >>conftest.
$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16208 rm -f conftest.o conftest.obj
16209 if { (ac_try
="$ac_compile"
16210 case "(($ac_try" in
16211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_compile") 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; then
16219 for ac_file in conftest.o conftest.obj conftest.*; do
16220 test -f "$ac_file" || continue;
16222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16231 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16232 See \`config.log
' for more details." >&5
16233 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16234 See \`config.log' for more details.
" >&2;}
16235 { (exit 1); exit 1; }; }
16238 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16240 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
16241 echo "${ECHO_T}$ac_cv_objext" >&6; }
16242 OBJEXT=$ac_cv_objext
16244 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
16245 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
16246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16247 echo $ECHO_N "(cached
) $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16267 rm -f conftest.$ac_objext
16268 if { (ac_try="$ac_compile"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compile") 2>conftest.er1
16276 grep -v '^ *+' conftest.er1 >conftest.err
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16280 (exit $ac_status); } && {
16281 test -z "$ac_c_werror_flag" ||
16282 test ! -s conftest.err
16283 } && test -s conftest.$ac_objext; then
16284 ac_compiler_gnu=yes
16286 echo "$as_me: failed program was
:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16296 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
16297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16298 GCC=`test $ac_compiler_gnu = yes && echo yes`
16299 ac_test_CFLAGS=${CFLAGS+set}
16300 ac_save_CFLAGS=$CFLAGS
16301 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
16302 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
16303 if test "${ac_cv_prog_cc_g+set}" = set; then
16304 echo $ECHO_N "(cached
) $ECHO_C" >&6
16306 ac_save_c_werror_flag=$ac_c_werror_flag
16307 ac_c_werror_flag=yes
16310 cat >conftest.$ac_ext <<_ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16325 rm -f conftest.$ac_objext
16326 if { (ac_try="$ac_compile"
16327 case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16332 (eval "$ac_compile") 2>conftest.er1
16334 grep -v '^ *+' conftest.er1 >conftest.err
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16338 (exit $ac_status); } && {
16339 test -z "$ac_c_werror_flag" ||
16340 test ! -s conftest.err
16341 } && test -s conftest.$ac_objext; then
16342 ac_cv_prog_cc_g=yes
16344 echo "$as_me: failed program was
:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1 >conftest.err
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_c_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16382 echo "$as_me: failed program was
:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16385 ac_c_werror_flag=$ac_save_c_werror_flag
16387 cat >conftest.$ac_ext <<_ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16402 rm -f conftest.$ac_objext
16403 if { (ac_try="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16411 grep -v '^ *+' conftest.er1 >conftest.err
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest.$ac_objext; then
16419 ac_cv_prog_cc_g=yes
16421 echo "$as_me: failed program was
:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16434 ac_c_werror_flag=$ac_save_c_werror_flag
16436 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
16437 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16438 if test "$ac_test_CFLAGS" = set; then
16439 CFLAGS=$ac_save_CFLAGS
16440 elif test $ac_cv_prog_cc_g = yes; then
16441 if test "$GCC" = yes; then
16447 if test "$GCC" = yes; then
16453 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
16454 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
16455 if test "${ac_cv_prog_cc_c89+set}" = set; then
16456 echo $ECHO_N "(cached
) $ECHO_C" >&6
16458 ac_cv_prog_cc_c89=no
16460 cat >conftest.$ac_ext <<_ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 #include <stdarg.h>
16468 #include <sys/types.h>
16469 #include <sys/stat.h>
16470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16471 struct buf { int x; };
16472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16473 static char *e (p, i)
16479 static char *f (char * (*g) (char **, int), char **p, ...)
16484 s = g (p, va_arg (v,int));
16489 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16490 function prototypes and stuff, but not '\xHH' hex character constants.
16491 These don't provoke an error unfortunately, instead are silently treated
16492 as 'x'. The following induces an error, until -std is added to get
16493 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16494 array size at least. It's necessary to write '\x00'==0 to get something
16495 that's true only with -std. */
16496 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16498 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16499 inside strings and character constants. */
16501 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16503 int test (int i, double x);
16504 struct s1 {int (*f) (int a);};
16505 struct s2 {int (*f) (double a);};
16506 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16512 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16517 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16518 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16520 CC="$ac_save_CC $ac_arg"
16521 rm -f conftest.$ac_objext
16522 if { (ac_try="$ac_compile"
16523 case "(($ac_try" in
16524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16525 *) ac_try_echo=$ac_try;;
16527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16528 (eval "$ac_compile") 2>conftest.er1
16530 grep -v '^ *+' conftest.er1 >conftest.err
16532 cat conftest.err >&5
16533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16534 (exit $ac_status); } && {
16535 test -z "$ac_c_werror_flag" ||
16536 test ! -s conftest.err
16537 } && test -s conftest.$ac_objext; then
16538 ac_cv_prog_cc_c89=$ac_arg
16540 echo "$as_me: failed program was
:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16546 rm -f core conftest.err conftest.$ac_objext
16547 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16549 rm -f conftest.$ac_ext
16554 case "x
$ac_cv_prog_cc_c89" in
16556 { echo "$as_me:$LINENO: result
: none needed
" >&5
16557 echo "${ECHO_T}none needed
" >&6; } ;;
16559 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16560 echo "${ECHO_T}unsupported
" >&6; } ;;
16562 CC="$CC $ac_cv_prog_cc_c89"
16563 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16564 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16569 ac_cpp='$CPP $CPPFLAGS'
16570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16583 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16584 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16585 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16586 echo $ECHO_N "(cached
) $ECHO_C" >&6
16588 cat >conftest.$ac_ext <<_ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16599 #ifndef __INTEL_COMPILER
16607 rm -f conftest.$ac_objext
16608 if { (ac_try="$ac_compile"
16609 case "(($ac_try" in
16610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16611 *) ac_try_echo=$ac_try;;
16613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16614 (eval "$ac_compile") 2>conftest.er1
16616 grep -v '^ *+' conftest.er1 >conftest.err
16618 cat conftest.err >&5
16619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16620 (exit $ac_status); } && {
16621 test -z "$ac_c_werror_flag" ||
16622 test ! -s conftest.err
16623 } && test -s conftest.$ac_objext; then
16624 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16626 echo "$as_me: failed program was
:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16629 bakefile_cv_c_compiler___INTEL_COMPILER=no
16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16637 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16638 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16639 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16645 ac_cpp='$CPP $CPPFLAGS'
16646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16653 if test "x
$GCC" != "xyes
"; then
16654 if test "xCC
" = "xC
"; then
16655 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16656 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16657 if test "${bakefile_cv_c_exto+set}" = set; then
16658 echo $ECHO_N "(cached
) $ECHO_C" >&6
16660 cat >conftest.$ac_ext <<_ACEOF
16663 cat confdefs.h >>conftest.$ac_ext
16664 cat >>conftest.$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16675 rm -f conftest.$ac_objext conftest.$ac_ext.o
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>&5
16679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16680 (exit $ac_status); }; then
16681 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16683 conftest.$ac_ext.o)
16684 bakefile_cv_c_exto="-ext o
"
16691 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16692 See \
`config.log' for more details." >&5
16693 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16694 See \`config.log
' for more details." >&2;}
16695 { (exit 1); exit 1; }; }
16699 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16702 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16703 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16704 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16705 if test "c" = "c"; then
16706 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16708 if test "c" = "cxx"; then
16709 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16713 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16714 unset ac_cv_prog_cc_g
16715 ac_test_CFLAGS=${CFLAGS+set}
16716 ac_save_CFLAGS=$CFLAGS
16717 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16718 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16719 if test "${ac_cv_prog_cc_g+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 ac_save_c_werror_flag=$ac_c_werror_flag
16723 ac_c_werror_flag=yes
16726 cat >conftest.$ac_ext <<_ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16750 grep -v '^
*+' conftest.er1 >conftest.err
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16760 echo "$as_me: failed program was:" >&5
16761 sed 's
/^
/| /' conftest.$ac_ext >&5
16764 cat >conftest.$ac_ext <<_ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16779 rm -f conftest.$ac_objext
16780 if { (ac_try="$ac_compile"
16781 case "(($ac_try" in
16782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16783 *) ac_try_echo=$ac_try;;
16785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16786 (eval "$ac_compile") 2>conftest.er1
16788 grep -v '^
*+' conftest.er1 >conftest.err
16790 cat conftest.err >&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); } && {
16793 test -z "$ac_c_werror_flag" ||
16794 test ! -s conftest.err
16795 } && test -s conftest.$ac_objext; then
16798 echo "$as_me: failed program was:" >&5
16799 sed 's
/^
/| /' conftest.$ac_ext >&5
16801 ac_c_werror_flag=$ac_save_c_werror_flag
16803 cat >conftest.$ac_ext <<_ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16827 grep -v '^
*+' conftest.er1 >conftest.err
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.$ac_objext; then
16835 ac_cv_prog_cc_g=yes
16837 echo "$as_me: failed program was:" >&5
16838 sed 's
/^
/| /' conftest.$ac_ext >&5
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16850 ac_c_werror_flag=$ac_save_c_werror_flag
16852 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16853 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16854 if test "$ac_test_CFLAGS" = set; then
16855 CFLAGS=$ac_save_CFLAGS
16856 elif test $ac_cv_prog_cc_g = yes; then
16857 if test "$GCC" = yes; then
16863 if test "$GCC" = yes; then
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16879 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16882 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16883 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16884 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 cat >conftest.$ac_ext <<_ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16906 rm -f conftest.$ac_objext
16907 if { (ac_try="$ac_compile"
16908 case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16913 (eval "$ac_compile") 2>conftest.er1
16915 grep -v '^
*+' conftest.er1 >conftest.err
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } && {
16920 test -z "$ac_c_werror_flag" ||
16921 test ! -s conftest.err
16922 } && test -s conftest.$ac_objext; then
16923 bakefile_cv_c_compiler___xlC__=yes
16925 echo "$as_me: failed program was:" >&5
16926 sed 's
/^
/| /' conftest.$ac_ext >&5
16928 bakefile_cv_c_compiler___xlC__=no
16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16937 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16938 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 ac_cpp='$CPP $CPPFLAGS'
16958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16959 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16962 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16963 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16986 rm -f conftest.$ac_objext
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16995 grep -v '^
*+' conftest.er1 >conftest.err
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_c_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_c_compiler___MWERKS__=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's
/^
/| /' conftest.$ac_ext >&5
17008 bakefile_cv_c_compiler___MWERKS__=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17017 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17018 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17026 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17034 ac_cpp='$CPP $CPPFLAGS'
17035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17036 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17039 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17040 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17041 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 cat >conftest.$ac_ext <<_ACEOF
17047 cat confdefs.h >>conftest.$ac_ext
17048 cat >>conftest.$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17063 rm -f conftest.$ac_objext
17064 if { (ac_try="$ac_compile"
17065 case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_compile") 2>conftest.er1
17072 grep -v '^
*+' conftest.er1 >conftest.err
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } && {
17077 test -z "$ac_c_werror_flag" ||
17078 test ! -s conftest.err
17079 } && test -s conftest.$ac_objext; then
17080 bakefile_cv_c_compiler___xlC__=yes
17082 echo "$as_me: failed program was:" >&5
17083 sed 's
/^
/| /' conftest.$ac_ext >&5
17085 bakefile_cv_c_compiler___xlC__=no
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17094 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17095 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17103 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17114 ac_cpp='$CPP $CPPFLAGS'
17115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17116 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17119 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17120 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17121 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17135 #ifndef _SGI_COMPILER_VERSION
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^
*+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's
/^
/| /' conftest.$ac_ext >&5
17165 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17174 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17175 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17183 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17196 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17199 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17200 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17201 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 cat >conftest.$ac_ext <<_ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17223 rm -f conftest.$ac_objext
17224 if { (ac_try="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17232 grep -v '^
*+' conftest.er1 >conftest.err
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 bakefile_cv_c_compiler___SUNPRO_C=yes
17242 echo "$as_me: failed program was:" >&5
17243 sed 's
/^
/| /' conftest.$ac_ext >&5
17245 bakefile_cv_c_compiler___SUNPRO_C=no
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17254 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17255 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17274 ac_cpp='$CPP $CPPFLAGS'
17275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17276 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17279 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17280 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17281 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 cat >conftest.$ac_ext <<_ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17303 rm -f conftest.$ac_objext
17304 if { (ac_try="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17312 grep -v '^
*+' conftest.er1 >conftest.err
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 bakefile_cv_c_compiler___HP_cc=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's
/^
/| /' conftest.$ac_ext >&5
17325 bakefile_cv_c_compiler___HP_cc=no
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17334 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17335 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354 ac_cpp='$CPP $CPPFLAGS'
17355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17356 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17359 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17360 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17361 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 cat >conftest.$ac_ext <<_ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17383 rm -f conftest.$ac_objext
17384 if { (ac_try="$ac_compile"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compile") 2>conftest.er1
17392 grep -v '^
*+' conftest.er1 >conftest.err
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && {
17397 test -z "$ac_c_werror_flag" ||
17398 test ! -s conftest.err
17399 } && test -s conftest.$ac_objext; then
17400 bakefile_cv_c_compiler___DECC=yes
17402 echo "$as_me: failed program was:" >&5
17403 sed 's
/^
/| /' conftest.$ac_ext >&5
17405 bakefile_cv_c_compiler___DECC=no
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17414 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17415 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17421 ac_cpp='$CPP $CPPFLAGS'
17422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17423 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434 ac_cpp='$CPP $CPPFLAGS'
17435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17439 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17440 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 cat >conftest.$ac_ext <<_ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467 *) ac_try_echo=$ac_try;;
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_compile") 2>conftest.er1
17472 grep -v '^
*+' conftest.er1 >conftest.err
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_c_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest.$ac_objext; then
17480 bakefile_cv_c_compiler___SUNPRO_C=yes
17482 echo "$as_me: failed program was:" >&5
17483 sed 's
/^
/| /' conftest.$ac_ext >&5
17485 bakefile_cv_c_compiler___SUNPRO_C=no
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17494 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17495 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17503 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17517 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17520 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17521 # On Suns, sometimes $CPP names a directory.
17522 if test -n "$CPP" && test -d "$CPP"; then
17525 if test -z "$CPP"; then
17526 if test "${ac_cv_prog_CPP+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17529 # Double quotes because CPP needs to be expanded
17530 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17532 ac_preproc_ok=false
17533 for ac_c_preproc_warn_flag in '' yes
17535 # Use a header file that comes with gcc, so configuring glibc
17536 # with a fresh cross-compiler works.
17537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17538 # <limits.h> exists even on freestanding compilers.
17539 # On the NeXT, cc -E runs the code through the compiler's parser
,
17540 # not just through cpp. "Syntax error" is here to catch this case.
17541 cat >conftest.
$ac_ext <<_ACEOF
17544 cat confdefs.h
>>conftest.
$ac_ext
17545 cat >>conftest.
$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17548 # include <limits.h>
17550 # include <assert.h>
17554 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17555 case "(($ac_try" in
17556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17562 grep -v '^ *+' conftest.er1 >conftest.err
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } >/dev/null && {
17567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17568 test ! -s conftest.err
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17575 # Broken: fails on valid input.
17579 rm -f conftest.err conftest.$ac_ext
17581 # OK, works on sane cases. Now check whether nonexistent headers
17582 # can be detected and how.
17583 cat >conftest.$ac_ext <<_ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 #include <ac_nonexistent.h>
17591 if { (ac_try="$ac_cpp conftest.$ac_ext"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17594 *) ac_try_echo
=$ac_try;;
17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17599 grep -v '^ *+' conftest.er1
>conftest.err
17601 cat conftest.err
>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } >/dev
/null
&& {
17604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17605 test ! -s conftest.err
17607 # Broken: success on invalid input.
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 # Passes both tests.
17618 rm -f conftest.err conftest.
$ac_ext
17621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17622 rm -f conftest.err conftest.
$ac_ext
17623 if $ac_preproc_ok; then
17628 ac_cv_prog_CPP
=$CPP
17631 CPP
=$ac_cv_prog_CPP
17633 ac_cv_prog_CPP
=$CPP
17635 { echo "$as_me:$LINENO: result: $CPP" >&5
17636 echo "${ECHO_T}$CPP" >&6; }
17637 ac_preproc_ok
=false
17638 for ac_c_preproc_warn_flag
in '' yes
17640 # Use a header file that comes with gcc, so configuring glibc
17641 # with a fresh cross-compiler works.
17642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17643 # <limits.h> exists even on freestanding compilers.
17644 # On the NeXT, cc -E runs the code through the compiler's parser,
17645 # not just through cpp. "Syntax error" is here to catch this case.
17646 cat >conftest.
$ac_ext <<_ACEOF
17649 cat confdefs.h
>>conftest.
$ac_ext
17650 cat >>conftest.
$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17653 # include <limits.h>
17655 # include <assert.h>
17659 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17660 case "(($ac_try" in
17661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17667 grep -v '^ *+' conftest.er1 >conftest.err
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } >/dev/null && {
17672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17673 test ! -s conftest.err
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17680 # Broken: fails on valid input.
17684 rm -f conftest.err conftest.$ac_ext
17686 # OK, works on sane cases. Now check whether nonexistent headers
17687 # can be detected and how.
17688 cat >conftest.$ac_ext <<_ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 #include <ac_nonexistent.h>
17696 if { (ac_try="$ac_cpp conftest.$ac_ext"
17697 case "(($ac_try" in
17698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17699 *) ac_try_echo
=$ac_try;;
17701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } >/dev
/null
&& {
17709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17710 test ! -s conftest.err
17712 # Broken: success on invalid input.
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 # Passes both tests.
17723 rm -f conftest.err conftest.
$ac_ext
17726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17727 rm -f conftest.err conftest.
$ac_ext
17728 if $ac_preproc_ok; then
17731 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17732 See \`config.log' for more details." >&5
17733 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17734 See \`config.log' for more details." >&2;}
17735 { (exit 1); exit 1; }; }
17739 ac_cpp
='$CPP $CPPFLAGS'
17740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17745 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17746 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17747 if test "${ac_cv_path_GREP+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 # Extract the first word of "grep ggrep" to use in msg output
17751 if test -z "$GREP"; then
17752 set dummy
grep ggrep
; ac_prog_name
=$2
17753 if test "${ac_cv_path_GREP+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 ac_path_GREP_found
=false
17757 # Loop through the user's path and test for each of PROGNAME-LIST
17758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17759 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17762 test -z "$as_dir" && as_dir
=.
17763 for ac_prog
in grep ggrep
; do
17764 for ac_exec_ext
in '' $ac_executable_extensions; do
17765 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17766 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17767 # Check for GNU ac_path_GREP and select it if it is found.
17768 # Check for GNU $ac_path_GREP
17769 case `"$ac_path_GREP" --version 2>&1` in
17771 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17774 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17777 cat "conftest.in" "conftest.in" >"conftest.tmp"
17778 mv "conftest.tmp" "conftest.in"
17779 cp "conftest.in" "conftest.nl"
17780 echo 'GREP' >> "conftest.nl"
17781 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17782 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17783 ac_count
=`expr $ac_count + 1`
17784 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17785 # Best one so far, save it but keep looking for a better one
17786 ac_cv_path_GREP
="$ac_path_GREP"
17787 ac_path_GREP_max
=$ac_count
17789 # 10*(2^10) chars as input seems more than enough
17790 test $ac_count -gt 10 && break
17792 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17796 $ac_path_GREP_found && break 3
17806 GREP
="$ac_cv_path_GREP"
17807 if test -z "$GREP"; then
17808 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17809 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17810 { (exit 1); exit 1; }; }
17814 ac_cv_path_GREP
=$GREP
17819 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17820 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17821 GREP
="$ac_cv_path_GREP"
17824 { echo "$as_me:$LINENO: checking for egrep" >&5
17825 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17826 if test "${ac_cv_path_EGREP+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17830 then ac_cv_path_EGREP
="$GREP -E"
17832 # Extract the first word of "egrep" to use in msg output
17833 if test -z "$EGREP"; then
17834 set dummy
egrep; ac_prog_name
=$2
17835 if test "${ac_cv_path_EGREP+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 ac_path_EGREP_found
=false
17839 # Loop through the user's path and test for each of PROGNAME-LIST
17840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17841 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17844 test -z "$as_dir" && as_dir
=.
17845 for ac_prog
in egrep; do
17846 for ac_exec_ext
in '' $ac_executable_extensions; do
17847 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17848 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17849 # Check for GNU ac_path_EGREP and select it if it is found.
17850 # Check for GNU $ac_path_EGREP
17851 case `"$ac_path_EGREP" --version 2>&1` in
17853 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17856 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17859 cat "conftest.in" "conftest.in" >"conftest.tmp"
17860 mv "conftest.tmp" "conftest.in"
17861 cp "conftest.in" "conftest.nl"
17862 echo 'EGREP' >> "conftest.nl"
17863 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17864 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17865 ac_count
=`expr $ac_count + 1`
17866 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17867 # Best one so far, save it but keep looking for a better one
17868 ac_cv_path_EGREP
="$ac_path_EGREP"
17869 ac_path_EGREP_max
=$ac_count
17871 # 10*(2^10) chars as input seems more than enough
17872 test $ac_count -gt 10 && break
17874 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17878 $ac_path_EGREP_found && break 3
17888 EGREP
="$ac_cv_path_EGREP"
17889 if test -z "$EGREP"; then
17890 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17891 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17892 { (exit 1); exit 1; }; }
17896 ac_cv_path_EGREP
=$EGREP
17902 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17903 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17904 EGREP
="$ac_cv_path_EGREP"
17907 if test $ac_cv_c_compiler_gnu = yes; then
17908 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17909 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17910 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17913 ac_pattern
="Autoconf.*'x'"
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17924 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17925 ac_cv_prog_gcc_traditional
=yes
17927 ac_cv_prog_gcc_traditional
=no
17932 if test $ac_cv_prog_gcc_traditional = no
; then
17933 cat >conftest.
$ac_ext <<_ACEOF
17936 cat confdefs.h
>>conftest.
$ac_ext
17937 cat >>conftest.
$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 #include <termio.h>
17942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17943 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17944 ac_cv_prog_gcc_traditional
=yes
17950 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17951 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17952 if test $ac_cv_prog_gcc_traditional = yes; then
17953 CC
="$CC -traditional"
17958 CXXFLAGS
=${CXXFLAGS:=}
17963 ac_cpp
='$CXXCPP $CPPFLAGS'
17964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17967 if test -z "$CXX"; then
17968 if test -n "$CCC"; then
17971 if test -n "$ac_tool_prefix"; then
17972 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17978 if test "${ac_cv_prog_CXX+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 if test -n "$CXX"; then
17982 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17985 for as_dir
in $PATH
17988 test -z "$as_dir" && as_dir
=.
17989 for ac_exec_ext
in '' $ac_executable_extensions; do
17990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17991 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18001 CXX
=$ac_cv_prog_CXX
18002 if test -n "$CXX"; then
18003 { echo "$as_me:$LINENO: result: $CXX" >&5
18004 echo "${ECHO_T}$CXX" >&6; }
18006 { echo "$as_me:$LINENO: result: no" >&5
18007 echo "${ECHO_T}no" >&6; }
18011 test -n "$CXX" && break
18014 if test -z "$CXX"; then
18016 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18018 # Extract the first word of "$ac_prog", so it can be a program name with args.
18019 set dummy
$ac_prog; ac_word
=$2
18020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18022 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 if test -n "$ac_ct_CXX"; then
18026 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18029 for as_dir
in $PATH
18032 test -z "$as_dir" && as_dir
=.
18033 for ac_exec_ext
in '' $ac_executable_extensions; do
18034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18035 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18045 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18046 if test -n "$ac_ct_CXX"; then
18047 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18048 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18050 { echo "$as_me:$LINENO: result: no" >&5
18051 echo "${ECHO_T}no" >&6; }
18055 test -n "$ac_ct_CXX" && break
18058 if test "x$ac_ct_CXX" = x
; then
18061 case $cross_compiling:$ac_tool_warned in
18063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18064 whose name does not start with the host triplet. If you think this
18065 configuration is useful to you, please write to autoconf@gnu.org." >&5
18066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18067 whose name does not start with the host triplet. If you think this
18068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18069 ac_tool_warned
=yes ;;
18077 # Provide some information about the compiler.
18078 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18079 ac_compiler
=`set X $ac_compile; echo $2`
18080 { (ac_try
="$ac_compiler --version >&5"
18081 case "(($ac_try" in
18082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compiler --version >&5") 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }
18090 { (ac_try="$ac_compiler -v >&5"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18093 *) ac_try_echo
=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compiler -v >&5") 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }
18100 { (ac_try
="$ac_compiler -V >&5"
18101 case "(($ac_try" in
18102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_compiler -V >&5") 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }
18111 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18112 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18113 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 cat >conftest.$ac_ext <<_ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18138 *) ac_try_echo
=$ac_try;;
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18143 grep -v '^ *+' conftest.er1
>conftest.err
18145 cat conftest.err
>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.
$ac_objext; then
18151 ac_compiler_gnu
=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18160 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18163 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18164 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18165 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18166 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18167 ac_save_CXXFLAGS
=$CXXFLAGS
18168 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18169 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18170 if test "${ac_cv_prog_cxx_g+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
18174 ac_cxx_werror_flag
=yes
18175 ac_cv_prog_cxx_g
=no
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18192 rm -f conftest.
$ac_objext
18193 if { (ac_try
="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18201 grep -v '^ *+' conftest.er1 >conftest.err
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_cxx_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_prog_cxx_g=yes
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18215 cat >conftest.$ac_ext <<_ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18230 rm -f conftest.$ac_objext
18231 if { (ac_try="$ac_compile"
18232 case "(($ac_try" in
18233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18234 *) ac_try_echo
=$ac_try;;
18236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18237 (eval "$ac_compile") 2>conftest.er1
18239 grep -v '^ *+' conftest.er1
>conftest.err
18241 cat conftest.err
>&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } && {
18244 test -z "$ac_cxx_werror_flag" ||
18245 test ! -s conftest.err
18246 } && test -s conftest.
$ac_objext; then
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.
$ac_ext >&5
18252 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
18254 cat >conftest.
$ac_ext <<_ACEOF
18257 cat confdefs.h
>>conftest.
$ac_ext
18258 cat >>conftest.
$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18269 rm -f conftest.
$ac_objext
18270 if { (ac_try
="$ac_compile"
18271 case "(($ac_try" in
18272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_compile") 2>conftest.er1
18278 grep -v '^ *+' conftest.er1 >conftest.err
18280 cat conftest.err >&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } && {
18283 test -z "$ac_cxx_werror_flag" ||
18284 test ! -s conftest.err
18285 } && test -s conftest.$ac_objext; then
18286 ac_cv_prog_cxx_g=yes
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.$ac_ext >&5
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18303 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18304 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18305 if test "$ac_test_CXXFLAGS" = set; then
18306 CXXFLAGS=$ac_save_CXXFLAGS
18307 elif test $ac_cv_prog_cxx_g = yes; then
18308 if test "$GXX" = yes; then
18314 if test "$GXX" = yes; then
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18330 ac_cpp='$CXXCPP $CPPFLAGS'
18331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18335 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18336 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18337 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18340 cat >conftest.$ac_ext <<_ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18351 #ifndef __INTEL_COMPILER
18359 rm -f conftest.$ac_objext
18360 if { (ac_try="$ac_compile"
18361 case "(($ac_try" in
18362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18363 *) ac_try_echo
=$ac_try;;
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_compile") 2>conftest.er1
18368 grep -v '^ *+' conftest.er1
>conftest.err
18370 cat conftest.err
>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && {
18373 test -z "$ac_cxx_werror_flag" ||
18374 test ! -s conftest.err
18375 } && test -s conftest.
$ac_objext; then
18376 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.
$ac_ext >&5
18381 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18389 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18390 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18391 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18397 ac_cpp
='$CPP $CPPFLAGS'
18398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18405 if test "x$GCXX" != "xyes"; then
18406 if test "xCXX" = "xC"; then
18407 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18408 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18409 if test "${bakefile_cv_c_exto+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18412 cat >conftest.
$ac_ext <<_ACEOF
18415 cat confdefs.h
>>conftest.
$ac_ext
18416 cat >>conftest.
$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18427 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; then
18433 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18435 conftest.
$ac_ext.o
)
18436 bakefile_cv_c_exto
="-ext o"
18443 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18444 See \`config.log' for more details." >&5
18445 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18446 See \`config.log' for more details." >&2;}
18447 { (exit 1); exit 1; }; }
18451 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18454 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18455 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18456 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18457 if test "c" = "c"; then
18458 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18460 if test "c" = "cxx"; then
18461 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18465 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18466 unset ac_cv_prog_cc_g
18467 ac_test_CFLAGS
=${CFLAGS+set}
18468 ac_save_CFLAGS
=$CFLAGS
18469 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18470 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18471 if test "${ac_cv_prog_cc_g+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 ac_save_c_werror_flag
=$ac_c_werror_flag
18475 ac_c_werror_flag
=yes
18478 cat >conftest.
$ac_ext <<_ACEOF
18481 cat confdefs.h
>>conftest.
$ac_ext
18482 cat >>conftest.
$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18493 rm -f conftest.
$ac_objext
18494 if { (ac_try
="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18502 grep -v '^ *+' conftest.er1 >conftest.err
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 ac_cv_prog_cc_g=yes
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18531 rm -f conftest.$ac_objext
18532 if { (ac_try="$ac_compile"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18535 *) ac_try_echo
=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_compile") 2>conftest.er1
18540 grep -v '^ *+' conftest.er1
>conftest.err
18542 cat conftest.err
>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest.
$ac_objext; then
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.
$ac_ext >&5
18553 ac_c_werror_flag
=$ac_save_c_werror_flag
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18570 rm -f conftest.
$ac_objext
18571 if { (ac_try
="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18579 grep -v '^ *+' conftest.er1 >conftest.err
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_prog_cc_g=yes
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 ac_c_werror_flag=$ac_save_c_werror_flag
18604 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18605 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18606 if test "$ac_test_CFLAGS" = set; then
18607 CFLAGS=$ac_save_CFLAGS
18608 elif test $ac_cv_prog_cc_g = yes; then
18609 if test "$GCC" = yes; then
18615 if test "$GCC" = yes; then
18629 ac_cpp='$CXXCPP $CPPFLAGS'
18630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18635 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18636 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 cat >conftest.$ac_ext <<_ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18658 rm -f conftest.$ac_objext
18659 if { (ac_try="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18662 *) ac_try_echo
=$ac_try;;
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18667 grep -v '^ *+' conftest.er1
>conftest.err
18669 cat conftest.err
>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_cxx_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.
$ac_objext; then
18675 bakefile_cv_cxx_compiler___xlC__
=yes
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.
$ac_ext >&5
18680 bakefile_cv_cxx_compiler___xlC__
=no
18684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18688 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18689 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18690 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18696 ac_cpp
='$CPP $CPPFLAGS'
18697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18709 ac_cpp
='$CXXCPP $CPPFLAGS'
18710 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18714 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18715 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18716 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18738 rm -f conftest.
$ac_objext
18739 if { (ac_try
="$ac_compile"
18740 case "(($ac_try" in
18741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_compile") 2>conftest.er1
18747 grep -v '^ *+' conftest.er1 >conftest.err
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } && {
18752 test -z "$ac_cxx_werror_flag" ||
18753 test ! -s conftest.err
18754 } && test -s conftest.$ac_objext; then
18755 bakefile_cv_cxx_compiler___MWERKS__=yes
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.$ac_ext >&5
18760 bakefile_cv_cxx_compiler___MWERKS__=no
18764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18768 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18769 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18770 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18776 ac_cpp='$CPP $CPPFLAGS'
18777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18786 ac_cpp='$CXXCPP $CPPFLAGS'
18787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18791 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18792 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18793 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 cat >conftest.$ac_ext <<_ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18819 *) ac_try_echo
=$ac_try;;
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_cxx_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.
$ac_objext; then
18832 bakefile_cv_cxx_compiler___xlC__
=yes
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.
$ac_ext >&5
18837 bakefile_cv_cxx_compiler___xlC__
=no
18841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18847 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18853 ac_cpp
='$CPP $CPPFLAGS'
18854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18866 ac_cpp
='$CXXCPP $CPPFLAGS'
18867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18871 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18872 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18873 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 cat >conftest.
$ac_ext <<_ACEOF
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18887 #ifndef _SGI_COMPILER_VERSION
18895 rm -f conftest.
$ac_objext
18896 if { (ac_try
="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18902 (eval "$ac_compile") 2>conftest.er1
18904 grep -v '^ *+' conftest.er1 >conftest.err
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && {
18909 test -z "$ac_cxx_werror_flag" ||
18910 test ! -s conftest.err
18911 } && test -s conftest.$ac_objext; then
18912 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18926 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18927 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18933 ac_cpp='$CPP $CPPFLAGS'
18934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18946 ac_cpp='$CXXCPP $CPPFLAGS'
18947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18951 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18952 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18953 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 cat >conftest.$ac_ext <<_ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18967 #ifndef __SUNPRO_CC
18975 rm -f conftest.$ac_objext
18976 if { (ac_try="$ac_compile"
18977 case "(($ac_try" in
18978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18979 *) ac_try_echo
=$ac_try;;
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_compile") 2>conftest.er1
18984 grep -v '^ *+' conftest.er1
>conftest.err
18986 cat conftest.err
>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && {
18989 test -z "$ac_cxx_werror_flag" ||
18990 test ! -s conftest.err
18991 } && test -s conftest.
$ac_objext; then
18992 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.
$ac_ext >&5
18997 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19005 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19006 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19007 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19013 ac_cpp
='$CPP $CPPFLAGS'
19014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19026 ac_cpp
='$CXXCPP $CPPFLAGS'
19027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19031 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19032 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19033 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 cat >conftest.
$ac_ext <<_ACEOF
19039 cat confdefs.h
>>conftest.
$ac_ext
19040 cat >>conftest.
$ac_ext <<_ACEOF
19041 /* end confdefs.h. */
19055 rm -f conftest.
$ac_objext
19056 if { (ac_try
="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1 >conftest.err
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_cxx_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 bakefile_cv_cxx_compiler___HP_aCC=yes
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19077 bakefile_cv_cxx_compiler___HP_aCC=no
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19086 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19087 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19093 ac_cpp='$CPP $CPPFLAGS'
19094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19111 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19112 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19113 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19139 *) ac_try_echo
=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_cxx_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.
$ac_objext; then
19152 bakefile_cv_cxx_compiler___DECCXX
=yes
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19157 bakefile_cv_cxx_compiler___DECCXX
=no
19161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19165 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19166 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19167 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19173 ac_cpp
='$CPP $CPPFLAGS'
19174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19186 ac_cpp
='$CXXCPP $CPPFLAGS'
19187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19191 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19192 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19193 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 cat >conftest.
$ac_ext <<_ACEOF
19199 cat confdefs.h
>>conftest.
$ac_ext
19200 cat >>conftest.
$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19207 #ifndef __SUNPRO_CC
19215 rm -f conftest.
$ac_objext
19216 if { (ac_try
="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19224 grep -v '^ *+' conftest.er1 >conftest.err
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_cxx_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.$ac_objext; then
19232 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19246 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19247 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19253 ac_cpp='$CPP $CPPFLAGS'
19254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19267 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19268 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19269 { (exit 1); exit 1; }; }
19272 if test -n "$ac_tool_prefix"; then
19273 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19274 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19277 if test "${ac_cv_prog_RANLIB+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 if test -n "$RANLIB"; then
19281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19284 for as_dir in $PATH
19287 test -z "$as_dir" && as_dir=.
19288 for ac_exec_ext in '' $ac_executable_extensions; do
19289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19290 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19300 RANLIB=$ac_cv_prog_RANLIB
19301 if test -n "$RANLIB"; then
19302 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19303 echo "${ECHO_T}$RANLIB" >&6; }
19305 { echo "$as_me:$LINENO: result: no" >&5
19306 echo "${ECHO_T}no" >&6; }
19311 if test -z "$ac_cv_prog_RANLIB"; then
19312 ac_ct_RANLIB=$RANLIB
19313 # Extract the first word of "ranlib", so it can be a program name with args.
19314 set dummy ranlib; ac_word=$2
19315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19317 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19320 if test -n "$ac_ct_RANLIB"; then
19321 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19324 for as_dir in $PATH
19327 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
19329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19330 ac_cv_prog_ac_ct_RANLIB="ranlib"
19331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19341 if test -n "$ac_ct_RANLIB"; then
19342 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19343 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19345 { echo "$as_me:$LINENO: result: no" >&5
19346 echo "${ECHO_T}no" >&6; }
19349 if test "x$ac_ct_RANLIB" = x; then
19352 case $cross_compiling:$ac_tool_warned in
19354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19355 whose name does not start with the host triplet. If you think this
19356 configuration is useful to you, please write to autoconf@gnu.org." >&5
19357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19358 whose name does not start with the host triplet. If you think this
19359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19360 ac_tool_warned=yes ;;
19362 RANLIB=$ac_ct_RANLIB
19365 RANLIB="$ac_cv_prog_RANLIB"
19369 if test "x$SUNCXX" != xyes; then
19370 if test -n "$ac_tool_prefix"; then
19371 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19372 set dummy ${ac_tool_prefix}ar; ac_word=$2
19373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19375 if test "${ac_cv_prog_AR+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 if test -n "$AR"; then
19379 ac_cv_prog_AR="$AR" # Let the user override the test.
19381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19382 for as_dir in $PATH
19385 test -z "$as_dir" && as_dir=.
19386 for ac_exec_ext in '' $ac_executable_extensions; do
19387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19388 ac_cv_prog_AR="${ac_tool_prefix}ar"
19389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19399 if test -n "$AR"; then
19400 { echo "$as_me:$LINENO: result: $AR" >&5
19401 echo "${ECHO_T}$AR" >&6; }
19403 { echo "$as_me:$LINENO: result: no" >&5
19404 echo "${ECHO_T}no" >&6; }
19409 if test -z "$ac_cv_prog_AR"; then
19411 # Extract the first word of "ar", so it can be a program name with args.
19412 set dummy ar; ac_word=$2
19413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19415 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 if test -n "$ac_ct_AR"; then
19419 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19422 for as_dir in $PATH
19425 test -z "$as_dir" && as_dir=.
19426 for ac_exec_ext in '' $ac_executable_extensions; do
19427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19428 ac_cv_prog_ac_ct_AR="ar"
19429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19438 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19439 if test -n "$ac_ct_AR"; then
19440 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19441 echo "${ECHO_T}$ac_ct_AR" >&6; }
19443 { echo "$as_me:$LINENO: result: no" >&5
19444 echo "${ECHO_T}no" >&6; }
19447 if test "x$ac_ct_AR" = x; then
19450 case $cross_compiling:$ac_tool_warned in
19452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19453 whose name does not start with the host triplet. If you think this
19454 configuration is useful to you, please write to autoconf@gnu.org." >&5
19455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19456 whose name does not start with the host triplet. If you think this
19457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19458 ac_tool_warned=yes ;;
19463 AR="$ac_cv_prog_AR"
19466 if test "x$AR" = "x" ; then
19467 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19468 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19469 { (exit 1); exit 1; }; }
19473 # Find a good install program. We prefer a C program (faster),
19474 # so one script is as good as another. But avoid the broken or
19475 # incompatible versions:
19476 # SysV /etc/install, /usr/sbin/install
19477 # SunOS /usr/etc/install
19478 # IRIX /sbin/install
19480 # AmigaOS /C/install, which installs bootblocks on floppy discs
19481 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19482 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19483 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19484 # OS/2's system install, which has a completely different semantic
19485 # ./install, which can be erroneously created by make from ./install.sh.
19486 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19487 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19488 if test -z "$INSTALL"; then
19489 if test "${ac_cv_path_install+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19493 for as_dir in $PATH
19496 test -z "$as_dir" && as_dir=.
19497 # Account for people who put trailing slashes in PATH elements.
19499 ./ | .// | /cC/* | \
19500 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19501 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19504 # OSF1 and SCO ODT 3.0 have their own names for install.
19505 # Don't use installbsd from OSF since it installs stuff as root
19507 for ac_prog in ginstall scoinst install; do
19508 for ac_exec_ext in '' $ac_executable_extensions; do
19509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19510 if test $ac_prog = install &&
19511 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19512 # AIX install. It has an incompatible calling convention.
19514 elif test $ac_prog = install &&
19515 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19516 # program-specific install script used by HP pwplus--don't use.
19519 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19532 if test "${ac_cv_path_install+set}" = set; then
19533 INSTALL=$ac_cv_path_install
19535 # As a last resort, use the slow shell script. Don't cache a
19536 # value for INSTALL within a source directory, because that will
19537 # break other packages using the cache if that directory is
19538 # removed, or if the value is a relative name.
19539 INSTALL=$ac_install_sh
19542 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19543 echo "${ECHO_T}$INSTALL" >&6; }
19545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19546 # It thinks the first close brace ends the variable substitution.
19547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19557 ?:* ) # Drive letter, considered as absolute.
19560 INSTALL=`pwd`/${INSTALL} ;;
19567 INSTALL_PROGRAM="cp -fp"
19568 INSTALL_DATA="cp -fp"
19574 if test -n "$ac_tool_prefix"; then
19575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19576 set dummy ${ac_tool_prefix}strip; ac_word=$2
19577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19579 if test "${ac_cv_prog_STRIP+set}" = set; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 if test -n "$STRIP"; then
19583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19586 for as_dir in $PATH
19589 test -z "$as_dir" && as_dir=.
19590 for ac_exec_ext in '' $ac_executable_extensions; do
19591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19602 STRIP=$ac_cv_prog_STRIP
19603 if test -n "$STRIP"; then
19604 { echo "$as_me:$LINENO: result: $STRIP" >&5
19605 echo "${ECHO_T}$STRIP" >&6; }
19607 { echo "$as_me:$LINENO: result: no" >&5
19608 echo "${ECHO_T}no" >&6; }
19613 if test -z "$ac_cv_prog_STRIP"; then
19615 # Extract the first word of "strip", so it can be a program name with args.
19616 set dummy strip; ac_word=$2
19617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 if test -n "$ac_ct_STRIP"; then
19623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19626 for as_dir in $PATH
19629 test -z "$as_dir" && as_dir=.
19630 for ac_exec_ext in '' $ac_executable_extensions; do
19631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19632 ac_cv_prog_ac_ct_STRIP="strip"
19633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19643 if test -n "$ac_ct_STRIP"; then
19644 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19645 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19647 { echo "$as_me:$LINENO: result: no" >&5
19648 echo "${ECHO_T}no" >&6; }
19651 if test "x$ac_ct_STRIP" = x; then
19654 case $cross_compiling:$ac_tool_warned in
19656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19657 whose name does not start with the host triplet. If you think this
19658 configuration is useful to you, please write to autoconf@gnu.org." >&5
19659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19660 whose name does not start with the host triplet. If you think this
19661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19662 ac_tool_warned=yes ;;
19667 STRIP="$ac_cv_prog_STRIP"
19671 if test "$wxUSE_WINE" = "yes"; then
19672 if test -n "$ac_tool_prefix"; then
19673 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19674 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19677 if test "${ac_cv_prog_WINDRES+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19680 if test -n "$WINDRES"; then
19681 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19684 for as_dir in $PATH
19687 test -z "$as_dir" && as_dir=.
19688 for ac_exec_ext in '' $ac_executable_extensions; do
19689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19690 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19700 WINDRES=$ac_cv_prog_WINDRES
19701 if test -n "$WINDRES"; then
19702 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19703 echo "${ECHO_T}$WINDRES" >&6; }
19705 { echo "$as_me:$LINENO: result: no" >&5
19706 echo "${ECHO_T}no" >&6; }
19711 if test -z "$ac_cv_prog_WINDRES"; then
19712 ac_ct_WINDRES=$WINDRES
19713 # Extract the first word of "wrc", so it can be a program name with args.
19714 set dummy wrc; ac_word=$2
19715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19717 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 if test -n "$ac_ct_WINDRES"; then
19721 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19724 for as_dir in $PATH
19727 test -z "$as_dir" && as_dir=.
19728 for ac_exec_ext in '' $ac_executable_extensions; do
19729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19730 ac_cv_prog_ac_ct_WINDRES="wrc"
19731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19740 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19741 if test -n "$ac_ct_WINDRES"; then
19742 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19743 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19745 { echo "$as_me:$LINENO: result: no" >&5
19746 echo "${ECHO_T}no" >&6; }
19749 if test "x$ac_ct_WINDRES" = x; then
19752 case $cross_compiling:$ac_tool_warned in
19754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19755 whose name does not start with the host triplet. If you think this
19756 configuration is useful to you, please write to autoconf@gnu.org." >&5
19757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19758 whose name does not start with the host triplet. If you think this
19759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19760 ac_tool_warned=yes ;;
19762 WINDRES=$ac_ct_WINDRES
19765 WINDRES="$ac_cv_prog_WINDRES"
19771 *-*-cygwin* | *-*-mingw32* )
19772 if test -n "$ac_tool_prefix"; then
19773 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19774 set dummy ${ac_tool_prefix}windres; ac_word=$2
19775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19777 if test "${ac_cv_prog_WINDRES+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 if test -n "$WINDRES"; then
19781 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19784 for as_dir in $PATH
19787 test -z "$as_dir" && as_dir=.
19788 for ac_exec_ext in '' $ac_executable_extensions; do
19789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19790 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19800 WINDRES=$ac_cv_prog_WINDRES
19801 if test -n "$WINDRES"; then
19802 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19803 echo "${ECHO_T}$WINDRES" >&6; }
19805 { echo "$as_me:$LINENO: result: no" >&5
19806 echo "${ECHO_T}no" >&6; }
19811 if test -z "$ac_cv_prog_WINDRES"; then
19812 ac_ct_WINDRES=$WINDRES
19813 # Extract the first word of "windres", so it can be a program name with args.
19814 set dummy windres; ac_word=$2
19815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19817 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 if test -n "$ac_ct_WINDRES"; then
19821 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19824 for as_dir in $PATH
19827 test -z "$as_dir" && as_dir=.
19828 for ac_exec_ext in '' $ac_executable_extensions; do
19829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19830 ac_cv_prog_ac_ct_WINDRES="windres"
19831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19840 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19841 if test -n "$ac_ct_WINDRES"; then
19842 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19843 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19845 { echo "$as_me:$LINENO: result: no" >&5
19846 echo "${ECHO_T}no" >&6; }
19849 if test "x$ac_ct_WINDRES" = x; then
19852 case $cross_compiling:$ac_tool_warned in
19854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19855 whose name does not start with the host triplet. If you think this
19856 configuration is useful to you, please write to autoconf@gnu.org." >&5
19857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19858 whose name does not start with the host triplet. If you think this
19859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19860 ac_tool_warned=yes ;;
19862 WINDRES=$ac_ct_WINDRES
19865 WINDRES="$ac_cv_prog_WINDRES"
19869 if test -n "$ac_tool_prefix"; then
19870 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19871 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19874 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 if test -n "$DLLTOOL"; then
19878 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881 for as_dir in $PATH
19884 test -z "$as_dir" && as_dir=.
19885 for ac_exec_ext in '' $ac_executable_extensions; do
19886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19887 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19897 DLLTOOL=$ac_cv_prog_DLLTOOL
19898 if test -n "$DLLTOOL"; then
19899 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19900 echo "${ECHO_T}$DLLTOOL" >&6; }
19902 { echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6; }
19908 if test -z "$ac_cv_prog_DLLTOOL"; then
19909 ac_ct_DLLTOOL=$DLLTOOL
19910 # Extract the first word of "dlltool", so it can be a program name with args.
19911 set dummy dlltool; ac_word=$2
19912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19914 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 if test -n "$ac_ct_DLLTOOL"; then
19918 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19921 for as_dir in $PATH
19924 test -z "$as_dir" && as_dir=.
19925 for ac_exec_ext in '' $ac_executable_extensions; do
19926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19927 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19937 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19938 if test -n "$ac_ct_DLLTOOL"; then
19939 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19940 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19942 { echo "$as_me:$LINENO: result: no" >&5
19943 echo "${ECHO_T}no" >&6; }
19946 if test "x$ac_ct_DLLTOOL" = x; then
19949 case $cross_compiling:$ac_tool_warned in
19951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19952 whose name does not start with the host triplet. If you think this
19953 configuration is useful to you, please write to autoconf@gnu.org." >&5
19954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19955 whose name does not start with the host triplet. If you think this
19956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19957 ac_tool_warned=yes ;;
19959 DLLTOOL=$ac_ct_DLLTOOL
19962 DLLTOOL="$ac_cv_prog_DLLTOOL"
19969 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19970 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19971 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19976 $EGREP -s GNU > /dev/null); then
19977 wx_cv_prog_makeisgnu="yes"
19979 wx_cv_prog_makeisgnu="no"
19983 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19984 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19986 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19994 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19995 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19996 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19997 if test "${wx_cv_prog_makevpath+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 cat - << EOF > confMake
20007 if test ! -d sub ; then
20010 echo dummy > sub/file
20011 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20013 rm -f sub/file check final_file confMake
20015 if test "$RESULT" = 0; then
20016 wx_cv_prog_makevpath="yes"
20018 wx_cv_prog_makevpath="no"
20022 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20023 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20025 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20026 { { echo "$as_me:$LINENO: error:
20027 You need a make-utility that is able to use the variable
20029 If your version of make does not support VPATH correctly,
20030 please install GNU-make (possibly as gmake), and start
20031 configure with the following command:
20032 export MAKE=gmake; ./configure for sh-type shells
20033 setenv MAKE gmake; ./configure for csh-type shells
20034 Also please do remember to use gmake in this case every time
20035 you are trying to compile.
20037 echo "$as_me: error:
20038 You need a make-utility that is able to use the variable
20040 If your version of make does not support VPATH correctly,
20041 please install GNU-make (possibly as gmake), and start
20042 configure with the following command:
20043 export MAKE=gmake; ./configure for sh-type shells
20044 setenv MAKE gmake; ./configure for csh-type shells
20045 Also please do remember to use gmake in this case every time
20046 you are trying to compile.
20048 { (exit 1); exit 1; }; }
20050 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20051 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20053 if test "$LN_S" = "ln -s"; then
20054 { echo "$as_me:$LINENO: result: yes" >&5
20055 echo "${ECHO_T}yes" >&6; }
20057 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20058 echo "${ECHO_T}no, using $LN_S" >&6; }
20064 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20065 CXXFLAGS="-qunique $CXXFLAGS"
20069 powerpc-*-darwin* )
20070 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20071 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20072 cat >conftest.$ac_ext <<_ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20082 #ifndef __POWERPC__
20083 choke me for lack of PowerPC
20090 rm -f conftest.$ac_objext
20091 if { (ac_try="$ac_compile"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20094 *) ac_try_echo
=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_compile") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1
>conftest.err
20101 cat conftest.err
>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest.
$ac_objext; then
20107 { echo "$as_me:$LINENO: result: yes" >&5
20108 echo "${ECHO_T}yes" >&6; }
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.
$ac_ext >&5
20113 { echo "$as_me:$LINENO: result: no" >&5
20114 echo "${ECHO_T}no" >&6; }
20115 cat >>confdefs.h
<<\_ACEOF
20116 #define __POWERPC__ 1
20122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20128 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20129 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20130 cat >conftest.
$ac_ext <<_ACEOF
20133 cat confdefs.h
>>conftest.
$ac_ext
20134 cat >>conftest.
$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #include <CoreFoundation/CFBase.h>
20146 rm -f conftest.
$ac_objext
20147 if { (ac_try
="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20155 grep -v '^ *+' conftest.er1 >conftest.err
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.$ac_objext; then
20163 { echo "$as_me:$LINENO: result: yes" >&5
20164 echo "${ECHO_T}yes" >&6; }
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20169 { echo "$as_me:$LINENO: result: no" >&5
20170 echo "${ECHO_T}no" >&6; }
20171 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20172 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 #define __CF_USE_FRAMEWORK_INCLUDES__
20180 #include <CoreFoundation/CFBase.h>
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20194 *) ac_try_echo
=$ac_try;;
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.
$ac_objext; then
20207 { echo "$as_me:$LINENO: result: yes" >&5
20208 echo "${ECHO_T}yes" >&6; }
20209 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.
$ac_ext >&5
20214 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20215 See \`config.log' for more details." >&5
20216 echo "$as_me: error: no. CoreFoundation not available.
20217 See \`config.log' for more details." >&2;}
20218 { (exit 1); exit 1; }; }
20222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20232 doesnt_want_win32
=0
20235 if test "$wxUSE_MSW" = 1 ; then
20238 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20239 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20240 if test "${wx_cv_nocygwin+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 cat >conftest.
$ac_ext <<_ACEOF
20247 cat confdefs.h
>>conftest.
$ac_ext
20248 cat >>conftest.
$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20263 rm -f conftest.
$ac_objext
20264 if { (ac_try
="$ac_compile"
20265 case "(($ac_try" in
20266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20267 *) ac_try_echo=$ac_try;;
20269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20270 (eval "$ac_compile") 2>conftest.er1
20272 grep -v '^ *+' conftest.er1 >conftest.err
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } && {
20277 test -z "$ac_c_werror_flag" ||
20278 test ! -s conftest.err
20279 } && test -s conftest.$ac_objext; then
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20294 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20296 if test "$wx_cv_nocygwin" = "yes"; then
20299 doesnt_want_win32=1
20302 if test "$wants_win32" = 1 ; then
20303 BAKEFILE_FORCE_PLATFORM=win32
20311 if test "$wxUSE_WINE" = "yes"; then
20313 LDFLAGS_GUI="-mwindows"
20316 if test "$wants_win32" = 1 ; then
20319 cat >>confdefs.h <<\_ACEOF
20320 #define __WIN32__ 1
20323 cat >>confdefs.h <<\_ACEOF
20324 #define __WIN95__ 1
20327 cat >>confdefs.h <<\_ACEOF
20328 #define __WINDOWS__ 1
20331 cat >>confdefs.h <<\_ACEOF
20332 #define __GNUWIN32__ 1
20335 cat >>confdefs.h <<\_ACEOF
20340 if test "$doesnt_want_win32" = 1 ; then
20345 if test "$USE_UNIX" = 1 ; then
20347 cat >>confdefs.h <<\_ACEOF
20354 *-pc-os2_emx | *-pc-os2-emx )
20355 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20356 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20357 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20358 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 ac_check_lib_save_LIBS=$LIBS
20362 LIBS="-lcExt $LIBS"
20363 cat >conftest.$ac_ext <<_ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20370 /* Override any GCC internal prototype to avoid an error.
20371 Use char because int might match the return type of a GCC
20372 builtin and then its argument prototype would still apply. */
20385 rm -f conftest.$ac_objext conftest$ac_exeext
20386 if { (ac_try="$ac_link"
20387 case "(($ac_try" in
20388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20389 *) ac_try_echo
=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_link") 2>conftest.er1
20394 grep -v '^ *+' conftest.er1
>conftest.err
20396 cat conftest.err
>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && {
20399 test -z "$ac_c_werror_flag" ||
20400 test ! -s conftest.err
20401 } && test -s conftest
$ac_exeext &&
20402 $as_test_x conftest
$ac_exeext; then
20403 ac_cv_lib_cExt_drand48
=yes
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20408 ac_cv_lib_cExt_drand48
=no
20411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20412 conftest
$ac_exeext conftest.
$ac_ext
20413 LIBS
=$ac_check_lib_save_LIBS
20415 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20416 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20417 if test $ac_cv_lib_cExt_drand48 = yes; then
20418 LIBS
="$LIBS -lcExt"
20422 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20424 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20425 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20426 if test "${wx_cv_gccversion+set}" = set; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 if test "$cross_compiling" = yes; then
20431 wx_cv_gccversion
="EMX2"
20434 cat >conftest.
$ac_ext <<_ACEOF
20437 cat confdefs.h
>>conftest.
$ac_ext
20438 cat >>conftest.
$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20445 FILE *f=fopen("conftestval", "w");
20450 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20452 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20462 rm -f conftest
$ac_exeext
20463 if { (ac_try
="$ac_link"
20464 case "(($ac_try" in
20465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_link") 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20473 { (case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20475 *) ac_try_echo
=$ac_try;;
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 wx_cv_gccversion
=`cat conftestval`
20484 echo "$as_me: program exited with status $ac_status" >&5
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.
$ac_ext >&5
20488 ( exit $ac_status )
20489 wx_cv_gccversion
="EMX2"
20491 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20497 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20498 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20499 if test "$wx_cv_gccversion" = "EMX2"; then
20500 LIBS
="$LIBS -lstdcpp"
20501 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20503 if test "$wx_cv_gccversion" = "EMX3"; then
20504 LIBS
="$LIBS -lstdcxx -lgcc"
20505 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20507 LIBS
="$LIBS -lstdc++"
20510 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20511 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20512 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20519 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20520 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20521 if test "${ac_cv_string_strcasecmp+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20525 cat >conftest.
$ac_ext <<_ACEOF
20528 cat confdefs.h
>>conftest.
$ac_ext
20529 cat >>conftest.
$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20532 #include <string.h>
20538 strcasecmp("foo", "bar");
20544 rm -f conftest.
$ac_objext conftest
$ac_exeext
20545 if { (ac_try
="$ac_link"
20546 case "(($ac_try" in
20547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_link") 2>conftest.er1
20553 grep -v '^ *+' conftest.er1 >conftest.err
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest$ac_exeext &&
20561 $as_test_x conftest$ac_exeext; then
20562 ac_cv_string_strcasecmp=yes
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20567 ac_cv_string_strcasecmp=no
20571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20572 conftest$ac_exeext conftest.$ac_ext
20575 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20576 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20578 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20579 cat >>confdefs.h <<\_ACEOF
20580 #define HAVE_STRCASECMP_IN_STRING_H 1
20584 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20585 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20586 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 cat >conftest.$ac_ext <<_ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20597 #include <strings.h>
20603 strcasecmp("foo", "bar");
20609 rm -f conftest.$ac_objext conftest$ac_exeext
20610 if { (ac_try="$ac_link"
20611 case "(($ac_try" in
20612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20613 *) ac_try_echo
=$ac_try;;
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_link") 2>conftest.er1
20618 grep -v '^ *+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } && {
20623 test -z "$ac_c_werror_flag" ||
20624 test ! -s conftest.err
20625 } && test -s conftest
$ac_exeext &&
20626 $as_test_x conftest
$ac_exeext; then
20627 ac_cv_strings_strcasecmp
=yes
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20632 ac_cv_strings_strcasecmp
=no
20636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20637 conftest
$ac_exeext conftest.
$ac_ext
20640 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20641 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20643 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20644 cat >>confdefs.h
<<\_ACEOF
20645 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20649 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20650 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20651 { (exit 1); exit 1; }; }
20659 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20660 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20661 if test "${ac_cv_header_stdc+set}" = set; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 cat >conftest.
$ac_ext <<_ACEOF
20667 cat confdefs.h
>>conftest.
$ac_ext
20668 cat >>conftest.
$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <stdlib.h>
20671 #include <stdarg.h>
20672 #include <string.h>
20683 rm -f conftest.
$ac_objext
20684 if { (ac_try
="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20692 grep -v '^ *+' conftest.er1 >conftest.err
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20700 ac_cv_header_stdc=yes
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20705 ac_cv_header_stdc=no
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 if test $ac_cv_header_stdc = yes; then
20711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20712 cat >conftest.$ac_ext <<_ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 #include <string.h>
20721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20722 $EGREP "memchr" >/dev/null 2>&1; then
20725 ac_cv_header_stdc=no
20731 if test $ac_cv_header_stdc = yes; then
20732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20733 cat >conftest.$ac_ext <<_ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #include <stdlib.h>
20742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20743 $EGREP "free" >/dev/null 2>&1; then
20746 ac_cv_header_stdc=no
20752 if test $ac_cv_header_stdc = yes; then
20753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20754 if test "$cross_compiling" = yes; then
20757 cat >conftest.$ac_ext <<_ACEOF
20760 cat confdefs.h >>conftest.$ac_ext
20761 cat >>conftest.$ac_ext <<_ACEOF
20762 /* end confdefs.h. */
20764 #include <stdlib.h>
20765 #if ((' ' & 0x0FF) == 0x020)
20766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20769 # define ISLOWER(c) \
20770 (('a' <= (c) && (c) <= 'i') \
20771 || ('j' <= (c) && (c) <= 'r') \
20772 || ('s' <= (c) && (c) <= 'z'))
20773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20781 for (i = 0; i < 256; i++)
20782 if (XOR (islower (i), ISLOWER (i))
20783 || toupper (i) != TOUPPER (i))
20788 rm -f conftest$ac_exeext
20789 if { (ac_try="$ac_link"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20792 *) ac_try_echo
=$ac_try;;
20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_link") 2>&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20799 { (case "(($ac_try" in
20800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_try") 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20810 echo "$as_me: program exited with status $ac_status" >&5
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20814 ( exit $ac_status )
20815 ac_cv_header_stdc=no
20817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20823 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20824 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20825 if test $ac_cv_header_stdc = yes; then
20827 cat >>confdefs.h <<\_ACEOF
20828 #define STDC_HEADERS 1
20833 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20843 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20844 inttypes.h stdint.h unistd.h
20846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20850 echo $ECHO_N "(cached) $ECHO_C" >&6
20852 cat >conftest.$ac_ext <<_ACEOF
20855 cat confdefs.h >>conftest.$ac_ext
20856 cat >>conftest.$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20860 #include <$ac_header>
20862 rm -f conftest.$ac_objext
20863 if { (ac_try="$ac_compile"
20864 case "(($ac_try" in
20865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20866 *) ac_try_echo
=$ac_try;;
20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 (eval "$ac_compile") 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } && {
20876 test -z "$ac_c_werror_flag" ||
20877 test ! -s conftest.err
20878 } && test -s conftest.
$ac_objext; then
20879 eval "$as_ac_Header=yes"
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.
$ac_ext >&5
20884 eval "$as_ac_Header=no"
20887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20889 ac_res
=`eval echo '${'$as_ac_Header'}'`
20890 { echo "$as_me:$LINENO: result: $ac_res" >&5
20891 echo "${ECHO_T}$ac_res" >&6; }
20892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20893 cat >>confdefs.h
<<_ACEOF
20894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20908 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20913 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20914 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 cat >conftest.
$ac_ext <<_ACEOF
20919 cat confdefs.h
>>conftest.
$ac_ext
20920 cat >>conftest.
$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20924 #include <$ac_header>
20926 rm -f conftest.
$ac_objext
20927 if { (ac_try
="$ac_compile"
20928 case "(($ac_try" in
20929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20935 grep -v '^ *+' conftest.er1 >conftest.err
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20943 eval "$as_ac_Header=yes"
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 eval "$as_ac_Header=no"
20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20953 ac_res=`eval echo '${'$as_ac_Header'}'`
20954 { echo "$as_me:$LINENO: result: $ac_res" >&5
20955 echo "${ECHO_T}$ac_res" >&6; }
20956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20957 cat >>confdefs.h <<_ACEOF
20958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20966 if test "$ac_cv_header_wchar_h" != "yes"; then
20968 for ac_header in wcstr.h
20970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 cat >conftest.$ac_ext <<_ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20984 #include <$ac_header>
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20990 *) ac_try_echo
=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20995 grep -v '^ *+' conftest.er1
>conftest.err
20997 cat conftest.err
>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.
$ac_objext; then
21003 eval "$as_ac_Header=yes"
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.
$ac_ext >&5
21008 eval "$as_ac_Header=no"
21011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21013 ac_res
=`eval echo '${'$as_ac_Header'}'`
21014 { echo "$as_me:$LINENO: result: $ac_res" >&5
21015 echo "${ECHO_T}$ac_res" >&6; }
21016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21017 cat >>confdefs.h
<<_ACEOF
21018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21028 *-pc-os2_emx | *-pc-os2-emx )
21029 if test $ac_cv_header_langinfo_h = "yes" \
21030 -a \
( "$wx_cv_gccversion" = "EMX2" \
21031 -o "$wx_cv_gccversion" = "EMX3" \
21032 -o "$wx_cv_gccversion" = "Innotek5" \
); then
21033 LIBS
="$LIBS -lintl"
21038 if test "$USE_UNIX" = 1 ; then
21040 for ac_header
in sys
/select.h
21042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21043 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21045 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21048 cat >conftest.
$ac_ext <<_ACEOF
21051 cat confdefs.h
>>conftest.
$ac_ext
21052 cat >>conftest.
$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 $ac_includes_default
21056 #include <$ac_header>
21058 rm -f conftest.
$ac_objext
21059 if { (ac_try
="$ac_compile"
21060 case "(($ac_try" in
21061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21067 grep -v '^ *+' conftest.er1 >conftest.err
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21075 eval "$as_ac_Header=yes"
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21080 eval "$as_ac_Header=no"
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 ac_res=`eval echo '${'$as_ac_Header'}'`
21086 { echo "$as_me:$LINENO: result: $ac_res" >&5
21087 echo "${ECHO_T}$ac_res" >&6; }
21088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21089 cat >>confdefs.h <<_ACEOF
21090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21100 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21101 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21102 if test "${ac_cv_c_const+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 cat >conftest.$ac_ext <<_ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21115 /* FIXME: Include the comments suggested by Paul. */
21116 #ifndef __cplusplus
21117 /* Ultrix mips cc rejects this. */
21118 typedef int charset[2];
21120 /* SunOS 4.1.1 cc rejects this. */
21121 char const *const *pcpcc;
21123 /* NEC SVR4.0.2 mips cc rejects this. */
21124 struct point {int x, y;};
21125 static struct point const zero = {0,0};
21126 /* AIX XL C 1.02.0.0 rejects this.
21127 It does not let you subtract one const X* pointer from another in
21128 an arm of an if-expression whose if-part is not a constant
21130 const char *g = "string";
21131 pcpcc = &g + (g ? g-g : 0);
21132 /* HPUX 7.0 cc rejects these. */
21134 ppc = (char**) pcpcc;
21135 pcpcc = (char const *const *) ppc;
21136 { /* SCO 3.2v4 cc rejects this. */
21138 char const *s = 0 ? (char *) 0 : (char const *) 0;
21143 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21144 int x[] = {25, 17};
21145 const int *foo = &x[0];
21148 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21149 typedef const int *iptr;
21153 { /* AIX XL C 1.02.0.0 rejects this saying
21154 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21155 struct s { int j; const int *ap[3]; };
21156 struct s *b; b->j = 5;
21158 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21159 const int foo = 10;
21160 if (!foo) return 0;
21162 return !cs[0] && !zero.x;
21169 rm -f conftest.$ac_objext
21170 if { (ac_try="$ac_compile"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21173 *) ac_try_echo
=$ac_try;;
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_compile") 2>conftest.er1
21178 grep -v '^ *+' conftest.er1
>conftest.err
21180 cat conftest.err
>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest.
$ac_objext; then
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21196 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21197 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21198 if test $ac_cv_c_const = no
; then
21200 cat >>confdefs.h
<<\_ACEOF
21206 { echo "$as_me:$LINENO: checking for inline" >&5
21207 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21208 if test "${ac_cv_c_inline+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 for ac_kw
in inline __inline__ __inline
; do
21213 cat >conftest.
$ac_ext <<_ACEOF
21216 cat confdefs.h
>>conftest.
$ac_ext
21217 cat >>conftest.
$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 #ifndef __cplusplus
21221 static $ac_kw foo_t static_foo () {return 0; }
21222 $ac_kw foo_t foo () {return 0; }
21226 rm -f conftest.
$ac_objext
21227 if { (ac_try
="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21235 grep -v '^ *+' conftest.er1 >conftest.err
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21243 ac_cv_c_inline=$ac_kw
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 test "$ac_cv_c_inline" != no && break
21256 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21257 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21260 case $ac_cv_c_inline in
21263 case $ac_cv_c_inline in
21265 *) ac_val=$ac_cv_c_inline;;
21267 cat >>confdefs.h <<_ACEOF
21268 #ifndef __cplusplus
21269 #define inline $ac_val
21276 { echo "$as_me:$LINENO: checking for short" >&5
21277 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21278 if test "${ac_cv_type_short+set}" = set; then
21279 echo $ECHO_N "(cached) $ECHO_C" >&6
21281 cat >conftest.$ac_ext <<_ACEOF
21284 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 $ac_includes_default
21288 typedef short ac__type_new_;
21292 if ((ac__type_new_ *) 0)
21294 if (sizeof (ac__type_new_))
21300 rm -f conftest.$ac_objext
21301 if { (ac_try="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21304 *) ac_try_echo
=$ac_try;;
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21309 grep -v '^ *+' conftest.er1
>conftest.err
21311 cat conftest.err
>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.
$ac_objext; then
21317 ac_cv_type_short
=yes
21319 echo "$as_me: failed program was:" >&5
21320 sed 's/^/| /' conftest.
$ac_ext >&5
21322 ac_cv_type_short
=no
21325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21327 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21328 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21330 # The cast to long int works around a bug in the HP C Compiler
21331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21333 # This bug is HP SR number 8606223364.
21334 { echo "$as_me:$LINENO: checking size of short" >&5
21335 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21336 if test "${ac_cv_sizeof_short+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 if test "$cross_compiling" = yes; then
21340 # Depending upon the size, compute the lo and hi bounds.
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 typedef short ac__type_sizeof_;
21352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21359 rm -f conftest.
$ac_objext
21360 if { (ac_try
="$ac_compile"
21361 case "(($ac_try" in
21362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_compile") 2>conftest.er1
21368 grep -v '^ *+' conftest.er1 >conftest.err
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && {
21373 test -z "$ac_c_werror_flag" ||
21374 test ! -s conftest.err
21375 } && test -s conftest.$ac_objext; then
21378 cat >conftest.$ac_ext <<_ACEOF
21381 cat confdefs.h >>conftest.$ac_ext
21382 cat >>conftest.$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 $ac_includes_default
21385 typedef short ac__type_sizeof_;
21389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21400 *) ac_try_echo
=$ac_try;;
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21405 grep -v '^ *+' conftest.er1
>conftest.err
21407 cat conftest.err
>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.
$ac_objext; then
21413 ac_hi
=$ac_mid; break
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.
$ac_ext >&5
21418 ac_lo
=`expr $ac_mid + 1`
21419 if test $ac_lo -le $ac_mid; then
21423 ac_mid
=`expr 2 '*' $ac_mid + 1`
21426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.
$ac_ext >&5
21432 cat >conftest.
$ac_ext <<_ACEOF
21435 cat confdefs.h
>>conftest.
$ac_ext
21436 cat >>conftest.
$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21439 typedef short ac__type_sizeof_;
21443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21450 rm -f conftest.
$ac_objext
21451 if { (ac_try
="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21459 grep -v '^ *+' conftest.er1 >conftest.err
21461 cat conftest.err >&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.$ac_objext; then
21469 cat >conftest.$ac_ext <<_ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef short ac__type_sizeof_;
21480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21487 rm -f conftest.$ac_objext
21488 if { (ac_try="$ac_compile"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21491 *) ac_try_echo
=$ac_try;;
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_compile") 2>conftest.er1
21496 grep -v '^ *+' conftest.er1
>conftest.err
21498 cat conftest.err
>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } && {
21501 test -z "$ac_c_werror_flag" ||
21502 test ! -s conftest.err
21503 } && test -s conftest.
$ac_objext; then
21504 ac_lo
=$ac_mid; break
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.
$ac_ext >&5
21509 ac_hi
=`expr '(' $ac_mid ')' - 1`
21510 if test $ac_mid -le $ac_hi; then
21514 ac_mid
=`expr 2 '*' $ac_mid`
21517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21530 # Binary search between lo and hi bounds.
21531 while test "x$ac_lo" != "x$ac_hi"; do
21532 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21533 cat >conftest.
$ac_ext <<_ACEOF
21536 cat confdefs.h
>>conftest.
$ac_ext
21537 cat >>conftest.
$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef short ac__type_sizeof_;
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21551 rm -f conftest.
$ac_objext
21552 if { (ac_try
="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21560 grep -v '^ *+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21573 ac_lo=`expr '(' $ac_mid ')' + 1`
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21579 ?*) ac_cv_sizeof_short=$ac_lo;;
21580 '') if test "$ac_cv_type_short" = yes; then
21581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21582 See \`config.log
' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (short)
21584 See \`config.log' for more details.
" >&2;}
21585 { (exit 77); exit 77; }; }
21587 ac_cv_sizeof_short=0
21591 cat >conftest.$ac_ext <<_ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21598 typedef short ac__type_sizeof_;
21599 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21600 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21602 #include <stdlib.h>
21607 FILE *f = fopen ("conftest.val
", "w
");
21610 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21612 long int i = longval ();
21613 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21615 fprintf (f, "%ld
\n", i);
21619 unsigned long int i = ulongval ();
21620 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21622 fprintf (f, "%lu
\n", i);
21624 return ferror (f) || fclose (f) != 0;
21630 rm -f conftest$ac_exeext
21631 if { (ac_try="$ac_link"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_link") 2>&5
21639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21641 { (case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21645 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_try") 2>&5
21648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_sizeof_short=`cat conftest.val`
21652 echo "$as_me: program exited with status
$ac_status" >&5
21653 echo "$as_me: failed program was
:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 ( exit $ac_status )
21657 if test "$ac_cv_type_short" = yes; then
21658 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21659 See \
`config.log' for more details." >&5
21660 echo "$as_me: error: cannot compute sizeof (short)
21661 See \`config.log
' for more details." >&2;}
21662 { (exit 77); exit 77; }; }
21664 ac_cv_sizeof_short=0
21667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21671 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21672 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21676 cat >>confdefs.h <<_ACEOF
21677 #define SIZEOF_SHORT $ac_cv_sizeof_short
21681 { echo "$as_me:$LINENO: checking for void *" >&5
21682 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21683 if test "${ac_cv_type_void_p+set}" = set; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21686 cat >conftest.$ac_ext <<_ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 $ac_includes_default
21693 typedef void * ac__type_new_;
21697 if ((ac__type_new_ *) 0)
21699 if (sizeof (ac__type_new_))
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21714 grep -v '^
*+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_cv_type_void_p=yes
21724 echo "$as_me: failed program was:" >&5
21725 sed 's
/^
/| /' conftest.$ac_ext >&5
21727 ac_cv_type_void_p=no
21730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21733 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21735 # The cast to long int works around a bug in the HP C Compiler
21736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21737 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21738 # This bug is HP SR number 8606223364.
21739 { echo "$as_me:$LINENO: checking size of void *" >&5
21740 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21741 if test "${ac_cv_sizeof_void_p+set}" = set; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 if test "$cross_compiling" = yes; then
21745 # Depending upon the size, compute the lo and hi bounds.
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef void * ac__type_sizeof_;
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21764 rm -f conftest.
$ac_objext
21765 if { (ac_try
="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^ *+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21783 cat >conftest.$ac_ext <<_ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 $ac_includes_default
21790 typedef void * ac__type_sizeof_;
21794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21801 rm -f conftest.$ac_objext
21802 if { (ac_try="$ac_compile"
21803 case "(($ac_try" in
21804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21805 *) ac_try_echo
=$ac_try;;
21807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21808 (eval "$ac_compile") 2>conftest.er1
21810 grep -v '^ *+' conftest.er1
>conftest.err
21812 cat conftest.err
>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } && {
21815 test -z "$ac_c_werror_flag" ||
21816 test ! -s conftest.err
21817 } && test -s conftest.
$ac_objext; then
21818 ac_hi
=$ac_mid; break
21820 echo "$as_me: failed program was:" >&5
21821 sed 's/^/| /' conftest.
$ac_ext >&5
21823 ac_lo
=`expr $ac_mid + 1`
21824 if test $ac_lo -le $ac_mid; then
21828 ac_mid
=`expr 2 '*' $ac_mid + 1`
21831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 cat >conftest.
$ac_ext <<_ACEOF
21840 cat confdefs.h
>>conftest.
$ac_ext
21841 cat >>conftest.
$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 $ac_includes_default
21844 typedef void * ac__type_sizeof_;
21848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21855 rm -f conftest.
$ac_objext
21856 if { (ac_try
="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21864 grep -v '^ *+' conftest.er1 >conftest.err
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21874 cat >conftest.$ac_ext <<_ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21881 typedef void * ac__type_sizeof_;
21885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21896 *) ac_try_echo
=$ac_try;;
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21901 grep -v '^ *+' conftest.er1
>conftest.err
21903 cat conftest.err
>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } && {
21906 test -z "$ac_c_werror_flag" ||
21907 test ! -s conftest.err
21908 } && test -s conftest.
$ac_objext; then
21909 ac_lo
=$ac_mid; break
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.
$ac_ext >&5
21914 ac_hi
=`expr '(' $ac_mid ')' - 1`
21915 if test $ac_mid -le $ac_hi; then
21919 ac_mid
=`expr 2 '*' $ac_mid`
21922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.
$ac_ext >&5
21931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21935 # Binary search between lo and hi bounds.
21936 while test "x$ac_lo" != "x$ac_hi"; do
21937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21938 cat >conftest.
$ac_ext <<_ACEOF
21941 cat confdefs.h
>>conftest.
$ac_ext
21942 cat >>conftest.
$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 $ac_includes_default
21945 typedef void * ac__type_sizeof_;
21949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21956 rm -f conftest.
$ac_objext
21957 if { (ac_try
="$ac_compile"
21958 case "(($ac_try" in
21959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21960 *) ac_try_echo=$ac_try;;
21962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21963 (eval "$ac_compile") 2>conftest.er1
21965 grep -v '^ *+' conftest.er1 >conftest.err
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && {
21970 test -z "$ac_c_werror_flag" ||
21971 test ! -s conftest.err
21972 } && test -s conftest.$ac_objext; then
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21978 ac_lo=`expr '(' $ac_mid ')' + 1`
21981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21984 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21985 '') if test "$ac_cv_type_void_p" = yes; then
21986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21987 See \`config.log
' for more details." >&5
21988 echo "$as_me: error: cannot compute sizeof (void *)
21989 See \`config.log' for more details.
" >&2;}
21990 { (exit 77); exit 77; }; }
21992 ac_cv_sizeof_void_p=0
21996 cat >conftest.$ac_ext <<_ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef void * ac__type_sizeof_;
22004 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22005 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22007 #include <stdlib.h>
22012 FILE *f = fopen ("conftest.val
", "w
");
22015 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22017 long int i = longval ();
22018 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22020 fprintf (f, "%ld
\n", i);
22024 unsigned long int i = ulongval ();
22025 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22027 fprintf (f, "%lu
\n", i);
22029 return ferror (f) || fclose (f) != 0;
22035 rm -f conftest$ac_exeext
22036 if { (ac_try="$ac_link"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_link") 2>&5
22044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22046 { (case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_try") 2>&5
22053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22054 (exit $ac_status); }; }; then
22055 ac_cv_sizeof_void_p=`cat conftest.val`
22057 echo "$as_me: program exited with status
$ac_status" >&5
22058 echo "$as_me: failed program was
:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22061 ( exit $ac_status )
22062 if test "$ac_cv_type_void_p" = yes; then
22063 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22064 See \
`config.log' for more details." >&5
22065 echo "$as_me: error: cannot compute sizeof (void *)
22066 See \`config.log
' for more details." >&2;}
22067 { (exit 77); exit 77; }; }
22069 ac_cv_sizeof_void_p=0
22072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22076 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22077 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22081 cat >>confdefs.h <<_ACEOF
22082 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22086 { echo "$as_me:$LINENO: checking for int" >&5
22087 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22088 if test "${ac_cv_type_int+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 cat >conftest.$ac_ext <<_ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 $ac_includes_default
22098 typedef int ac__type_new_;
22102 if ((ac__type_new_ *) 0)
22104 if (sizeof (ac__type_new_))
22110 rm -f conftest.$ac_objext
22111 if { (ac_try="$ac_compile"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_compile") 2>conftest.er1
22119 grep -v '^
*+' conftest.er1 >conftest.err
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } && {
22124 test -z "$ac_c_werror_flag" ||
22125 test ! -s conftest.err
22126 } && test -s conftest.$ac_objext; then
22129 echo "$as_me: failed program was:" >&5
22130 sed 's
/^
/| /' conftest.$ac_ext >&5
22135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22138 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22140 # The cast to long int works around a bug in the HP C Compiler
22141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22143 # This bug is HP SR number 8606223364.
22144 { echo "$as_me:$LINENO: checking size of int" >&5
22145 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22146 if test "${ac_cv_sizeof_int+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 if test "$cross_compiling" = yes; then
22150 # Depending upon the size, compute the lo and hi bounds.
22151 cat >conftest.
$ac_ext <<_ACEOF
22154 cat confdefs.h
>>conftest.
$ac_ext
22155 cat >>conftest.
$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157 $ac_includes_default
22158 typedef int ac__type_sizeof_;
22162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22169 rm -f conftest.
$ac_objext
22170 if { (ac_try
="$ac_compile"
22171 case "(($ac_try" in
22172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_compile") 2>conftest.er1
22178 grep -v '^ *+' conftest.er1 >conftest.err
22180 cat conftest.err >&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && {
22183 test -z "$ac_c_werror_flag" ||
22184 test ! -s conftest.err
22185 } && test -s conftest.$ac_objext; then
22188 cat >conftest.$ac_ext <<_ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef int ac__type_sizeof_;
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22210 *) ac_try_echo
=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22215 grep -v '^ *+' conftest.er1
>conftest.err
22217 cat conftest.err
>&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.
$ac_objext; then
22223 ac_hi
=$ac_mid; break
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.
$ac_ext >&5
22228 ac_lo
=`expr $ac_mid + 1`
22229 if test $ac_lo -le $ac_mid; then
22233 ac_mid
=`expr 2 '*' $ac_mid + 1`
22236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.
$ac_ext >&5
22242 cat >conftest.
$ac_ext <<_ACEOF
22245 cat confdefs.h
>>conftest.
$ac_ext
22246 cat >>conftest.
$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef int ac__type_sizeof_;
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22260 rm -f conftest.
$ac_objext
22261 if { (ac_try
="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22269 grep -v '^ *+' conftest.er1 >conftest.err
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22279 cat >conftest.$ac_ext <<_ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 $ac_includes_default
22286 typedef int ac__type_sizeof_;
22290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22301 *) ac_try_echo
=$ac_try;;
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22306 grep -v '^ *+' conftest.er1
>conftest.err
22308 cat conftest.err
>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && {
22311 test -z "$ac_c_werror_flag" ||
22312 test ! -s conftest.err
22313 } && test -s conftest.
$ac_objext; then
22314 ac_lo
=$ac_mid; break
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.
$ac_ext >&5
22319 ac_hi
=`expr '(' $ac_mid ')' - 1`
22320 if test $ac_mid -le $ac_hi; then
22324 ac_mid
=`expr 2 '*' $ac_mid`
22327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.
$ac_ext >&5
22336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22340 # Binary search between lo and hi bounds.
22341 while test "x$ac_lo" != "x$ac_hi"; do
22342 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22343 cat >conftest.
$ac_ext <<_ACEOF
22346 cat confdefs.h
>>conftest.
$ac_ext
22347 cat >>conftest.
$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef int ac__type_sizeof_;
22354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22361 rm -f conftest.
$ac_objext
22362 if { (ac_try
="$ac_compile"
22363 case "(($ac_try" in
22364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22365 *) ac_try_echo=$ac_try;;
22367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368 (eval "$ac_compile") 2>conftest.er1
22370 grep -v '^ *+' conftest.er1 >conftest.err
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && {
22375 test -z "$ac_c_werror_flag" ||
22376 test ! -s conftest.err
22377 } && test -s conftest.$ac_objext; then
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22383 ac_lo=`expr '(' $ac_mid ')' + 1`
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 ?*) ac_cv_sizeof_int=$ac_lo;;
22390 '') if test "$ac_cv_type_int" = yes; then
22391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22392 See \`config.log
' for more details." >&5
22393 echo "$as_me: error: cannot compute sizeof (int)
22394 See \`config.log' for more details.
" >&2;}
22395 { (exit 77); exit 77; }; }
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 $ac_includes_default
22408 typedef int ac__type_sizeof_;
22409 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22410 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22412 #include <stdlib.h>
22417 FILE *f = fopen ("conftest.val
", "w
");
22420 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22422 long int i = longval ();
22423 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22425 fprintf (f, "%ld
\n", i);
22429 unsigned long int i = ulongval ();
22430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22432 fprintf (f, "%lu
\n", i);
22434 return ferror (f) || fclose (f) != 0;
22440 rm -f conftest$ac_exeext
22441 if { (ac_try="$ac_link"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_link") 2>&5
22449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22451 { (case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_try") 2>&5
22458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22459 (exit $ac_status); }; }; then
22460 ac_cv_sizeof_int=`cat conftest.val`
22462 echo "$as_me: program exited with status
$ac_status" >&5
22463 echo "$as_me: failed program was
:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22466 ( exit $ac_status )
22467 if test "$ac_cv_type_int" = yes; then
22468 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22469 See \
`config.log' for more details." >&5
22470 echo "$as_me: error: cannot compute sizeof (int)
22471 See \`config.log
' for more details." >&2;}
22472 { (exit 77); exit 77; }; }
22477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22481 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22482 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22486 cat >>confdefs.h <<_ACEOF
22487 #define SIZEOF_INT $ac_cv_sizeof_int
22491 { echo "$as_me:$LINENO: checking for long" >&5
22492 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22493 if test "${ac_cv_type_long+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 cat >conftest.$ac_ext <<_ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502 $ac_includes_default
22503 typedef long ac__type_new_;
22507 if ((ac__type_new_ *) 0)
22509 if (sizeof (ac__type_new_))
22515 rm -f conftest.$ac_objext
22516 if { (ac_try="$ac_compile"
22517 case "(($ac_try" in
22518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22519 *) ac_try_echo=$ac_try;;
22521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22522 (eval "$ac_compile") 2>conftest.er1
22524 grep -v '^
*+' conftest.er1 >conftest.err
22526 cat conftest.err >&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } && {
22529 test -z "$ac_c_werror_flag" ||
22530 test ! -s conftest.err
22531 } && test -s conftest.$ac_objext; then
22532 ac_cv_type_long=yes
22534 echo "$as_me: failed program was:" >&5
22535 sed 's
/^
/| /' conftest.$ac_ext >&5
22540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22543 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22545 # The cast to long int works around a bug in the HP C Compiler
22546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22548 # This bug is HP SR number 8606223364.
22549 { echo "$as_me:$LINENO: checking size of long" >&5
22550 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22551 if test "${ac_cv_sizeof_long+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22554 if test "$cross_compiling" = yes; then
22555 # Depending upon the size, compute the lo and hi bounds.
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22563 typedef long ac__type_sizeof_;
22567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22574 rm -f conftest.
$ac_objext
22575 if { (ac_try
="$ac_compile"
22576 case "(($ac_try" in
22577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_compile") 2>conftest.er1
22583 grep -v '^ *+' conftest.er1 >conftest.err
22585 cat conftest.err >&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } && {
22588 test -z "$ac_c_werror_flag" ||
22589 test ! -s conftest.err
22590 } && test -s conftest.$ac_objext; then
22593 cat >conftest.$ac_ext <<_ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 $ac_includes_default
22600 typedef long ac__type_sizeof_;
22604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22615 *) ac_try_echo
=$ac_try;;
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22620 grep -v '^ *+' conftest.er1
>conftest.err
22622 cat conftest.err
>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.
$ac_objext; then
22628 ac_hi
=$ac_mid; break
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22633 ac_lo
=`expr $ac_mid + 1`
22634 if test $ac_lo -le $ac_mid; then
22638 ac_mid
=`expr 2 '*' $ac_mid + 1`
22641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.
$ac_ext >&5
22647 cat >conftest.
$ac_ext <<_ACEOF
22650 cat confdefs.h
>>conftest.
$ac_ext
22651 cat >>conftest.
$ac_ext <<_ACEOF
22652 /* end confdefs.h. */
22653 $ac_includes_default
22654 typedef long ac__type_sizeof_;
22658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22665 rm -f conftest.
$ac_objext
22666 if { (ac_try
="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22674 grep -v '^ *+' conftest.er1 >conftest.err
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22684 cat >conftest.$ac_ext <<_ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 $ac_includes_default
22691 typedef long ac__type_sizeof_;
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22706 *) ac_try_echo
=$ac_try;;
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22711 grep -v '^ *+' conftest.er1
>conftest.err
22713 cat conftest.err
>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.
$ac_objext; then
22719 ac_lo
=$ac_mid; break
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.
$ac_ext >&5
22724 ac_hi
=`expr '(' $ac_mid ')' - 1`
22725 if test $ac_mid -le $ac_hi; then
22729 ac_mid
=`expr 2 '*' $ac_mid`
22732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22735 echo "$as_me: failed program was:" >&5
22736 sed 's/^/| /' conftest.
$ac_ext >&5
22741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22745 # Binary search between lo and hi bounds.
22746 while test "x$ac_lo" != "x$ac_hi"; do
22747 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22748 cat >conftest.
$ac_ext <<_ACEOF
22751 cat confdefs.h
>>conftest.
$ac_ext
22752 cat >>conftest.
$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754 $ac_includes_default
22755 typedef long ac__type_sizeof_;
22759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22766 rm -f conftest.
$ac_objext
22767 if { (ac_try
="$ac_compile"
22768 case "(($ac_try" in
22769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22770 *) ac_try_echo=$ac_try;;
22772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22773 (eval "$ac_compile") 2>conftest.er1
22775 grep -v '^ *+' conftest.er1 >conftest.err
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } && {
22780 test -z "$ac_c_werror_flag" ||
22781 test ! -s conftest.err
22782 } && test -s conftest.$ac_objext; then
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 ac_lo=`expr '(' $ac_mid ')' + 1`
22791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 ?*) ac_cv_sizeof_long=$ac_lo;;
22795 '') if test "$ac_cv_type_long" = yes; then
22796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22797 See \`config.log
' for more details." >&5
22798 echo "$as_me: error: cannot compute sizeof (long)
22799 See \`config.log' for more details.
" >&2;}
22800 { (exit 77); exit 77; }; }
22802 ac_cv_sizeof_long=0
22806 cat >conftest.$ac_ext <<_ACEOF
22809 cat confdefs.h >>conftest.$ac_ext
22810 cat >>conftest.$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 $ac_includes_default
22813 typedef long ac__type_sizeof_;
22814 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22815 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22817 #include <stdlib.h>
22822 FILE *f = fopen ("conftest.val
", "w
");
22825 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22827 long int i = longval ();
22828 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22830 fprintf (f, "%ld
\n", i);
22834 unsigned long int i = ulongval ();
22835 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22837 fprintf (f, "%lu
\n", i);
22839 return ferror (f) || fclose (f) != 0;
22845 rm -f conftest$ac_exeext
22846 if { (ac_try="$ac_link"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22849 *) ac_try_echo=$ac_try;;
22851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_link") 2>&5
22854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22856 { (case "(($ac_try" in
22857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22858 *) ac_try_echo=$ac_try;;
22860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22861 (eval "$ac_try") 2>&5
22863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 ac_cv_sizeof_long=`cat conftest.val`
22867 echo "$as_me: program exited with status
$ac_status" >&5
22868 echo "$as_me: failed program was
:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22871 ( exit $ac_status )
22872 if test "$ac_cv_type_long" = yes; then
22873 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22874 See \
`config.log' for more details." >&5
22875 echo "$as_me: error: cannot compute sizeof (long)
22876 See \`config.log
' for more details." >&2;}
22877 { (exit 77); exit 77; }; }
22879 ac_cv_sizeof_long=0
22882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22886 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22887 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22891 cat >>confdefs.h <<_ACEOF
22892 #define SIZEOF_LONG $ac_cv_sizeof_long
22896 { echo "$as_me:$LINENO: checking for size_t" >&5
22897 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22898 if test "${ac_cv_type_size_t+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 cat >conftest.$ac_ext <<_ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 $ac_includes_default
22908 typedef size_t ac__type_new_;
22912 if ((ac__type_new_ *) 0)
22914 if (sizeof (ac__type_new_))
22920 rm -f conftest.$ac_objext
22921 if { (ac_try="$ac_compile"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_compile") 2>conftest.er1
22929 grep -v '^
*+' conftest.er1 >conftest.err
22931 cat conftest.err >&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } && {
22934 test -z "$ac_c_werror_flag" ||
22935 test ! -s conftest.err
22936 } && test -s conftest.$ac_objext; then
22937 ac_cv_type_size_t=yes
22939 echo "$as_me: failed program was:" >&5
22940 sed 's
/^
/| /' conftest.$ac_ext >&5
22942 ac_cv_type_size_t=no
22945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22948 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22950 # The cast to long int works around a bug in the HP C Compiler
22951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22953 # This bug is HP SR number 8606223364.
22954 { echo "$as_me:$LINENO: checking size of size_t" >&5
22955 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22956 if test "${ac_cv_sizeof_size_t+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 if test "$cross_compiling" = yes; then
22960 # Depending upon the size, compute the lo and hi bounds.
22961 cat >conftest.
$ac_ext <<_ACEOF
22964 cat confdefs.h
>>conftest.
$ac_ext
22965 cat >>conftest.
$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 $ac_includes_default
22968 typedef size_t ac__type_sizeof_;
22972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22979 rm -f conftest.
$ac_objext
22980 if { (ac_try
="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22988 grep -v '^ *+' conftest.er1 >conftest.err
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_c_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22998 cat >conftest.$ac_ext <<_ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23004 $ac_includes_default
23005 typedef size_t ac__type_sizeof_;
23009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23016 rm -f conftest.$ac_objext
23017 if { (ac_try="$ac_compile"
23018 case "(($ac_try" in
23019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23020 *) ac_try_echo
=$ac_try;;
23022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23023 (eval "$ac_compile") 2>conftest.er1
23025 grep -v '^ *+' conftest.er1
>conftest.err
23027 cat conftest.err
>&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); } && {
23030 test -z "$ac_c_werror_flag" ||
23031 test ! -s conftest.err
23032 } && test -s conftest.
$ac_objext; then
23033 ac_hi
=$ac_mid; break
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.
$ac_ext >&5
23038 ac_lo
=`expr $ac_mid + 1`
23039 if test $ac_lo -le $ac_mid; then
23043 ac_mid
=`expr 2 '*' $ac_mid + 1`
23046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 typedef size_t ac__type_sizeof_;
23063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23070 rm -f conftest.
$ac_objext
23071 if { (ac_try
="$ac_compile"
23072 case "(($ac_try" in
23073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_compile") 2>conftest.er1
23079 grep -v '^ *+' conftest.er1 >conftest.err
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } && {
23084 test -z "$ac_c_werror_flag" ||
23085 test ! -s conftest.err
23086 } && test -s conftest.$ac_objext; then
23089 cat >conftest.$ac_ext <<_ACEOF
23092 cat confdefs.h >>conftest.$ac_ext
23093 cat >>conftest.$ac_ext <<_ACEOF
23094 /* end confdefs.h. */
23095 $ac_includes_default
23096 typedef size_t ac__type_sizeof_;
23100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23111 *) ac_try_echo
=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^ *+' conftest.er1
>conftest.err
23118 cat conftest.err
>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.
$ac_objext; then
23124 ac_lo
=$ac_mid; break
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.
$ac_ext >&5
23129 ac_hi
=`expr '(' $ac_mid ')' - 1`
23130 if test $ac_mid -le $ac_hi; then
23134 ac_mid
=`expr 2 '*' $ac_mid`
23137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.
$ac_ext >&5
23146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23150 # Binary search between lo and hi bounds.
23151 while test "x$ac_lo" != "x$ac_hi"; do
23152 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23153 cat >conftest.
$ac_ext <<_ACEOF
23156 cat confdefs.h
>>conftest.
$ac_ext
23157 cat >>conftest.
$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 $ac_includes_default
23160 typedef size_t ac__type_sizeof_;
23164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23171 rm -f conftest.
$ac_objext
23172 if { (ac_try
="$ac_compile"
23173 case "(($ac_try" in
23174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23175 *) ac_try_echo=$ac_try;;
23177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23178 (eval "$ac_compile") 2>conftest.er1
23180 grep -v '^ *+' conftest.er1 >conftest.err
23182 cat conftest.err >&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } && {
23185 test -z "$ac_c_werror_flag" ||
23186 test ! -s conftest.err
23187 } && test -s conftest.$ac_objext; then
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.$ac_ext >&5
23193 ac_lo=`expr '(' $ac_mid ')' + 1`
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23199 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23200 '') if test "$ac_cv_type_size_t" = yes; then
23201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23202 See \`config.log
' for more details." >&5
23203 echo "$as_me: error: cannot compute sizeof (size_t)
23204 See \`config.log' for more details.
" >&2;}
23205 { (exit 77); exit 77; }; }
23207 ac_cv_sizeof_size_t=0
23211 cat >conftest.$ac_ext <<_ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef size_t ac__type_sizeof_;
23219 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23220 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23222 #include <stdlib.h>
23227 FILE *f = fopen ("conftest.val
", "w
");
23230 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23232 long int i = longval ();
23233 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23235 fprintf (f, "%ld
\n", i);
23239 unsigned long int i = ulongval ();
23240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23242 fprintf (f, "%lu
\n", i);
23244 return ferror (f) || fclose (f) != 0;
23250 rm -f conftest$ac_exeext
23251 if { (ac_try="$ac_link"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_link") 2>&5
23259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23261 { (case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_try") 2>&5
23268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_cv_sizeof_size_t=`cat conftest.val`
23272 echo "$as_me: program exited with status
$ac_status" >&5
23273 echo "$as_me: failed program was
:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23276 ( exit $ac_status )
23277 if test "$ac_cv_type_size_t" = yes; then
23278 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23279 See \
`config.log' for more details." >&5
23280 echo "$as_me: error: cannot compute sizeof (size_t)
23281 See \`config.log
' for more details." >&2;}
23282 { (exit 77); exit 77; }; }
23284 ac_cv_sizeof_size_t=0
23287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23291 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23292 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23296 cat >>confdefs.h <<_ACEOF
23297 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23304 { echo "$as_me:$LINENO: checking for long long" >&5
23305 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23306 if test "${ac_cv_type_long_long+set}" = set; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 cat >conftest.$ac_ext <<_ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315 $ac_includes_default
23316 typedef long long ac__type_new_;
23320 if ((ac__type_new_ *) 0)
23322 if (sizeof (ac__type_new_))
23328 rm -f conftest.$ac_objext
23329 if { (ac_try="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23337 grep -v '^
*+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23345 ac_cv_type_long_long=yes
23347 echo "$as_me: failed program was:" >&5
23348 sed 's
/^
/| /' conftest.$ac_ext >&5
23350 ac_cv_type_long_long=no
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23356 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23358 # The cast to long int works around a bug in the HP C Compiler
23359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23361 # This bug is HP SR number 8606223364.
23362 { echo "$as_me:$LINENO: checking size of long long" >&5
23363 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23364 if test "${ac_cv_sizeof_long_long+set}" = set; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 if test "$cross_compiling" = yes; then
23368 # Depending upon the size, compute the lo and hi bounds.
23369 cat >conftest.
$ac_ext <<_ACEOF
23372 cat confdefs.h
>>conftest.
$ac_ext
23373 cat >>conftest.
$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23375 $ac_includes_default
23376 typedef long long ac__type_sizeof_;
23380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23387 rm -f conftest.
$ac_objext
23388 if { (ac_try
="$ac_compile"
23389 case "(($ac_try" in
23390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23391 *) ac_try_echo=$ac_try;;
23393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23394 (eval "$ac_compile") 2>conftest.er1
23396 grep -v '^ *+' conftest.er1 >conftest.err
23398 cat conftest.err >&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } && {
23401 test -z "$ac_c_werror_flag" ||
23402 test ! -s conftest.err
23403 } && test -s conftest.$ac_objext; then
23406 cat >conftest.$ac_ext <<_ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 $ac_includes_default
23413 typedef long long ac__type_sizeof_;
23417 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23424 rm -f conftest.$ac_objext
23425 if { (ac_try="$ac_compile"
23426 case "(($ac_try" in
23427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23428 *) ac_try_echo
=$ac_try;;
23430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23431 (eval "$ac_compile") 2>conftest.er1
23433 grep -v '^ *+' conftest.er1
>conftest.err
23435 cat conftest.err
>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } && {
23438 test -z "$ac_c_werror_flag" ||
23439 test ! -s conftest.err
23440 } && test -s conftest.
$ac_objext; then
23441 ac_hi
=$ac_mid; break
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.
$ac_ext >&5
23446 ac_lo
=`expr $ac_mid + 1`
23447 if test $ac_lo -le $ac_mid; then
23451 ac_mid
=`expr 2 '*' $ac_mid + 1`
23454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.
$ac_ext >&5
23460 cat >conftest.
$ac_ext <<_ACEOF
23463 cat confdefs.h
>>conftest.
$ac_ext
23464 cat >>conftest.
$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 $ac_includes_default
23467 typedef long long ac__type_sizeof_;
23471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23478 rm -f conftest.
$ac_objext
23479 if { (ac_try
="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23487 grep -v '^ *+' conftest.er1 >conftest.err
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_c_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23497 cat >conftest.$ac_ext <<_ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 $ac_includes_default
23504 typedef long long ac__type_sizeof_;
23508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23515 rm -f conftest.$ac_objext
23516 if { (ac_try="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23519 *) ac_try_echo
=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1
>conftest.err
23526 cat conftest.err
>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.
$ac_objext; then
23532 ac_lo
=$ac_mid; break
23534 echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.
$ac_ext >&5
23537 ac_hi
=`expr '(' $ac_mid ')' - 1`
23538 if test $ac_mid -le $ac_hi; then
23542 ac_mid
=`expr 2 '*' $ac_mid`
23545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.
$ac_ext >&5
23554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23558 # Binary search between lo and hi bounds.
23559 while test "x$ac_lo" != "x$ac_hi"; do
23560 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23561 cat >conftest.
$ac_ext <<_ACEOF
23564 cat confdefs.h
>>conftest.
$ac_ext
23565 cat >>conftest.
$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 $ac_includes_default
23568 typedef long long ac__type_sizeof_;
23572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23579 rm -f conftest.
$ac_objext
23580 if { (ac_try
="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23588 grep -v '^ *+' conftest.er1 >conftest.err
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_c_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 ac_lo=`expr '(' $ac_mid ')' + 1`
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23608 '') if test "$ac_cv_type_long_long" = yes; then
23609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23610 See \`config.log
' for more details." >&5
23611 echo "$as_me: error: cannot compute sizeof (long long)
23612 See \`config.log' for more details.
" >&2;}
23613 { (exit 77); exit 77; }; }
23615 ac_cv_sizeof_long_long=0
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 $ac_includes_default
23626 typedef long long ac__type_sizeof_;
23627 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23628 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23630 #include <stdlib.h>
23635 FILE *f = fopen ("conftest.val
", "w
");
23638 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23640 long int i = longval ();
23641 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23643 fprintf (f, "%ld
\n", i);
23647 unsigned long int i = ulongval ();
23648 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23650 fprintf (f, "%lu
\n", i);
23652 return ferror (f) || fclose (f) != 0;
23658 rm -f conftest$ac_exeext
23659 if { (ac_try="$ac_link"
23660 case "(($ac_try" in
23661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23662 *) ac_try_echo=$ac_try;;
23664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23665 (eval "$ac_link") 2>&5
23667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23669 { (case "(($ac_try" in
23670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23671 *) ac_try_echo=$ac_try;;
23673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23674 (eval "$ac_try") 2>&5
23676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23677 (exit $ac_status); }; }; then
23678 ac_cv_sizeof_long_long=`cat conftest.val`
23680 echo "$as_me: program exited with status
$ac_status" >&5
23681 echo "$as_me: failed program was
:" >&5
23682 sed 's/^/| /' conftest.$ac_ext >&5
23684 ( exit $ac_status )
23685 if test "$ac_cv_type_long_long" = yes; then
23686 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23687 See \
`config.log' for more details." >&5
23688 echo "$as_me: error: cannot compute sizeof (long long)
23689 See \`config.log
' for more details." >&2;}
23690 { (exit 77); exit 77; }; }
23692 ac_cv_sizeof_long_long=0
23695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23699 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23700 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23704 cat >>confdefs.h <<_ACEOF
23705 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23711 { echo "$as_me:$LINENO: checking for long long" >&5
23712 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23713 if test "${ac_cv_type_long_long+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 cat >conftest.$ac_ext <<_ACEOF
23719 cat confdefs.h >>conftest.$ac_ext
23720 cat >>conftest.$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23722 $ac_includes_default
23723 typedef long long ac__type_new_;
23727 if ((ac__type_new_ *) 0)
23729 if (sizeof (ac__type_new_))
23735 rm -f conftest.$ac_objext
23736 if { (ac_try="$ac_compile"
23737 case "(($ac_try" in
23738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23739 *) ac_try_echo=$ac_try;;
23741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23742 (eval "$ac_compile") 2>conftest.er1
23744 grep -v '^
*+' conftest.er1 >conftest.err
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } && {
23749 test -z "$ac_c_werror_flag" ||
23750 test ! -s conftest.err
23751 } && test -s conftest.$ac_objext; then
23752 ac_cv_type_long_long=yes
23754 echo "$as_me: failed program was:" >&5
23755 sed 's
/^
/| /' conftest.$ac_ext >&5
23757 ac_cv_type_long_long=no
23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23762 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23763 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23765 # The cast to long int works around a bug in the HP C Compiler
23766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23768 # This bug is HP SR number 8606223364.
23769 { echo "$as_me:$LINENO: checking size of long long" >&5
23770 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23771 if test "${ac_cv_sizeof_long_long+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23774 if test "$cross_compiling" = yes; then
23775 # Depending upon the size, compute the lo and hi bounds.
23776 cat >conftest.
$ac_ext <<_ACEOF
23779 cat confdefs.h
>>conftest.
$ac_ext
23780 cat >>conftest.
$ac_ext <<_ACEOF
23781 /* end confdefs.h. */
23782 $ac_includes_default
23783 typedef long long ac__type_sizeof_;
23787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23794 rm -f conftest.
$ac_objext
23795 if { (ac_try
="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23803 grep -v '^ *+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_c_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23813 cat >conftest.$ac_ext <<_ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819 $ac_includes_default
23820 typedef long long ac__type_sizeof_;
23824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23831 rm -f conftest.$ac_objext
23832 if { (ac_try="$ac_compile"
23833 case "(($ac_try" in
23834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23835 *) ac_try_echo
=$ac_try;;
23837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23838 (eval "$ac_compile") 2>conftest.er1
23840 grep -v '^ *+' conftest.er1
>conftest.err
23842 cat conftest.err
>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && {
23845 test -z "$ac_c_werror_flag" ||
23846 test ! -s conftest.err
23847 } && test -s conftest.
$ac_objext; then
23848 ac_hi
=$ac_mid; break
23850 echo "$as_me: failed program was:" >&5
23851 sed 's/^/| /' conftest.
$ac_ext >&5
23853 ac_lo
=`expr $ac_mid + 1`
23854 if test $ac_lo -le $ac_mid; then
23858 ac_mid
=`expr 2 '*' $ac_mid + 1`
23861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.
$ac_ext >&5
23867 cat >conftest.
$ac_ext <<_ACEOF
23870 cat confdefs.h
>>conftest.
$ac_ext
23871 cat >>conftest.
$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 $ac_includes_default
23874 typedef long long ac__type_sizeof_;
23878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23885 rm -f conftest.
$ac_objext
23886 if { (ac_try
="$ac_compile"
23887 case "(($ac_try" in
23888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23889 *) ac_try_echo=$ac_try;;
23891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892 (eval "$ac_compile") 2>conftest.er1
23894 grep -v '^ *+' conftest.er1 >conftest.err
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } && {
23899 test -z "$ac_c_werror_flag" ||
23900 test ! -s conftest.err
23901 } && test -s conftest.$ac_objext; then
23904 cat >conftest.$ac_ext <<_ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23910 $ac_includes_default
23911 typedef long long ac__type_sizeof_;
23915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23922 rm -f conftest.$ac_objext
23923 if { (ac_try="$ac_compile"
23924 case "(($ac_try" in
23925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23926 *) ac_try_echo
=$ac_try;;
23928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23929 (eval "$ac_compile") 2>conftest.er1
23931 grep -v '^ *+' conftest.er1
>conftest.err
23933 cat conftest.err
>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } && {
23936 test -z "$ac_c_werror_flag" ||
23937 test ! -s conftest.err
23938 } && test -s conftest.
$ac_objext; then
23939 ac_lo
=$ac_mid; break
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.
$ac_ext >&5
23944 ac_hi
=`expr '(' $ac_mid ')' - 1`
23945 if test $ac_mid -le $ac_hi; then
23949 ac_mid
=`expr 2 '*' $ac_mid`
23952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.
$ac_ext >&5
23961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23965 # Binary search between lo and hi bounds.
23966 while test "x$ac_lo" != "x$ac_hi"; do
23967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23968 cat >conftest.
$ac_ext <<_ACEOF
23971 cat confdefs.h
>>conftest.
$ac_ext
23972 cat >>conftest.
$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974 $ac_includes_default
23975 typedef long long ac__type_sizeof_;
23979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23986 rm -f conftest.
$ac_objext
23987 if { (ac_try
="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23995 grep -v '^ *+' conftest.er1 >conftest.err
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_c_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24008 ac_lo=`expr '(' $ac_mid ')' + 1`
24011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24015 '') if test "$ac_cv_type_long_long" = yes; then
24016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24017 See \`config.log
' for more details." >&5
24018 echo "$as_me: error: cannot compute sizeof (long long)
24019 See \`config.log' for more details.
" >&2;}
24020 { (exit 77); exit 77; }; }
24022 ac_cv_sizeof_long_long=0
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 $ac_includes_default
24033 typedef long long ac__type_sizeof_;
24034 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24035 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24037 #include <stdlib.h>
24042 FILE *f = fopen ("conftest.val
", "w
");
24045 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24047 long int i = longval ();
24048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24050 fprintf (f, "%ld
\n", i);
24054 unsigned long int i = ulongval ();
24055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24057 fprintf (f, "%lu
\n", i);
24059 return ferror (f) || fclose (f) != 0;
24065 rm -f conftest$ac_exeext
24066 if { (ac_try="$ac_link"
24067 case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24072 (eval "$ac_link") 2>&5
24074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24076 { (case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_try") 2>&5
24083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24084 (exit $ac_status); }; }; then
24085 ac_cv_sizeof_long_long=`cat conftest.val`
24087 echo "$as_me: program exited with status
$ac_status" >&5
24088 echo "$as_me: failed program was
:" >&5
24089 sed 's/^/| /' conftest.$ac_ext >&5
24091 ( exit $ac_status )
24092 if test "$ac_cv_type_long_long" = yes; then
24093 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24094 See \
`config.log' for more details." >&5
24095 echo "$as_me: error: cannot compute sizeof (long long)
24096 See \`config.log
' for more details." >&2;}
24097 { (exit 77); exit 77; }; }
24099 ac_cv_sizeof_long_long=0
24102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24106 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24111 cat >>confdefs.h <<_ACEOF
24112 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24116 if test "$ac_cv_sizeof_long_long" != "0"; then
24117 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24121 { echo "$as_me:$LINENO: checking for long long" >&5
24122 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24123 if test "${ac_cv_type_long_long+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 cat >conftest.$ac_ext <<_ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 $ac_includes_default
24133 typedef long long ac__type_new_;
24137 if ((ac__type_new_ *) 0)
24139 if (sizeof (ac__type_new_))
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24154 grep -v '^
*+' conftest.er1 >conftest.err
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_c_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24162 ac_cv_type_long_long=yes
24164 echo "$as_me: failed program was:" >&5
24165 sed 's
/^
/| /' conftest.$ac_ext >&5
24167 ac_cv_type_long_long=no
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24173 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24175 # The cast to long int works around a bug in the HP C Compiler
24176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24178 # This bug is HP SR number 8606223364.
24179 { echo "$as_me:$LINENO: checking size of long long" >&5
24180 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24181 if test "${ac_cv_sizeof_long_long+set}" = set; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24184 if test "$cross_compiling" = yes; then
24185 # Depending upon the size, compute the lo and hi bounds.
24186 cat >conftest.
$ac_ext <<_ACEOF
24189 cat confdefs.h
>>conftest.
$ac_ext
24190 cat >>conftest.
$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192 $ac_includes_default
24193 typedef long long ac__type_sizeof_;
24197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24204 rm -f conftest.
$ac_objext
24205 if { (ac_try
="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24213 grep -v '^ *+' conftest.er1 >conftest.err
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_c_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24223 cat >conftest.$ac_ext <<_ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 $ac_includes_default
24230 typedef long long ac__type_sizeof_;
24234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24241 rm -f conftest.$ac_objext
24242 if { (ac_try="$ac_compile"
24243 case "(($ac_try" in
24244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24245 *) ac_try_echo
=$ac_try;;
24247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24248 (eval "$ac_compile") 2>conftest.er1
24250 grep -v '^ *+' conftest.er1
>conftest.err
24252 cat conftest.err
>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } && {
24255 test -z "$ac_c_werror_flag" ||
24256 test ! -s conftest.err
24257 } && test -s conftest.
$ac_objext; then
24258 ac_hi
=$ac_mid; break
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.
$ac_ext >&5
24263 ac_lo
=`expr $ac_mid + 1`
24264 if test $ac_lo -le $ac_mid; then
24268 ac_mid
=`expr 2 '*' $ac_mid + 1`
24271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.
$ac_ext >&5
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 $ac_includes_default
24284 typedef long long ac__type_sizeof_;
24288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24295 rm -f conftest.
$ac_objext
24296 if { (ac_try
="$ac_compile"
24297 case "(($ac_try" in
24298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24299 *) ac_try_echo=$ac_try;;
24301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24302 (eval "$ac_compile") 2>conftest.er1
24304 grep -v '^ *+' conftest.er1 >conftest.err
24306 cat conftest.err >&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } && {
24309 test -z "$ac_c_werror_flag" ||
24310 test ! -s conftest.err
24311 } && test -s conftest.$ac_objext; then
24314 cat >conftest.$ac_ext <<_ACEOF
24317 cat confdefs.h >>conftest.$ac_ext
24318 cat >>conftest.$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 $ac_includes_default
24321 typedef long long ac__type_sizeof_;
24325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24332 rm -f conftest.$ac_objext
24333 if { (ac_try="$ac_compile"
24334 case "(($ac_try" in
24335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24336 *) ac_try_echo
=$ac_try;;
24338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24339 (eval "$ac_compile") 2>conftest.er1
24341 grep -v '^ *+' conftest.er1
>conftest.err
24343 cat conftest.err
>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); } && {
24346 test -z "$ac_c_werror_flag" ||
24347 test ! -s conftest.err
24348 } && test -s conftest.
$ac_objext; then
24349 ac_lo
=$ac_mid; break
24351 echo "$as_me: failed program was:" >&5
24352 sed 's/^/| /' conftest.
$ac_ext >&5
24354 ac_hi
=`expr '(' $ac_mid ')' - 1`
24355 if test $ac_mid -le $ac_hi; then
24359 ac_mid
=`expr 2 '*' $ac_mid`
24362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.
$ac_ext >&5
24371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24375 # Binary search between lo and hi bounds.
24376 while test "x$ac_lo" != "x$ac_hi"; do
24377 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24378 cat >conftest.
$ac_ext <<_ACEOF
24381 cat confdefs.h
>>conftest.
$ac_ext
24382 cat >>conftest.
$ac_ext <<_ACEOF
24383 /* end confdefs.h. */
24384 $ac_includes_default
24385 typedef long long ac__type_sizeof_;
24389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24396 rm -f conftest.
$ac_objext
24397 if { (ac_try
="$ac_compile"
24398 case "(($ac_try" in
24399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_compile") 2>conftest.er1
24405 grep -v '^ *+' conftest.er1 >conftest.err
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_c_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest.$ac_objext; then
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.$ac_ext >&5
24418 ac_lo=`expr '(' $ac_mid ')' + 1`
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24425 '') if test "$ac_cv_type_long_long" = yes; then
24426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24427 See \`config.log
' for more details." >&5
24428 echo "$as_me: error: cannot compute sizeof (long long)
24429 See \`config.log' for more details.
" >&2;}
24430 { (exit 77); exit 77; }; }
24432 ac_cv_sizeof_long_long=0
24436 cat >conftest.$ac_ext <<_ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 typedef long long ac__type_sizeof_;
24444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24447 #include <stdlib.h>
24452 FILE *f = fopen ("conftest.val
", "w
");
24455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24457 long int i = longval ();
24458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24460 fprintf (f, "%ld
\n", i);
24464 unsigned long int i = ulongval ();
24465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24467 fprintf (f, "%lu
\n", i);
24469 return ferror (f) || fclose (f) != 0;
24475 rm -f conftest$ac_exeext
24476 if { (ac_try="$ac_link"
24477 case "(($ac_try" in
24478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24482 (eval "$ac_link") 2>&5
24484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24486 { (case "(($ac_try" in
24487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24488 *) ac_try_echo=$ac_try;;
24490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24491 (eval "$ac_try") 2>&5
24493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24494 (exit $ac_status); }; }; then
24495 ac_cv_sizeof_long_long=`cat conftest.val`
24497 echo "$as_me: program exited with status
$ac_status" >&5
24498 echo "$as_me: failed program was
:" >&5
24499 sed 's/^/| /' conftest.$ac_ext >&5
24501 ( exit $ac_status )
24502 if test "$ac_cv_type_long_long" = yes; then
24503 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24504 See \
`config.log' for more details." >&5
24505 echo "$as_me: error: cannot compute sizeof (long long)
24506 See \`config.log
' for more details." >&2;}
24507 { (exit 77); exit 77; }; }
24509 ac_cv_sizeof_long_long=0
24512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24517 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24521 cat >>confdefs.h <<_ACEOF
24522 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24528 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24529 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24530 if test "${ac_cv_type_wchar_t+set}" = set; then
24531 echo $ECHO_N "(cached) $ECHO_C" >&6
24533 cat >conftest.$ac_ext <<_ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24540 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24541 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24542 # error "fake wchar_t"
24544 #ifdef HAVE_WCHAR_H
24546 # include <stddef.h>
24548 # include <wchar.h>
24550 #ifdef HAVE_STDLIB_H
24551 # include <stdlib.h>
24557 typedef wchar_t ac__type_new_
;
24561 if ((ac__type_new_
*) 0)
24563 if (sizeof
(ac__type_new_
))
24569 rm -f conftest.
$ac_objext
24570 if { (ac_try
="$ac_compile"
24571 case "(($ac_try" in
24572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24573 *) ac_try_echo=$ac_try;;
24575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24576 (eval "$ac_compile") 2>conftest.er1
24578 grep -v '^ *+' conftest.er1 >conftest.err
24580 cat conftest.err >&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } && {
24583 test -z "$ac_c_werror_flag" ||
24584 test ! -s conftest.err
24585 } && test -s conftest.$ac_objext; then
24586 ac_cv_type_wchar_t=yes
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24591 ac_cv_type_wchar_t=no
24594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24597 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24599 # The cast to long int works around a bug in the HP C Compiler
24600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24601 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24602 # This bug is HP SR number 8606223364.
24603 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24604 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24605 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 if test "$cross_compiling" = yes; then
24609 # Depending upon the size, compute the lo and hi bounds.
24610 cat >conftest.$ac_ext <<_ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24617 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24618 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24619 # error "fake wchar_t"
24621 #ifdef HAVE_WCHAR_H
24623 # include <stddef.h>
24625 # include <wchar.h>
24627 #ifdef HAVE_STDLIB_H
24628 # include <stdlib.h>
24634 typedef wchar_t ac__type_sizeof_
;
24638 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24645 rm -f conftest.
$ac_objext
24646 if { (ac_try
="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24654 grep -v '^ *+' conftest.er1 >conftest.err
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24664 cat >conftest.$ac_ext <<_ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24671 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24672 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24673 # error "fake wchar_t"
24675 #ifdef HAVE_WCHAR_H
24677 # include <stddef.h>
24679 # include <wchar.h>
24681 #ifdef HAVE_STDLIB_H
24682 # include <stdlib.h>
24688 typedef wchar_t ac__type_sizeof_;
24692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24699 rm -f conftest.$ac_objext
24700 if { (ac_try="$ac_compile"
24701 case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24703 *) ac_try_echo
=$ac_try;;
24705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_compile") 2>conftest.er1
24708 grep -v '^ *+' conftest.er1
>conftest.err
24710 cat conftest.err
>&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } && {
24713 test -z "$ac_c_werror_flag" ||
24714 test ! -s conftest.err
24715 } && test -s conftest.
$ac_objext; then
24716 ac_hi
=$ac_mid; break
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.
$ac_ext >&5
24721 ac_lo
=`expr $ac_mid + 1`
24722 if test $ac_lo -le $ac_mid; then
24726 ac_mid
=`expr 2 '*' $ac_mid + 1`
24729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24732 echo "$as_me: failed program was:" >&5
24733 sed 's/^/| /' conftest.
$ac_ext >&5
24735 cat >conftest.
$ac_ext <<_ACEOF
24738 cat confdefs.h
>>conftest.
$ac_ext
24739 cat >>conftest.
$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24744 # error "fake wchar_t"
24746 #ifdef HAVE_WCHAR_H
24748 # include <stddef.h>
24750 # include <wchar.h>
24752 #ifdef HAVE_STDLIB_H
24753 # include <stdlib.h>
24759 typedef wchar_t ac__type_sizeof_;
24763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24770 rm -f conftest.
$ac_objext
24771 if { (ac_try
="$ac_compile"
24772 case "(($ac_try" in
24773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24774 *) ac_try_echo=$ac_try;;
24776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24777 (eval "$ac_compile") 2>conftest.er1
24779 grep -v '^ *+' conftest.er1 >conftest.err
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } && {
24784 test -z "$ac_c_werror_flag" ||
24785 test ! -s conftest.err
24786 } && test -s conftest.$ac_objext; then
24789 cat >conftest.$ac_ext <<_ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24798 # error "fake wchar_t"
24800 #ifdef HAVE_WCHAR_H
24802 # include <stddef.h>
24804 # include <wchar.h>
24806 #ifdef HAVE_STDLIB_H
24807 # include <stdlib.h>
24813 typedef wchar_t ac__type_sizeof_;
24817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24828 *) ac_try_echo
=$ac_try;;
24830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24833 grep -v '^ *+' conftest.er1
>conftest.err
24835 cat conftest.err
>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_c_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.
$ac_objext; then
24841 ac_lo
=$ac_mid; break
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.
$ac_ext >&5
24846 ac_hi
=`expr '(' $ac_mid ')' - 1`
24847 if test $ac_mid -le $ac_hi; then
24851 ac_mid
=`expr 2 '*' $ac_mid`
24854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24857 echo "$as_me: failed program was:" >&5
24858 sed 's/^/| /' conftest.
$ac_ext >&5
24863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24867 # Binary search between lo and hi bounds.
24868 while test "x$ac_lo" != "x$ac_hi"; do
24869 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24870 cat >conftest.
$ac_ext <<_ACEOF
24873 cat confdefs.h
>>conftest.
$ac_ext
24874 cat >>conftest.
$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24877 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24878 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24879 # error "fake wchar_t"
24881 #ifdef HAVE_WCHAR_H
24883 # include <stddef.h>
24885 # include <wchar.h>
24887 #ifdef HAVE_STDLIB_H
24888 # include <stdlib.h>
24894 typedef wchar_t ac__type_sizeof_;
24898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24905 rm -f conftest.
$ac_objext
24906 if { (ac_try
="$ac_compile"
24907 case "(($ac_try" in
24908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_compile") 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24927 ac_lo=`expr '(' $ac_mid ')' + 1`
24930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24933 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24934 '') if test "$ac_cv_type_wchar_t" = yes; then
24935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24936 See \`config.log
' for more details." >&5
24937 echo "$as_me: error: cannot compute sizeof (wchar_t)
24938 See \`config.log' for more details.
" >&2;}
24939 { (exit 77); exit 77; }; }
24941 ac_cv_sizeof_wchar_t=0
24945 cat >conftest.$ac_ext <<_ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24952 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24954 # error "fake wchar_t
"
24956 #ifdef HAVE_WCHAR_H
24958 # include <stddef.h>
24960 # include <wchar.h>
24962 #ifdef HAVE_STDLIB_H
24963 # include <stdlib.h>
24969 typedef wchar_t ac__type_sizeof_;
24970 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24971 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24973 #include <stdlib.h>
24978 FILE *f = fopen ("conftest.val
", "w
");
24981 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24983 long int i = longval ();
24984 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24986 fprintf (f, "%ld
\n", i);
24990 unsigned long int i = ulongval ();
24991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24993 fprintf (f, "%lu
\n", i);
24995 return ferror (f) || fclose (f) != 0;
25001 rm -f conftest$ac_exeext
25002 if { (ac_try="$ac_link"
25003 case "(($ac_try" in
25004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25005 *) ac_try_echo=$ac_try;;
25007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25008 (eval "$ac_link") 2>&5
25010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25012 { (case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;;
25016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25017 (eval "$ac_try") 2>&5
25019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25020 (exit $ac_status); }; }; then
25021 ac_cv_sizeof_wchar_t=`cat conftest.val`
25023 echo "$as_me: program exited with status
$ac_status" >&5
25024 echo "$as_me: failed program was
:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25027 ( exit $ac_status )
25028 if test "$ac_cv_type_wchar_t" = yes; then
25029 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25030 See \
`config.log' for more details." >&5
25031 echo "$as_me: error: cannot compute sizeof (wchar_t)
25032 See \`config.log
' for more details." >&2;}
25033 { (exit 77); exit 77; }; }
25035 ac_cv_sizeof_wchar_t=0
25038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25042 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25043 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25047 cat >>confdefs.h <<_ACEOF
25048 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25052 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25058 { echo "$as_me:$LINENO: checking for va_copy" >&5
25059 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25060 if test "${wx_cv_func_va_copy+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 ac_cpp='$CXXCPP $CPPFLAGS'
25066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25067 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070 cat >conftest.$ac_ext <<_ACEOF
25072 #include <stdarg.h>
25073 void foo(char *f, ...)
25087 rm -f conftest.$ac_objext conftest$ac_exeext
25088 if { (ac_try="$ac_link"
25089 case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_link") 2>conftest.er1
25096 grep -v '^
*+' conftest.er1 >conftest.err
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_cxx_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest$ac_exeext &&
25104 $as_test_x conftest$ac_exeext; then
25105 wx_cv_func_va_copy=yes
25107 echo "$as_me: failed program was:" >&5
25108 sed 's
/^
/| /' conftest.$ac_ext >&5
25110 wx_cv_func_va_copy=no
25114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25115 conftest$ac_exeext conftest.$ac_ext
25117 ac_cpp='$CPP $CPPFLAGS'
25118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25119 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25125 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25126 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25128 if test $wx_cv_func_va_copy = "yes"; then
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_VA_COPY 1
25134 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25135 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25136 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 if test "$cross_compiling" = yes; then
25141 wx_cv_type_va_list_lvalue=yes
25144 cat >conftest.$ac_ext <<_ACEOF
25146 #include <stdarg.h>
25147 int foo(char *f, ...)
25152 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25160 return foo("hi", 17);
25163 rm -f conftest$ac_exeext
25164 if { (ac_try="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25174 { (case "(($ac_try" in
25175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25176 *) ac_try_echo=$ac_try;;
25178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25179 (eval "$ac_try") 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 wx_cv_type_va_list_lvalue=yes
25185 echo "$as_me: program exited with status $ac_status" >&5
25186 echo "$as_me: failed program was:" >&5
25187 sed 's
/^
/| /' conftest.$ac_ext >&5
25189 ( exit $ac_status )
25190 wx_cv_type_va_list_lvalue=no
25192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25199 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25200 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25202 if test $wx_cv_type_va_list_lvalue != "yes"; then
25203 cat >>confdefs.h <<\_ACEOF
25204 #define VA_LIST_IS_ARRAY 1
25210 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25212 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25213 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25214 if test "${wx_cv_have_variadic_macros+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 ac_cpp='$CXXCPP $CPPFLAGS'
25220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25221 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25224 cat >conftest.$ac_ext <<_ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25232 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25238 test("%s %d %p", "test", 1, 0);
25245 rm -f conftest.$ac_objext
25246 if { (ac_try="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25254 grep -v '^
*+' conftest.er1 >conftest.err
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_have_variadic_macros=yes
25264 echo "$as_me: failed program was:" >&5
25265 sed 's
/^
/| /' conftest.$ac_ext >&5
25267 wx_cv_have_variadic_macros=no
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25275 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25282 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25284 if test $wx_cv_have_variadic_macros = "yes"; then
25285 cat >>confdefs.h <<\_ACEOF
25286 #define HAVE_VARIADIC_MACROS 1
25292 # Check whether --enable-largefile was given.
25293 if test "${enable_largefile+set}" = set; then
25294 enableval=$enable_largefile;
25297 if test "$enable_largefile" != no; then
25300 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25301 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25302 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 cat >conftest.$ac_ext <<_ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #define _FILE_OFFSET_BITS 64
25313 #include <sys/types.h>
25318 unsigned int field: sizeof(off_t) == 8;
25325 rm -f conftest.$ac_objext
25326 if { (ac_try="$ac_compile"
25327 case "(($ac_try" in
25328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25329 *) ac_try_echo=$ac_try;;
25331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25332 (eval "$ac_compile") 2>conftest.er1
25334 grep -v '^
*+' conftest.er1 >conftest.err
25336 cat conftest.err >&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } && {
25339 test -z "$ac_c_werror_flag" ||
25340 test ! -s conftest.err
25341 } && test -s conftest.$ac_objext; then
25342 ac_cv_sys_file_offset_bits=64
25344 echo "$as_me: failed program was:" >&5
25345 sed 's
/^
/| /' conftest.$ac_ext >&5
25347 ac_cv_sys_file_offset_bits=no
25350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25354 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25355 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25357 if test "$ac_cv_sys_file_offset_bits" != no; then
25359 cat >>confdefs.h <<_ACEOF
25360 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25365 if test "x$wx_largefile" != "xyes"; then
25367 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25368 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25369 if test "${ac_cv_sys_large_files+set}" = set; then
25370 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 cat >conftest.$ac_ext <<_ACEOF
25376 cat confdefs.h >>conftest.$ac_ext
25377 cat >>conftest.$ac_ext <<_ACEOF
25378 /* end confdefs.h. */
25379 #define _LARGE_FILES 1
25380 #include <sys/types.h>
25385 unsigned int field: sizeof(off_t) == 8;
25392 rm -f conftest.$ac_objext
25393 if { (ac_try="$ac_compile"
25394 case "(($ac_try" in
25395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25396 *) ac_try_echo=$ac_try;;
25398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25399 (eval "$ac_compile") 2>conftest.er1
25401 grep -v '^
*+' conftest.er1 >conftest.err
25403 cat conftest.err >&5
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } && {
25406 test -z "$ac_c_werror_flag" ||
25407 test ! -s conftest.err
25408 } && test -s conftest.$ac_objext; then
25409 ac_cv_sys_large_files=1
25411 echo "$as_me: failed program was:" >&5
25412 sed 's
/^
/| /' conftest.$ac_ext >&5
25414 ac_cv_sys_large_files=no
25417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25421 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25422 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25424 if test "$ac_cv_sys_large_files" != no; then
25426 cat >>confdefs.h <<_ACEOF
25427 #define _LARGE_FILES $ac_cv_sys_large_files
25434 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25435 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25436 if test "x$wx_largefile" = "xyes"; then
25437 cat >>confdefs.h <<\_ACEOF
25438 #define HAVE_LARGEFILE_SUPPORT 1
25442 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25443 echo "${ECHO_T}$wx_largefile" >&6; }
25447 if test "x$wx_largefile" = "xyes"; then
25448 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25449 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25451 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25452 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25453 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25454 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25459 ac_cpp='$CXXCPP $CPPFLAGS'
25460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25461 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25464 cat >conftest.$ac_ext <<_ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25475 #ifndef __STDC_EXT__
25483 rm -f conftest.$ac_objext
25484 if { (ac_try="$ac_compile"
25485 case "(($ac_try" in
25486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25487 *) ac_try_echo=$ac_try;;
25489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25490 (eval "$ac_compile") 2>conftest.er1
25492 grep -v '^
*+' conftest.er1 >conftest.err
25494 cat conftest.err >&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } && {
25497 test -z "$ac_cxx_werror_flag" ||
25498 test ! -s conftest.err
25499 } && test -s conftest.$ac_objext; then
25500 wx_cv_STDC_EXT_required=no
25502 echo "$as_me: failed program was:" >&5
25503 sed 's
/^
/| /' conftest.$ac_ext >&5
25505 wx_cv_STDC_EXT_required=yes
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 ac_cpp='$CPP $CPPFLAGS'
25512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25513 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25519 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25520 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25521 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25526 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25528 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25529 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25530 if test "${ac_cv_sys_largefile_source+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 cat >conftest.$ac_ext <<_ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <sys/types.h> /* for off_t */
25545 int (*fp) (FILE *, off_t, int) = fseeko;
25546 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25551 rm -f conftest.$ac_objext conftest$ac_exeext
25552 if { (ac_try="$ac_link"
25553 case "(($ac_try" in
25554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25555 *) ac_try_echo=$ac_try;;
25557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25558 (eval "$ac_link") 2>conftest.er1
25560 grep -v '^
*+' conftest.er1 >conftest.err
25562 cat conftest.err >&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); } && {
25565 test -z "$ac_c_werror_flag" ||
25566 test ! -s conftest.err
25567 } && test -s conftest$ac_exeext &&
25568 $as_test_x conftest$ac_exeext; then
25569 ac_cv_sys_largefile_source=no; break
25571 echo "$as_me: failed program was:" >&5
25572 sed 's
/^
/| /' conftest.$ac_ext >&5
25577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25578 conftest$ac_exeext conftest.$ac_ext
25579 cat >conftest.$ac_ext <<_ACEOF
25582 cat confdefs.h >>conftest.$ac_ext
25583 cat >>conftest.$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 #define _LARGEFILE_SOURCE 1
25586 #include <sys/types.h> /* for off_t */
25591 int (*fp) (FILE *, off_t, int) = fseeko;
25592 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25597 rm -f conftest.$ac_objext conftest$ac_exeext
25598 if { (ac_try="$ac_link"
25599 case "(($ac_try" in
25600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25601 *) ac_try_echo=$ac_try;;
25603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25604 (eval "$ac_link") 2>conftest.er1
25606 grep -v '^
*+' conftest.er1 >conftest.err
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } && {
25611 test -z "$ac_c_werror_flag" ||
25612 test ! -s conftest.err
25613 } && test -s conftest$ac_exeext &&
25614 $as_test_x conftest$ac_exeext; then
25615 ac_cv_sys_largefile_source=1; break
25617 echo "$as_me: failed program was:" >&5
25618 sed 's
/^
/| /' conftest.$ac_ext >&5
25623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25624 conftest$ac_exeext conftest.$ac_ext
25625 ac_cv_sys_largefile_source=unknown
25629 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25630 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25631 case $ac_cv_sys_largefile_source in #(
25634 cat >>confdefs.h <<_ACEOF
25635 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25641 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25642 # in glibc 2.1.3, but that breaks too many other things.
25643 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25644 if test $ac_cv_sys_largefile_source != unknown; then
25646 cat >>confdefs.h <<\_ACEOF
25647 #define HAVE_FSEEKO 1
25652 if test "$ac_cv_sys_largefile_source" != no; then
25653 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25657 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25658 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25659 if test "${ac_cv_c_bigendian+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 ac_cv_c_bigendian=unknown
25663 # See if sys/param.h defines the BYTE_ORDER macro.
25664 cat >conftest.$ac_ext <<_ACEOF
25667 cat confdefs.h >>conftest.$ac_ext
25668 cat >>conftest.$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 #include <sys/types.h>
25671 #include <sys/param.h>
25676 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25677 bogus endian macros
25683 rm -f conftest.$ac_objext
25684 if { (ac_try="$ac_compile"
25685 case "(($ac_try" in
25686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25687 *) ac_try_echo=$ac_try;;
25689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25690 (eval "$ac_compile") 2>conftest.er1
25692 grep -v '^
*+' conftest.er1 >conftest.err
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } && {
25697 test -z "$ac_c_werror_flag" ||
25698 test ! -s conftest.err
25699 } && test -s conftest.$ac_objext; then
25700 # It does; now see whether it defined to BIG_ENDIAN or not.
25701 cat >conftest.$ac_ext <<_ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 #include <sys/types.h>
25708 #include <sys/param.h>
25713 #if BYTE_ORDER != BIG_ENDIAN
25720 rm -f conftest.$ac_objext
25721 if { (ac_try="$ac_compile"
25722 case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_compile") 2>conftest.er1
25729 grep -v '^
*+' conftest.er1 >conftest.err
25731 cat conftest.err >&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } && {
25734 test -z "$ac_c_werror_flag" ||
25735 test ! -s conftest.err
25736 } && test -s conftest.$ac_objext; then
25737 ac_cv_c_bigendian=yes
25739 echo "$as_me: failed program was:" >&5
25740 sed 's
/^
/| /' conftest.$ac_ext >&5
25742 ac_cv_c_bigendian=no
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25747 echo "$as_me: failed program was:" >&5
25748 sed 's
/^
/| /' conftest.$ac_ext >&5
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754 if test $ac_cv_c_bigendian = unknown; then
25755 if test "$cross_compiling" = yes; then
25756 ac_cv_c_bigendian=unknown
25758 cat >conftest.$ac_ext <<_ACEOF
25761 cat confdefs.h >>conftest.$ac_ext
25762 cat >>conftest.$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25765 /* Are we little or big endian? From Harbison&Steele. */
25769 char c[sizeof (long)];
25772 exit (u.c[sizeof (long) - 1] == 1);
25775 rm -f conftest$ac_exeext
25776 if { (ac_try="$ac_link"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25779 *) ac_try_echo=$ac_try;;
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_link") 2>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25786 { (case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25788 *) ac_try_echo=$ac_try;;
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_try") 2>&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); }; }; then
25795 ac_cv_c_bigendian=no
25797 echo "$as_me: program exited with status $ac_status" >&5
25798 echo "$as_me: failed program was:" >&5
25799 sed 's
/^
/| /' conftest.$ac_ext >&5
25801 ( exit $ac_status )
25802 ac_cv_c_bigendian=yes
25804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25810 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25811 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25812 if test $ac_cv_c_bigendian = unknown; then
25813 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25814 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25816 if test $ac_cv_c_bigendian = yes; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define WORDS_BIGENDIAN 1
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25829 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25834 for ac_header in iostream
25836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25842 cat >conftest.$ac_ext <<_ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25850 #include <$ac_header>
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25861 grep -v '^
*+' conftest.er1 >conftest.err
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 eval "$as_ac_Header=yes"
25871 echo "$as_me: failed program was:" >&5
25872 sed 's
/^
/| /' conftest.$ac_ext >&5
25874 eval "$as_ac_Header=no"
25877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25879 ac_res=`eval echo '${'$as_ac_Header'}'`
25880 { echo "$as_me:$LINENO: result: $ac_res" >&5
25881 echo "${ECHO_T}$ac_res" >&6; }
25882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25883 cat >>confdefs.h <<_ACEOF
25884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25892 if test "$ac_cv_header_iostream" = "yes" ; then
25895 cat >>confdefs.h <<\_ACEOF
25896 #define wxUSE_IOSTREAMH 1
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25904 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25910 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25911 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25912 if test "${wx_cv_cpp_bool+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 ac_cpp='$CXXCPP $CPPFLAGS'
25919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25920 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924 cat >conftest.$ac_ext <<_ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25944 rm -f conftest.$ac_objext
25945 if { (ac_try="$ac_compile"
25946 case "(($ac_try" in
25947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25948 *) ac_try_echo=$ac_try;;
25950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25951 (eval "$ac_compile") 2>conftest.er1
25953 grep -v '^
*+' conftest.er1 >conftest.err
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } && {
25958 test -z "$ac_cxx_werror_flag" ||
25959 test ! -s conftest.err
25960 } && test -s conftest.$ac_objext; then
25965 echo "$as_me: failed program was:" >&5
25966 sed 's
/^
/| /' conftest.$ac_ext >&5
25974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25979 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25984 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25985 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25987 if test "$wx_cv_cpp_bool" = "yes"; then
25988 cat >>confdefs.h <<\_ACEOF
25989 #define HAVE_BOOL 1
25996 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25997 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25998 if test "${wx_cv_explicit+set}" = set; then
25999 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 ac_cpp='$CXXCPP $CPPFLAGS'
26005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26006 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010 cat >conftest.$ac_ext <<_ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26017 class Foo { public: explicit Foo(int) {} };
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26038 grep -v '^
*+' conftest.er1 >conftest.err
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_cxx_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26047 cat >conftest.$ac_ext <<_ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26054 class Foo { public: explicit Foo(int) {} };
26055 static void TakeFoo(const Foo& foo) { }
26068 rm -f conftest.$ac_objext
26069 if { (ac_try="$ac_compile"
26070 case "(($ac_try" in
26071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26072 *) ac_try_echo=$ac_try;;
26074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26075 (eval "$ac_compile") 2>conftest.er1
26077 grep -v '^
*+' conftest.er1 >conftest.err
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } && {
26082 test -z "$ac_cxx_werror_flag" ||
26083 test ! -s conftest.err
26084 } && test -s conftest.$ac_objext; then
26087 echo "$as_me: failed program was:" >&5
26088 sed 's
/^
/| /' conftest.$ac_ext >&5
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097 echo "$as_me: failed program was:" >&5
26098 sed 's
/^
/| /' conftest.$ac_ext >&5
26104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107 ac_cpp='$CPP $CPPFLAGS'
26108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26109 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26114 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26115 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26117 if test "$wx_cv_explicit" = "yes"; then
26118 cat >>confdefs.h <<\_ACEOF
26119 #define HAVE_EXPLICIT 1
26125 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26126 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26127 if test "${ac_cv_cxx_const_cast+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26134 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26137 cat >conftest.$ac_ext <<_ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26147 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26152 rm -f conftest.$ac_objext
26153 if { (ac_try="$ac_compile"
26154 case "(($ac_try" in
26155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26156 *) ac_try_echo=$ac_try;;
26158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26159 (eval "$ac_compile") 2>conftest.er1
26161 grep -v '^
*+' conftest.er1 >conftest.err
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } && {
26166 test -z "$ac_cxx_werror_flag" ||
26167 test ! -s conftest.err
26168 } && test -s conftest.$ac_objext; then
26169 ac_cv_cxx_const_cast=yes
26171 echo "$as_me: failed program was:" >&5
26172 sed 's
/^
/| /' conftest.$ac_ext >&5
26174 ac_cv_cxx_const_cast=no
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26179 ac_cpp='$CPP $CPPFLAGS'
26180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26181 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26186 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26187 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26188 if test "$ac_cv_cxx_const_cast" = yes; then
26190 cat >>confdefs.h <<\_ACEOF
26191 #define HAVE_CONST_CAST
26196 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26197 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26198 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26205 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26208 cat >conftest.$ac_ext <<_ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 #include <typeinfo>
26215 class Base { public : Base () {} virtual void f () = 0;};
26216 class Derived : public Base { public : Derived () {} virtual void f () {} };
26217 class Unrelated { public : Unrelated () {} };
26218 int g (Unrelated&) { return 0; }
26223 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26228 rm -f conftest.$ac_objext
26229 if { (ac_try="$ac_compile"
26230 case "(($ac_try" in
26231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26232 *) ac_try_echo=$ac_try;;
26234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26235 (eval "$ac_compile") 2>conftest.er1
26237 grep -v '^
*+' conftest.er1 >conftest.err
26239 cat conftest.err >&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } && {
26242 test -z "$ac_cxx_werror_flag" ||
26243 test ! -s conftest.err
26244 } && test -s conftest.$ac_objext; then
26245 ac_cv_cxx_reinterpret_cast=yes
26247 echo "$as_me: failed program was:" >&5
26248 sed 's
/^
/| /' conftest.$ac_ext >&5
26250 ac_cv_cxx_reinterpret_cast=no
26253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26255 ac_cpp='$CPP $CPPFLAGS'
26256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26257 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26262 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26263 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26264 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26266 cat >>confdefs.h <<\_ACEOF
26267 #define HAVE_REINTERPRET_CAST
26272 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26273 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26274 if test "${ac_cv_cxx_static_cast+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26281 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284 cat >conftest.$ac_ext <<_ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <typeinfo>
26291 class Base { public : Base () {} virtual void f () = 0; };
26292 class Derived : public Base { public : Derived () {} virtual void f () {} };
26293 int g (Derived&) { return 0; }
26298 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26303 rm -f conftest.$ac_objext
26304 if { (ac_try="$ac_compile"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_compile") 2>conftest.er1
26312 grep -v '^
*+' conftest.er1 >conftest.err
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_cxx_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest.$ac_objext; then
26320 ac_cv_cxx_static_cast=yes
26322 echo "$as_me: failed program was:" >&5
26323 sed 's
/^
/| /' conftest.$ac_ext >&5
26325 ac_cv_cxx_static_cast=no
26328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26332 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26338 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26339 if test "$ac_cv_cxx_static_cast" = yes; then
26341 cat >>confdefs.h <<\_ACEOF
26342 #define HAVE_STATIC_CAST
26348 if test "x$SUNCXX" = xyes; then
26349 CXXFLAGS="-features=tmplife $CXXFLAGS"
26352 if test "x$SUNCC" = xyes; then
26353 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26356 if test "x$SGICC" = "xyes"; then
26357 CFLAGS="-woff 3970 $CFLAGS"
26359 if test "x$SGICXX" = "xyes"; then
26360 CXXFLAGS="-woff 3970 $CXXFLAGS"
26363 if test "x$HPCC" = "xyes"; then
26364 CFLAGS="+W 2011,2450 $CFLAGS"
26366 if test "x$HPCXX" = "xyes"; then
26367 CXXFLAGS="+W 2340 $CXXFLAGS"
26370 if test "x$COMPAQCXX" = "xyes"; then
26371 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26377 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26381 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26382 if test "$wxUSE_UNICODE" = "yes"; then
26383 std_string="std::wstring"
26384 char_type="wchar_t"
26386 std_string="std::string"
26390 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26391 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26392 if test "${wx_cv_class_stdstring+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26396 cat >conftest.$ac_ext <<_ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26420 grep -v '^
*+' conftest.er1 >conftest.err
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 wx_cv_class_stdstring=yes
26430 echo "$as_me: failed program was:" >&5
26431 sed 's
/^
/| /' conftest.$ac_ext >&5
26433 wx_cv_class_stdstring=no
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26442 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26444 if test "$wx_cv_class_stdstring" = yes; then
26445 if test "$wxUSE_UNICODE" = "yes"; then
26446 cat >>confdefs.h <<\_ACEOF
26447 #define HAVE_STD_WSTRING 1
26452 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26453 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26454 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 cat >conftest.$ac_ext <<_ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26465 #ifdef HAVE_WCHAR_H
26467 # include <stddef.h>
26469 # include <wchar.h>
26471 #ifdef HAVE_STDLIB_H
26472 # include <stdlib.h>
26480 std::basic_string<$char_type> foo;
26481 const $char_type* dummy = foo.c_str();
26486 rm -f conftest.$ac_objext
26487 if { (ac_try="$ac_compile"
26488 case "(($ac_try" in
26489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26493 (eval "$ac_compile") 2>conftest.er1
26495 grep -v '^
*+' conftest.er1 >conftest.err
26497 cat conftest.err >&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } && {
26500 test -z "$ac_cxx_werror_flag" ||
26501 test ! -s conftest.err
26502 } && test -s conftest.$ac_objext; then
26503 wx_cv_class_stdbasicstring=yes
26505 echo "$as_me: failed program was:" >&5
26506 sed 's
/^
/| /' conftest.$ac_ext >&5
26508 wx_cv_class_stdbasicstring=no
26512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26517 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26519 if test "$wx_cv_class_stdbasicstring" != yes; then
26520 if test "$wxUSE_STL" = "yes"; then
26521 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
26522 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26523 { (exit 1); exit 1; }; }
26524 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26525 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
26526 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26527 { (exit 1); exit 1; }; }
26529 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26530 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26531 wxUSE_STD_STRING=no
26537 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26538 { echo "$as_me:$LINENO: checking for std::istream" >&5
26539 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26540 if test "${ac_cv_type_std__istream+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 cat >conftest.$ac_ext <<_ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549 #include <iostream>
26551 typedef std::istream ac__type_new_;
26555 if ((ac__type_new_ *) 0)
26557 if (sizeof (ac__type_new_))
26563 rm -f conftest.$ac_objext
26564 if { (ac_try="$ac_compile"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26567 *) ac_try_echo=$ac_try;;
26569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_compile") 2>conftest.er1
26572 grep -v '^
*+' conftest.er1 >conftest.err
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_cxx_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest.$ac_objext; then
26580 ac_cv_type_std__istream=yes
26582 echo "$as_me: failed program was:" >&5
26583 sed 's
/^
/| /' conftest.$ac_ext >&5
26585 ac_cv_type_std__istream=no
26588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26590 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26591 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26592 if test $ac_cv_type_std__istream = yes; then
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE_STD__ISTREAM 1
26600 wxUSE_STD_IOSTREAM=no
26602 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26603 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26604 if test "${ac_cv_type_std__ostream+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 cat >conftest.$ac_ext <<_ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 #include <iostream>
26615 typedef std::ostream ac__type_new_;
26619 if ((ac__type_new_ *) 0)
26621 if (sizeof (ac__type_new_))
26627 rm -f conftest.$ac_objext
26628 if { (ac_try="$ac_compile"
26629 case "(($ac_try" in
26630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26631 *) ac_try_echo=$ac_try;;
26633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26634 (eval "$ac_compile") 2>conftest.er1
26636 grep -v '^
*+' conftest.er1 >conftest.err
26638 cat conftest.err >&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); } && {
26641 test -z "$ac_cxx_werror_flag" ||
26642 test ! -s conftest.err
26643 } && test -s conftest.$ac_objext; then
26644 ac_cv_type_std__ostream=yes
26646 echo "$as_me: failed program was:" >&5
26647 sed 's
/^
/| /' conftest.$ac_ext >&5
26649 ac_cv_type_std__ostream=no
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26654 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26655 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26656 if test $ac_cv_type_std__ostream = yes; then
26658 cat >>confdefs.h <<_ACEOF
26659 #define HAVE_STD__OSTREAM 1
26664 wxUSE_STD_IOSTREAM=no
26668 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26669 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26670 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26671 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26672 { (exit 1); exit 1; }; }
26674 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26675 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26680 if test "$wxUSE_STL" = "yes"; then
26681 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26682 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26683 if test "${wx_cv_lib_stl+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 cat >conftest.$ac_ext <<_ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26693 #include <functional>
26694 #include <algorithm>
26700 std::vector<int> moo;
26701 std::list<int> foo;
26702 std::vector<int>::iterator it =
26703 std::find_if(moo.begin(), moo.end(),
26704 std::bind2nd(std::less<int>(), 3));
26709 rm -f conftest.$ac_objext
26710 if { (ac_try="$ac_compile"
26711 case "(($ac_try" in
26712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26713 *) ac_try_echo=$ac_try;;
26715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26716 (eval "$ac_compile") 2>conftest.er1
26718 grep -v '^
*+' conftest.er1 >conftest.err
26720 cat conftest.err >&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); } && {
26723 test -z "$ac_cxx_werror_flag" ||
26724 test ! -s conftest.err
26725 } && test -s conftest.$ac_objext; then
26728 echo "$as_me: failed program was:" >&5
26729 sed 's
/^
/| /' conftest.$ac_ext >&5
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26738 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26739 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26741 if test "$wx_cv_lib_stl" != yes; then
26742 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26743 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26744 { (exit 1); exit 1; }; }
26747 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26748 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26749 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26750 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 cat >conftest.$ac_ext <<_ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26762 std::string foo, bar;
26764 foo.compare(1, 1, bar);
26765 foo.compare(1, 1, bar, 1, 1);
26767 foo.compare(1, 1, "");
26768 foo.compare(1, 1, "", 2);
26773 rm -f conftest.$ac_objext
26774 if { (ac_try="$ac_compile"
26775 case "(($ac_try" in
26776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26777 *) ac_try_echo=$ac_try;;
26779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26780 (eval "$ac_compile") 2>conftest.er1
26782 grep -v '^
*+' conftest.er1 >conftest.err
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } && {
26787 test -z "$ac_cxx_werror_flag" ||
26788 test ! -s conftest.err
26789 } && test -s conftest.$ac_objext; then
26790 wx_cv_func_stdstring_compare=yes
26792 echo "$as_me: failed program was:" >&5
26793 sed 's
/^
/| /' conftest.$ac_ext >&5
26795 wx_cv_func_stdstring_compare=no
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26802 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26803 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26805 if test "$wx_cv_func_stdstring_compare" = yes; then
26806 cat >>confdefs.h <<\_ACEOF
26807 #define HAVE_STD_STRING_COMPARE 1
26812 { echo "$as_me:$LINENO: checking for hash_map" >&5
26813 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26814 if test "${ac_cv_header_hash_map+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26817 cat >conftest.$ac_ext <<_ACEOF
26820 cat confdefs.h >>conftest.$ac_ext
26821 cat >>conftest.$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26826 #include <hash_map>
26828 rm -f conftest.$ac_objext
26829 if { (ac_try="$ac_compile"
26830 case "(($ac_try" in
26831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_compile") 2>conftest.er1
26837 grep -v '^
*+' conftest.er1 >conftest.err
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_cxx_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest.$ac_objext; then
26845 ac_cv_header_hash_map=yes
26847 echo "$as_me: failed program was:" >&5
26848 sed 's
/^
/| /' conftest.$ac_ext >&5
26850 ac_cv_header_hash_map=no
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26855 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26856 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26857 if test $ac_cv_header_hash_map = yes; then
26858 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26859 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26860 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 cat >conftest.$ac_ext <<_ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869 #include <hash_map>
26870 #include <hash_set>
26874 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26875 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26880 rm -f conftest.$ac_objext
26881 if { (ac_try="$ac_compile"
26882 case "(($ac_try" in
26883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26884 *) ac_try_echo=$ac_try;;
26886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26887 (eval "$ac_compile") 2>conftest.er1
26889 grep -v '^
*+' conftest.er1 >conftest.err
26891 cat conftest.err >&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } && {
26894 test -z "$ac_cxx_werror_flag" ||
26895 test ! -s conftest.err
26896 } && test -s conftest.$ac_objext; then
26897 wx_cv_class_stdhashmapset=yes
26899 echo "$as_me: failed program was:" >&5
26900 sed 's
/^
/| /' conftest.$ac_ext >&5
26902 wx_cv_class_stdhashmapset=no
26905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26909 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26910 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26915 if test "$wx_cv_class_stdhashmapset" = yes; then
26916 cat >>confdefs.h <<\_ACEOF
26917 #define HAVE_HASH_MAP 1
26920 cat >>confdefs.h <<\_ACEOF
26921 #define HAVE_STD_HASH_MAP 1
26926 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26927 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26928 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26929 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 cat >conftest.$ac_ext <<_ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26940 #include <ext/hash_map>
26942 rm -f conftest.$ac_objext
26943 if { (ac_try="$ac_compile"
26944 case "(($ac_try" in
26945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_compile") 2>conftest.er1
26951 grep -v '^
*+' conftest.er1 >conftest.err
26953 cat conftest.err >&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } && {
26956 test -z "$ac_cxx_werror_flag" ||
26957 test ! -s conftest.err
26958 } && test -s conftest.$ac_objext; then
26959 ac_cv_header_ext_hash_map=yes
26961 echo "$as_me: failed program was:" >&5
26962 sed 's
/^
/| /' conftest.$ac_ext >&5
26964 ac_cv_header_ext_hash_map=no
26967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26969 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26970 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26971 if test $ac_cv_header_ext_hash_map = yes; then
26972 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26973 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26974 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 cat >conftest.$ac_ext <<_ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <ext/hash_map>
26984 #include <ext/hash_set>
26988 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26989 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26994 rm -f conftest.$ac_objext
26995 if { (ac_try="$ac_compile"
26996 case "(($ac_try" in
26997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_compile") 2>conftest.er1
27003 grep -v '^
*+' conftest.er1 >conftest.err
27005 cat conftest.err >&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } && {
27008 test -z "$ac_cxx_werror_flag" ||
27009 test ! -s conftest.err
27010 } && test -s conftest.$ac_objext; then
27011 wx_cv_class_gnuhashmapset=yes
27013 echo "$as_me: failed program was:" >&5
27014 sed 's
/^
/| /' conftest.$ac_ext >&5
27016 wx_cv_class_gnuhashmapset=no
27019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27023 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27024 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27029 if test "$wx_cv_class_gnuhashmapset" = yes; then
27030 cat >>confdefs.h <<\_ACEOF
27031 #define HAVE_EXT_HASH_MAP 1
27034 cat >>confdefs.h <<\_ACEOF
27035 #define HAVE_GNU_CXX_HASH_MAP 1
27042 ac_cpp='$CPP $CPPFLAGS'
27043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27044 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27050 /usr/local/include \
27052 /usr/Motif-2.1/include \
27053 /usr/Motif-1.2/include \
27054 /usr/include/Motif1.2 \
27057 /usr/openwin/include \
27061 /usr/X11R6/include \
27062 /usr/X11R6.4/include \
27063 /usr/X11R5/include \
27064 /usr/X11R4/include \
27066 /usr/include/X11R6 \
27067 /usr/include/X11R5 \
27068 /usr/include/X11R4 \
27070 /usr/local/X11R6/include \
27071 /usr/local/X11R5/include \
27072 /usr/local/X11R4/include \
27074 /usr/local/include/X11R6 \
27075 /usr/local/include/X11R5 \
27076 /usr/local/include/X11R4 \
27080 /usr/local/X11/include \
27081 /usr/local/include/X11 \
27083 /usr/XFree86/include/X11 \
27086 /usr/openwin/share/include"
27088 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27089 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27093 if test "${wx_cv_std_libpath+set}" = set; then
27094 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27098 for e in a so sl dylib dll.a; do
27100 if test -f $libc; then
27103 cat >conftest.$ac_ext <<_ACEOF
27104 int main() { return 0; }
27106 rm -f conftest.$ac_objext conftest$ac_exeext
27107 if { (ac_try="$ac_link"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_link") 2>conftest.er1
27115 grep -v '^
*+' conftest.er1 >conftest.err
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_c_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest$ac_exeext &&
27123 $as_test_x conftest$ac_exeext; then
27124 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27126 echo "$as_me: failed program was:" >&5
27127 sed 's
/^
/| /' conftest.$ac_ext >&5
27132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27133 conftest$ac_exeext conftest.$ac_ext
27135 if test "x$wx_cv_std_libpath" != "x"; then
27141 if test "x$wx_cv_std_libpath" = "x"; then
27142 wx_cv_std_libpath="lib"
27151 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27152 wx_cv_std_libpath="lib/64"
27154 wx_cv_std_libpath="lib"
27159 if test "$ac_cv_sizeof_void_p" = 8 -a \
27160 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27161 wx_cv_std_libpath="lib64"
27163 wx_cv_std_libpath="lib"
27168 wx_cv_std_libpath="lib";
27172 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27173 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27175 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27177 if test "$build" != "$host" -a "$GCC" = yes; then
27178 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27179 cross_root=`dirname $cross_root`
27180 cross_root=`dirname $cross_root`
27182 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27183 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27184 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27186 if test -z "$PKG_CONFIG_PATH"; then
27187 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27188 export PKG_CONFIG_PATH
27191 if test -z "$x_includes" -o "$x_includes" = NONE; then
27194 for ac_dir in $SEARCH_INCLUDE /usr/include;
27196 if test -f "$ac_dir/X11/Intrinsic.h"; then
27197 ac_find_includes=$ac_dir
27202 x_includes=$ac_find_includes
27204 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27207 for ac_dir in $SEARCH_LIB;
27209 for ac_extension in a so sl dylib dll.a; do
27210 if test -f "$ac_dir/libXt.$ac_extension"; then
27211 ac_find_libraries=$ac_dir
27217 x_libraries=$ac_find_libraries
27223 cat >confcache <<\_ACEOF
27224 # This file is a shell script that caches the results of configure
27225 # tests run on this system so they can be shared between configure
27226 # scripts and configure runs, see configure's option
--config-cache.
27227 # It is not useful on other systems. If it contains results you don't
27228 # want to keep, you may remove or edit it.
27230 # config.status only pays attention to the cache file if you give it
27231 # the --recheck option to rerun configure.
27233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27235 # following values.
27239 # The following way of writing the cache mishandles newlines in values,
27240 # but we know of no workaround that is simple, portable, and efficient.
27241 # So, we kill variables containing newlines.
27242 # Ultrix sh set writes to stderr and can't be redirected directly,
27243 # and sets the high bit in the cache file unless we assign to the vars.
27245 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27246 eval ac_val
=\$
$ac_var
27250 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27251 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27254 _
| IFS
| as_nl
) ;; #(
27255 *) $as_unset $ac_var ;;
27261 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27262 *${as_nl}ac_space
=\
*)
27263 # `set' does not quote correctly, so add quotes (double-quote
27264 # substitution turns \\\\ into \\, and sed turns \\ into \).
27267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27270 # `set' quotes correctly as required by POSIX, so do not add quotes.
27271 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27282 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27284 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27285 if test -w "$cache_file"; then
27286 test "x$cache_file" != "x/dev/null" &&
27287 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27288 echo "$as_me: updating cache $cache_file" >&6;}
27289 cat confcache
>$cache_file
27291 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27292 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27297 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27298 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27299 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27300 if test "${wx_cv_lib_glibc21+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 cat >conftest.
$ac_ext <<_ACEOF
27307 cat confdefs.h
>>conftest.
$ac_ext
27308 cat >>conftest.
$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27310 #include <features.h>
27315 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27323 rm -f conftest.
$ac_objext
27324 if { (ac_try
="$ac_compile"
27325 case "(($ac_try" in
27326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27327 *) ac_try_echo=$ac_try;;
27329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27330 (eval "$ac_compile") 2>conftest.er1
27332 grep -v '^ *+' conftest.er1 >conftest.err
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } && {
27337 test -z "$ac_c_werror_flag" ||
27338 test ! -s conftest.err
27339 } && test -s conftest.$ac_objext; then
27341 wx_cv_lib_glibc21=yes
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27348 wx_cv_lib_glibc21=no
27353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27356 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27357 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27358 if test "$wx_cv_lib_glibc21" = "yes"; then
27359 cat >>confdefs.h <<\_ACEOF
27360 #define wxHAVE_GLIBC2 1
27366 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27367 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27368 cat >>confdefs.h <<\_ACEOF
27369 #define _GNU_SOURCE 1
27380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27394 #define $ac_func innocuous_$ac_func
27396 /* System header to define __stub macros and hopefully few prototypes,
27397 which can conflict with char $ac_func (); below.
27398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27399 <limits.h> exists even on freestanding compilers. */
27402 # include <limits.h>
27404 # include <assert.h>
27409 /* Override any GCC internal prototype to avoid an error.
27410 Use char because int might match the return type of a GCC
27411 builtin and then its argument prototype would still apply. */
27416 /* The GNU C library defines this for functions which it implements
27417 to always fail with ENOSYS. Some functions are actually named
27418 something starting with __ and the normal name is an alias. */
27419 #if defined __stub_$ac_func || defined __stub___$ac_func
27426 return $ac_func ();
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (ac_try="$ac_link"
27433 case "(($ac_try" in
27434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27435 *) ac_try_echo
=$ac_try;;
27437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438 (eval "$ac_link") 2>conftest.er1
27440 grep -v '^ *+' conftest.er1
>conftest.err
27442 cat conftest.err
>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } && {
27445 test -z "$ac_c_werror_flag" ||
27446 test ! -s conftest.err
27447 } && test -s conftest
$ac_exeext &&
27448 $as_test_x conftest
$ac_exeext; then
27449 eval "$as_ac_var=yes"
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.
$ac_ext >&5
27454 eval "$as_ac_var=no"
27457 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27458 conftest
$ac_exeext conftest.
$ac_ext
27460 ac_res
=`eval echo '${'$as_ac_var'}'`
27461 { echo "$as_me:$LINENO: result: $ac_res" >&5
27462 echo "${ECHO_T}$ac_res" >&6; }
27463 if test `eval echo '${'$as_ac_var'}'` = yes; then
27464 cat >>confdefs.h
<<_ACEOF
27465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27472 for ac_func
in floor
27474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27477 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 cat >conftest.
$ac_ext <<_ACEOF
27483 cat confdefs.h
>>conftest.
$ac_ext
27484 cat >>conftest.
$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27488 #define $ac_func innocuous_$ac_func
27490 /* System header to define __stub macros and hopefully few prototypes,
27491 which can conflict with char $ac_func (); below.
27492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27493 <limits.h> exists even on freestanding compilers. */
27496 # include <limits.h>
27498 # include <assert.h>
27503 /* Override any GCC internal prototype to avoid an error.
27504 Use char because int might match the return type of a GCC
27505 builtin and then its argument prototype would still apply. */
27510 /* The GNU C library defines this for functions which it implements
27511 to always fail with ENOSYS. Some functions are actually named
27512 something starting with __ and the normal name is an alias. */
27513 #if defined __stub_$ac_func || defined __stub___$ac_func
27520 return $ac_func ();
27525 rm -f conftest.
$ac_objext conftest
$ac_exeext
27526 if { (ac_try
="$ac_link"
27527 case "(($ac_try" in
27528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27529 *) ac_try_echo=$ac_try;;
27531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27532 (eval "$ac_link") 2>conftest.er1
27534 grep -v '^ *+' conftest.er1 >conftest.err
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } && {
27539 test -z "$ac_c_werror_flag" ||
27540 test ! -s conftest.err
27541 } && test -s conftest$ac_exeext &&
27542 $as_test_x conftest$ac_exeext; then
27543 eval "$as_ac_var=yes"
27545 echo "$as_me: failed program was:" >&5
27546 sed 's/^/| /' conftest.$ac_ext >&5
27548 eval "$as_ac_var=no"
27551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27552 conftest$ac_exeext conftest.$ac_ext
27554 ac_res=`eval echo '${'$as_ac_var'}'`
27555 { echo "$as_me:$LINENO: result: $ac_res" >&5
27556 echo "${ECHO_T}$ac_res" >&6; }
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h <<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27565 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27566 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27567 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27568 { echo "$as_me:$LINENO: result: yes" >&5
27569 echo "${ECHO_T}yes" >&6; }
27571 { echo "$as_me:$LINENO: result: no" >&5
27572 echo "${ECHO_T}no" >&6; }
27574 # use different functions to avoid configure caching
27580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27584 echo $ECHO_N "(cached) $ECHO_C" >&6
27586 cat >conftest.$ac_ext <<_ACEOF
27589 cat confdefs.h >>conftest.$ac_ext
27590 cat >>conftest.$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27594 #define $ac_func innocuous_$ac_func
27596 /* System header to define __stub macros and hopefully few prototypes,
27597 which can conflict with char $ac_func (); below.
27598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27599 <limits.h> exists even on freestanding compilers. */
27602 # include <limits.h>
27604 # include <assert.h>
27609 /* Override any GCC internal prototype to avoid an error.
27610 Use char because int might match the return type of a GCC
27611 builtin and then its argument prototype would still apply. */
27616 /* The GNU C library defines this for functions which it implements
27617 to always fail with ENOSYS. Some functions are actually named
27618 something starting with __ and the normal name is an alias. */
27619 #if defined __stub_$ac_func || defined __stub___$ac_func
27626 return $ac_func ();
27631 rm -f conftest.$ac_objext conftest$ac_exeext
27632 if { (ac_try="$ac_link"
27633 case "(($ac_try" in
27634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27635 *) ac_try_echo
=$ac_try;;
27637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27638 (eval "$ac_link") 2>conftest.er1
27640 grep -v '^ *+' conftest.er1
>conftest.err
27642 cat conftest.err
>&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } && {
27645 test -z "$ac_c_werror_flag" ||
27646 test ! -s conftest.err
27647 } && test -s conftest
$ac_exeext &&
27648 $as_test_x conftest
$ac_exeext; then
27649 eval "$as_ac_var=yes"
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 eval "$as_ac_var=no"
27657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27658 conftest
$ac_exeext conftest.
$ac_ext
27660 ac_res
=`eval echo '${'$as_ac_var'}'`
27661 { echo "$as_me:$LINENO: result: $ac_res" >&5
27662 echo "${ECHO_T}$ac_res" >&6; }
27663 if test `eval echo '${'$as_ac_var'}'` = yes; then
27664 cat >>confdefs.h
<<_ACEOF
27665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27672 for ac_func
in ceil
27674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27677 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 cat >conftest.
$ac_ext <<_ACEOF
27683 cat confdefs.h
>>conftest.
$ac_ext
27684 cat >>conftest.
$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27688 #define $ac_func innocuous_$ac_func
27690 /* System header to define __stub macros and hopefully few prototypes,
27691 which can conflict with char $ac_func (); below.
27692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27693 <limits.h> exists even on freestanding compilers. */
27696 # include <limits.h>
27698 # include <assert.h>
27703 /* Override any GCC internal prototype to avoid an error.
27704 Use char because int might match the return type of a GCC
27705 builtin and then its argument prototype would still apply. */
27710 /* The GNU C library defines this for functions which it implements
27711 to always fail with ENOSYS. Some functions are actually named
27712 something starting with __ and the normal name is an alias. */
27713 #if defined __stub_$ac_func || defined __stub___$ac_func
27720 return $ac_func ();
27725 rm -f conftest.
$ac_objext conftest
$ac_exeext
27726 if { (ac_try
="$ac_link"
27727 case "(($ac_try" in
27728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_link") 2>conftest.er1
27734 grep -v '^ *+' conftest.er1 >conftest.err
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } && {
27739 test -z "$ac_c_werror_flag" ||
27740 test ! -s conftest.err
27741 } && test -s conftest$ac_exeext &&
27742 $as_test_x conftest$ac_exeext; then
27743 eval "$as_ac_var=yes"
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.$ac_ext >&5
27748 eval "$as_ac_var=no"
27751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27752 conftest$ac_exeext conftest.$ac_ext
27754 ac_res=`eval echo '${'$as_ac_var'}'`
27755 { echo "$as_me:$LINENO: result: $ac_res" >&5
27756 echo "${ECHO_T}$ac_res" >&6; }
27757 if test `eval echo '${'$as_ac_var'}'` = yes; then
27758 cat >>confdefs.h <<_ACEOF
27759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27765 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27766 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27767 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27768 { echo "$as_me:$LINENO: result: yes" >&5
27769 echo "${ECHO_T}yes" >&6; }
27771 { echo "$as_me:$LINENO: result: no" >&5
27772 echo "${ECHO_T}no" >&6; }
27773 # not sure we should warn the user, crash, etc.
27778 ac_cpp='$CXXCPP $CPPFLAGS'
27779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27783 if test "wxUSE_UNICODE" = "yes"; then
27785 for wx_func in wcstoull
27787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27790 echo $ECHO_N "(cached) $ECHO_C" >&6
27793 cat >conftest.$ac_ext <<_ACEOF
27797 cat confdefs.h >>conftest.$ac_ext
27798 cat >>conftest.$ac_ext <<_ACEOF
27799 /* end confdefs.h. */
27802 $ac_includes_default
27818 rm -f conftest.$ac_objext conftest$ac_exeext
27819 if { (ac_try="$ac_link"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27822 *) ac_try_echo
=$ac_try;;
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_link") 2>conftest.er1
27827 grep -v '^ *+' conftest.er1
>conftest.err
27829 cat conftest.err
>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest
$ac_exeext &&
27835 $as_test_x conftest
$ac_exeext; then
27836 eval wx_cv_func_
$wx_func=yes
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.
$ac_ext >&5
27841 eval wx_cv_func_
$wx_func=no
27844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27845 conftest
$ac_exeext conftest.
$ac_ext
27848 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27849 { echo "$as_me:$LINENO: result: $ac_res" >&5
27850 echo "${ECHO_T}$ac_res" >&6; }
27852 if eval test \
$wx_cv_func_$wx_func = yes
27854 cat >>confdefs.h
<<_ACEOF
27855 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27867 for wx_func
in strtoull
27869 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27870 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27871 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 cat >conftest.
$ac_ext <<_ACEOF
27879 cat confdefs.h
>>conftest.
$ac_ext
27880 cat >>conftest.
$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27884 $ac_includes_default
27900 rm -f conftest.
$ac_objext conftest
$ac_exeext
27901 if { (ac_try
="$ac_link"
27902 case "(($ac_try" in
27903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27904 *) ac_try_echo=$ac_try;;
27906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27907 (eval "$ac_link") 2>conftest.er1
27909 grep -v '^ *+' conftest.er1 >conftest.err
27911 cat conftest.err >&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); } && {
27914 test -z "$ac_cxx_werror_flag" ||
27915 test ! -s conftest.err
27916 } && test -s conftest$ac_exeext &&
27917 $as_test_x conftest$ac_exeext; then
27918 eval wx_cv_func_$wx_func=yes
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27923 eval wx_cv_func_$wx_func=no
27926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27927 conftest$ac_exeext conftest.$ac_ext
27930 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27931 { echo "$as_me:$LINENO: result: $ac_res" >&5
27932 echo "${ECHO_T}$ac_res" >&6; }
27934 if eval test \$wx_cv_func_$wx_func = yes
27936 cat >>confdefs.h <<_ACEOF
27937 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27949 ac_cpp='$CPP $CPPFLAGS'
27950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27957 if test "$wxUSE_REGEX" != "no"; then
27958 cat >>confdefs.h <<\_ACEOF
27959 #define wxUSE_REGEX 1
27963 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27964 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27965 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27966 wxUSE_REGEX=builtin
27969 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27970 { echo "$as_me:$LINENO: checking for regex.h" >&5
27971 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27972 if test "${ac_cv_header_regex_h+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 cat >conftest.$ac_ext <<_ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27985 rm -f conftest.$ac_objext
27986 if { (ac_try="$ac_compile"
27987 case "(($ac_try" in
27988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27989 *) ac_try_echo
=$ac_try;;
27991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992 (eval "$ac_compile") 2>conftest.er1
27994 grep -v '^ *+' conftest.er1
>conftest.err
27996 cat conftest.err
>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } && {
27999 test -z "$ac_c_werror_flag" ||
28000 test ! -s conftest.err
28001 } && test -s conftest.
$ac_objext; then
28002 ac_cv_header_regex_h
=yes
28004 echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.
$ac_ext >&5
28007 ac_cv_header_regex_h
=no
28010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28012 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28013 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28014 if test $ac_cv_header_regex_h = yes; then
28017 for ac_func
in regcomp re_search
28019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28022 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 cat >conftest.
$ac_ext <<_ACEOF
28028 cat confdefs.h
>>conftest.
$ac_ext
28029 cat >>conftest.
$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28033 #define $ac_func innocuous_$ac_func
28035 /* System header to define __stub macros and hopefully few prototypes,
28036 which can conflict with char $ac_func (); below.
28037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28038 <limits.h> exists even on freestanding compilers. */
28041 # include <limits.h>
28043 # include <assert.h>
28048 /* Override any GCC internal prototype to avoid an error.
28049 Use char because int might match the return type of a GCC
28050 builtin and then its argument prototype would still apply. */
28055 /* The GNU C library defines this for functions which it implements
28056 to always fail with ENOSYS. Some functions are actually named
28057 something starting with __ and the normal name is an alias. */
28058 #if defined __stub_$ac_func || defined __stub___$ac_func
28065 return $ac_func ();
28070 rm -f conftest.
$ac_objext conftest
$ac_exeext
28071 if { (ac_try
="$ac_link"
28072 case "(($ac_try" in
28073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_link") 2>conftest.er1
28079 grep -v '^ *+' conftest.er1 >conftest.err
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && {
28084 test -z "$ac_c_werror_flag" ||
28085 test ! -s conftest.err
28086 } && test -s conftest$ac_exeext &&
28087 $as_test_x conftest$ac_exeext; then
28088 eval "$as_ac_var=yes"
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28093 eval "$as_ac_var=no"
28096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28097 conftest$ac_exeext conftest.$ac_ext
28099 ac_res=`eval echo '${'$as_ac_var'}'`
28100 { echo "$as_me:$LINENO: result: $ac_res" >&5
28101 echo "${ECHO_T}$ac_res" >&6; }
28102 if test `eval echo '${'$as_ac_var'}'` = yes; then
28103 cat >>confdefs.h <<_ACEOF
28104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28114 if test "x$ac_cv_func_regcomp" != "xyes"; then
28115 if test "$wxUSE_REGEX" = "sys" ; then
28116 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28117 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28118 { (exit 1); exit 1; }; }
28120 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28121 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28122 wxUSE_REGEX=builtin
28126 cat >>confdefs.h <<\_ACEOF
28127 #define WX_NO_REGEX_ADVANCED 1
28136 if test "$wxUSE_ZLIB" != "no" ; then
28137 cat >>confdefs.h <<\_ACEOF
28138 #define wxUSE_ZLIB 1
28142 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28143 if test "$USE_DARWIN" = 1; then
28144 system_zlib_h_ok="yes"
28146 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28147 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28148 if test "${ac_cv_header_zlib_h+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28151 if test "$cross_compiling" = yes; then
28152 unset ac_cv_header_zlib_h
28155 cat >conftest.$ac_ext <<_ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28167 FILE *f=fopen("conftestval", "w");
28170 ZLIB_VERSION[0] == '1' &&
28171 (ZLIB_VERSION[2] > '1' ||
28172 (ZLIB_VERSION[2] == '1' &&
28173 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28178 rm -f conftest$ac_exeext
28179 if { (ac_try="$ac_link"
28180 case "(($ac_try" in
28181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28182 *) ac_try_echo
=$ac_try;;
28184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28185 (eval "$ac_link") 2>&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28189 { (case "(($ac_try" in
28190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_try") 2>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; }; then
28198 ac_cv_header_zlib_h=`cat conftestval
`
28200 echo "$as_me: program exited with status $ac_status" >&5
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.$ac_ext >&5
28204 ( exit $ac_status )
28205 ac_cv_header_zlib_h=no
28207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28213 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28214 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28215 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28216 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28217 if test "${ac_cv_header_zlib_h+set}" = set; then
28218 echo $ECHO_N "(cached) $ECHO_C" >&6
28220 cat >conftest.$ac_ext <<_ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28230 rm -f conftest.$ac_objext
28231 if { (ac_try="$ac_compile"
28232 case "(($ac_try" in
28233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28234 *) ac_try_echo
=$ac_try;;
28236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 (eval "$ac_compile") 2>conftest.er1
28239 grep -v '^ *+' conftest.er1
>conftest.err
28241 cat conftest.err
>&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && {
28244 test -z "$ac_c_werror_flag" ||
28245 test ! -s conftest.err
28246 } && test -s conftest.
$ac_objext; then
28247 ac_cv_header_zlib_h
=yes
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.
$ac_ext >&5
28252 ac_cv_header_zlib_h
=no
28255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28257 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28258 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28262 system_zlib_h_ok
=$ac_cv_header_zlib_h
28265 if test "$system_zlib_h_ok" = "yes"; then
28266 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28267 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28268 if test "${ac_cv_lib_z_deflate+set}" = set; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 ac_check_lib_save_LIBS
=$LIBS
28273 cat >conftest.
$ac_ext <<_ACEOF
28276 cat confdefs.h
>>conftest.
$ac_ext
28277 cat >>conftest.
$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28280 /* Override any GCC internal prototype to avoid an error.
28281 Use char because int might match the return type of a GCC
28282 builtin and then its argument prototype would still apply. */
28295 rm -f conftest.
$ac_objext conftest
$ac_exeext
28296 if { (ac_try
="$ac_link"
28297 case "(($ac_try" in
28298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_link") 2>conftest.er1
28304 grep -v '^ *+' conftest.er1 >conftest.err
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } && {
28309 test -z "$ac_c_werror_flag" ||
28310 test ! -s conftest.err
28311 } && test -s conftest$ac_exeext &&
28312 $as_test_x conftest$ac_exeext; then
28313 ac_cv_lib_z_deflate=yes
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28318 ac_cv_lib_z_deflate=no
28321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28322 conftest$ac_exeext conftest.$ac_ext
28323 LIBS=$ac_check_lib_save_LIBS
28325 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28326 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28327 if test $ac_cv_lib_z_deflate = yes; then
28333 if test "x$ZLIB_LINK" = "x" ; then
28334 if test "$wxUSE_ZLIB" = "sys" ; then
28335 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28336 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28337 { (exit 1); exit 1; }; }
28339 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28340 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28351 if test "$wxUSE_LIBPNG" != "no" ; then
28352 cat >>confdefs.h <<\_ACEOF
28353 #define wxUSE_LIBPNG 1
28357 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28358 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28359 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28363 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28364 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28365 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28366 wxUSE_LIBPNG=builtin
28369 if test "$wxUSE_MGL" != 1 ; then
28370 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28371 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28372 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28373 if test "${ac_cv_header_png_h+set}" = set; then
28374 echo $ECHO_N "(cached) $ECHO_C" >&6
28376 if test "$cross_compiling" = yes; then
28377 unset ac_cv_header_png_h
28380 cat >conftest.$ac_ext <<_ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28392 FILE *f=fopen("conftestval", "w");
28395 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28400 rm -f conftest$ac_exeext
28401 if { (ac_try="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28404 *) ac_try_echo
=$ac_try;;
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28411 { (case "(($ac_try" in
28412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28413 *) ac_try_echo=$ac_try;;
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_try") 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 ac_cv_header_png_h=`cat conftestval
`
28422 echo "$as_me: program exited with status $ac_status" >&5
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28426 ( exit $ac_status )
28427 ac_cv_header_png_h=no
28429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28435 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28436 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28437 { echo "$as_me:$LINENO: checking for png.h" >&5
28438 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28439 if test "${ac_cv_header_png_h+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 cat >conftest.$ac_ext <<_ACEOF
28445 cat confdefs.h >>conftest.$ac_ext
28446 cat >>conftest.$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28452 rm -f conftest.$ac_objext
28453 if { (ac_try="$ac_compile"
28454 case "(($ac_try" in
28455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28456 *) ac_try_echo
=$ac_try;;
28458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28459 (eval "$ac_compile") 2>conftest.er1
28461 grep -v '^ *+' conftest.er1
>conftest.err
28463 cat conftest.err
>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } && {
28466 test -z "$ac_c_werror_flag" ||
28467 test ! -s conftest.err
28468 } && test -s conftest.
$ac_objext; then
28469 ac_cv_header_png_h
=yes
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.
$ac_ext >&5
28474 ac_cv_header_png_h
=no
28477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28479 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28480 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28484 if test "$ac_cv_header_png_h" = "yes"; then
28485 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28486 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28487 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28490 ac_check_lib_save_LIBS
=$LIBS
28491 LIBS
="-lpng -lz -lm $LIBS"
28492 cat >conftest.
$ac_ext <<_ACEOF
28495 cat confdefs.h
>>conftest.
$ac_ext
28496 cat >>conftest.
$ac_ext <<_ACEOF
28497 /* end confdefs.h. */
28499 /* Override any GCC internal prototype to avoid an error.
28500 Use char because int might match the return type of a GCC
28501 builtin and then its argument prototype would still apply. */
28505 char png_check_sig ();
28509 return png_check_sig ();
28514 rm -f conftest.
$ac_objext conftest
$ac_exeext
28515 if { (ac_try
="$ac_link"
28516 case "(($ac_try" in
28517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28518 *) ac_try_echo=$ac_try;;
28520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28521 (eval "$ac_link") 2>conftest.er1
28523 grep -v '^ *+' conftest.er1 >conftest.err
28525 cat conftest.err >&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); } && {
28528 test -z "$ac_c_werror_flag" ||
28529 test ! -s conftest.err
28530 } && test -s conftest$ac_exeext &&
28531 $as_test_x conftest$ac_exeext; then
28532 ac_cv_lib_png_png_check_sig=yes
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.$ac_ext >&5
28537 ac_cv_lib_png_png_check_sig=no
28540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28541 conftest$ac_exeext conftest.$ac_ext
28542 LIBS=$ac_check_lib_save_LIBS
28544 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28545 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28546 if test $ac_cv_lib_png_png_check_sig = yes; then
28547 PNG_LINK=" -lpng -lz"
28552 if test "x$PNG_LINK" = "x" ; then
28553 if test "$wxUSE_LIBPNG" = "sys" ; then
28554 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28555 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28556 { (exit 1); exit 1; }; }
28558 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28559 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28560 wxUSE_LIBPNG=builtin
28568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28573 if test "$wxUSE_LIBJPEG" != "no" ; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_LIBJPEG 1
28579 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28580 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28581 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28585 if test "$wxUSE_MGL" != 1 ; then
28586 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28587 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28588 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28589 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28590 echo $ECHO_N "(cached) $ECHO_C" >&6
28592 cat >conftest.$ac_ext <<_ACEOF
28595 cat confdefs.h >>conftest.$ac_ext
28596 cat >>conftest.$ac_ext <<_ACEOF
28597 /* end confdefs.h. */
28599 #undef HAVE_STDLIB_H
28601 #include <jpeglib.h>
28612 rm -f conftest.$ac_objext
28613 if { (ac_try="$ac_compile"
28614 case "(($ac_try" in
28615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28616 *) ac_try_echo
=$ac_try;;
28618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28619 (eval "$ac_compile") 2>conftest.er1
28621 grep -v '^ *+' conftest.er1
>conftest.err
28623 cat conftest.err
>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } && {
28626 test -z "$ac_c_werror_flag" ||
28627 test ! -s conftest.err
28628 } && test -s conftest.
$ac_objext; then
28629 ac_cv_header_jpeglib_h
=yes
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.
$ac_ext >&5
28634 ac_cv_header_jpeglib_h
=no
28638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28642 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28643 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28645 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28646 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28647 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28648 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 ac_check_lib_save_LIBS
=$LIBS
28652 LIBS
="-ljpeg $LIBS"
28653 cat >conftest.
$ac_ext <<_ACEOF
28656 cat confdefs.h
>>conftest.
$ac_ext
28657 cat >>conftest.
$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28660 /* Override any GCC internal prototype to avoid an error.
28661 Use char because int might match the return type of a GCC
28662 builtin and then its argument prototype would still apply. */
28666 char jpeg_read_header ();
28670 return jpeg_read_header ();
28675 rm -f conftest.
$ac_objext conftest
$ac_exeext
28676 if { (ac_try
="$ac_link"
28677 case "(($ac_try" in
28678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28679 *) ac_try_echo=$ac_try;;
28681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28682 (eval "$ac_link") 2>conftest.er1
28684 grep -v '^ *+' conftest.er1 >conftest.err
28686 cat conftest.err >&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); } && {
28689 test -z "$ac_c_werror_flag" ||
28690 test ! -s conftest.err
28691 } && test -s conftest$ac_exeext &&
28692 $as_test_x conftest$ac_exeext; then
28693 ac_cv_lib_jpeg_jpeg_read_header=yes
28695 echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28698 ac_cv_lib_jpeg_jpeg_read_header=no
28701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28702 conftest$ac_exeext conftest.$ac_ext
28703 LIBS=$ac_check_lib_save_LIBS
28705 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28706 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28707 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28708 JPEG_LINK=" -ljpeg"
28713 if test "x$JPEG_LINK" = "x" ; then
28714 if test "$wxUSE_LIBJPEG" = "sys" ; then
28715 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28716 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28717 { (exit 1); exit 1; }; }
28719 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28720 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28721 wxUSE_LIBJPEG=builtin
28726 if test "$wxUSE_MSW" = 1; then
28727 { echo "$as_me:$LINENO: checking for boolean" >&5
28728 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28729 if test "${ac_cv_type_boolean+set}" = set; then
28730 echo $ECHO_N "(cached) $ECHO_C" >&6
28732 cat >conftest.$ac_ext <<_ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28738 #include <windows.h>
28740 typedef boolean ac__type_new_;
28744 if ((ac__type_new_ *) 0)
28746 if (sizeof (ac__type_new_))
28752 rm -f conftest.$ac_objext
28753 if { (ac_try="$ac_compile"
28754 case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28756 *) ac_try_echo
=$ac_try;;
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_compile") 2>conftest.er1
28761 grep -v '^ *+' conftest.er1
>conftest.err
28763 cat conftest.err
>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } && {
28766 test -z "$ac_c_werror_flag" ||
28767 test ! -s conftest.err
28768 } && test -s conftest.
$ac_objext; then
28769 ac_cv_type_boolean
=yes
28771 echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.
$ac_ext >&5
28774 ac_cv_type_boolean
=no
28777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28779 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28780 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28781 if test $ac_cv_type_boolean = yes; then
28783 cat >>confdefs.h
<<_ACEOF
28784 #define HAVE_BOOLEAN 1
28788 { echo "$as_me:$LINENO: checking for boolean" >&5
28789 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28790 if test "${ac_cv_type_boolean+set}" = set; then
28791 echo $ECHO_N "(cached) $ECHO_C" >&6
28793 cat >conftest.
$ac_ext <<_ACEOF
28796 cat confdefs.h
>>conftest.
$ac_ext
28797 cat >>conftest.
$ac_ext <<_ACEOF
28798 /* end confdefs.h. */
28800 #undef HAVE_BOOLEAN
28802 #include <jpeglib.h>
28805 typedef boolean ac__type_new_;
28809 if ((ac__type_new_ *) 0)
28811 if (sizeof (ac__type_new_))
28817 rm -f conftest.
$ac_objext
28818 if { (ac_try
="$ac_compile"
28819 case "(($ac_try" in
28820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28821 *) ac_try_echo=$ac_try;;
28823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28824 (eval "$ac_compile") 2>conftest.er1
28826 grep -v '^ *+' conftest.er1 >conftest.err
28828 cat conftest.err >&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } && {
28831 test -z "$ac_c_werror_flag" ||
28832 test ! -s conftest.err
28833 } && test -s conftest.$ac_objext; then
28834 ac_cv_type_boolean=yes
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28839 ac_cv_type_boolean=no
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28844 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28845 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28847 # The cast to long int works around a bug in the HP C Compiler
28848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28849 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28850 # This bug is HP SR number 8606223364.
28851 { echo "$as_me:$LINENO: checking size of boolean" >&5
28852 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28853 if test "${ac_cv_sizeof_boolean+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28856 if test "$cross_compiling" = yes; then
28857 # Depending upon the size, compute the lo and hi bounds.
28858 cat >conftest.$ac_ext <<_ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28865 #undef HAVE_BOOLEAN
28867 #include <jpeglib.h>
28870 typedef boolean ac__type_sizeof_;
28874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28881 rm -f conftest.$ac_objext
28882 if { (ac_try="$ac_compile"
28883 case "(($ac_try" in
28884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28885 *) ac_try_echo=$ac_try;;
28887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28888 (eval "$ac_compile") 2>conftest.er1
28890 grep -v '^
*+' conftest.er1 >conftest.err
28892 cat conftest.err >&5
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } && {
28895 test -z "$ac_c_werror_flag" ||
28896 test ! -s conftest.err
28897 } && test -s conftest.$ac_objext; then
28900 cat >conftest.$ac_ext <<_ACEOF
28903 cat confdefs.h >>conftest.$ac_ext
28904 cat >>conftest.$ac_ext <<_ACEOF
28905 /* end confdefs.h. */
28907 #undef HAVE_BOOLEAN
28909 #include <jpeglib.h>
28912 typedef boolean ac__type_sizeof_;
28916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28923 rm -f conftest.$ac_objext
28924 if { (ac_try="$ac_compile"
28925 case "(($ac_try" in
28926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_compile") 2>conftest.er1
28932 grep -v '^
*+' conftest.er1 >conftest.err
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } && {
28937 test -z "$ac_c_werror_flag" ||
28938 test ! -s conftest.err
28939 } && test -s conftest.$ac_objext; then
28940 ac_hi=$ac_mid; break
28942 echo "$as_me: failed program was:" >&5
28943 sed 's
/^
/| /' conftest.$ac_ext >&5
28945 ac_lo=`expr $ac_mid + 1`
28946 if test $ac_lo -le $ac_mid; then
28950 ac_mid=`expr 2 '*' $ac_mid + 1`
28953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 echo "$as_me: failed program was:" >&5
28957 sed 's
/^
/| /' conftest.$ac_ext >&5
28959 cat >conftest.$ac_ext <<_ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28966 #undef HAVE_BOOLEAN
28968 #include <jpeglib.h>
28971 typedef boolean ac__type_sizeof_;
28975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28982 rm -f conftest.$ac_objext
28983 if { (ac_try="$ac_compile"
28984 case "(($ac_try" in
28985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28986 *) ac_try_echo=$ac_try;;
28988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28989 (eval "$ac_compile") 2>conftest.er1
28991 grep -v '^
*+' conftest.er1 >conftest.err
28993 cat conftest.err >&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } && {
28996 test -z "$ac_c_werror_flag" ||
28997 test ! -s conftest.err
28998 } && test -s conftest.$ac_objext; then
29001 cat >conftest.$ac_ext <<_ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29008 #undef HAVE_BOOLEAN
29010 #include <jpeglib.h>
29013 typedef boolean ac__type_sizeof_;
29017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29024 rm -f conftest.$ac_objext
29025 if { (ac_try="$ac_compile"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_compile") 2>conftest.er1
29033 grep -v '^
*+' conftest.er1 >conftest.err
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest.$ac_objext; then
29041 ac_lo=$ac_mid; break
29043 echo "$as_me: failed program was:" >&5
29044 sed 's
/^
/| /' conftest.$ac_ext >&5
29046 ac_hi=`expr '(' $ac_mid ')' - 1`
29047 if test $ac_mid -le $ac_hi; then
29051 ac_mid=`expr 2 '*' $ac_mid`
29054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29057 echo "$as_me: failed program was:" >&5
29058 sed 's
/^
/| /' conftest.$ac_ext >&5
29063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29067 # Binary search between lo and hi bounds.
29068 while test "x$ac_lo" != "x$ac_hi"; do
29069 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29070 cat >conftest.$ac_ext <<_ACEOF
29073 cat confdefs.h >>conftest.$ac_ext
29074 cat >>conftest.$ac_ext <<_ACEOF
29075 /* end confdefs.h. */
29077 #undef HAVE_BOOLEAN
29079 #include <jpeglib.h>
29082 typedef boolean ac__type_sizeof_;
29086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29093 rm -f conftest.$ac_objext
29094 if { (ac_try="$ac_compile"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_compile") 2>conftest.er1
29102 grep -v '^
*+' conftest.er1 >conftest.err
29104 cat conftest.err >&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } && {
29107 test -z "$ac_c_werror_flag" ||
29108 test ! -s conftest.err
29109 } && test -s conftest.$ac_objext; then
29112 echo "$as_me: failed program was:" >&5
29113 sed 's
/^
/| /' conftest.$ac_ext >&5
29115 ac_lo=`expr '(' $ac_mid ')' + 1`
29118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29122 '') if test "$ac_cv_type_boolean" = yes; then
29123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29124 See \`config.log' for more details.
" >&5
29125 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29126 See \
`config.log' for more details." >&2;}
29127 { (exit 77); exit 77; }; }
29129 ac_cv_sizeof_boolean=0
29133 cat >conftest.$ac_ext <<_ACEOF
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29140 #undef HAVE_BOOLEAN
29142 #include <jpeglib.h>
29145 typedef boolean ac__type_sizeof_;
29146 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29147 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29149 #include <stdlib.h>
29154 FILE *f = fopen ("conftest.val", "w");
29157 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29159 long int i = longval ();
29160 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29162 fprintf (f, "%ld\n", i);
29166 unsigned long int i = ulongval ();
29167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29169 fprintf (f, "%lu\n", i);
29171 return ferror (f) || fclose (f) != 0;
29177 rm -f conftest$ac_exeext
29178 if { (ac_try="$ac_link"
29179 case "(($ac_try" in
29180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29181 *) ac_try_echo
=$ac_try;;
29183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29184 (eval "$ac_link") 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29188 { (case "(($ac_try" in
29189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_try") 2>&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; }; then
29197 ac_cv_sizeof_boolean=`cat conftest.val
`
29199 echo "$as_me: program exited with status $ac_status" >&5
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29203 ( exit $ac_status )
29204 if test "$ac_cv_type_boolean" = yes; then
29205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29206 See \`config.log
' for more details." >&5
29207 echo "$as_me: error: cannot compute sizeof (boolean)
29208 See \`config.log' for more details.
" >&2;}
29209 { (exit 77); exit 77; }; }
29211 ac_cv_sizeof_boolean=0
29214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29218 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29219 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29223 cat >>confdefs.h <<_ACEOF
29224 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29228 cat >>confdefs.h <<_ACEOF
29229 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29243 TIFF_PREREQ_LINKS=-lm
29244 if test "$wxUSE_LIBTIFF" != "no
" ; then
29245 cat >>confdefs.h <<\_ACEOF
29246 #define wxUSE_LIBTIFF 1
29250 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29251 if test "$wxUSE_LIBJPEG" = "sys
"; then
29252 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29254 if test "$wxUSE_ZLIB" = "sys
"; then
29255 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29257 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29258 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29259 if test "${ac_cv_header_tiffio_h+set}" = set; then
29260 echo $ECHO_N "(cached
) $ECHO_C" >&6
29262 cat >conftest.$ac_ext <<_ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29271 #include <tiffio.h>
29273 rm -f conftest.$ac_objext
29274 if { (ac_try="$ac_compile"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_compile") 2>conftest.er1
29282 grep -v '^ *+' conftest.er1 >conftest.err
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest.$ac_objext; then
29290 ac_cv_header_tiffio_h=yes
29292 echo "$as_me: failed program was
:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29295 ac_cv_header_tiffio_h=no
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29300 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29301 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29302 if test $ac_cv_header_tiffio_h = yes; then
29304 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29305 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29306 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29307 echo $ECHO_N "(cached
) $ECHO_C" >&6
29309 ac_check_lib_save_LIBS=$LIBS
29310 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29311 cat >conftest.$ac_ext <<_ACEOF
29314 cat confdefs.h >>conftest.$ac_ext
29315 cat >>conftest.$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29318 /* Override any GCC internal prototype to avoid an error.
29319 Use char because int might match the return type of a GCC
29320 builtin and then its argument prototype would still apply. */
29328 return TIFFError ();
29333 rm -f conftest.$ac_objext conftest$ac_exeext
29334 if { (ac_try="$ac_link"
29335 case "(($ac_try" in
29336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29337 *) ac_try_echo=$ac_try;;
29339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29340 (eval "$ac_link") 2>conftest.er1
29342 grep -v '^ *+' conftest.er1 >conftest.err
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29346 (exit $ac_status); } && {
29347 test -z "$ac_c_werror_flag" ||
29348 test ! -s conftest.err
29349 } && test -s conftest$ac_exeext &&
29350 $as_test_x conftest$ac_exeext; then
29351 ac_cv_lib_tiff_TIFFError=yes
29353 echo "$as_me: failed program was
:" >&5
29354 sed 's/^/| /' conftest.$ac_ext >&5
29356 ac_cv_lib_tiff_TIFFError=no
29359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29360 conftest$ac_exeext conftest.$ac_ext
29361 LIBS=$ac_check_lib_save_LIBS
29363 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29364 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29365 if test $ac_cv_lib_tiff_TIFFError = yes; then
29366 TIFF_LINK=" -ltiff"
29374 if test "x
$TIFF_LINK" = "x
" ; then
29375 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29376 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29377 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29378 { (exit 1); exit 1; }; }
29380 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29381 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29382 wxUSE_LIBTIFF=builtin
29391 if test "$wxUSE_WCHAR_T" != "yes"; then
29392 if test "$wxUSE_EXPAT" != "no
"; then
29393 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29394 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29397 if test "$wxUSE_XML" != "no
"; then
29398 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29399 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29404 if test "$wxUSE_EXPAT" != "no
"; then
29406 cat >>confdefs.h <<\_ACEOF
29407 #define wxUSE_EXPAT 1
29410 cat >>confdefs.h <<\_ACEOF
29411 #define wxUSE_XML 1
29415 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29416 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29417 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29418 if test "${ac_cv_header_expat_h+set}" = set; then
29419 echo $ECHO_N "(cached
) $ECHO_C" >&6
29421 cat >conftest.$ac_ext <<_ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29431 rm -f conftest.$ac_objext
29432 if { (ac_try="$ac_compile"
29433 case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_compile") 2>conftest.er1
29440 grep -v '^ *+' conftest.er1 >conftest.err
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29444 (exit $ac_status); } && {
29445 test -z "$ac_c_werror_flag" ||
29446 test ! -s conftest.err
29447 } && test -s conftest.$ac_objext; then
29448 ac_cv_header_expat_h=yes
29450 echo "$as_me: failed program was
:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29453 ac_cv_header_expat_h=no
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29459 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29460 if test $ac_cv_header_expat_h = yes; then
29465 if test "x
$found_expat_h" = "x1
"; then
29466 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29467 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29468 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29469 echo $ECHO_N "(cached
) $ECHO_C" >&6
29473 ac_cpp='$CXXCPP $CPPFLAGS'
29474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29478 cat >conftest.$ac_ext <<_ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29493 rm -f conftest.$ac_objext
29494 if { (ac_try="$ac_compile"
29495 case "(($ac_try" in
29496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29497 *) ac_try_echo=$ac_try;;
29499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29500 (eval "$ac_compile") 2>conftest.er1
29502 grep -v '^ *+' conftest.er1 >conftest.err
29504 cat conftest.err >&5
29505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29506 (exit $ac_status); } && {
29507 test -z "$ac_cxx_werror_flag" ||
29508 test ! -s conftest.err
29509 } && test -s conftest.$ac_objext; then
29510 wx_cv_expat_is_not_broken=yes
29512 echo "$as_me: failed program was
:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29515 wx_cv_expat_is_not_broken=no
29519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29521 ac_cpp='$CPP $CPPFLAGS'
29522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29529 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29530 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29531 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29532 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29533 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29534 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29535 echo $ECHO_N "(cached
) $ECHO_C" >&6
29537 ac_check_lib_save_LIBS=$LIBS
29538 LIBS="-lexpat $LIBS"
29539 cat >conftest.$ac_ext <<_ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29546 /* Override any GCC internal prototype to avoid an error.
29547 Use char because int might match the return type of a GCC
29548 builtin and then its argument prototype would still apply. */
29552 char XML_ParserCreate ();
29556 return XML_ParserCreate ();
29561 rm -f conftest.$ac_objext conftest$ac_exeext
29562 if { (ac_try="$ac_link"
29563 case "(($ac_try" in
29564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29565 *) ac_try_echo=$ac_try;;
29567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29568 (eval "$ac_link") 2>conftest.er1
29570 grep -v '^ *+' conftest.er1 >conftest.err
29572 cat conftest.err >&5
29573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29574 (exit $ac_status); } && {
29575 test -z "$ac_c_werror_flag" ||
29576 test ! -s conftest.err
29577 } && test -s conftest$ac_exeext &&
29578 $as_test_x conftest$ac_exeext; then
29579 ac_cv_lib_expat_XML_ParserCreate=yes
29581 echo "$as_me: failed program was
:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29584 ac_cv_lib_expat_XML_ParserCreate=no
29587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29588 conftest$ac_exeext conftest.$ac_ext
29589 LIBS=$ac_check_lib_save_LIBS
29591 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29592 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29593 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29594 EXPAT_LINK=" -lexpat"
29599 if test "x
$EXPAT_LINK" = "x
" ; then
29600 if test "$wxUSE_EXPAT" = "sys
" ; then
29601 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29602 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29603 { (exit 1); exit 1; }; }
29605 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29606 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29607 wxUSE_EXPAT=builtin
29613 if test "$wxUSE_EXPAT" = "builtin" ; then
29614 subdirs="$subdirs src
/expat
"
29621 if test "$wxUSE_LIBMSPACK" != "no
"; then
29622 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29623 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29624 if test "${ac_cv_header_mspack_h+set}" = set; then
29625 echo $ECHO_N "(cached
) $ECHO_C" >&6
29627 cat >conftest.$ac_ext <<_ACEOF
29630 cat confdefs.h >>conftest.$ac_ext
29631 cat >>conftest.$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29635 #include <mspack.h>
29637 rm -f conftest.$ac_objext
29638 if { (ac_try="$ac_compile"
29639 case "(($ac_try" in
29640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29641 *) ac_try_echo=$ac_try;;
29643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29644 (eval "$ac_compile") 2>conftest.er1
29646 grep -v '^ *+' conftest.er1 >conftest.err
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29650 (exit $ac_status); } && {
29651 test -z "$ac_c_werror_flag" ||
29652 test ! -s conftest.err
29653 } && test -s conftest.$ac_objext; then
29654 ac_cv_header_mspack_h=yes
29656 echo "$as_me: failed program was
:" >&5
29657 sed 's/^/| /' conftest.$ac_ext >&5
29659 ac_cv_header_mspack_h=no
29662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29664 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29665 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29666 if test $ac_cv_header_mspack_h = yes; then
29671 if test "x
$found_mspack_h" = "x1
"; then
29672 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29673 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29674 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29675 echo $ECHO_N "(cached
) $ECHO_C" >&6
29677 ac_check_lib_save_LIBS=$LIBS
29678 LIBS="-lmspack $LIBS"
29679 cat >conftest.$ac_ext <<_ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 /* Override any GCC internal prototype to avoid an error.
29687 Use char because int might match the return type of a GCC
29688 builtin and then its argument prototype would still apply. */
29692 char mspack_create_chm_decompressor ();
29696 return mspack_create_chm_decompressor ();
29701 rm -f conftest.$ac_objext conftest$ac_exeext
29702 if { (ac_try="$ac_link"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_link") 2>conftest.er1
29710 grep -v '^ *+' conftest.er1 >conftest.err
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29714 (exit $ac_status); } && {
29715 test -z "$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29717 } && test -s conftest$ac_exeext &&
29718 $as_test_x conftest$ac_exeext; then
29719 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29721 echo "$as_me: failed program was
:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29724 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29728 conftest$ac_exeext conftest.$ac_ext
29729 LIBS=$ac_check_lib_save_LIBS
29731 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29732 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29733 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29734 MSPACK_LINK=" -lmspack"
29738 if test "x
$MSPACK_LINK" = "x
" ; then
29743 if test "$wxUSE_LIBMSPACK" != "no
"; then
29744 cat >>confdefs.h <<\_ACEOF
29745 #define wxUSE_LIBMSPACK 1
29759 if test "$USE_WIN32" = 1 ; then
29761 for ac_header in w32api.h
29763 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29764 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29765 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29766 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29767 echo $ECHO_N "(cached
) $ECHO_C" >&6
29769 cat >conftest.$ac_ext <<_ACEOF
29772 cat confdefs.h >>conftest.$ac_ext
29773 cat >>conftest.$ac_ext <<_ACEOF
29774 /* end confdefs.h. */
29777 #include <$ac_header>
29779 rm -f conftest.$ac_objext
29780 if { (ac_try="$ac_compile"
29781 case "(($ac_try" in
29782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29783 *) ac_try_echo=$ac_try;;
29785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29786 (eval "$ac_compile") 2>conftest.er1
29788 grep -v '^ *+' conftest.er1 >conftest.err
29790 cat conftest.err >&5
29791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29792 (exit $ac_status); } && {
29793 test -z "$ac_c_werror_flag" ||
29794 test ! -s conftest.err
29795 } && test -s conftest.$ac_objext; then
29796 eval "$as_ac_Header=yes"
29798 echo "$as_me: failed program was
:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 eval "$as_ac_Header=no
"
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29806 ac_res=`eval echo '${'$as_ac_Header'}'`
29807 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29808 echo "${ECHO_T}$ac_res" >&6; }
29809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29810 cat >>confdefs.h <<_ACEOF
29811 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29818 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29819 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29820 if test "${ac_cv_header_windows_h+set}" = set; then
29821 echo $ECHO_N "(cached
) $ECHO_C" >&6
29823 cat >conftest.$ac_ext <<_ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29831 #include <windows.h>
29833 rm -f conftest.$ac_objext
29834 if { (ac_try="$ac_compile"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_compile") 2>conftest.er1
29842 grep -v '^ *+' conftest.er1 >conftest.err
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29846 (exit $ac_status); } && {
29847 test -z "$ac_c_werror_flag" ||
29848 test ! -s conftest.err
29849 } && test -s conftest.$ac_objext; then
29850 ac_cv_header_windows_h=yes
29852 echo "$as_me: failed program was
:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29855 ac_cv_header_windows_h=no
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29861 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29862 if test $ac_cv_header_windows_h = yes; then
29866 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29867 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29868 { (exit 1); exit 1; }; }
29874 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29876 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29877 LIBS="$LIBS -loleacc"
29882 LIBS="$LIBS -lkernel32 -luser32"
29885 if test "$wxUSE_ODBC" = "sys
" ; then
29888 if test "$wxUSE_ODBC" = "yes" ; then
29889 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29890 cat >>confdefs.h <<\_ACEOF
29891 #define wxUSE_ODBC 1
29896 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29897 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29899 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29901 WIN32INSTALL=win32install
29903 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29904 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29905 if test "${ac_cv_header_pbt_h+set}" = set; then
29906 echo $ECHO_N "(cached
) $ECHO_C" >&6
29908 cat >conftest.$ac_ext <<_ACEOF
29911 cat confdefs.h >>conftest.$ac_ext
29912 cat >>conftest.$ac_ext <<_ACEOF
29913 /* end confdefs.h. */
29918 rm -f conftest.$ac_objext
29919 if { (ac_try="$ac_compile"
29920 case "(($ac_try" in
29921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29922 *) ac_try_echo=$ac_try;;
29924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29925 (eval "$ac_compile") 2>conftest.er1
29927 grep -v '^ *+' conftest.er1 >conftest.err
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29931 (exit $ac_status); } && {
29932 test -z "$ac_c_werror_flag" ||
29933 test ! -s conftest.err
29934 } && test -s conftest.$ac_objext; then
29935 ac_cv_header_pbt_h=yes
29937 echo "$as_me: failed program was
:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29940 ac_cv_header_pbt_h=no
29943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29945 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29946 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29947 if test $ac_cv_header_pbt_h = yes; then
29950 cat >>confdefs.h <<\_ACEOF
29951 #define NEED_PBT_H 1
29959 if test "$wxUSE_GUI" = "yes"; then
29969 if test "$wxUSE_COCOA" = 1 ; then
29970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29971 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29972 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29973 wxUSE_PRINTING_ARCHITECTURE=no
29975 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29976 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29977 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29978 wxUSE_DRAG_AND_DROP=no
29980 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29981 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29982 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29987 if test "$wxUSE_MSW" = 1 ; then
29993 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29997 if test "$wxUSE_GTK" = 1; then
29998 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29999 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30001 gtk_version_cached=1
30002 if test "${wx_cv_lib_gtk+set}" = set; then
30003 echo $ECHO_N "(cached
) $ECHO_C" >&6
30006 gtk_version_cached=0
30007 { echo "$as_me:$LINENO: result
: " >&5
30008 echo "${ECHO_T}" >&6; }
30011 if test "$wxUSE_THREADS" = "yes"; then
30012 GTK_MODULES=gthread
30016 if test "x
$wxGTK_VERSION" != "x1
"
30020 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30025 # Check whether --enable-gtktest was given.
30026 if test "${enable_gtktest+set}" = set; then
30027 enableval=$enable_gtktest;
30033 pkg_config_args=gtk+-2.0
30034 for module in . $GTK_MODULES
30038 pkg_config_args="$pkg_config_args gthread
-2.0
"
30045 # Extract the first word of "pkg
-config", so it can be a program name with args.
30046 set dummy pkg-config; ac_word=$2
30047 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30049 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30050 echo $ECHO_N "(cached
) $ECHO_C" >&6
30052 case $PKG_CONFIG in
30054 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30058 for as_dir in $PATH
30061 test -z "$as_dir" && as_dir=.
30062 for ac_exec_ext in '' $ac_executable_extensions; do
30063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30064 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30072 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30076 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30077 if test -n "$PKG_CONFIG"; then
30078 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30079 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30081 { echo "$as_me:$LINENO: result
: no
" >&5
30082 echo "${ECHO_T}no
" >&6; }
30087 if test x$PKG_CONFIG != xno ; then
30088 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30091 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30099 min_gtk_version=2.0.0
30100 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30101 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30103 if test x$PKG_CONFIG != xno ; then
30104 ## don't try to run the test against uninstalled libtool libs
30105 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30106 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30110 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30117 if test x"$no_gtk" = x ; then
30118 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30119 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30120 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30122 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30124 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30126 if test "x
$enable_gtktest" = "xyes
" ; then
30127 ac_save_CFLAGS="$CFLAGS"
30128 ac_save_LIBS="$LIBS"
30129 CFLAGS="$CFLAGS $GTK_CFLAGS"
30130 LIBS="$GTK_LIBS $LIBS"
30132 if test "$cross_compiling" = yes; then
30133 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30135 cat >conftest.$ac_ext <<_ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30142 #include <gtk/gtk.h>
30144 #include <stdlib.h>
30149 int major, minor, micro;
30152 system ("touch conf.gtktest
");
30154 /* HP/UX 9 (%@#!) writes to sscanf strings */
30155 tmp_version = g_strdup("$min_gtk_version");
30156 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30157 printf("%s
, bad version string
\n", "$min_gtk_version");
30161 if ((gtk_major_version != $gtk_config_major_version) ||
30162 (gtk_minor_version != $gtk_config_minor_version) ||
30163 (gtk_micro_version != $gtk_config_micro_version))
30165 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30166 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30167 gtk_major_version, gtk_minor_version, gtk_micro_version);
30168 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30169 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30170 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30171 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30172 printf("*** required on your system.
\n");
30173 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30174 printf("*** to point to the correct configuration files
\n");
30176 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30177 (gtk_minor_version != GTK_MINOR_VERSION) ||
30178 (gtk_micro_version != GTK_MICRO_VERSION))
30180 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30181 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30182 printf("*** library
(version
%d.
%d.
%d
)\n",
30183 gtk_major_version, gtk_minor_version, gtk_micro_version);
30187 if ((gtk_major_version > major) ||
30188 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30189 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30195 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30196 gtk_major_version, gtk_minor_version, gtk_micro_version);
30197 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30198 major, minor, micro);
30199 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30201 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30202 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30203 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30204 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30205 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30206 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30207 printf("*** so that the correct libraries are found
at run
-time))\n");
30214 rm -f conftest$ac_exeext
30215 if { (ac_try="$ac_link"
30216 case "(($ac_try" in
30217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30218 *) ac_try_echo=$ac_try;;
30220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30221 (eval "$ac_link") 2>&5
30223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30225 { (case "(($ac_try" in
30226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30227 *) ac_try_echo=$ac_try;;
30229 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30230 (eval "$ac_try") 2>&5
30232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30233 (exit $ac_status); }; }; then
30236 echo "$as_me: program exited with status
$ac_status" >&5
30237 echo "$as_me: failed program was
:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30240 ( exit $ac_status )
30243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30247 CFLAGS="$ac_save_CFLAGS"
30248 LIBS="$ac_save_LIBS"
30251 if test "x
$no_gtk" = x ; then
30252 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30253 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30256 { echo "$as_me:$LINENO: result
: no
" >&5
30257 echo "${ECHO_T}no
" >&6; }
30258 if test "$PKG_CONFIG" = "no
" ; then
30259 echo "*** A new enough version of pkg
-config was not found.
"
30260 echo "*** See http
://pkgconfig.sourceforge.net
"
30262 if test -f conf.gtktest ; then
30265 echo "*** Could not run GTK
+ test program
, checking why...
"
30266 ac_save_CFLAGS="$CFLAGS"
30267 ac_save_LIBS="$LIBS"
30268 CFLAGS="$CFLAGS $GTK_CFLAGS"
30269 LIBS="$LIBS $GTK_LIBS"
30270 cat >conftest.$ac_ext <<_ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30277 #include <gtk/gtk.h>
30283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30288 rm -f conftest.$ac_objext conftest$ac_exeext
30289 if { (ac_try="$ac_link"
30290 case "(($ac_try" in
30291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30292 *) ac_try_echo=$ac_try;;
30294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30295 (eval "$ac_link") 2>conftest.er1
30297 grep -v '^ *+' conftest.er1 >conftest.err
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30301 (exit $ac_status); } && {
30302 test -z "$ac_c_werror_flag" ||
30303 test ! -s conftest.err
30304 } && test -s conftest$ac_exeext &&
30305 $as_test_x conftest$ac_exeext; then
30306 echo "*** The
test program compiled
, but did not run. This usually means
"
30307 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30308 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30309 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30310 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30311 echo "*** is required on your system"
30313 echo "*** If you have an old version installed, it is best to remove it, although"
30314 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30316 echo "$as_me: failed program was:" >&5
30317 sed 's
/^
/| /' conftest.$ac_ext >&5
30319 echo "*** The test program failed to compile or link. See the file config.log for the"
30320 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30324 conftest$ac_exeext conftest.$ac_ext
30325 CFLAGS="$ac_save_CFLAGS"
30326 LIBS="$ac_save_LIBS"
30340 if test "$wxUSE_SHARED" != "yes"; then
30341 GTK_LIBS="$GTK_LIBS -lX11"
30346 if test -z "$wx_cv_lib_gtk"; then
30347 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30349 # Check whether --with-gtk-prefix was given.
30350 if test "${with_gtk_prefix+set}" = set; then
30351 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30353 gtk_config_prefix=""
30357 # Check whether --with-gtk-exec-prefix was given.
30358 if test "${with_gtk_exec_prefix+set}" = set; then
30359 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30361 gtk_config_exec_prefix=""
30364 # Check whether --enable-gtktest was given.
30365 if test "${enable_gtktest+set}" = set; then
30366 enableval=$enable_gtktest;
30372 for module in . $GTK_MODULES
30376 gtk_config_args="$gtk_config_args gthread"
30381 if test x$gtk_config_exec_prefix != x ; then
30382 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30383 if test x${GTK_CONFIG+set} != xset ; then
30384 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30387 if test x$gtk_config_prefix != x ; then
30388 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30389 if test x${GTK_CONFIG+set} != xset ; then
30390 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30394 # Extract the first word of "gtk-config", so it can be a program name with args.
30395 set dummy gtk-config; ac_word=$2
30396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30398 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 case $GTK_CONFIG in
30403 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30407 for as_dir in $PATH
30410 test -z "$as_dir" && as_dir=.
30411 for ac_exec_ext in '' $ac_executable_extensions; do
30412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30413 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30421 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30425 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30426 if test -n "$GTK_CONFIG"; then
30427 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30428 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30430 { echo "$as_me:$LINENO: result: no" >&5
30431 echo "${ECHO_T}no" >&6; }
30435 min_gtk_version=1.2.7
30436 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30437 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30439 if test "$GTK_CONFIG" = "no" ; then
30442 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30443 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30444 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30445 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30446 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30447 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30448 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30449 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30450 if test "x$enable_gtktest" = "xyes" ; then
30451 ac_save_CFLAGS="$CFLAGS"
30452 ac_save_LIBS="$LIBS"
30453 CFLAGS="$CFLAGS $GTK_CFLAGS"
30454 LIBS="$GTK_LIBS $LIBS"
30456 if test "$cross_compiling" = yes; then
30457 echo $ac_n "cross compiling; assumed OK... $ac_c"
30459 cat >conftest.$ac_ext <<_ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30466 #include <gtk/gtk.h>
30468 #include <stdlib.h>
30473 int major, minor, micro;
30476 system ("touch conf.gtktest");
30478 /* HP/UX 9 (%@#!) writes to sscanf strings */
30479 tmp_version = g_strdup("$min_gtk_version");
30480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30481 printf("%s, bad version string\n", "$min_gtk_version");
30485 if ((gtk_major_version != $gtk_config_major_version) ||
30486 (gtk_minor_version != $gtk_config_minor_version) ||
30487 (gtk_micro_version != $gtk_config_micro_version))
30489 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30491 gtk_major_version, gtk_minor_version, gtk_micro_version);
30492 printf ("*** was found! If gtk-config was correct, then it is best\n");
30493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30496 printf("*** required on your system.\n");
30497 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30498 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30499 printf("*** before re-running configure\n");
30501 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30502 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30503 (gtk_minor_version != GTK_MINOR_VERSION) ||
30504 (gtk_micro_version != GTK_MICRO_VERSION))
30506 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30507 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30508 printf("*** library (version %d.%d.%d)\n",
30509 gtk_major_version, gtk_minor_version, gtk_micro_version);
30511 #endif /* defined (GTK_MAJOR_VERSION) ... */
30514 if ((gtk_major_version > major) ||
30515 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30516 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30522 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30523 gtk_major_version, gtk_minor_version, gtk_micro_version);
30524 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30525 major, minor, micro);
30526 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30528 printf("*** If you have already installed a sufficiently new version, this error\n");
30529 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30530 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30531 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30532 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30533 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30534 printf("*** so that the correct libraries are found at run-time))\n");
30541 rm -f conftest$ac_exeext
30542 if { (ac_try="$ac_link"
30543 case "(($ac_try" in
30544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30545 *) ac_try_echo=$ac_try;;
30547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30548 (eval "$ac_link") 2>&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30552 { (case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_try") 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; }; then
30563 echo "$as_me: program exited with status $ac_status" >&5
30564 echo "$as_me: failed program was:" >&5
30565 sed 's
/^
/| /' conftest.$ac_ext >&5
30567 ( exit $ac_status )
30570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30574 CFLAGS="$ac_save_CFLAGS"
30575 LIBS="$ac_save_LIBS"
30578 if test "x$no_gtk" = x ; then
30579 { echo "$as_me:$LINENO: result: yes" >&5
30580 echo "${ECHO_T}yes" >&6; }
30581 wx_cv_lib_gtk=1.2.7
30583 { echo "$as_me:$LINENO: result: no" >&5
30584 echo "${ECHO_T}no" >&6; }
30585 if test "$GTK_CONFIG" = "no" ; then
30586 echo "*** The gtk-config script installed by GTK could not be found"
30587 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30588 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30589 echo "*** full path to gtk-config."
30591 if test -f conf.gtktest ; then
30594 echo "*** Could not run GTK test program, checking why..."
30595 CFLAGS="$CFLAGS $GTK_CFLAGS"
30596 LIBS="$LIBS $GTK_LIBS"
30597 cat >conftest.$ac_ext <<_ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30604 #include <gtk/gtk.h>
30610 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>conftest.er1
30624 grep -v '^
*+' conftest.er1 >conftest.err
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } && {
30629 test -z "$ac_c_werror_flag" ||
30630 test ! -s conftest.err
30631 } && test -s conftest$ac_exeext &&
30632 $as_test_x conftest$ac_exeext; then
30633 echo "*** The test program compiled, but did not run. This usually means"
30634 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30635 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30636 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30637 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30638 echo "*** is required on your system
"
30640 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30641 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30643 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30644 echo "*** came with the system with the
command"
30646 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30648 echo "$as_me: failed program was
:" >&5
30649 sed 's/^/| /' conftest.$ac_ext >&5
30651 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30652 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30653 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30654 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30658 conftest$ac_exeext conftest.$ac_ext
30659 CFLAGS="$ac_save_CFLAGS"
30660 LIBS="$ac_save_LIBS"
30672 if test -z "$wx_cv_lib_gtk"; then
30674 # Check whether --with-gtk-prefix was given.
30675 if test "${with_gtk_prefix+set}" = set; then
30676 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30678 gtk_config_prefix=""
30682 # Check whether --with-gtk-exec-prefix was given.
30683 if test "${with_gtk_exec_prefix+set}" = set; then
30684 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30686 gtk_config_exec_prefix=""
30689 # Check whether --enable-gtktest was given.
30690 if test "${enable_gtktest+set}" = set; then
30691 enableval=$enable_gtktest;
30697 for module in . $GTK_MODULES
30701 gtk_config_args="$gtk_config_args gthread
"
30706 if test x$gtk_config_exec_prefix != x ; then
30707 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30708 if test x${GTK_CONFIG+set} != xset ; then
30709 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30712 if test x$gtk_config_prefix != x ; then
30713 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30714 if test x${GTK_CONFIG+set} != xset ; then
30715 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30719 # Extract the first word of "gtk
-config", so it can be a program name with args.
30720 set dummy gtk-config; ac_word=$2
30721 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30722 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30723 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30724 echo $ECHO_N "(cached
) $ECHO_C" >&6
30726 case $GTK_CONFIG in
30728 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30732 for as_dir in $PATH
30735 test -z "$as_dir" && as_dir=.
30736 for ac_exec_ext in '' $ac_executable_extensions; do
30737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30738 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30739 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30746 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30750 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30751 if test -n "$GTK_CONFIG"; then
30752 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30753 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30755 { echo "$as_me:$LINENO: result
: no
" >&5
30756 echo "${ECHO_T}no
" >&6; }
30760 min_gtk_version=1.2.3
30761 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30762 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30764 if test "$GTK_CONFIG" = "no
" ; then
30767 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30768 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30769 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30771 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30773 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30775 if test "x
$enable_gtktest" = "xyes
" ; then
30776 ac_save_CFLAGS="$CFLAGS"
30777 ac_save_LIBS="$LIBS"
30778 CFLAGS="$CFLAGS $GTK_CFLAGS"
30779 LIBS="$GTK_LIBS $LIBS"
30781 if test "$cross_compiling" = yes; then
30782 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30784 cat >conftest.$ac_ext <<_ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30791 #include <gtk/gtk.h>
30793 #include <stdlib.h>
30798 int major, minor, micro;
30801 system ("touch conf.gtktest
");
30803 /* HP/UX 9 (%@#!) writes to sscanf strings */
30804 tmp_version = g_strdup("$min_gtk_version");
30805 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30806 printf("%s
, bad version string
\n", "$min_gtk_version");
30810 if ((gtk_major_version != $gtk_config_major_version) ||
30811 (gtk_minor_version != $gtk_config_minor_version) ||
30812 (gtk_micro_version != $gtk_config_micro_version))
30814 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30815 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30816 gtk_major_version, gtk_minor_version, gtk_micro_version);
30817 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30818 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30819 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30820 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30821 printf("*** required on your system.
\n");
30822 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30823 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30824 printf("*** before re
-running configure
\n");
30826 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30827 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30828 (gtk_minor_version != GTK_MINOR_VERSION) ||
30829 (gtk_micro_version != GTK_MICRO_VERSION))
30831 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30832 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30833 printf("*** library
(version
%d.
%d.
%d
)\n",
30834 gtk_major_version, gtk_minor_version, gtk_micro_version);
30836 #endif /* defined (GTK_MAJOR_VERSION) ... */
30839 if ((gtk_major_version > major) ||
30840 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30841 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30847 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30848 gtk_major_version, gtk_minor_version, gtk_micro_version);
30849 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30850 major, minor, micro);
30851 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30853 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30854 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30855 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30856 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30857 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30858 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30859 printf("*** so that the correct libraries are found
at run
-time))\n");
30866 rm -f conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>&5
30875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30877 { (case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_try") 2>&5
30884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30885 (exit $ac_status); }; }; then
30888 echo "$as_me: program exited with status
$ac_status" >&5
30889 echo "$as_me: failed program was
:" >&5
30890 sed 's/^/| /' conftest.$ac_ext >&5
30892 ( exit $ac_status )
30895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30899 CFLAGS="$ac_save_CFLAGS"
30900 LIBS="$ac_save_LIBS"
30903 if test "x
$no_gtk" = x ; then
30904 { echo "$as_me:$LINENO: result
: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30906 wx_cv_lib_gtk=1.2.3
30908 { echo "$as_me:$LINENO: result
: no
" >&5
30909 echo "${ECHO_T}no
" >&6; }
30910 if test "$GTK_CONFIG" = "no
" ; then
30911 echo "*** The gtk
-config script installed by GTK could not be found
"
30912 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30913 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30914 echo "*** full path to gtk
-config.
"
30916 if test -f conf.gtktest ; then
30919 echo "*** Could not run GTK
test program
, checking why...
"
30920 CFLAGS="$CFLAGS $GTK_CFLAGS"
30921 LIBS="$LIBS $GTK_LIBS"
30922 cat >conftest.$ac_ext <<_ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30929 #include <gtk/gtk.h>
30935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30949 grep -v '^ *+' conftest.er1 >conftest.err
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 echo "*** The
test program compiled
, but did not run. This usually means
"
30959 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30960 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30963 echo "*** is required on your system"
30965 echo "*** If you have an old version installed, it is best to remove it, although"
30966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30968 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30969 echo "*** came with the system with the command"
30971 echo "*** rpm --erase --nodeps gtk gtk-devel"
30973 echo "$as_me: failed program was:" >&5
30974 sed 's
/^
/| /' conftest.$ac_ext >&5
30976 echo "*** The test program failed to compile or link. See the file config.log for the"
30977 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30978 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30979 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30983 conftest$ac_exeext conftest.$ac_ext
30984 CFLAGS="$ac_save_CFLAGS"
30985 LIBS="$ac_save_LIBS"
31000 if test -z "$wx_cv_lib_gtk"; then
31003 wx_cv_cflags_gtk=$GTK_CFLAGS
31004 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31011 if test "$gtk_version_cached" = 1; then
31012 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31013 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31016 case "$wx_cv_lib_gtk" in
31025 *) { { echo "$as_me:$LINENO: error:
31026 The development files for GTK+ were not found. For GTK+ 2, please
31027 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31028 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31029 and that the version is 1.2.3 or above. Also check that the
31030 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31031 --libs' are in the LD_LIBRARY_PATH or equivalent.
31033 echo "$as_me: error:
31034 The development files for GTK+ were not found. For GTK+ 2, please
31035 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31036 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31037 and that the version is 1.2.3 or above. Also check that the
31038 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31039 --libs' are in the LD_LIBRARY_PATH or equivalent.
31041 { (exit 1); exit 1; }; }
31045 if test "$WXGTK20" = 1; then
31046 save_CFLAGS="$CFLAGS"
31048 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31049 LIBS="$LIBS $wx_cv_libs_gtk"
31051 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31052 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31053 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31054 echo $ECHO_N "(cached) $ECHO_C" >&6
31056 cat >conftest.$ac_ext <<_ACEOF
31059 cat confdefs.h >>conftest.$ac_ext
31060 cat >>conftest.$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062 #include <gtk/gtk.h>
31067 #ifndef gtk_icon_size_lookup
31068 (void) gtk_icon_size_lookup;
31075 rm -f conftest.$ac_objext
31076 if { (ac_try="$ac_compile"
31077 case "(($ac_try" in
31078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_compile") 2>conftest.er1
31084 grep -v '^
*+' conftest.er1 >conftest.err
31086 cat conftest.err >&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); } && {
31089 test -z "$ac_c_werror_flag" ||
31090 test ! -s conftest.err
31091 } && test -s conftest.$ac_objext; then
31092 ac_cv_have_decl_gtk_icon_size_lookup=yes
31094 echo "$as_me: failed program was:" >&5
31095 sed 's
/^
/| /' conftest.$ac_ext >&5
31097 ac_cv_have_decl_gtk_icon_size_lookup=no
31100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31102 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31103 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31104 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31106 cat >>confdefs.h <<_ACEOF
31107 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31116 cat >>confdefs.h <<\_ACEOF
31117 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31125 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31126 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31127 cat >conftest.$ac_ext <<_ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31134 #include <gtk/gtk.h>
31140 #if !GTK_CHECK_VERSION(2,10,0)
31148 rm -f conftest.$ac_objext
31149 if { (ac_try="$ac_compile"
31150 case "(($ac_try" in
31151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31152 *) ac_try_echo=$ac_try;;
31154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31155 (eval "$ac_compile") 2>conftest.er1
31157 grep -v '^
*+' conftest.er1 >conftest.err
31159 cat conftest.err >&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } && {
31162 test -z "$ac_c_werror_flag" ||
31163 test ! -s conftest.err
31164 } && test -s conftest.$ac_objext; then
31166 cat >>confdefs.h <<\_ACEOF
31167 #define __WXGTK210__ 1
31170 cat >>confdefs.h <<\_ACEOF
31171 #define __WXGTK26__ 1
31174 cat >>confdefs.h <<\_ACEOF
31175 #define __WXGTK24__ 1
31178 { echo "$as_me:$LINENO: result: yes" >&5
31179 echo "${ECHO_T}yes" >&6; }
31183 echo "$as_me: failed program was:" >&5
31184 sed 's
/^
/| /' conftest.$ac_ext >&5
31187 { echo "$as_me:$LINENO: result: no" >&5
31188 echo "${ECHO_T}no" >&6; }
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31195 if test "$ac_wxgtk210" = 0; then
31196 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31197 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31198 cat >conftest.$ac_ext <<_ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31205 #include <gtk/gtk.h>
31211 #if !GTK_CHECK_VERSION(2,6,0)
31219 rm -f conftest.$ac_objext
31220 if { (ac_try="$ac_compile"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_compile") 2>conftest.er1
31228 grep -v '^
*+' conftest.er1 >conftest.err
31230 cat conftest.err >&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } && {
31233 test -z "$ac_c_werror_flag" ||
31234 test ! -s conftest.err
31235 } && test -s conftest.$ac_objext; then
31237 cat >>confdefs.h <<\_ACEOF
31238 #define __WXGTK26__ 1
31241 cat >>confdefs.h <<\_ACEOF
31242 #define __WXGTK24__ 1
31245 { echo "$as_me:$LINENO: result: yes" >&5
31246 echo "${ECHO_T}yes" >&6; }
31250 echo "$as_me: failed program was:" >&5
31251 sed 's
/^
/| /' conftest.$ac_ext >&5
31254 { echo "$as_me:$LINENO: result: no" >&5
31255 echo "${ECHO_T}no" >&6; }
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31263 if test "$ac_wxgtk26" = 0; then
31264 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31265 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31266 cat >conftest.$ac_ext <<_ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31273 #include <gtk/gtk.h>
31279 #if !GTK_CHECK_VERSION(2,4,0)
31287 rm -f conftest.$ac_objext
31288 if { (ac_try="$ac_compile"
31289 case "(($ac_try" in
31290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31291 *) ac_try_echo=$ac_try;;
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_compile") 2>conftest.er1
31296 grep -v '^
*+' conftest.er1 >conftest.err
31298 cat conftest.err >&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest.$ac_objext; then
31305 cat >>confdefs.h <<\_ACEOF
31306 #define __WXGTK24__ 1
31309 { echo "$as_me:$LINENO: result: yes" >&5
31310 echo "${ECHO_T}yes" >&6; }
31313 echo "$as_me: failed program was:" >&5
31314 sed 's
/^
/| /' conftest.$ac_ext >&5
31317 { echo "$as_me:$LINENO: result: no" >&5
31318 echo "${ECHO_T}no" >&6; }
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31325 CFLAGS="$save_CFLAGS"
31328 if test "$wxUSE_UNICODE" = "yes"; then
31329 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31330 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31334 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31335 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31336 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31337 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 ac_check_lib_save_LIBS=$LIBS
31341 cat >conftest.$ac_ext <<_ACEOF
31344 cat confdefs.h >>conftest.$ac_ext
31345 cat >>conftest.$ac_ext <<_ACEOF
31346 /* end confdefs.h. */
31348 /* Override any GCC internal prototype to avoid an error.
31349 Use char because int might match the return type of a GCC
31350 builtin and then its argument prototype would still apply. */
31354 char gdk_im_open ();
31358 return gdk_im_open ();
31363 rm -f conftest.$ac_objext conftest$ac_exeext
31364 if { (ac_try="$ac_link"
31365 case "(($ac_try" in
31366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31367 *) ac_try_echo=$ac_try;;
31369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31370 (eval "$ac_link") 2>conftest.er1
31372 grep -v '^
*+' conftest.er1 >conftest.err
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } && {
31377 test -z "$ac_c_werror_flag" ||
31378 test ! -s conftest.err
31379 } && test -s conftest$ac_exeext &&
31380 $as_test_x conftest$ac_exeext; then
31381 ac_cv_lib_gdk_gdk_im_open=yes
31383 echo "$as_me: failed program was:" >&5
31384 sed 's
/^
/| /' conftest.$ac_ext >&5
31386 ac_cv_lib_gdk_gdk_im_open=no
31389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31390 conftest$ac_exeext conftest.$ac_ext
31391 LIBS=$ac_check_lib_save_LIBS
31393 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31394 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31395 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31396 cat >>confdefs.h <<\_ACEOF
31403 if test "$USE_DARWIN" != 1; then
31405 for ac_func in poll
31407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 cat >conftest.$ac_ext <<_ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31421 #define $ac_func innocuous_$ac_func
31423 /* System header to define __stub macros and hopefully few prototypes,
31424 which can conflict with char $ac_func (); below.
31425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31426 <limits.h> exists even on freestanding compilers. */
31429 # include <limits.h>
31431 # include <assert.h>
31436 /* Override any GCC internal prototype to avoid an error.
31437 Use char because int might match the return type of a GCC
31438 builtin and then its argument prototype would still apply. */
31443 /* The GNU C library defines this for functions which it implements
31444 to always fail with ENOSYS. Some functions are actually named
31445 something starting with __ and the normal name is an alias. */
31446 #if defined __stub_$ac_func || defined __stub___$ac_func
31453 return $ac_func ();
31458 rm -f conftest.$ac_objext conftest$ac_exeext
31459 if { (ac_try="$ac_link"
31460 case "(($ac_try" in
31461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31462 *) ac_try_echo=$ac_try;;
31464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31465 (eval "$ac_link") 2>conftest.er1
31467 grep -v '^
*+' conftest.er1 >conftest.err
31469 cat conftest.err >&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } && {
31472 test -z "$ac_c_werror_flag" ||
31473 test ! -s conftest.err
31474 } && test -s conftest$ac_exeext &&
31475 $as_test_x conftest$ac_exeext; then
31476 eval "$as_ac_var=yes"
31478 echo "$as_me: failed program was:" >&5
31479 sed 's
/^
/| /' conftest.$ac_ext >&5
31481 eval "$as_ac_var=no"
31484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31485 conftest$ac_exeext conftest.$ac_ext
31487 ac_res=`eval echo '${'$as_ac_var'}'`
31488 { echo "$as_me:$LINENO: result: $ac_res" >&5
31489 echo "${ECHO_T}$ac_res" >&6; }
31490 if test `eval echo '${'$as_ac_var'}'` = yes; then
31491 cat >>confdefs.h <<_ACEOF
31492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31501 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31502 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31504 AFMINSTALL=afminstall
31508 if test "$wxUSE_GPE" = "yes"; then
31509 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31510 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31513 for ac_dir in $SEARCH_LIB;
31515 for ac_extension in a so sl dylib dll.a; do
31516 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31517 ac_find_libraries=$ac_dir
31523 if test "$ac_find_libraries" != "" ; then
31525 if test "$ac_find_libraries" = "default location"; then
31528 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31530 if test $result = 0; then
31533 ac_path_to_link=" -L$ac_find_libraries"
31537 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31539 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31540 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31542 { echo "$as_me:$LINENO: result: not found" >&5
31543 echo "${ECHO_T}not found" >&6; }
31549 if test "$wxUSE_MGL" = 1; then
31550 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31551 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31552 if test "x$MGL_ROOT" = x ; then
31553 { echo "$as_me:$LINENO: result: not found" >&5
31554 echo "${ECHO_T}not found" >&6; }
31555 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31556 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31557 { (exit 1); exit 1; }; }
31559 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31560 echo "${ECHO_T}$MGL_ROOT" >&6; }
31563 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31564 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31567 if test "x$wxUSE_SHARED" = xyes ; then
31568 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31570 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31574 mgl_os_candidates="dos32/dj2"
31577 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31578 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31579 { (exit 1); exit 1; }; }
31585 for mgl_os_i in $mgl_os_candidates ; do
31586 if test "x$mgl_os" = x ; then
31587 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31588 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31589 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31594 if test "x$mgl_lib_type" = x ; then
31595 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31596 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31597 mgl_lib_type=release
31604 if test "x$mgl_os" = x ; then
31605 { echo "$as_me:$LINENO: result: not found" >&5
31606 echo "${ECHO_T}not found" >&6; }
31607 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31608 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31609 { (exit 1); exit 1; }; }
31611 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31612 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31614 wxUSE_UNIVERSAL="yes"
31616 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31617 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31619 AFMINSTALL=afminstall
31624 if test "$wxUSE_DFB" = 1; then
31627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31628 if test -n "$ac_tool_prefix"; then
31629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31636 case $PKG_CONFIG in
31638 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31642 for as_dir in $PATH
31645 test -z "$as_dir" && as_dir=.
31646 for ac_exec_ext in '' $ac_executable_extensions; do
31647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31648 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31659 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31660 if test -n "$PKG_CONFIG"; then
31661 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31662 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31664 { echo "$as_me:$LINENO: result: no" >&5
31665 echo "${ECHO_T}no" >&6; }
31670 if test -z "$ac_cv_path_PKG_CONFIG"; then
31671 ac_pt_PKG_CONFIG=$PKG_CONFIG
31672 # Extract the first word of "pkg-config", so it can be a program name with args.
31673 set dummy pkg-config; ac_word=$2
31674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31676 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 case $ac_pt_PKG_CONFIG in
31681 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31685 for as_dir in $PATH
31688 test -z "$as_dir" && as_dir=.
31689 for ac_exec_ext in '' $ac_executable_extensions; do
31690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31691 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31702 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31703 if test -n "$ac_pt_PKG_CONFIG"; then
31704 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31705 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31707 { echo "$as_me:$LINENO: result: no" >&5
31708 echo "${ECHO_T}no" >&6; }
31711 if test "x$ac_pt_PKG_CONFIG" = x; then
31714 case $cross_compiling:$ac_tool_warned in
31716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31717 whose name does not start with the host triplet. If you think this
31718 configuration is useful to you, please write to autoconf@gnu.org." >&5
31719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31720 whose name does not start with the host triplet. If you think this
31721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31722 ac_tool_warned=yes ;;
31724 PKG_CONFIG=$ac_pt_PKG_CONFIG
31727 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31731 if test -n "$PKG_CONFIG"; then
31732 _pkg_min_version=0.9.0
31733 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31736 { echo "$as_me:$LINENO: result: yes" >&5
31737 echo "${ECHO_T}yes" >&6; }
31739 { echo "$as_me:$LINENO: result: no" >&5
31740 echo "${ECHO_T}no" >&6; }
31748 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31749 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31751 if test -n "$PKG_CONFIG"; then
31752 if test -n "$DIRECTFB_CFLAGS"; then
31753 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31755 if test -n "$PKG_CONFIG" && \
31756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31757 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; then
31761 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31769 if test -n "$PKG_CONFIG"; then
31770 if test -n "$DIRECTFB_LIBS"; then
31771 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31773 if test -n "$PKG_CONFIG" && \
31774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31775 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); }; then
31779 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31790 if test $pkg_failed = yes; then
31792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31793 _pkg_short_errors_supported=yes
31795 _pkg_short_errors_supported=no
31797 if test $_pkg_short_errors_supported = yes; then
31798 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31800 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31802 # Put the nasty error message in config.log where it belongs
31803 echo "$DIRECTFB_PKG_ERRORS" >&5
31806 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31807 echo "$as_me: error: DirectFB not found." >&2;}
31808 { (exit 1); exit 1; }; }
31811 elif test $pkg_failed = untried; then
31813 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31814 echo "$as_me: error: DirectFB not found." >&2;}
31815 { (exit 1); exit 1; }; }
31819 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31820 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31821 { echo "$as_me:$LINENO: result: yes" >&5
31822 echo "${ECHO_T}yes" >&6; }
31824 wxUSE_UNIVERSAL="yes"
31825 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31826 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31833 if test "$wxUSE_MICROWIN" = 1; then
31834 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31835 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31836 if test "x$MICROWINDOWS" = x ; then
31837 { echo "$as_me:$LINENO: result: not found" >&5
31838 echo "${ECHO_T}not found" >&6; }
31839 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31840 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31841 { (exit 1); exit 1; }; }
31843 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31844 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31847 if test -f $MICROWINDOWS/lib/libmwin.a; then
31848 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31849 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31851 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31852 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31853 { (exit 1); exit 1; }; }
31856 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31857 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31859 wxUSE_UNIVERSAL="yes"
31861 AFMINSTALL=afminstall
31863 GUIDIST=MICROWIN_DIST
31865 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31868 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31869 { echo "$as_me:$LINENO: checking for X" >&5
31870 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31873 # Check whether --with-x was given.
31874 if test "${with_x+set}" = set; then
31878 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31879 if test "x$with_x" = xno; then
31880 # The user explicitly disabled X.
31883 case $x_includes,$x_libraries in #(
31884 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31885 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31886 { (exit 1); exit 1; }; };; #(
31887 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 # One or both of the vars are not set, and there is no cached value.
31891 ac_x_includes=no ac_x_libraries=no
31892 rm -f -r conftest.dir
31893 if mkdir conftest.dir; then
31895 cat >Imakefile <<'_ACEOF'
31897 @echo incroot='${INCROOT}'
31899 @echo usrlibdir='${USRLIBDIR}'
31901 @echo libdir='${LIBDIR}'
31903 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31905 for ac_var in incroot usrlibdir libdir; do
31906 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31908 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31909 for ac_extension in a so sl; do
31910 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31911 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31912 ac_im_usrlibdir=$ac_im_libdir; break
31915 # Screen out bogus values from the imake configuration. They are
31916 # bogus both because they are the default anyway, and because
31917 # using them would break gcc on systems where it needs fixed includes.
31918 case $ac_im_incroot in
31919 /usr/include) ac_x_includes= ;;
31920 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31922 case $ac_im_usrlibdir in
31923 /usr/lib | /lib) ;;
31924 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31928 rm -f -r conftest.dir
31931 # Standard set of common directories for X headers.
31932 # Check X11 before X11Rn because it is often a symlink to the current release.
31944 /usr
/local
/X
11/include
31945 /usr
/local
/X
11R
6/include
31946 /usr
/local
/X
11R
5/include
31947 /usr
/local
/X
11R
4/include
31949 /usr
/local
/include
/X11
31950 /usr
/local
/include
/X11R6
31951 /usr
/local
/include
/X11R5
31952 /usr
/local
/include
/X11R4
31956 /usr
/XFree
86/include
/X11
31960 /usr
/unsupported
/include
31961 /usr
/athena
/include
31962 /usr
/local
/x
11r
5/include
31963 /usr
/lpp
/Xamples
/include
31965 /usr
/openwin
/include
31966 /usr
/openwin
/share
/include
'
31968 if test "$ac_x_includes" = no; then
31969 # Guess where to find include files, by looking for Xlib.h.
31970 # First, try using that file with no special directory specified.
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977 #include <X11/Xlib.h>
31979 if { (ac_try="$ac_cpp conftest.$ac_ext"
31980 case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31987 grep -v '^
*+' conftest.er1 >conftest.err
31989 cat conftest.err >&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } >/dev/null && {
31992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31993 test ! -s conftest.err
31995 # We can compile using X headers with no special include directory.
31998 echo "$as_me: failed program was:" >&5
31999 sed 's
/^
/| /' conftest.$ac_ext >&5
32001 for ac_dir in $ac_x_header_dirs; do
32002 if test -r "$ac_dir/X11/Xlib.h"; then
32003 ac_x_includes=$ac_dir
32009 rm -f conftest.err conftest.$ac_ext
32010 fi # $ac_x_includes = no
32012 if test "$ac_x_libraries" = no; then
32013 # Check for the libraries.
32014 # See if we find them without any special options.
32015 # Don't add to
$LIBS permanently.
32018 cat >conftest.
$ac_ext <<_ACEOF
32021 cat confdefs.h
>>conftest.
$ac_ext
32022 cat >>conftest.
$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024 #include <X11/Xlib.h>
32033 rm -f conftest.
$ac_objext conftest
$ac_exeext
32034 if { (ac_try
="$ac_link"
32035 case "(($ac_try" in
32036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32037 *) ac_try_echo=$ac_try;;
32039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32040 (eval "$ac_link") 2>conftest.er1
32042 grep -v '^ *+' conftest.er1 >conftest.err
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } && {
32047 test -z "$ac_c_werror_flag" ||
32048 test ! -s conftest.err
32049 } && test -s conftest$ac_exeext &&
32050 $as_test_x conftest$ac_exeext; then
32052 # We can link X programs with no special library path.
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32059 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32061 # Don't even attempt the hair of trying to link an X program!
32062 for ac_extension in a so sl; do
32063 if test -r "$ac_dir/libX11.$ac_extension"; then
32064 ac_x_libraries=$ac_dir
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32073 fi # $ac_x_libraries = no
32075 case $ac_x_includes,$ac_x_libraries in #(
32076 no,* | *,no | *\'*)
32077 # Didn't find X, or a directory has "'" in its name.
32078 ac_cv_have_x="have_x=no";; #(
32080 # Record where we found X for the cache.
32081 ac_cv_have_x="have_x=yes\
32082 ac_x_includes='$ac_x_includes'\
32083 ac_x_libraries='$ac_x_libraries'"
32089 eval "$ac_cv_have_x"
32092 if test "$have_x" != yes; then
32093 { echo "$as_me:$LINENO: result: $have_x" >&5
32094 echo "${ECHO_T}$have_x" >&6; }
32097 # If each of the values was on the command line, it overrides each guess.
32098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32100 # Update the cache value to reflect the command line values.
32101 ac_cv_have_x="have_x=yes\
32102 ac_x_includes='$x_includes'\
32103 ac_x_libraries='$x_libraries'"
32104 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32108 if test "$no_x" = yes; then
32109 # Not all programs may use this symbol, but it does not hurt to define it.
32111 cat >>confdefs.h <<\_ACEOF
32112 #define X_DISPLAY_MISSING 1
32115 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32117 if test -n "$x_includes"; then
32118 X_CFLAGS="$X_CFLAGS -I$x_includes"
32121 # It would also be nice to do this for all -L options, not just this one.
32122 if test -n "$x_libraries"; then
32123 X_LIBS="$X_LIBS -L$x_libraries"
32124 # For Solaris; some versions of Sun CC require a space after -R and
32125 # others require no space. Words are not sufficient . . . .
32126 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32127 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32128 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32129 ac_xsave_c_werror_flag=$ac_c_werror_flag
32130 ac_c_werror_flag=yes
32131 cat >conftest.$ac_ext <<_ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32146 rm -f conftest.$ac_objext conftest$ac_exeext
32147 if { (ac_try="$ac_link"
32148 case "(($ac_try" in
32149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32150 *) ac_try_echo
=$ac_try;;
32152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32153 (eval "$ac_link") 2>conftest.er1
32155 grep -v '^ *+' conftest.er1
>conftest.err
32157 cat conftest.err
>&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } && {
32160 test -z "$ac_c_werror_flag" ||
32161 test ! -s conftest.err
32162 } && test -s conftest
$ac_exeext &&
32163 $as_test_x conftest
$ac_exeext; then
32164 { echo "$as_me:$LINENO: result: no" >&5
32165 echo "${ECHO_T}no" >&6; }
32166 X_LIBS
="$X_LIBS -R$x_libraries"
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.
$ac_ext >&5
32171 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32172 cat >conftest.
$ac_ext <<_ACEOF
32175 cat confdefs.h
>>conftest.
$ac_ext
32176 cat >>conftest.
$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32187 rm -f conftest.
$ac_objext conftest
$ac_exeext
32188 if { (ac_try
="$ac_link"
32189 case "(($ac_try" in
32190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32191 *) ac_try_echo=$ac_try;;
32193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32194 (eval "$ac_link") 2>conftest.er1
32196 grep -v '^ *+' conftest.er1 >conftest.err
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } && {
32201 test -z "$ac_c_werror_flag" ||
32202 test ! -s conftest.err
32203 } && test -s conftest$ac_exeext &&
32204 $as_test_x conftest$ac_exeext; then
32205 { echo "$as_me:$LINENO: result: yes" >&5
32206 echo "${ECHO_T}yes" >&6; }
32207 X_LIBS="$X_LIBS -R $x_libraries"
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32212 { echo "$as_me:$LINENO: result: neither works" >&5
32213 echo "${ECHO_T}neither works" >&6; }
32216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32217 conftest$ac_exeext conftest.$ac_ext
32220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32221 conftest$ac_exeext conftest.$ac_ext
32222 ac_c_werror_flag=$ac_xsave_c_werror_flag
32223 LIBS=$ac_xsave_LIBS
32226 # Check for system-dependent libraries X programs must link with.
32227 # Do this before checking for the system-independent R6 libraries
32228 # (-lICE), since we may need -lsocket or whatever for X linking.
32230 if test "$ISC" = yes; then
32231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32233 # Martyn Johnson says this is needed for Ultrix, if the X
32234 # libraries were built with DECnet support. And Karl Berry says
32235 # the Alpha needs dnet_stub (dnet does not exist).
32236 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32237 cat >conftest.$ac_ext <<_ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32244 /* Override any GCC internal prototype to avoid an error.
32245 Use char because int might match the return type of a GCC
32246 builtin and then its argument prototype would still apply. */
32250 char XOpenDisplay ();
32254 return XOpenDisplay ();
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (ac_try="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32263 *) ac_try_echo
=$ac_try;;
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32268 grep -v '^ *+' conftest.er1
>conftest.err
32270 cat conftest.err
>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest
$ac_exeext &&
32276 $as_test_x conftest
$ac_exeext; then
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.
$ac_ext >&5
32282 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32283 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32284 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32287 ac_check_lib_save_LIBS
=$LIBS
32288 LIBS
="-ldnet $LIBS"
32289 cat >conftest.
$ac_ext <<_ACEOF
32292 cat confdefs.h
>>conftest.
$ac_ext
32293 cat >>conftest.
$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32296 /* Override any GCC internal prototype to avoid an error.
32297 Use char because int might match the return type of a GCC
32298 builtin and then its argument prototype would still apply. */
32306 return dnet_ntoa ();
32311 rm -f conftest.
$ac_objext conftest
$ac_exeext
32312 if { (ac_try
="$ac_link"
32313 case "(($ac_try" in
32314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32315 *) ac_try_echo=$ac_try;;
32317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32318 (eval "$ac_link") 2>conftest.er1
32320 grep -v '^ *+' conftest.er1 >conftest.err
32322 cat conftest.err >&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); } && {
32325 test -z "$ac_c_werror_flag" ||
32326 test ! -s conftest.err
32327 } && test -s conftest$ac_exeext &&
32328 $as_test_x conftest$ac_exeext; then
32329 ac_cv_lib_dnet_dnet_ntoa=yes
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32334 ac_cv_lib_dnet_dnet_ntoa=no
32337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32338 conftest$ac_exeext conftest.$ac_ext
32339 LIBS=$ac_check_lib_save_LIBS
32341 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32342 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32343 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32347 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32348 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32349 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32350 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32351 echo $ECHO_N "(cached) $ECHO_C" >&6
32353 ac_check_lib_save_LIBS=$LIBS
32354 LIBS="-ldnet_stub $LIBS"
32355 cat >conftest.$ac_ext <<_ACEOF
32358 cat confdefs.h >>conftest.$ac_ext
32359 cat >>conftest.$ac_ext <<_ACEOF
32360 /* end confdefs.h. */
32362 /* Override any GCC internal prototype to avoid an error.
32363 Use char because int might match the return type of a GCC
32364 builtin and then its argument prototype would still apply. */
32372 return dnet_ntoa ();
32377 rm -f conftest.$ac_objext conftest$ac_exeext
32378 if { (ac_try="$ac_link"
32379 case "(($ac_try" in
32380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32381 *) ac_try_echo
=$ac_try;;
32383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32384 (eval "$ac_link") 2>conftest.er1
32386 grep -v '^ *+' conftest.er1
>conftest.err
32388 cat conftest.err
>&5
32389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390 (exit $ac_status); } && {
32391 test -z "$ac_c_werror_flag" ||
32392 test ! -s conftest.err
32393 } && test -s conftest
$ac_exeext &&
32394 $as_test_x conftest
$ac_exeext; then
32395 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32397 echo "$as_me: failed program was:" >&5
32398 sed 's/^/| /' conftest.
$ac_ext >&5
32400 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32404 conftest
$ac_exeext conftest.
$ac_ext
32405 LIBS
=$ac_check_lib_save_LIBS
32407 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32408 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32409 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32416 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32417 conftest
$ac_exeext conftest.
$ac_ext
32418 LIBS
="$ac_xsave_LIBS"
32420 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32421 # to get the SysV transport functions.
32422 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32424 # The nsl library prevents programs from opening the X display
32425 # on Irix 5.2, according to T.E. Dickey.
32426 # The functions gethostbyname, getservbyname, and inet_addr are
32427 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32428 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32429 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32430 if test "${ac_cv_func_gethostbyname+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 cat >conftest.
$ac_ext <<_ACEOF
32436 cat confdefs.h
>>conftest.
$ac_ext
32437 cat >>conftest.
$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32441 #define gethostbyname innocuous_gethostbyname
32443 /* System header to define __stub macros and hopefully few prototypes,
32444 which can conflict with char gethostbyname (); below.
32445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32446 <limits.h> exists even on freestanding compilers. */
32449 # include <limits.h>
32451 # include <assert.h>
32454 #undef gethostbyname
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32462 char gethostbyname ();
32463 /* The GNU C library defines this for functions which it implements
32464 to always fail with ENOSYS. Some functions are actually named
32465 something starting with __ and the normal name is an alias. */
32466 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32473 return gethostbyname ();
32478 rm -f conftest.
$ac_objext conftest
$ac_exeext
32479 if { (ac_try
="$ac_link"
32480 case "(($ac_try" in
32481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32482 *) ac_try_echo=$ac_try;;
32484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32485 (eval "$ac_link") 2>conftest.er1
32487 grep -v '^ *+' conftest.er1 >conftest.err
32489 cat conftest.err >&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); } && {
32492 test -z "$ac_c_werror_flag" ||
32493 test ! -s conftest.err
32494 } && test -s conftest$ac_exeext &&
32495 $as_test_x conftest$ac_exeext; then
32496 ac_cv_func_gethostbyname=yes
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32501 ac_cv_func_gethostbyname=no
32504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32505 conftest$ac_exeext conftest.$ac_ext
32507 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32508 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32510 if test $ac_cv_func_gethostbyname = no; then
32511 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32512 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32513 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 ac_check_lib_save_LIBS=$LIBS
32518 cat >conftest.$ac_ext <<_ACEOF
32521 cat confdefs.h >>conftest.$ac_ext
32522 cat >>conftest.$ac_ext <<_ACEOF
32523 /* end confdefs.h. */
32525 /* Override any GCC internal prototype to avoid an error.
32526 Use char because int might match the return type of a GCC
32527 builtin and then its argument prototype would still apply. */
32531 char gethostbyname ();
32535 return gethostbyname ();
32540 rm -f conftest.$ac_objext conftest$ac_exeext
32541 if { (ac_try="$ac_link"
32542 case "(($ac_try" in
32543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32544 *) ac_try_echo
=$ac_try;;
32546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32547 (eval "$ac_link") 2>conftest.er1
32549 grep -v '^ *+' conftest.er1
>conftest.err
32551 cat conftest.err
>&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } && {
32554 test -z "$ac_c_werror_flag" ||
32555 test ! -s conftest.err
32556 } && test -s conftest
$ac_exeext &&
32557 $as_test_x conftest
$ac_exeext; then
32558 ac_cv_lib_nsl_gethostbyname
=yes
32560 echo "$as_me: failed program was:" >&5
32561 sed 's/^/| /' conftest.
$ac_ext >&5
32563 ac_cv_lib_nsl_gethostbyname
=no
32566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32567 conftest
$ac_exeext conftest.
$ac_ext
32568 LIBS
=$ac_check_lib_save_LIBS
32570 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32571 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32572 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32573 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32576 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32577 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32578 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32579 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32582 ac_check_lib_save_LIBS
=$LIBS
32584 cat >conftest.
$ac_ext <<_ACEOF
32587 cat confdefs.h
>>conftest.
$ac_ext
32588 cat >>conftest.
$ac_ext <<_ACEOF
32589 /* end confdefs.h. */
32591 /* Override any GCC internal prototype to avoid an error.
32592 Use char because int might match the return type of a GCC
32593 builtin and then its argument prototype would still apply. */
32597 char gethostbyname ();
32601 return gethostbyname ();
32606 rm -f conftest.
$ac_objext conftest
$ac_exeext
32607 if { (ac_try
="$ac_link"
32608 case "(($ac_try" in
32609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32610 *) ac_try_echo=$ac_try;;
32612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32613 (eval "$ac_link") 2>conftest.er1
32615 grep -v '^ *+' conftest.er1 >conftest.err
32617 cat conftest.err >&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); } && {
32620 test -z "$ac_c_werror_flag" ||
32621 test ! -s conftest.err
32622 } && test -s conftest$ac_exeext &&
32623 $as_test_x conftest$ac_exeext; then
32624 ac_cv_lib_bsd_gethostbyname=yes
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32629 ac_cv_lib_bsd_gethostbyname=no
32632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32633 conftest$ac_exeext conftest.$ac_ext
32634 LIBS=$ac_check_lib_save_LIBS
32636 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32637 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32638 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32639 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32645 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32646 # socket/setsockopt and other routines are undefined under SCO ODT
32647 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32648 # on later versions), says Simon Leinen: it contains gethostby*
32649 # variants that don't use the name server (or something). -lsocket
32650 # must be given before -lnsl if both are needed. We assume that
32651 # if connect needs -lnsl, so does gethostbyname.
32652 { echo "$as_me:$LINENO: checking for connect" >&5
32653 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32654 if test "${ac_cv_func_connect+set}" = set; then
32655 echo $ECHO_N "(cached) $ECHO_C" >&6
32657 cat >conftest.$ac_ext <<_ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h. */
32663 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32665 #define connect innocuous_connect
32667 /* System header to define __stub macros and hopefully few prototypes,
32668 which can conflict with char connect (); below.
32669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32670 <limits.h> exists even on freestanding compilers. */
32673 # include <limits.h>
32675 # include <assert.h>
32680 /* Override any GCC internal prototype to avoid an error.
32681 Use char because int might match the return type of a GCC
32682 builtin and then its argument prototype would still apply. */
32687 /* The GNU C library defines this for functions which it implements
32688 to always fail with ENOSYS. Some functions are actually named
32689 something starting with __ and the normal name is an alias. */
32690 #if defined __stub_connect || defined __stub___connect
32702 rm -f conftest.$ac_objext conftest$ac_exeext
32703 if { (ac_try="$ac_link"
32704 case "(($ac_try" in
32705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32706 *) ac_try_echo
=$ac_try;;
32708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32709 (eval "$ac_link") 2>conftest.er1
32711 grep -v '^ *+' conftest.er1
>conftest.err
32713 cat conftest.err
>&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); } && {
32716 test -z "$ac_c_werror_flag" ||
32717 test ! -s conftest.err
32718 } && test -s conftest
$ac_exeext &&
32719 $as_test_x conftest
$ac_exeext; then
32720 ac_cv_func_connect
=yes
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.
$ac_ext >&5
32725 ac_cv_func_connect
=no
32728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32729 conftest
$ac_exeext conftest.
$ac_ext
32731 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32732 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32734 if test $ac_cv_func_connect = no
; then
32735 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32736 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32737 if test "${ac_cv_lib_socket_connect+set}" = set; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32740 ac_check_lib_save_LIBS
=$LIBS
32741 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32742 cat >conftest.
$ac_ext <<_ACEOF
32745 cat confdefs.h
>>conftest.
$ac_ext
32746 cat >>conftest.
$ac_ext <<_ACEOF
32747 /* end confdefs.h. */
32749 /* Override any GCC internal prototype to avoid an error.
32750 Use char because int might match the return type of a GCC
32751 builtin and then its argument prototype would still apply. */
32764 rm -f conftest.
$ac_objext conftest
$ac_exeext
32765 if { (ac_try
="$ac_link"
32766 case "(($ac_try" in
32767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32768 *) ac_try_echo=$ac_try;;
32770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32771 (eval "$ac_link") 2>conftest.er1
32773 grep -v '^ *+' conftest.er1 >conftest.err
32775 cat conftest.err >&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } && {
32778 test -z "$ac_c_werror_flag" ||
32779 test ! -s conftest.err
32780 } && test -s conftest$ac_exeext &&
32781 $as_test_x conftest$ac_exeext; then
32782 ac_cv_lib_socket_connect=yes
32784 echo "$as_me: failed program was:" >&5
32785 sed 's/^/| /' conftest.$ac_ext >&5
32787 ac_cv_lib_socket_connect=no
32790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32791 conftest$ac_exeext conftest.$ac_ext
32792 LIBS=$ac_check_lib_save_LIBS
32794 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32795 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32796 if test $ac_cv_lib_socket_connect = yes; then
32797 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32802 # Guillermo Gomez says -lposix is necessary on A/UX.
32803 { echo "$as_me:$LINENO: checking for remove" >&5
32804 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32805 if test "${ac_cv_func_remove+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 cat >conftest.$ac_ext <<_ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32816 #define remove innocuous_remove
32818 /* System header to define __stub macros and hopefully few prototypes,
32819 which can conflict with char remove (); below.
32820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32821 <limits.h> exists even on freestanding compilers. */
32824 # include <limits.h>
32826 # include <assert.h>
32831 /* Override any GCC internal prototype to avoid an error.
32832 Use char because int might match the return type of a GCC
32833 builtin and then its argument prototype would still apply. */
32838 /* The GNU C library defines this for functions which it implements
32839 to always fail with ENOSYS. Some functions are actually named
32840 something starting with __ and the normal name is an alias. */
32841 #if defined __stub_remove || defined __stub___remove
32853 rm -f conftest.$ac_objext conftest$ac_exeext
32854 if { (ac_try="$ac_link"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32857 *) ac_try_echo
=$ac_try;;
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_link") 2>conftest.er1
32862 grep -v '^ *+' conftest.er1
>conftest.err
32864 cat conftest.err
>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest
$ac_exeext &&
32870 $as_test_x conftest
$ac_exeext; then
32871 ac_cv_func_remove
=yes
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.
$ac_ext >&5
32876 ac_cv_func_remove
=no
32879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32880 conftest
$ac_exeext conftest.
$ac_ext
32882 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32883 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32885 if test $ac_cv_func_remove = no
; then
32886 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32887 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32888 if test "${ac_cv_lib_posix_remove+set}" = set; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 ac_check_lib_save_LIBS
=$LIBS
32892 LIBS
="-lposix $LIBS"
32893 cat >conftest.
$ac_ext <<_ACEOF
32896 cat confdefs.h
>>conftest.
$ac_ext
32897 cat >>conftest.
$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32900 /* Override any GCC internal prototype to avoid an error.
32901 Use char because int might match the return type of a GCC
32902 builtin and then its argument prototype would still apply. */
32915 rm -f conftest.
$ac_objext conftest
$ac_exeext
32916 if { (ac_try
="$ac_link"
32917 case "(($ac_try" in
32918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32919 *) ac_try_echo=$ac_try;;
32921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32922 (eval "$ac_link") 2>conftest.er1
32924 grep -v '^ *+' conftest.er1 >conftest.err
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } && {
32929 test -z "$ac_c_werror_flag" ||
32930 test ! -s conftest.err
32931 } && test -s conftest$ac_exeext &&
32932 $as_test_x conftest$ac_exeext; then
32933 ac_cv_lib_posix_remove=yes
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32938 ac_cv_lib_posix_remove=no
32941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32942 conftest$ac_exeext conftest.$ac_ext
32943 LIBS=$ac_check_lib_save_LIBS
32945 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32946 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32947 if test $ac_cv_lib_posix_remove = yes; then
32948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32953 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32954 { echo "$as_me:$LINENO: checking for shmat" >&5
32955 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32956 if test "${ac_cv_func_shmat+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 cat >conftest.$ac_ext <<_ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32967 #define shmat innocuous_shmat
32969 /* System header to define __stub macros and hopefully few prototypes,
32970 which can conflict with char shmat (); below.
32971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32972 <limits.h> exists even on freestanding compilers. */
32975 # include <limits.h>
32977 # include <assert.h>
32982 /* Override any GCC internal prototype to avoid an error.
32983 Use char because int might match the return type of a GCC
32984 builtin and then its argument prototype would still apply. */
32989 /* The GNU C library defines this for functions which it implements
32990 to always fail with ENOSYS. Some functions are actually named
32991 something starting with __ and the normal name is an alias. */
32992 #if defined __stub_shmat || defined __stub___shmat
33004 rm -f conftest.$ac_objext conftest$ac_exeext
33005 if { (ac_try="$ac_link"
33006 case "(($ac_try" in
33007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33008 *) ac_try_echo
=$ac_try;;
33010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33011 (eval "$ac_link") 2>conftest.er1
33013 grep -v '^ *+' conftest.er1
>conftest.err
33015 cat conftest.err
>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } && {
33018 test -z "$ac_c_werror_flag" ||
33019 test ! -s conftest.err
33020 } && test -s conftest
$ac_exeext &&
33021 $as_test_x conftest
$ac_exeext; then
33022 ac_cv_func_shmat
=yes
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.
$ac_ext >&5
33027 ac_cv_func_shmat
=no
33030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33031 conftest
$ac_exeext conftest.
$ac_ext
33033 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33034 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33036 if test $ac_cv_func_shmat = no
; then
33037 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33038 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33039 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 ac_check_lib_save_LIBS
=$LIBS
33044 cat >conftest.
$ac_ext <<_ACEOF
33047 cat confdefs.h
>>conftest.
$ac_ext
33048 cat >>conftest.
$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33051 /* Override any GCC internal prototype to avoid an error.
33052 Use char because int might match the return type of a GCC
33053 builtin and then its argument prototype would still apply. */
33066 rm -f conftest.
$ac_objext conftest
$ac_exeext
33067 if { (ac_try
="$ac_link"
33068 case "(($ac_try" in
33069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33070 *) ac_try_echo=$ac_try;;
33072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33073 (eval "$ac_link") 2>conftest.er1
33075 grep -v '^ *+' conftest.er1 >conftest.err
33077 cat conftest.err >&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } && {
33080 test -z "$ac_c_werror_flag" ||
33081 test ! -s conftest.err
33082 } && test -s conftest$ac_exeext &&
33083 $as_test_x conftest$ac_exeext; then
33084 ac_cv_lib_ipc_shmat=yes
33086 echo "$as_me: failed program was:" >&5
33087 sed 's/^/| /' conftest.$ac_ext >&5
33089 ac_cv_lib_ipc_shmat=no
33092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33093 conftest$ac_exeext conftest.$ac_ext
33094 LIBS=$ac_check_lib_save_LIBS
33096 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33097 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33098 if test $ac_cv_lib_ipc_shmat = yes; then
33099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33105 # Check for libraries that X11R6 Xt/Xaw programs need.
33106 ac_save_LDFLAGS=$LDFLAGS
33107 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33108 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33109 # check for ICE first), but we must link in the order -lSM -lICE or
33110 # we get undefined symbols. So assume we have SM if we have ICE.
33111 # These have to be linked with before -lX11, unlike the other
33112 # libraries we check for below, so use a different variable.
33113 # John Interrante, Karl Berry
33114 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33115 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33116 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33117 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 ac_check_lib_save_LIBS=$LIBS
33120 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33121 cat >conftest.$ac_ext <<_ACEOF
33124 cat confdefs.h >>conftest.$ac_ext
33125 cat >>conftest.$ac_ext <<_ACEOF
33126 /* end confdefs.h. */
33128 /* Override any GCC internal prototype to avoid an error.
33129 Use char because int might match the return type of a GCC
33130 builtin and then its argument prototype would still apply. */
33134 char IceConnectionNumber ();
33138 return IceConnectionNumber ();
33143 rm -f conftest.$ac_objext conftest$ac_exeext
33144 if { (ac_try="$ac_link"
33145 case "(($ac_try" in
33146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33147 *) ac_try_echo
=$ac_try;;
33149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33150 (eval "$ac_link") 2>conftest.er1
33152 grep -v '^ *+' conftest.er1
>conftest.err
33154 cat conftest.err
>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } && {
33157 test -z "$ac_c_werror_flag" ||
33158 test ! -s conftest.err
33159 } && test -s conftest
$ac_exeext &&
33160 $as_test_x conftest
$ac_exeext; then
33161 ac_cv_lib_ICE_IceConnectionNumber
=yes
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.
$ac_ext >&5
33166 ac_cv_lib_ICE_IceConnectionNumber
=no
33169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33170 conftest
$ac_exeext conftest.
$ac_ext
33171 LIBS
=$ac_check_lib_save_LIBS
33173 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33174 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33175 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33176 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33179 LDFLAGS
=$ac_save_LDFLAGS
33184 if test "$no_x" = "yes"; then
33185 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33186 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33187 { (exit 1); exit 1; }; }
33190 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33191 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33192 AFMINSTALL
=afminstall
33193 COMPILED_X_PROGRAM
=0
33197 if test "$wxUSE_X11" = 1; then
33198 if test "$wxUSE_NANOX" = "yes"; then
33199 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33200 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33201 if test "x$MICROWIN" = x
; then
33202 { echo "$as_me:$LINENO: result: not found" >&5
33203 echo "${ECHO_T}not found" >&6; }
33204 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33205 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33206 { (exit 1); exit 1; }; }
33208 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33209 echo "${ECHO_T}$MICROWIN" >&6; }
33210 cat >>confdefs.h
<<\_ACEOF
33211 #define wxUSE_NANOX 1
33217 if test "$wxUSE_UNICODE" = "yes"; then
33220 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33221 if test -n "$ac_tool_prefix"; then
33222 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33223 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33227 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 case $PKG_CONFIG in
33231 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33235 for as_dir
in $PATH
33238 test -z "$as_dir" && as_dir
=.
33239 for ac_exec_ext
in '' $ac_executable_extensions; do
33240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33241 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33252 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33253 if test -n "$PKG_CONFIG"; then
33254 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33255 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33257 { echo "$as_me:$LINENO: result: no" >&5
33258 echo "${ECHO_T}no" >&6; }
33263 if test -z "$ac_cv_path_PKG_CONFIG"; then
33264 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33265 # Extract the first word of "pkg-config", so it can be a program name with args.
33266 set dummy pkg
-config; ac_word
=$2
33267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33269 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 case $ac_pt_PKG_CONFIG in
33274 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33278 for as_dir
in $PATH
33281 test -z "$as_dir" && as_dir
=.
33282 for ac_exec_ext
in '' $ac_executable_extensions; do
33283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33284 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33295 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33296 if test -n "$ac_pt_PKG_CONFIG"; then
33297 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33298 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33300 { echo "$as_me:$LINENO: result: no" >&5
33301 echo "${ECHO_T}no" >&6; }
33304 if test "x$ac_pt_PKG_CONFIG" = x
; then
33307 case $cross_compiling:$ac_tool_warned in
33309 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33310 whose name does not start with the host triplet. If you think this
33311 configuration is useful to you, please write to autoconf@gnu.org." >&5
33312 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33313 whose name does not start with the host triplet. If you think this
33314 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33315 ac_tool_warned
=yes ;;
33317 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33320 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33324 if test -n "$PKG_CONFIG"; then
33325 _pkg_min_version
=0.9.0
33326 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33327 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33328 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33329 { echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6; }
33332 { echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6; }
33341 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33342 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33344 if test -n "$PKG_CONFIG"; then
33345 if test -n "$PANGOX_CFLAGS"; then
33346 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33348 if test -n "$PKG_CONFIG" && \
33349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33350 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; then
33354 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33362 if test -n "$PKG_CONFIG"; then
33363 if test -n "$PANGOX_LIBS"; then
33364 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33366 if test -n "$PKG_CONFIG" && \
33367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33368 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; then
33372 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33383 if test $pkg_failed = yes; then
33385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33386 _pkg_short_errors_supported
=yes
33388 _pkg_short_errors_supported
=no
33390 if test $_pkg_short_errors_supported = yes; then
33391 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33393 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33395 # Put the nasty error message in config.log where it belongs
33396 echo "$PANGOX_PKG_ERRORS" >&5
33399 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33400 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33401 { (exit 1); exit 1; }; }
33404 elif test $pkg_failed = untried
; then
33406 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33407 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33408 { (exit 1); exit 1; }; }
33412 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33413 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33414 { echo "$as_me:$LINENO: result: yes" >&5
33415 echo "${ECHO_T}yes" >&6; }
33417 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33418 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33419 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33424 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33425 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33427 if test -n "$PKG_CONFIG"; then
33428 if test -n "$PANGOFT2_CFLAGS"; then
33429 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33431 if test -n "$PKG_CONFIG" && \
33432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33433 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; then
33437 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33445 if test -n "$PKG_CONFIG"; then
33446 if test -n "$PANGOFT2_LIBS"; then
33447 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33449 if test -n "$PKG_CONFIG" && \
33450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33451 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); }; then
33455 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33466 if test $pkg_failed = yes; then
33468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33469 _pkg_short_errors_supported
=yes
33471 _pkg_short_errors_supported
=no
33473 if test $_pkg_short_errors_supported = yes; then
33474 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33476 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33478 # Put the nasty error message in config.log where it belongs
33479 echo "$PANGOFT2_PKG_ERRORS" >&5
33482 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33483 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33484 wxUSE_PRINTING_ARCHITECTURE
="no"
33487 elif test $pkg_failed = untried
; then
33489 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33490 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33491 wxUSE_PRINTING_ARCHITECTURE
="no"
33495 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33496 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33497 { echo "$as_me:$LINENO: result: yes" >&5
33498 echo "${ECHO_T}yes" >&6; }
33500 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33501 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33502 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33507 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33508 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33510 if test -n "$PKG_CONFIG"; then
33511 if test -n "$PANGOXFT_CFLAGS"; then
33512 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33514 if test -n "$PKG_CONFIG" && \
33515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33516 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); }; then
33520 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33528 if test -n "$PKG_CONFIG"; then
33529 if test -n "$PANGOXFT_LIBS"; then
33530 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33532 if test -n "$PKG_CONFIG" && \
33533 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33534 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); }; then
33538 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33549 if test $pkg_failed = yes; then
33551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33552 _pkg_short_errors_supported
=yes
33554 _pkg_short_errors_supported
=no
33556 if test $_pkg_short_errors_supported = yes; then
33557 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33559 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33561 # Put the nasty error message in config.log where it belongs
33562 echo "$PANGOXFT_PKG_ERRORS" >&5
33565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33569 elif test $pkg_failed = untried
; then
33571 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33572 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33576 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33577 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33578 { echo "$as_me:$LINENO: result: yes" >&5
33579 echo "${ECHO_T}yes" >&6; }
33581 cat >>confdefs.h
<<\_ACEOF
33582 #define HAVE_PANGO_XFT 1
33585 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33586 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33587 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33591 LIBS
="$LIBS $PANGOX_LIBS"
33593 for ac_func
in pango_font_family_is_monospace
33595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33598 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33599 echo $ECHO_N "(cached) $ECHO_C" >&6
33601 cat >conftest.
$ac_ext <<_ACEOF
33604 cat confdefs.h
>>conftest.
$ac_ext
33605 cat >>conftest.
$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33609 #define $ac_func innocuous_$ac_func
33611 /* System header to define __stub macros and hopefully few prototypes,
33612 which can conflict with char $ac_func (); below.
33613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33614 <limits.h> exists even on freestanding compilers. */
33617 # include <limits.h>
33619 # include <assert.h>
33624 /* Override any GCC internal prototype to avoid an error.
33625 Use char because int might match the return type of a GCC
33626 builtin and then its argument prototype would still apply. */
33631 /* The GNU C library defines this for functions which it implements
33632 to always fail with ENOSYS. Some functions are actually named
33633 something starting with __ and the normal name is an alias. */
33634 #if defined __stub_$ac_func || defined __stub___$ac_func
33641 return $ac_func ();
33646 rm -f conftest.
$ac_objext conftest
$ac_exeext
33647 if { (ac_try
="$ac_link"
33648 case "(($ac_try" in
33649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33650 *) ac_try_echo=$ac_try;;
33652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33653 (eval "$ac_link") 2>conftest.er1
33655 grep -v '^ *+' conftest.er1 >conftest.err
33657 cat conftest.err >&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); } && {
33660 test -z "$ac_c_werror_flag" ||
33661 test ! -s conftest.err
33662 } && test -s conftest$ac_exeext &&
33663 $as_test_x conftest$ac_exeext; then
33664 eval "$as_ac_var=yes"
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33669 eval "$as_ac_var=no"
33672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33673 conftest$ac_exeext conftest.$ac_ext
33675 ac_res=`eval echo '${'$as_ac_var'}'`
33676 { echo "$as_me:$LINENO: result: $ac_res" >&5
33677 echo "${ECHO_T}$ac_res" >&6; }
33678 if test `eval echo '${'$as_ac_var'}'` = yes; then
33679 cat >>confdefs.h <<_ACEOF
33680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33689 wxUSE_UNIVERSAL="yes"
33691 if test "$wxUSE_NANOX" = "yes"; then
33692 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33693 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"
33694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33703 if test "$wxUSE_MOTIF" = 1; then
33704 if test "$wxUSE_UNICODE" = "yes"; then
33705 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33706 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33707 { (exit 1); exit 1; }; }
33710 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33711 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33714 for ac_dir in $SEARCH_INCLUDE /usr/include;
33716 if test -f "$ac_dir/Xm/Xm.h"; then
33717 ac_find_includes=$ac_dir
33722 if test "$ac_find_includes" != "" ; then
33723 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33724 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33726 if test "x$ac_find_includes" = "x/usr/include"; then
33727 ac_path_to_include=""
33729 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33731 if test $result = 0; then
33732 ac_path_to_include=""
33734 ac_path_to_include=" -I$ac_find_includes"
33738 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33740 save_CFLAGS=$CFLAGS
33741 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33743 cat >conftest.$ac_ext <<_ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33757 version = xmUseVersion;
33763 rm -f conftest.$ac_objext
33764 if { (ac_try="$ac_compile"
33765 case "(($ac_try" in
33766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33767 *) ac_try_echo
=$ac_try;;
33769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33770 (eval "$ac_compile") 2>conftest.er1
33772 grep -v '^ *+' conftest.er1
>conftest.err
33774 cat conftest.err
>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); } && {
33777 test -z "$ac_c_werror_flag" ||
33778 test ! -s conftest.err
33779 } && test -s conftest.
$ac_objext; then
33781 { echo "$as_me:$LINENO: result: found in default search path" >&5
33782 echo "${ECHO_T}found in default search path" >&6; }
33783 COMPILED_X_PROGRAM
=1
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.
$ac_ext >&5
33790 { echo "$as_me:$LINENO: result: no" >&5
33791 echo "${ECHO_T}no" >&6; }
33792 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33793 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33794 { (exit 1); exit 1; }; }
33799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33801 CFLAGS
=$save_CFLAGS
33805 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33806 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33809 for ac_dir
in $SEARCH_LIB;
33811 for ac_extension
in a so sl dylib dll.a
; do
33812 if test -f "$ac_dir/libXm.$ac_extension"; then
33813 ac_find_libraries
=$ac_dir
33820 if test "x$ac_find_libraries" != "x" ; then
33821 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33822 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33825 if test "$ac_find_libraries" = "default location"; then
33828 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33830 if test $result = 0; then
33833 ac_path_to_link
=" -L$ac_find_libraries"
33837 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33839 save_CFLAGS
=$CFLAGS
33840 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33842 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33844 cat >conftest.
$ac_ext <<_ACEOF
33847 cat confdefs.h
>>conftest.
$ac_ext
33848 cat >>conftest.
$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33858 version = xmUseVersion;
33864 rm -f conftest.
$ac_objext conftest
$ac_exeext
33865 if { (ac_try
="$ac_link"
33866 case "(($ac_try" in
33867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33868 *) ac_try_echo=$ac_try;;
33870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33871 (eval "$ac_link") 2>conftest.er1
33873 grep -v '^ *+' conftest.er1 >conftest.err
33875 cat conftest.err >&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } && {
33878 test -z "$ac_c_werror_flag" ||
33879 test ! -s conftest.err
33880 } && test -s conftest$ac_exeext &&
33881 $as_test_x conftest$ac_exeext; then
33883 { echo "$as_me:$LINENO: result: found in default search path" >&5
33884 echo "${ECHO_T}found in default search path" >&6; }
33885 COMPILED_X_PROGRAM=1
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33892 { echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6; }
33894 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33895 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33896 { (exit 1); exit 1; }; }
33901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33902 conftest$ac_exeext conftest.$ac_ext
33904 CFLAGS=$save_CFLAGS
33908 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33909 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33913 for libp in "" " -lXp"; do
33914 if test "$libs_found" = "0"; then
33915 for libsm_ice in "" " -lSM -lICE"; do
33916 if test "$libs_found" = "0"; then
33918 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33919 save_CFLAGS=$CFLAGS
33920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33922 cat >conftest.$ac_ext <<_ACEOF
33925 cat confdefs.h >>conftest.$ac_ext
33926 cat >>conftest.$ac_ext <<_ACEOF
33927 /* end confdefs.h. */
33930 #include <Xm/List.h>
33936 XmString string = NULL;
33939 XmListAddItem(w, string, position);
33945 rm -f conftest.$ac_objext conftest$ac_exeext
33946 if { (ac_try="$ac_link"
33947 case "(($ac_try" in
33948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33949 *) ac_try_echo
=$ac_try;;
33951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33952 (eval "$ac_link") 2>conftest.er1
33954 grep -v '^ *+' conftest.er1
>conftest.err
33956 cat conftest.err
>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } && {
33959 test -z "$ac_c_werror_flag" ||
33960 test ! -s conftest.err
33961 } && test -s conftest
$ac_exeext &&
33962 $as_test_x conftest
$ac_exeext; then
33965 libsm_ice_link
="$libsm_ice"
33966 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33967 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33971 echo "$as_me: failed program was:" >&5
33972 sed 's/^/| /' conftest.
$ac_ext >&5
33978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33979 conftest
$ac_exeext conftest.
$ac_ext
33982 CFLAGS
=$save_CFLAGS
33988 if test "$libs_found" = "0"; then
33989 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33990 echo "${ECHO_T}can't find the right libraries" >&6; }
33991 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33992 echo "$as_me: error: can't link a simple motif program" >&2;}
33993 { (exit 1); exit 1; }; }
33996 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33997 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33998 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 ac_check_lib_save_LIBS
=$LIBS
34003 cat >conftest.
$ac_ext <<_ACEOF
34006 cat confdefs.h
>>conftest.
$ac_ext
34007 cat >>conftest.
$ac_ext <<_ACEOF
34008 /* end confdefs.h. */
34010 /* Override any GCC internal prototype to avoid an error.
34011 Use char because int might match the return type of a GCC
34012 builtin and then its argument prototype would still apply. */
34016 char SgCreateList ();
34020 return SgCreateList ();
34025 rm -f conftest.
$ac_objext conftest
$ac_exeext
34026 if { (ac_try
="$ac_link"
34027 case "(($ac_try" in
34028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34029 *) ac_try_echo=$ac_try;;
34031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34032 (eval "$ac_link") 2>conftest.er1
34034 grep -v '^ *+' conftest.er1 >conftest.err
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } && {
34039 test -z "$ac_c_werror_flag" ||
34040 test ! -s conftest.err
34041 } && test -s conftest$ac_exeext &&
34042 $as_test_x conftest$ac_exeext; then
34043 ac_cv_lib_Sgm_SgCreateList=yes
34045 echo "$as_me: failed program was:" >&5
34046 sed 's/^/| /' conftest.$ac_ext >&5
34048 ac_cv_lib_Sgm_SgCreateList=no
34051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34052 conftest$ac_exeext conftest.$ac_ext
34053 LIBS=$ac_check_lib_save_LIBS
34055 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34056 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34057 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34058 libsgm_link=" -lSgm"
34062 save_CFLAGS=$CFLAGS
34063 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34065 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34066 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34067 if test "${wx_cv_lib_motif2+set}" = set; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 cat >conftest.$ac_ext <<_ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34083 #if XmVersion < 2000
34091 rm -f conftest.$ac_objext
34092 if { (ac_try="$ac_compile"
34093 case "(($ac_try" in
34094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34095 *) ac_try_echo
=$ac_try;;
34097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34098 (eval "$ac_compile") 2>conftest.er1
34100 grep -v '^ *+' conftest.er1
>conftest.err
34102 cat conftest.err
>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); } && {
34105 test -z "$ac_c_werror_flag" ||
34106 test ! -s conftest.err
34107 } && test -s conftest.
$ac_objext; then
34108 wx_cv_lib_motif2
="yes"
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.
$ac_ext >&5
34113 wx_cv_lib_motif2
="no"
34116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34118 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34119 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34120 if test "$wx_cv_lib_motif2" = "yes"; then
34121 cat >>confdefs.h
<<\_ACEOF
34122 #define __WXMOTIF20__ 1
34126 cat >>confdefs.h
<<\_ACEOF
34127 #define __WXMOTIF20__ 0
34132 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34133 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34134 if test "${wx_cv_lib_lesstif+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 cat >conftest.
$ac_ext <<_ACEOF
34140 cat confdefs.h
>>conftest.
$ac_ext
34141 cat >>conftest.
$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34150 #if !defined(LesstifVersion) || LesstifVersion <= 0
34158 rm -f conftest.
$ac_objext
34159 if { (ac_try
="$ac_compile"
34160 case "(($ac_try" in
34161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_compile") 2>conftest.er1
34167 grep -v '^ *+' conftest.er1 >conftest.err
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } && {
34172 test -z "$ac_c_werror_flag" ||
34173 test ! -s conftest.err
34174 } && test -s conftest.$ac_objext; then
34175 wx_cv_lib_lesstif="yes"
34177 echo "$as_me: failed program was:" >&5
34178 sed 's/^/| /' conftest.$ac_ext >&5
34180 wx_cv_lib_lesstif="no"
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34187 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34188 if test "$wx_cv_lib_lesstif" = "yes"; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define __WXLESSTIF__ 1
34194 cat >>confdefs.h <<\_ACEOF
34195 #define __WXLESSTIF__ 0
34200 CFLAGS=$save_CFLAGS
34202 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34207 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34208 if test "$wxUSE_LIBXPM" = "sys"; then
34209 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34210 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34213 for ac_dir in $SEARCH_LIB;
34215 for ac_extension in a so sl dylib dll.a; do
34216 if test -f "$ac_dir/libXpm.$ac_extension"; then
34217 ac_find_libraries=$ac_dir
34223 if test "$ac_find_libraries" != "" ; then
34225 if test "$ac_find_libraries" = "default location"; then
34228 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34230 if test $result = 0; then
34233 ac_path_to_link=" -L$ac_find_libraries"
34237 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34238 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34239 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34241 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34242 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34243 if test "${wx_cv_x11_xpm_h+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 save_CFLAGS=$CFLAGS
34248 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34250 cat >conftest.$ac_ext <<_ACEOF
34253 cat confdefs.h >>conftest.$ac_ext
34254 cat >>conftest.$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34257 #include <X11/xpm.h>
34264 version = XpmLibraryVersion();
34270 rm -f conftest.$ac_objext
34271 if { (ac_try="$ac_compile"
34272 case "(($ac_try" in
34273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34274 *) ac_try_echo
=$ac_try;;
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_compile") 2>conftest.er1
34279 grep -v '^ *+' conftest.er1
>conftest.err
34281 cat conftest.err
>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest.
$ac_objext; then
34287 wx_cv_x11_xpm_h
=yes
34289 echo "$as_me: failed program was:" >&5
34290 sed 's/^/| /' conftest.
$ac_ext >&5
34296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34298 CFLAGS
=$save_CFLAGS
34302 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34303 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34305 if test $wx_cv_x11_xpm_h = "yes"; then
34306 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34307 cat >>confdefs.h
<<\_ACEOF
34308 #define wxHAVE_LIB_XPM 1
34312 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34313 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34319 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34320 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34321 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34322 echo $ECHO_N "(cached) $ECHO_C" >&6
34324 ac_check_lib_save_LIBS
=$LIBS
34325 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34326 cat >conftest.
$ac_ext <<_ACEOF
34329 cat confdefs.h
>>conftest.
$ac_ext
34330 cat >>conftest.
$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34333 /* Override any GCC internal prototype to avoid an error.
34334 Use char because int might match the return type of a GCC
34335 builtin and then its argument prototype would still apply. */
34339 char XShapeQueryExtension ();
34343 return XShapeQueryExtension ();
34348 rm -f conftest.
$ac_objext conftest
$ac_exeext
34349 if { (ac_try
="$ac_link"
34350 case "(($ac_try" in
34351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34352 *) ac_try_echo=$ac_try;;
34354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34355 (eval "$ac_link") 2>conftest.er1
34357 grep -v '^ *+' conftest.er1 >conftest.err
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } && {
34362 test -z "$ac_c_werror_flag" ||
34363 test ! -s conftest.err
34364 } && test -s conftest$ac_exeext &&
34365 $as_test_x conftest$ac_exeext; then
34366 ac_cv_lib_Xext_XShapeQueryExtension=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.$ac_ext >&5
34371 ac_cv_lib_Xext_XShapeQueryExtension=no
34374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34375 conftest$ac_exeext conftest.$ac_ext
34376 LIBS=$ac_check_lib_save_LIBS
34378 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34379 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34380 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34388 if test "$wxHAVE_XEXT_LIB" = 1; then
34389 save_CFLAGS="$CFLAGS"
34390 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34392 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34393 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34394 cat >conftest.$ac_ext <<_ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34401 #include <X11/Xlib.h>
34402 #include <X11/extensions/shape.h>
34408 int dummy1, dummy2;
34409 XShapeQueryExtension((Display*)NULL,
34410 (int*)NULL, (int*)NULL);
34416 rm -f conftest.$ac_objext
34417 if { (ac_try="$ac_compile"
34418 case "(($ac_try" in
34419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34420 *) ac_try_echo
=$ac_try;;
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_compile") 2>conftest.er1
34425 grep -v '^ *+' conftest.er1
>conftest.err
34427 cat conftest.err
>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest.
$ac_objext; then
34434 cat >>confdefs.h
<<\_ACEOF
34435 #define HAVE_XSHAPE 1
34438 { echo "$as_me:$LINENO: result: found" >&5
34439 echo "${ECHO_T}found" >&6; }
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.
$ac_ext >&5
34446 { echo "$as_me:$LINENO: result: not found" >&5
34447 echo "${ECHO_T}not found" >&6; }
34451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34452 CFLAGS
="$save_CFLAGS"
34457 if test "$wxUSE_MAC" = 1; then
34458 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34459 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34460 if test "$GCC" = yes; then
34461 { echo "$as_me:$LINENO: result: gcc" >&5
34462 echo "${ECHO_T}gcc" >&6; }
34463 CPPFLAGS_PASCAL
="-fpascal-strings"
34464 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34465 { echo "$as_me:$LINENO: result: xlc" >&5
34466 echo "${ECHO_T}xlc" >&6; }
34467 CPPFLAGS_PASCAL
="-qmacpstr"
34469 { echo "$as_me:$LINENO: result: none" >&5
34470 echo "${ECHO_T}none" >&6; }
34473 if test "x$wxUSE_UNIX" = "xyes"; then
34474 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34476 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34481 WXBASEPORT
="_carbon"
34484 if test "$wxUSE_COCOA" = 1; then
34489 if test "$wxUSE_PM" = 1; then
34492 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34493 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34494 if test "${wx_cv_spbcdata+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 cat >conftest.
$ac_ext <<_ACEOF
34501 cat confdefs.h
>>conftest.
$ac_ext
34502 cat >>conftest.
$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34518 rm -f conftest.
$ac_objext
34519 if { (ac_try
="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34522 *) ac_try_echo=$ac_try;;
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34527 grep -v '^ *+' conftest.er1 >conftest.err
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_c_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.$ac_objext; then
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34548 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34549 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34551 if test $wx_cv_spbcdata = "yes"; then
34552 cat >>confdefs.h <<\_ACEOF
34553 #define HAVE_SPBCDATA 1
34559 if test "$TOOLKIT" = "PM" ; then
34562 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34565 if test "$wxUSE_UNIVERSAL" = "yes"; then
34566 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34570 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34571 DISTDIR="wx\$(TOOLKIT)"
34577 if test "$USE_WIN32" = 1 ; then
34581 GUIDIST="BASE_DIST"
34587 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34588 if test "$TOOLKIT" = "DFB" ; then
34589 wxUSE_UNICODE_UTF8=yes
34590 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34591 wxUSE_UNICODE_UTF8=yes
34592 elif test "$USE_OS2" = "1" ; then
34593 wxUSE_UNICODE_UTF8=yes
34595 wxUSE_UNICODE_UTF8=no
34600 if test "$wxUSE_GUI" = "yes"; then
34601 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34603 for ac_header in X11/Xlib.h
34605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34609 echo $ECHO_N "(cached) $ECHO_C" >&6
34611 cat >conftest.$ac_ext <<_ACEOF
34614 cat confdefs.h >>conftest.$ac_ext
34615 cat >>conftest.$ac_ext <<_ACEOF
34616 /* end confdefs.h. */
34619 #include <$ac_header>
34621 rm -f conftest.$ac_objext
34622 if { (ac_try="$ac_compile"
34623 case "(($ac_try" in
34624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34625 *) ac_try_echo
=$ac_try;;
34627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34628 (eval "$ac_compile") 2>conftest.er1
34630 grep -v '^ *+' conftest.er1
>conftest.err
34632 cat conftest.err
>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } && {
34635 test -z "$ac_c_werror_flag" ||
34636 test ! -s conftest.err
34637 } && test -s conftest.
$ac_objext; then
34638 eval "$as_ac_Header=yes"
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.
$ac_ext >&5
34643 eval "$as_ac_Header=no"
34646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34648 ac_res
=`eval echo '${'$as_ac_Header'}'`
34649 { echo "$as_me:$LINENO: result: $ac_res" >&5
34650 echo "${ECHO_T}$ac_res" >&6; }
34651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34652 cat >>confdefs.h
<<_ACEOF
34653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34661 for ac_header
in X
11/XKBlib.h
34663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34666 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 cat >conftest.
$ac_ext <<_ACEOF
34672 cat confdefs.h
>>conftest.
$ac_ext
34673 cat >>conftest.
$ac_ext <<_ACEOF
34674 /* end confdefs.h. */
34676 #if HAVE_X11_XLIB_H
34677 #include <X11/Xlib.h>
34681 #include <$ac_header>
34683 rm -f conftest.
$ac_objext
34684 if { (ac_try
="$ac_compile"
34685 case "(($ac_try" in
34686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34687 *) ac_try_echo=$ac_try;;
34689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34690 (eval "$ac_compile") 2>conftest.er1
34692 grep -v '^ *+' conftest.er1 >conftest.err
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } && {
34697 test -z "$ac_c_werror_flag" ||
34698 test ! -s conftest.err
34699 } && test -s conftest.$ac_objext; then
34700 eval "$as_ac_Header=yes"
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34705 eval "$as_ac_Header=no"
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34710 ac_res=`eval echo '${'$as_ac_Header'}'`
34711 { echo "$as_me:$LINENO: result: $ac_res" >&5
34712 echo "${ECHO_T}$ac_res" >&6; }
34713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34730 if test "$TOOLKIT" != "MSW" ; then
34732 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34734 { echo "$as_me:$LINENO: checking for sql.h" >&5
34735 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34736 if test "${ac_cv_header_sql_h+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 cat >conftest.$ac_ext <<_ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34749 rm -f conftest.$ac_objext
34750 if { (ac_try="$ac_compile"
34751 case "(($ac_try" in
34752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34753 *) ac_try_echo
=$ac_try;;
34755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34756 (eval "$ac_compile") 2>conftest.er1
34758 grep -v '^ *+' conftest.er1
>conftest.err
34760 cat conftest.err
>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && {
34763 test -z "$ac_c_werror_flag" ||
34764 test ! -s conftest.err
34765 } && test -s conftest.
$ac_objext; then
34766 ac_cv_header_sql_h
=yes
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.
$ac_ext >&5
34771 ac_cv_header_sql_h
=no
34774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34776 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34777 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34778 if test $ac_cv_header_sql_h = yes; then
34783 if test "x$found_sql_h" = "x1" ; then
34784 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34785 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34786 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 ac_check_lib_save_LIBS
=$LIBS
34790 LIBS
="-liodbc $LIBS"
34791 cat >conftest.
$ac_ext <<_ACEOF
34794 cat confdefs.h
>>conftest.
$ac_ext
34795 cat >>conftest.
$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34798 /* Override any GCC internal prototype to avoid an error.
34799 Use char because int might match the return type of a GCC
34800 builtin and then its argument prototype would still apply. */
34804 char SQLAllocEnv ();
34808 return SQLAllocEnv ();
34813 rm -f conftest.
$ac_objext conftest
$ac_exeext
34814 if { (ac_try
="$ac_link"
34815 case "(($ac_try" in
34816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34817 *) ac_try_echo=$ac_try;;
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_link") 2>conftest.er1
34822 grep -v '^ *+' conftest.er1 >conftest.err
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest$ac_exeext &&
34830 $as_test_x conftest$ac_exeext; then
34831 ac_cv_lib_iodbc_SQLAllocEnv=yes
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34836 ac_cv_lib_iodbc_SQLAllocEnv=no
34839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34840 conftest$ac_exeext conftest.$ac_ext
34841 LIBS=$ac_check_lib_save_LIBS
34843 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34844 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34845 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34846 ODBC_LINK=" -liodbc"
34849 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34850 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34851 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34854 ac_check_lib_save_LIBS=$LIBS
34855 LIBS="-lunixodbc $LIBS"
34856 cat >conftest.$ac_ext <<_ACEOF
34859 cat confdefs.h >>conftest.$ac_ext
34860 cat >>conftest.$ac_ext <<_ACEOF
34861 /* end confdefs.h. */
34863 /* Override any GCC internal prototype to avoid an error.
34864 Use char because int might match the return type of a GCC
34865 builtin and then its argument prototype would still apply. */
34869 char SQLAllocEnv ();
34873 return SQLAllocEnv ();
34878 rm -f conftest.$ac_objext conftest$ac_exeext
34879 if { (ac_try="$ac_link"
34880 case "(($ac_try" in
34881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34882 *) ac_try_echo
=$ac_try;;
34884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34885 (eval "$ac_link") 2>conftest.er1
34887 grep -v '^ *+' conftest.er1
>conftest.err
34889 cat conftest.err
>&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } && {
34892 test -z "$ac_c_werror_flag" ||
34893 test ! -s conftest.err
34894 } && test -s conftest
$ac_exeext &&
34895 $as_test_x conftest
$ac_exeext; then
34896 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
34898 echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.
$ac_ext >&5
34901 ac_cv_lib_unixodbc_SQLAllocEnv
=no
34904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34905 conftest
$ac_exeext conftest.
$ac_ext
34906 LIBS
=$ac_check_lib_save_LIBS
34908 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34909 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34910 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34911 ODBC_LINK
=" -lunixodbc"
34914 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34915 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34916 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34917 echo $ECHO_N "(cached) $ECHO_C" >&6
34919 ac_check_lib_save_LIBS
=$LIBS
34920 LIBS
="-lodbc $LIBS"
34921 cat >conftest.
$ac_ext <<_ACEOF
34924 cat confdefs.h
>>conftest.
$ac_ext
34925 cat >>conftest.
$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34928 /* Override any GCC internal prototype to avoid an error.
34929 Use char because int might match the return type of a GCC
34930 builtin and then its argument prototype would still apply. */
34934 char SQLAllocEnv ();
34938 return SQLAllocEnv ();
34943 rm -f conftest.
$ac_objext conftest
$ac_exeext
34944 if { (ac_try
="$ac_link"
34945 case "(($ac_try" in
34946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34947 *) ac_try_echo=$ac_try;;
34949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34950 (eval "$ac_link") 2>conftest.er1
34952 grep -v '^ *+' conftest.er1 >conftest.err
34954 cat conftest.err >&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } && {
34957 test -z "$ac_c_werror_flag" ||
34958 test ! -s conftest.err
34959 } && test -s conftest$ac_exeext &&
34960 $as_test_x conftest$ac_exeext; then
34961 ac_cv_lib_odbc_SQLAllocEnv=yes
34963 echo "$as_me: failed program was:" >&5
34964 sed 's/^/| /' conftest.$ac_ext >&5
34966 ac_cv_lib_odbc_SQLAllocEnv=no
34969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34970 conftest$ac_exeext conftest.$ac_ext
34971 LIBS=$ac_check_lib_save_LIBS
34973 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34974 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34975 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34976 ODBC_LINK=" -lodbc"
34986 if test "x$ODBC_LINK" = "x" ; then
34987 if test "$wxUSE_ODBC" = "sys" ; then
34988 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34989 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34990 { (exit 1); exit 1; }; }
34992 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34993 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35001 if test "$wxUSE_ODBC" = "builtin" ; then
35002 cat >>confdefs.h <<\_ACEOF
35003 #define wxUSE_BUILTIN_IODBC 1
35009 if test "$wxUSE_ODBC" != "no" ; then
35010 cat >>confdefs.h <<\_ACEOF
35011 #define wxUSE_ODBC 1
35014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35020 if test "$wxUSE_DISPLAY" = "yes"; then
35021 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35022 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35023 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35026 for ac_dir in $SEARCH_LIB;
35028 for ac_extension in a so sl dylib dll.a; do
35029 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35030 ac_find_libraries=$ac_dir
35036 if test "$ac_find_libraries" != "" ; then
35038 if test "$ac_find_libraries" = "default location"; then
35041 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35043 if test $result = 0; then
35046 ac_path_to_link=" -L$ac_find_libraries"
35050 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35051 LDFLAGS="$LDFLAGS $ac_path_to_link"
35053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35054 { echo "$as_me:$LINENO: result: yes" >&5
35055 echo "${ECHO_T}yes" >&6; }
35057 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35058 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35061 for ac_dir in $SEARCH_LIB;
35063 for ac_extension in a so sl dylib dll.a; do
35064 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35065 ac_find_libraries=$ac_dir
35071 if test "$ac_find_libraries" != "" ; then
35072 { echo "$as_me:$LINENO: result: yes" >&5
35073 echo "${ECHO_T}yes" >&6; }
35075 for ac_header in X11/extensions/xf86vmode.h
35077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 cat >conftest.$ac_ext <<_ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h. */
35090 #if HAVE_X11_XLIB_H
35091 #include <X11/Xlib.h>
35095 #include <$ac_header>
35097 rm -f conftest.$ac_objext
35098 if { (ac_try="$ac_compile"
35099 case "(($ac_try" in
35100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35101 *) ac_try_echo
=$ac_try;;
35103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35104 (eval "$ac_compile") 2>conftest.er1
35106 grep -v '^ *+' conftest.er1
>conftest.err
35108 cat conftest.err
>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } && {
35111 test -z "$ac_c_werror_flag" ||
35112 test ! -s conftest.err
35113 } && test -s conftest.
$ac_objext; then
35114 eval "$as_ac_Header=yes"
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.
$ac_ext >&5
35119 eval "$as_ac_Header=no"
35122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35124 ac_res
=`eval echo '${'$as_ac_Header'}'`
35125 { echo "$as_me:$LINENO: result: $ac_res" >&5
35126 echo "${ECHO_T}$ac_res" >&6; }
35127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35128 cat >>confdefs.h
<<_ACEOF
35129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35132 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35139 { echo "$as_me:$LINENO: result: no" >&5
35140 echo "${ECHO_T}no" >&6; }
35144 { echo "$as_me:$LINENO: result: no" >&5
35145 echo "${ECHO_T}no" >&6; }
35146 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35147 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35150 elif test "$wxUSE_MSW" = 1; then
35151 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35152 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35153 if test "${ac_cv_header_ddraw_h+set}" = set; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 cat >conftest.
$ac_ext <<_ACEOF
35159 cat confdefs.h
>>conftest.
$ac_ext
35160 cat >>conftest.
$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 #include <windows.h>
35166 rm -f conftest.
$ac_objext
35167 if { (ac_try
="$ac_compile"
35168 case "(($ac_try" in
35169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35170 *) ac_try_echo=$ac_try;;
35172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35173 (eval "$ac_compile") 2>conftest.er1
35175 grep -v '^ *+' conftest.er1 >conftest.err
35177 cat conftest.err >&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } && {
35180 test -z "$ac_c_werror_flag" ||
35181 test ! -s conftest.err
35182 } && test -s conftest.$ac_objext; then
35183 ac_cv_header_ddraw_h=yes
35185 echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35188 ac_cv_header_ddraw_h=no
35191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35193 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35194 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35200 if test "$wxUSE_DETECT_SM" = "yes"; then
35201 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35202 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35203 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35206 for ac_dir in $SEARCH_LIB;
35208 for ac_extension in a so sl dylib dll.a; do
35209 if test -f "$ac_dir/libSM.$ac_extension"; then
35210 ac_find_libraries=$ac_dir
35216 if test "$ac_find_libraries" != "" ; then
35218 if test "$ac_find_libraries" = "default location"; then
35221 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35223 if test $result = 0; then
35226 ac_path_to_link=" -L$ac_find_libraries"
35230 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35231 LDFLAGS="$LDFLAGS $ac_path_to_link"
35233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35234 { echo "$as_me:$LINENO: result: yes" >&5
35235 echo "${ECHO_T}yes" >&6; }
35237 { echo "$as_me:$LINENO: result: no" >&5
35238 echo "${ECHO_T}no" >&6; }
35239 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35240 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35241 wxUSE_DETECT_SM="no"
35244 wxUSE_DETECT_SM="no"
35251 if test "$wxUSE_OPENGL" = "yes"; then
35252 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35253 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35254 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35256 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35257 OPENGL_LIBS="-framework OpenGL -framework AGL"
35258 elif test "$wxUSE_MSW" = 1; then
35259 OPENGL_LIBS="-lopengl32 -lglu32"
35261 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35262 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35265 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35267 if test -f "$ac_dir/GL/gl.h"; then
35268 ac_find_includes=$ac_dir
35273 if test "$ac_find_includes" != "" ; then
35274 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35275 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35277 if test "x$ac_find_includes" = "x/usr/include"; then
35278 ac_path_to_include=""
35280 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35282 if test $result = 0; then
35283 ac_path_to_include=""
35285 ac_path_to_include=" -I$ac_find_includes"
35289 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35291 { echo "$as_me:$LINENO: result: not found" >&5
35292 echo "${ECHO_T}not found" >&6; }
35295 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35296 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35297 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 cat >conftest.$ac_ext <<_ACEOF
35303 cat confdefs.h >>conftest.$ac_ext
35304 cat >>conftest.$ac_ext <<_ACEOF
35305 /* end confdefs.h. */
35310 rm -f conftest.$ac_objext
35311 if { (ac_try="$ac_compile"
35312 case "(($ac_try" in
35313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35314 *) ac_try_echo
=$ac_try;;
35316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35317 (eval "$ac_compile") 2>conftest.er1
35319 grep -v '^ *+' conftest.er1
>conftest.err
35321 cat conftest.err
>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); } && {
35324 test -z "$ac_c_werror_flag" ||
35325 test ! -s conftest.err
35326 } && test -s conftest.
$ac_objext; then
35327 ac_cv_header_GL_gl_h
=yes
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.
$ac_ext >&5
35332 ac_cv_header_GL_gl_h
=no
35335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35337 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35338 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35339 if test $ac_cv_header_GL_gl_h = yes; then
35341 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35342 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35343 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35344 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35348 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35350 # Is the header compilable?
35351 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35352 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35353 cat >conftest.
$ac_ext <<_ACEOF
35356 cat confdefs.h
>>conftest.
$ac_ext
35357 cat >>conftest.
$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 $ac_includes_default
35360 #include <GL/glu.h>
35362 rm -f conftest.
$ac_objext
35363 if { (ac_try
="$ac_compile"
35364 case "(($ac_try" in
35365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35366 *) ac_try_echo=$ac_try;;
35368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35369 (eval "$ac_compile") 2>conftest.er1
35371 grep -v '^ *+' conftest.er1 >conftest.err
35373 cat conftest.err >&5
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); } && {
35376 test -z "$ac_c_werror_flag" ||
35377 test ! -s conftest.err
35378 } && test -s conftest.$ac_objext; then
35379 ac_header_compiler=yes
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.$ac_ext >&5
35384 ac_header_compiler=no
35387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35388 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35389 echo "${ECHO_T}$ac_header_compiler" >&6; }
35391 # Is the header present?
35392 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35393 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35394 cat >conftest.$ac_ext <<_ACEOF
35397 cat confdefs.h >>conftest.$ac_ext
35398 cat >>conftest.$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 #include <GL/glu.h>
35402 if { (ac_try="$ac_cpp conftest.$ac_ext"
35403 case "(($ac_try" in
35404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35405 *) ac_try_echo
=$ac_try;;
35407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35410 grep -v '^ *+' conftest.er1
>conftest.err
35412 cat conftest.err
>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } >/dev
/null
&& {
35415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35416 test ! -s conftest.err
35418 ac_header_preproc
=yes
35420 echo "$as_me: failed program was:" >&5
35421 sed 's/^/| /' conftest.
$ac_ext >&5
35423 ac_header_preproc
=no
35426 rm -f conftest.err conftest.
$ac_ext
35427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35428 echo "${ECHO_T}$ac_header_preproc" >&6; }
35430 # So? What about this header?
35431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35433 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35434 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35435 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35436 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35437 ac_header_preproc
=yes
35440 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35441 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35442 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35443 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35444 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35445 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35446 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35447 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35448 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35449 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35450 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35451 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35453 ## ----------------------------------------- ##
35454 ## Report this to wx-dev@lists.wxwidgets.org ##
35455 ## ----------------------------------------- ##
35457 ) | sed "s/^/$as_me: WARNING: /" >&2
35460 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35461 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35462 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35465 ac_cv_header_GL_glu_h
=$ac_header_preproc
35467 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35468 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35471 if test $ac_cv_header_GL_glu_h = yes; then
35475 { echo "$as_me:$LINENO: checking for -lGL" >&5
35476 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35479 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35481 for ac_extension
in a so sl dylib dll.a
; do
35482 if test -f "$ac_dir/libGL.$ac_extension"; then
35483 ac_find_libraries
=$ac_dir
35489 if test "$ac_find_libraries" != "" ; then
35490 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35491 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35494 if test "$ac_find_libraries" = "default location"; then
35497 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35499 if test $result = 0; then
35502 ac_path_to_link
=" -L$ac_find_libraries"
35506 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35507 LDFLAGS_GL
="$ac_path_to_link"
35510 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35511 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35514 for ac_dir
in $SEARCH_LIB;
35516 for ac_extension
in a so sl dylib dll.a
; do
35517 if test -f "$ac_dir/libGLU.$ac_extension"; then
35518 ac_find_libraries
=$ac_dir
35524 if test "$ac_find_libraries" != "" ; then
35526 if test "$ac_find_libraries" = "default location"; then
35529 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35531 if test $result = 0; then
35534 ac_path_to_link
=" -L$ac_find_libraries"
35538 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35539 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35540 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35544 OPENGL_LIBS
="-lGL -lGLU"
35545 { echo "$as_me:$LINENO: result: yes" >&5
35546 echo "${ECHO_T}yes" >&6; }
35548 { echo "$as_me:$LINENO: result: no" >&5
35549 echo "${ECHO_T}no" >&6; }
35552 { echo "$as_me:$LINENO: result: no" >&5
35553 echo "${ECHO_T}no" >&6; }
35556 if test "$found_gl" != 1; then
35557 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35558 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35561 for ac_dir
in $SEARCH_LIB;
35563 for ac_extension
in a so sl dylib dll.a
; do
35564 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35565 ac_find_libraries
=$ac_dir
35571 if test "$ac_find_libraries" != "" ; then
35573 if test "$ac_find_libraries" = "default location"; then
35576 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35578 if test $result = 0; then
35581 ac_path_to_link
=" -L$ac_find_libraries"
35585 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35586 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35587 { echo "$as_me:$LINENO: result: yes" >&5
35588 echo "${ECHO_T}yes" >&6; }
35590 { echo "$as_me:$LINENO: result: no" >&5
35591 echo "${ECHO_T}no" >&6; }
35603 if test "x$OPENGL_LIBS" = "x"; then
35604 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35605 echo "$as_me: error: OpenGL libraries not available" >&2;}
35606 { (exit 1); exit 1; }; }
35610 if test "$wxUSE_OPENGL" = "yes"; then
35612 cat >>confdefs.h
<<\_ACEOF
35613 #define wxUSE_OPENGL 1
35616 cat >>confdefs.h
<<\_ACEOF
35617 #define wxUSE_GLCANVAS 1
35620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35625 if test -n "$TOOLKIT" ; then
35626 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35631 if test "$wxUSE_SHARED" = "yes"; then
35635 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35636 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35641 if test "$wxUSE_SHARED" = "yes"; then
35645 *-*-cygwin* | *-*-mingw* )
35646 wx_cv_version_script
=no
35650 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35651 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35652 if test "${wx_cv_version_script+set}" = set; then
35653 echo $ECHO_N "(cached) $ECHO_C" >&6
35656 echo "VER_1 { *; };" >conftest.sym
35657 echo "int main() { return 0; }" >conftest.cpp
35660 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35661 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35663 (eval $ac_try) 2>&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); }; } ; then
35667 if test -s conftest.stderr
; then
35668 wx_cv_version_script
=no
35670 wx_cv_version_script
=yes
35673 wx_cv_version_script
=no
35676 if test $wx_cv_version_script = yes
35678 echo "struct B { virtual ~B() { } }; \
35679 struct D : public B { }; \
35680 void F() { D d; }" > conftest.cpp
35683 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35684 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; } &&
35691 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35692 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; }
35700 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35701 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; }
35708 wx_cv_version_script
=yes
35710 wx_cv_version_script
=no
35715 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35716 rm -f conftest1.output conftest2.output conftest3.output
35719 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35720 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35722 if test $wx_cv_version_script = yes ; then
35723 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35729 if test "$wxUSE_VISIBILITY" != "no"; then
35732 if test -n "$GCC"; then
35733 CFLAGS_VISIBILITY
="-fvisibility=hidden"
35734 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
35735 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35736 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35737 if test "${wx_cv_cc_visibility+set}" = set; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35741 wx_save_CXXFLAGS
="$CXXFLAGS"
35742 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35744 ac_cpp
='$CXXCPP $CPPFLAGS'
35745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35749 cat >conftest.
$ac_ext <<_ACEOF
35752 cat confdefs.h
>>conftest.
$ac_ext
35753 cat >>conftest.
$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35756 /* we need gcc >= 4.0, older versions with visibility support
35757 didn't have class visibility: */
35758 #if defined(__GNUC__) && __GNUC__ < 4
35759 error this gcc is too old;
35762 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35763 extern __attribute__((__visibility__("default"))) int exportedvar;
35764 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35765 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35766 class __attribute__((__visibility__("default"))) Foo {
35778 rm -f conftest.
$ac_objext
35779 if { (ac_try
="$ac_compile"
35780 case "(($ac_try" in
35781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35782 *) ac_try_echo=$ac_try;;
35784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35785 (eval "$ac_compile") 2>conftest.er1
35787 grep -v '^ *+' conftest.er1 >conftest.err
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } && {
35792 test -z "$ac_cxx_werror_flag" ||
35793 test ! -s conftest.err
35794 } && test -s conftest.$ac_objext; then
35795 wx_cv_cc_visibility=yes
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35800 wx_cv_cc_visibility=no
35803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35805 ac_cpp='$CPP $CPPFLAGS'
35806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35810 CXXFLAGS="$wx_save_CXXFLAGS"
35813 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35814 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35815 if test $wx_cv_cc_visibility = yes; then
35816 cat >>confdefs.h <<\_ACEOF
35817 #define HAVE_VISIBILITY 1
35821 CFLAGS_VISIBILITY=""
35822 CXXFLAGS_VISIBILITY=""
35830 if test "x$SUNCXX" = xyes; then
35831 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35832 WXCONFIG_RPATH="-R\$libdir"
35835 *-*-linux* | *-*-gnu* )
35836 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35837 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35842 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35844 saveLdflags="$LDFLAGS"
35845 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35846 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35847 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35848 cat >conftest.$ac_ext <<_ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35867 *) ac_try_echo
=$ac_try;;
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35872 grep -v '^ *+' conftest.er1
>conftest.err
35874 cat conftest.err
>&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest
$ac_exeext &&
35880 $as_test_x conftest
$ac_exeext; then
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35884 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.
$ac_ext >&5
35892 { echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6; }
35894 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35895 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35896 LDFLAGS
="$saveLdflags -Wl,-R,/"
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35912 rm -f conftest.
$ac_objext conftest
$ac_exeext
35913 if { (ac_try
="$ac_link"
35914 case "(($ac_try" in
35915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35916 *) ac_try_echo=$ac_try;;
35918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35919 (eval "$ac_link") 2>conftest.er1
35921 grep -v '^ *+' conftest.er1 >conftest.err
35923 cat conftest.err >&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } && {
35926 test -z "$ac_c_werror_flag" ||
35927 test ! -s conftest.err
35928 } && test -s conftest$ac_exeext &&
35929 $as_test_x conftest$ac_exeext; then
35931 { echo "$as_me:$LINENO: result: yes" >&5
35932 echo "${ECHO_T}yes" >&6; }
35933 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35941 { echo "$as_me:$LINENO: result: no" >&5
35942 echo "${ECHO_T}no" >&6; }
35946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35947 conftest$ac_exeext conftest.$ac_ext
35951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35952 conftest$ac_exeext conftest.$ac_ext
35953 LDFLAGS="$saveLdflags"
35957 install_name_tool=`which install_name_tool
`
35958 if test "$install_name_tool" -a -x "$install_name_tool"; then
35959 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35960 cat <<EOF >change-install-names
35962 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
35963 inst_cmd="install_name_tool "
35964 for i in \${libnames} ; do
35965 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35969 chmod +x change-install-names
35973 *-*-cygwin* | *-*-mingw32* )
35974 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35978 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35979 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35985 if test $wxUSE_RPATH = "no"; then
35986 SAMPLES_RPATH_FLAG=''
35987 SAMPLES_RPATH_POSTLINK=''
35995 config_linkage_component="-static"
36002 lib_unicode_suffix=
36004 if test "$wxUSE_UNICODE" = "yes"; then
36005 lib_unicode_suffix=u
36006 WX_CHARTYPE="unicode"
36011 WX_DEBUGTYPE="release"
36013 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36015 WX_DEBUGTYPE="debug"
36019 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36020 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36023 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36027 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36029 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36031 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36033 if test "$cross_compiling" = "yes"; then
36034 HOST_SUFFIX="-$host_alias"
36035 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36036 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36039 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36040 if test "${TOOLKIT_DIR}" = "os2"; then
36041 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36043 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36048 if test "$wxUSE_COCOA" = 1; then
36051 ac_cpp='$CPP $CPPFLAGS'
36052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36059 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36060 cat >conftest.$ac_ext <<_ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <AppKit/NSEvent.h>
36067 #include <CoreFoundation/CoreFoundation.h>
36077 rm -f conftest.$ac_objext
36078 if { (ac_try="$ac_compile"
36079 case "(($ac_try" in
36080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36081 *) ac_try_echo
=$ac_try;;
36083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36084 (eval "$ac_compile") 2>conftest.er1
36086 grep -v '^ *+' conftest.er1
>conftest.err
36088 cat conftest.err
>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); } && {
36091 test -z "$ac_c_werror_flag" ||
36092 test ! -s conftest.err
36093 } && test -s conftest.
$ac_objext; then
36094 { echo "$as_me:$LINENO: result: no" >&5
36095 echo "${ECHO_T}no" >&6; }
36097 echo "$as_me: failed program was:" >&5
36098 sed 's/^/| /' conftest.
$ac_ext >&5
36100 { echo "$as_me:$LINENO: result: yes" >&5
36101 echo "${ECHO_T}yes" >&6; }
36102 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36103 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36104 cat >conftest.
$ac_ext <<_ACEOF
36107 cat confdefs.h
>>conftest.
$ac_ext
36108 cat >>conftest.
$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 #define __Point__ 1
36111 #include <AppKit/NSEvent.h>
36112 #include <CoreFoundation/CoreFoundation.h>
36122 rm -f conftest.
$ac_objext
36123 if { (ac_try
="$ac_compile"
36124 case "(($ac_try" in
36125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36126 *) ac_try_echo=$ac_try;;
36128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36129 (eval "$ac_compile") 2>conftest.er1
36131 grep -v '^ *+' conftest.er1 >conftest.err
36133 cat conftest.err >&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } && {
36136 test -z "$ac_c_werror_flag" ||
36137 test ! -s conftest.err
36138 } && test -s conftest.$ac_objext; then
36139 { echo "$as_me:$LINENO: result: yes" >&5
36140 echo "${ECHO_T}yes" >&6; }
36141 cat >>confdefs.h <<\_ACEOF
36142 #define __Point__ 1
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36150 { { echo "$as_me:$LINENO: error: no
36151 See \`config.log
' for more details." >&5
36152 echo "$as_me: error: no
36153 See \`config.log' for more details.
" >&2;}
36154 { (exit 1); exit 1; }; }
36158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_cpp='$CPP $CPPFLAGS'
36165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36172 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
36173 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
36175 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
36177 # Extract the first word of "Rez
", so it can be a program name with args.
36178 set dummy Rez; ac_word=$2
36179 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36180 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36181 if test "${ac_cv_prog_REZ+set}" = set; then
36182 echo $ECHO_N "(cached
) $ECHO_C" >&6
36184 if test -n "$REZ"; then
36185 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36188 for as_dir in $PATH
36191 test -z "$as_dir" && as_dir=.
36192 for ac_exec_ext in '' $ac_executable_extensions; do
36193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36194 ac_cv_prog_REZ="Rez
"
36195 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36202 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
36205 REZ=$ac_cv_prog_REZ
36206 if test -n "$REZ"; then
36207 { echo "$as_me:$LINENO: result
: $REZ" >&5
36208 echo "${ECHO_T}$REZ" >&6; }
36210 { echo "$as_me:$LINENO: result
: no
" >&5
36211 echo "${ECHO_T}no
" >&6; }
36215 # Extract the first word of "DeRez
", so it can be a program name with args.
36216 set dummy DeRez; ac_word=$2
36217 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36219 if test "${ac_cv_prog_DEREZ+set}" = set; then
36220 echo $ECHO_N "(cached
) $ECHO_C" >&6
36222 if test -n "$DEREZ"; then
36223 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36226 for as_dir in $PATH
36229 test -z "$as_dir" && as_dir=.
36230 for ac_exec_ext in '' $ac_executable_extensions; do
36231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36232 ac_cv_prog_DEREZ="DeRez
"
36233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36240 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
36243 DEREZ=$ac_cv_prog_DEREZ
36244 if test -n "$DEREZ"; then
36245 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
36246 echo "${ECHO_T}$DEREZ" >&6; }
36248 { echo "$as_me:$LINENO: result
: no
" >&5
36249 echo "${ECHO_T}no
" >&6; }
36253 # Extract the first word of "SetFile
", so it can be a program name with args.
36254 set dummy SetFile; ac_word=$2
36255 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36257 if test "${ac_cv_prog_SETFILE+set}" = set; then
36258 echo $ECHO_N "(cached
) $ECHO_C" >&6
36260 if test -n "$SETFILE"; then
36261 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36264 for as_dir in $PATH
36267 test -z "$as_dir" && as_dir=.
36268 for ac_exec_ext in '' $ac_executable_extensions; do
36269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36270 ac_cv_prog_SETFILE="SetFile
"
36271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
36281 SETFILE=$ac_cv_prog_SETFILE
36282 if test -n "$SETFILE"; then
36283 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
36284 echo "${ECHO_T}$SETFILE" >&6; }
36286 { echo "$as_me:$LINENO: result
: no
" >&5
36287 echo "${ECHO_T}no
" >&6; }
36292 MACSETFILE="\
$(SETFILE)"
36294 if test "$wxUSE_MAC" = 1; then
36295 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
36297 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
36299 POSTLINK_COMMAND="echo -n | \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
36300 RESCOMP="echo -n \
| $REZ"
36301 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
36307 if test "$wxUSE_PM" = 1; then
36309 WXCONFIG_RESFLAGS="-ep"
36311 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36313 POSTLINK_COMMAND="@true
"
36320 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36321 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36322 if test "${ac_cv_type_mode_t+set}" = set; then
36323 echo $ECHO_N "(cached
) $ECHO_C" >&6
36325 cat >conftest.$ac_ext <<_ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 $ac_includes_default
36332 typedef mode_t ac__type_new_;
36336 if ((ac__type_new_ *) 0)
36338 if (sizeof (ac__type_new_))
36344 rm -f conftest.$ac_objext
36345 if { (ac_try="$ac_compile"
36346 case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_compile") 2>conftest.er1
36353 grep -v '^ *+' conftest.er1 >conftest.err
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_c_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest.$ac_objext; then
36361 ac_cv_type_mode_t=yes
36363 echo "$as_me: failed program was
:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36366 ac_cv_type_mode_t=no
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36372 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36373 if test $ac_cv_type_mode_t = yes; then
36377 cat >>confdefs.h <<_ACEOF
36383 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36384 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36385 if test "${ac_cv_type_off_t+set}" = set; then
36386 echo $ECHO_N "(cached
) $ECHO_C" >&6
36388 cat >conftest.$ac_ext <<_ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36394 $ac_includes_default
36395 typedef off_t ac__type_new_;
36399 if ((ac__type_new_ *) 0)
36401 if (sizeof (ac__type_new_))
36407 rm -f conftest.$ac_objext
36408 if { (ac_try="$ac_compile"
36409 case "(($ac_try" in
36410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_compile") 2>conftest.er1
36416 grep -v '^ *+' conftest.er1 >conftest.err
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest.$ac_objext; then
36424 ac_cv_type_off_t=yes
36426 echo "$as_me: failed program was
:" >&5
36427 sed 's/^/| /' conftest.$ac_ext >&5
36429 ac_cv_type_off_t=no
36432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36434 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36435 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36436 if test $ac_cv_type_off_t = yes; then
36440 cat >>confdefs.h <<_ACEOF
36441 #define off_t long int
36446 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36447 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36448 if test "${ac_cv_type_pid_t+set}" = set; then
36449 echo $ECHO_N "(cached
) $ECHO_C" >&6
36451 cat >conftest.$ac_ext <<_ACEOF
36454 cat confdefs.h >>conftest.$ac_ext
36455 cat >>conftest.$ac_ext <<_ACEOF
36456 /* end confdefs.h. */
36457 $ac_includes_default
36458 typedef pid_t ac__type_new_;
36462 if ((ac__type_new_ *) 0)
36464 if (sizeof (ac__type_new_))
36470 rm -f conftest.$ac_objext
36471 if { (ac_try="$ac_compile"
36472 case "(($ac_try" in
36473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_compile") 2>conftest.er1
36479 grep -v '^ *+' conftest.er1 >conftest.err
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_c_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest.$ac_objext; then
36487 ac_cv_type_pid_t=yes
36489 echo "$as_me: failed program was
:" >&5
36490 sed 's/^/| /' conftest.$ac_ext >&5
36492 ac_cv_type_pid_t=no
36495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36497 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36498 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36499 if test $ac_cv_type_pid_t = yes; then
36503 cat >>confdefs.h <<_ACEOF
36509 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36510 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36511 if test "${ac_cv_type_size_t+set}" = set; then
36512 echo $ECHO_N "(cached
) $ECHO_C" >&6
36514 cat >conftest.$ac_ext <<_ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 $ac_includes_default
36521 typedef size_t ac__type_new_;
36525 if ((ac__type_new_ *) 0)
36527 if (sizeof (ac__type_new_))
36533 rm -f conftest.$ac_objext
36534 if { (ac_try="$ac_compile"
36535 case "(($ac_try" in
36536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36537 *) ac_try_echo=$ac_try;;
36539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_compile") 2>conftest.er1
36542 grep -v '^ *+' conftest.er1 >conftest.err
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36546 (exit $ac_status); } && {
36547 test -z "$ac_c_werror_flag" ||
36548 test ! -s conftest.err
36549 } && test -s conftest.$ac_objext; then
36550 ac_cv_type_size_t=yes
36552 echo "$as_me: failed program was
:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36555 ac_cv_type_size_t=no
36558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36561 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36562 if test $ac_cv_type_size_t = yes; then
36566 cat >>confdefs.h <<_ACEOF
36567 #define size_t unsigned int
36572 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36573 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36574 if test "${ac_cv_type_uid_t+set}" = set; then
36575 echo $ECHO_N "(cached
) $ECHO_C" >&6
36577 cat >conftest.$ac_ext <<_ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 #include <sys/types.h>
36586 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36587 $EGREP "uid_t
" >/dev/null 2>&1; then
36588 ac_cv_type_uid_t=yes
36590 ac_cv_type_uid_t=no
36595 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36596 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36597 if test $ac_cv_type_uid_t = no; then
36599 cat >>confdefs.h <<\_ACEOF
36604 cat >>confdefs.h <<\_ACEOF
36611 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36612 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36613 if test "${ac_cv_type_ssize_t+set}" = set; then
36614 echo $ECHO_N "(cached
) $ECHO_C" >&6
36616 cat >conftest.$ac_ext <<_ACEOF
36619 cat confdefs.h >>conftest.$ac_ext
36620 cat >>conftest.$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 $ac_includes_default
36623 typedef ssize_t ac__type_new_;
36627 if ((ac__type_new_ *) 0)
36629 if (sizeof (ac__type_new_))
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36644 grep -v '^ *+' conftest.er1 >conftest.err
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 ac_cv_type_ssize_t=yes
36654 echo "$as_me: failed program was
:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36657 ac_cv_type_ssize_t=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36662 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36663 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36664 if test $ac_cv_type_ssize_t = yes; then
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE_SSIZE_T 1
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
36680 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
36681 if test "${wx_cv_size_t_is_uint+set}" = set; then
36682 echo $ECHO_N "(cached
) $ECHO_C" >&6
36685 cat >conftest.$ac_ext <<_ACEOF
36688 cat confdefs.h >>conftest.$ac_ext
36689 cat >>conftest.$ac_ext <<_ACEOF
36690 /* end confdefs.h. */
36691 #include <stddef.h>
36698 struct Foo { void foo(size_t); void foo(unsigned int); };
36706 rm -f conftest.$ac_objext
36707 if { (ac_try="$ac_compile"
36708 case "(($ac_try" in
36709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36710 *) ac_try_echo=$ac_try;;
36712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36713 (eval "$ac_compile") 2>conftest.er1
36715 grep -v '^ *+' conftest.er1 >conftest.err
36717 cat conftest.err >&5
36718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36719 (exit $ac_status); } && {
36720 test -z "$ac_cxx_werror_flag" ||
36721 test ! -s conftest.err
36722 } && test -s conftest.$ac_objext; then
36723 wx_cv_size_t_is_uint=no
36725 echo "$as_me: failed program was
:" >&5
36726 sed 's/^/| /' conftest.$ac_ext >&5
36728 wx_cv_size_t_is_uint=yes
36732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36736 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
36737 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36739 if test "$wx_cv_size_t_is_uint" = "yes"; then
36740 cat >>confdefs.h <<\_ACEOF
36741 #define wxSIZE_T_IS_UINT 1
36745 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
36746 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
36747 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36748 echo $ECHO_N "(cached
) $ECHO_C" >&6
36750 cat >conftest.$ac_ext <<_ACEOF
36753 cat confdefs.h >>conftest.$ac_ext
36754 cat >>conftest.$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36756 #include <stddef.h>
36763 struct Foo { void foo(size_t); void foo(unsigned long); };
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36780 grep -v '^ *+' conftest.er1 >conftest.err
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_cxx_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.$ac_objext; then
36788 wx_cv_size_t_is_ulong=no
36790 echo "$as_me: failed program was
:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36793 wx_cv_size_t_is_ulong=yes
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36800 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
36801 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36803 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36804 cat >>confdefs.h <<\_ACEOF
36805 #define wxSIZE_T_IS_ULONG 1
36811 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
36812 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
36813 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36814 echo $ECHO_N "(cached
) $ECHO_C" >&6
36816 cat >conftest.$ac_ext <<_ACEOF
36819 cat confdefs.h >>conftest.$ac_ext
36820 cat >>conftest.$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36829 struct Foo { void foo(wchar_t);
36830 void foo(unsigned short);
36831 void foo(unsigned int);
36832 void foo(unsigned long); };
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36844 *) ac_try_echo=$ac_try;;
36846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36849 grep -v '^ *+' conftest.er1 >conftest.err
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_cxx_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.$ac_objext; then
36857 wx_cv_wchar_t_is_separate_type=yes
36859 echo "$as_me: failed program was
:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36862 wx_cv_wchar_t_is_separate_type=no
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36869 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
36870 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36872 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36873 cat >>confdefs.h <<\_ACEOF
36874 #define wxWCHAR_T_IS_REAL_TYPE 1
36878 cat >>confdefs.h <<\_ACEOF
36879 #define wxWCHAR_T_IS_REAL_TYPE 0
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
36892 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
36893 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36894 echo $ECHO_N "(cached
) $ECHO_C" >&6
36897 cat >conftest.$ac_ext <<_ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36916 rm -f conftest.$ac_objext
36917 if { (ac_try="$ac_compile"
36918 case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_compile") 2>conftest.er1
36925 grep -v '^ *+' conftest.er1 >conftest.err
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36929 (exit $ac_status); } && {
36930 test -z "$ac_c_werror_flag" ||
36931 test ! -s conftest.err
36932 } && test -s conftest.$ac_objext; then
36934 wx_cv_struct_pw_gecos=yes
36937 echo "$as_me: failed program was
:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36941 wx_cv_struct_pw_gecos=no
36946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36950 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
36951 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36953 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36954 cat >>confdefs.h <<\_ACEOF
36955 #define HAVE_PW_GECOS 1
36961 if test "$wxUSE_WCHAR_T" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxUSE_WCHAR_T 1
36970 for ac_func in wcslen
36972 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
36973 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
36974 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
36975 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
36976 echo $ECHO_N "(cached
) $ECHO_C" >&6
36978 cat >conftest.$ac_ext <<_ACEOF
36981 cat confdefs.h >>conftest.$ac_ext
36982 cat >>conftest.$ac_ext <<_ACEOF
36983 /* end confdefs.h. */
36984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36986 #define $ac_func innocuous_$ac_func
36988 /* System header to define __stub macros and hopefully few prototypes,
36989 which can conflict with char $ac_func (); below.
36990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36991 <limits.h> exists even on freestanding compilers. */
36994 # include <limits.h>
36996 # include <assert.h>
37001 /* Override any GCC internal prototype to avoid an error.
37002 Use char because int might match the return type of a GCC
37003 builtin and then its argument prototype would still apply. */
37008 /* The GNU C library defines this for functions which it implements
37009 to always fail with ENOSYS. Some functions are actually named
37010 something starting with __ and the normal name is an alias. */
37011 #if defined __stub_$ac_func || defined __stub___$ac_func
37018 return $ac_func ();
37023 rm -f conftest.$ac_objext conftest$ac_exeext
37024 if { (ac_try="$ac_link"
37025 case "(($ac_try" in
37026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37027 *) ac_try_echo=$ac_try;;
37029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37030 (eval "$ac_link") 2>conftest.er1
37032 grep -v '^ *+' conftest.er1 >conftest.err
37034 cat conftest.err >&5
37035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37036 (exit $ac_status); } && {
37037 test -z "$ac_c_werror_flag" ||
37038 test ! -s conftest.err
37039 } && test -s conftest$ac_exeext &&
37040 $as_test_x conftest$ac_exeext; then
37041 eval "$as_ac_var=yes"
37043 echo "$as_me: failed program was
:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37046 eval "$as_ac_var=no
"
37049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37050 conftest$ac_exeext conftest.$ac_ext
37052 ac_res=`eval echo '${'$as_ac_var'}'`
37053 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37054 echo "${ECHO_T}$ac_res" >&6; }
37055 if test `eval echo '${'$as_ac_var'}'` = yes; then
37056 cat >>confdefs.h <<_ACEOF
37057 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37064 if test "$WCSLEN_FOUND" = 0; then
37065 if test "$TOOLKIT" = "MSW
"; then
37066 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37067 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37068 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37069 echo $ECHO_N "(cached
) $ECHO_C" >&6
37071 ac_check_lib_save_LIBS=$LIBS
37072 LIBS="-lmsvcrt $LIBS"
37073 cat >conftest.$ac_ext <<_ACEOF
37076 cat confdefs.h >>conftest.$ac_ext
37077 cat >>conftest.$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37080 /* Override any GCC internal prototype to avoid an error.
37081 Use char because int might match the return type of a GCC
37082 builtin and then its argument prototype would still apply. */
37095 rm -f conftest.$ac_objext conftest$ac_exeext
37096 if { (ac_try="$ac_link"
37097 case "(($ac_try" in
37098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_link") 2>conftest.er1
37104 grep -v '^ *+' conftest.er1 >conftest.err
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_c_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest$ac_exeext &&
37112 $as_test_x conftest$ac_exeext; then
37113 ac_cv_lib_msvcrt_wcslen=yes
37115 echo "$as_me: failed program was
:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 ac_cv_lib_msvcrt_wcslen=no
37121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37122 conftest$ac_exeext conftest.$ac_ext
37123 LIBS=$ac_check_lib_save_LIBS
37125 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37126 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37127 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37132 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37133 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37134 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37135 echo $ECHO_N "(cached
) $ECHO_C" >&6
37137 ac_check_lib_save_LIBS=$LIBS
37139 cat >conftest.$ac_ext <<_ACEOF
37142 cat confdefs.h >>conftest.$ac_ext
37143 cat >>conftest.$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37146 /* Override any GCC internal prototype to avoid an error.
37147 Use char because int might match the return type of a GCC
37148 builtin and then its argument prototype would still apply. */
37161 rm -f conftest.$ac_objext conftest$ac_exeext
37162 if { (ac_try="$ac_link"
37163 case "(($ac_try" in
37164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37165 *) ac_try_echo=$ac_try;;
37167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37168 (eval "$ac_link") 2>conftest.er1
37170 grep -v '^ *+' conftest.er1 >conftest.err
37172 cat conftest.err >&5
37173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37174 (exit $ac_status); } && {
37175 test -z "$ac_c_werror_flag" ||
37176 test ! -s conftest.err
37177 } && test -s conftest$ac_exeext &&
37178 $as_test_x conftest$ac_exeext; then
37179 ac_cv_lib_w_wcslen=yes
37181 echo "$as_me: failed program was
:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37184 ac_cv_lib_w_wcslen=no
37187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37188 conftest$ac_exeext conftest.$ac_ext
37189 LIBS=$ac_check_lib_save_LIBS
37191 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37192 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37193 if test $ac_cv_lib_w_wcslen = yes; then
37203 if test "$WCSLEN_FOUND" = 1; then
37204 cat >>confdefs.h <<\_ACEOF
37205 #define HAVE_WCSLEN 1
37211 for ac_func in wcsdup
37213 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37214 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37215 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37216 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37217 echo $ECHO_N "(cached
) $ECHO_C" >&6
37219 cat >conftest.$ac_ext <<_ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37235 # include <limits.h>
37237 # include <assert.h>
37242 /* Override any GCC internal prototype to avoid an error.
37243 Use char because int might match the return type of a GCC
37244 builtin and then its argument prototype would still apply. */
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined __stub_$ac_func || defined __stub___$ac_func
37259 return $ac_func ();
37264 rm -f conftest.$ac_objext conftest$ac_exeext
37265 if { (ac_try="$ac_link"
37266 case "(($ac_try" in
37267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37268 *) ac_try_echo=$ac_try;;
37270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37271 (eval "$ac_link") 2>conftest.er1
37273 grep -v '^ *+' conftest.er1 >conftest.err
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37277 (exit $ac_status); } && {
37278 test -z "$ac_c_werror_flag" ||
37279 test ! -s conftest.err
37280 } && test -s conftest$ac_exeext &&
37281 $as_test_x conftest$ac_exeext; then
37282 eval "$as_ac_var=yes"
37284 echo "$as_me: failed program was
:" >&5
37285 sed 's/^/| /' conftest.$ac_ext >&5
37287 eval "$as_ac_var=no
"
37290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37291 conftest$ac_exeext conftest.$ac_ext
37293 ac_res=`eval echo '${'$as_ac_var'}'`
37294 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37295 echo "${ECHO_T}$ac_res" >&6; }
37296 if test `eval echo '${'$as_ac_var'}'` = yes; then
37297 cat >>confdefs.h <<_ACEOF
37298 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37305 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37306 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37309 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37310 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37311 if test "${ac_cv_type_mbstate_t+set}" = set; then
37312 echo $ECHO_N "(cached
) $ECHO_C" >&6
37314 cat >conftest.$ac_ext <<_ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37322 typedef mbstate_t ac__type_new_;
37326 if ((ac__type_new_ *) 0)
37328 if (sizeof (ac__type_new_))
37334 rm -f conftest.$ac_objext
37335 if { (ac_try="$ac_compile"
37336 case "(($ac_try" in
37337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_compile") 2>conftest.er1
37343 grep -v '^ *+' conftest.er1 >conftest.err
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_c_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest.$ac_objext; then
37351 ac_cv_type_mbstate_t=yes
37353 echo "$as_me: failed program was
:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37356 ac_cv_type_mbstate_t=no
37359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37362 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37363 if test $ac_cv_type_mbstate_t = yes; then
37365 cat >>confdefs.h <<_ACEOF
37366 #define HAVE_MBSTATE_T 1
37370 for ac_func in wcsrtombs
37372 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37373 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37374 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37375 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37376 echo $ECHO_N "(cached
) $ECHO_C" >&6
37378 cat >conftest.$ac_ext <<_ACEOF
37381 cat confdefs.h >>conftest.$ac_ext
37382 cat >>conftest.$ac_ext <<_ACEOF
37383 /* end confdefs.h. */
37384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37386 #define $ac_func innocuous_$ac_func
37388 /* System header to define __stub macros and hopefully few prototypes,
37389 which can conflict with char $ac_func (); below.
37390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37391 <limits.h> exists even on freestanding compilers. */
37394 # include <limits.h>
37396 # include <assert.h>
37401 /* Override any GCC internal prototype to avoid an error.
37402 Use char because int might match the return type of a GCC
37403 builtin and then its argument prototype would still apply. */
37408 /* The GNU C library defines this for functions which it implements
37409 to always fail with ENOSYS. Some functions are actually named
37410 something starting with __ and the normal name is an alias. */
37411 #if defined __stub_$ac_func || defined __stub___$ac_func
37418 return $ac_func ();
37423 rm -f conftest.$ac_objext conftest$ac_exeext
37424 if { (ac_try="$ac_link"
37425 case "(($ac_try" in
37426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37427 *) ac_try_echo=$ac_try;;
37429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37430 (eval "$ac_link") 2>conftest.er1
37432 grep -v '^ *+' conftest.er1 >conftest.err
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37436 (exit $ac_status); } && {
37437 test -z "$ac_c_werror_flag" ||
37438 test ! -s conftest.err
37439 } && test -s conftest$ac_exeext &&
37440 $as_test_x conftest$ac_exeext; then
37441 eval "$as_ac_var=yes"
37443 echo "$as_me: failed program was
:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37446 eval "$as_ac_var=no
"
37449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37450 conftest$ac_exeext conftest.$ac_ext
37452 ac_res=`eval echo '${'$as_ac_var'}'`
37453 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37454 echo "${ECHO_T}$ac_res" >&6; }
37455 if test `eval echo '${'$as_ac_var'}'` = yes; then
37456 cat >>confdefs.h <<_ACEOF
37457 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37466 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37467 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37472 for ac_func in snprintf vsnprintf
37474 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37476 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37477 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached
) $ECHO_C" >&6
37480 cat >conftest.$ac_ext <<_ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37496 # include <limits.h>
37498 # include <assert.h>
37503 /* Override any GCC internal prototype to avoid an error.
37504 Use char because int might match the return type of a GCC
37505 builtin and then its argument prototype would still apply. */
37510 /* The GNU C library defines this for functions which it implements
37511 to always fail with ENOSYS. Some functions are actually named
37512 something starting with __ and the normal name is an alias. */
37513 #if defined __stub_$ac_func || defined __stub___$ac_func
37520 return $ac_func ();
37525 rm -f conftest.$ac_objext conftest$ac_exeext
37526 if { (ac_try="$ac_link"
37527 case "(($ac_try" in
37528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37529 *) ac_try_echo=$ac_try;;
37531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37532 (eval "$ac_link") 2>conftest.er1
37534 grep -v '^ *+' conftest.er1 >conftest.err
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37538 (exit $ac_status); } && {
37539 test -z "$ac_c_werror_flag" ||
37540 test ! -s conftest.err
37541 } && test -s conftest$ac_exeext &&
37542 $as_test_x conftest$ac_exeext; then
37543 eval "$as_ac_var=yes"
37545 echo "$as_me: failed program was
:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37548 eval "$as_ac_var=no
"
37551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37552 conftest$ac_exeext conftest.$ac_ext
37554 ac_res=`eval echo '${'$as_ac_var'}'`
37555 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37556 echo "${ECHO_T}$ac_res" >&6; }
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37566 if test "$ac_cv_func_vsnprintf" = "yes"; then
37567 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37568 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37569 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37570 echo $ECHO_N "(cached
) $ECHO_C" >&6
37573 cat >conftest.$ac_ext <<_ACEOF
37576 cat confdefs.h >>conftest.$ac_ext
37577 cat >>conftest.$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37581 #include <stdarg.h>
37583 #if __MSL__ >= 0x6000
37585 using namespace std;
37595 vsnprintf(buf, 10u, "%s
", ap);
37601 rm -f conftest.$ac_objext
37602 if { (ac_try="$ac_compile"
37603 case "(($ac_try" in
37604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37605 *) ac_try_echo=$ac_try;;
37607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37608 (eval "$ac_compile") 2>conftest.er1
37610 grep -v '^ *+' conftest.er1 >conftest.err
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37614 (exit $ac_status); } && {
37615 test -z "$ac_c_werror_flag" ||
37616 test ! -s conftest.err
37617 } && test -s conftest.$ac_objext; then
37618 wx_cv_func_vsnprintf_decl=yes
37620 echo "$as_me: failed program was
:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37623 wx_cv_func_vsnprintf_decl=no
37627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37631 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37632 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37634 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define HAVE_VSNPRINTF_DECL 1
37640 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37641 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37642 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37643 echo $ECHO_N "(cached
) $ECHO_C" >&6
37646 cat >conftest.$ac_ext <<_ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37654 #include <stdarg.h>
37656 #if __MSL__ >= 0x6000
37658 using namespace std;
37668 const char *fmt = "%s
";
37669 vsnprintf(buf, 10u, fmt, ap);
37675 rm -f conftest.$ac_objext
37676 if { (ac_try="$ac_compile"
37677 case "(($ac_try" in
37678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37679 *) ac_try_echo=$ac_try;;
37681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37682 (eval "$ac_compile") 2>conftest.er1
37684 grep -v '^ *+' conftest.er1 >conftest.err
37686 cat conftest.err >&5
37687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37688 (exit $ac_status); } && {
37689 test -z "$ac_c_werror_flag" ||
37690 test ! -s conftest.err
37691 } && test -s conftest.$ac_objext; then
37692 wx_cv_func_broken_vsnprintf_decl=no
37694 echo "$as_me: failed program was
:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37697 wx_cv_func_broken_vsnprintf_decl=yes
37701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37705 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
37706 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37708 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37709 cat >>confdefs.h <<\_ACEOF
37710 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37717 if test "$ac_cv_func_snprintf" = "yes"; then
37718 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
37719 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
37720 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37721 echo $ECHO_N "(cached
) $ECHO_C" >&6
37724 cat >conftest.$ac_ext <<_ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37732 #include <stdarg.h>
37734 #if __MSL__ >= 0x6000
37736 using namespace std;
37745 snprintf(buf, 10u, "%s
", "wx
");
37751 rm -f conftest.$ac_objext
37752 if { (ac_try="$ac_compile"
37753 case "(($ac_try" in
37754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37755 *) ac_try_echo=$ac_try;;
37757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37758 (eval "$ac_compile") 2>conftest.er1
37760 grep -v '^ *+' conftest.er1 >conftest.err
37762 cat conftest.err >&5
37763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37764 (exit $ac_status); } && {
37765 test -z "$ac_c_werror_flag" ||
37766 test ! -s conftest.err
37767 } && test -s conftest.$ac_objext; then
37768 wx_cv_func_snprintf_decl=yes
37770 echo "$as_me: failed program was
:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37773 wx_cv_func_snprintf_decl=no
37777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
37782 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37784 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37785 cat >>confdefs.h <<\_ACEOF
37786 #define HAVE_SNPRINTF_DECL 1
37790 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
37791 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
37792 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37793 echo $ECHO_N "(cached
) $ECHO_C" >&6
37796 cat >conftest.$ac_ext <<_ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37804 #include <stdarg.h>
37806 #if __MSL__ >= 0x6000
37808 using namespace std;
37817 const char *fmt = "%s
";
37818 snprintf(buf, 10u, fmt, "wx
");
37824 rm -f conftest.$ac_objext
37825 if { (ac_try="$ac_compile"
37826 case "(($ac_try" in
37827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37828 *) ac_try_echo=$ac_try;;
37830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37831 (eval "$ac_compile") 2>conftest.er1
37833 grep -v '^ *+' conftest.er1 >conftest.err
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37837 (exit $ac_status); } && {
37838 test -z "$ac_c_werror_flag" ||
37839 test ! -s conftest.err
37840 } && test -s conftest.$ac_objext; then
37841 wx_cv_func_broken_snprintf_decl=no
37843 echo "$as_me: failed program was
:" >&5
37844 sed 's/^/| /' conftest.$ac_ext >&5
37846 wx_cv_func_broken_snprintf_decl=yes
37850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37854 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
37855 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37857 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37858 cat >>confdefs.h <<\_ACEOF
37859 #define HAVE_BROKEN_SNPRINTF_DECL 1
37865 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37867 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
37868 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
37869 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37870 echo $ECHO_N "(cached
) $ECHO_C" >&6
37873 if test "$cross_compiling" = yes; then
37875 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
37876 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
37877 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
37878 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
37879 wx_cv_func_snprintf_pos_params=no
37883 cat >conftest.$ac_ext <<_ACEOF
37886 cat confdefs.h >>conftest.$ac_ext
37887 cat >>conftest.$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37895 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37896 if (strcmp ("2 3 1", buffer) == 0)
37902 rm -f conftest$ac_exeext
37903 if { (ac_try="$ac_link"
37904 case "(($ac_try" in
37905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37906 *) ac_try_echo=$ac_try;;
37908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37909 (eval "$ac_link") 2>&5
37911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37913 { (case "(($ac_try" in
37914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37915 *) ac_try_echo=$ac_try;;
37917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37918 (eval "$ac_try") 2>&5
37920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37921 (exit $ac_status); }; }; then
37922 wx_cv_func_snprintf_pos_params=no
37924 echo "$as_me: program exited with status
$ac_status" >&5
37925 echo "$as_me: failed program was
:" >&5
37926 sed 's/^/| /' conftest.$ac_ext >&5
37928 ( exit $ac_status )
37929 wx_cv_func_snprintf_pos_params=yes
37931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37938 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
37939 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37941 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37942 cat >>confdefs.h <<\_ACEOF
37943 #define HAVE_UNIX98_PRINTF 1
37950 if test "$wxUSE_UNICODE" = yes; then
37953 for ac_func in swprintf
37955 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37956 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37957 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37958 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37959 echo $ECHO_N "(cached
) $ECHO_C" >&6
37961 cat >conftest.$ac_ext <<_ACEOF
37964 cat confdefs.h >>conftest.$ac_ext
37965 cat >>conftest.$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37969 #define $ac_func innocuous_$ac_func
37971 /* System header to define __stub macros and hopefully few prototypes,
37972 which can conflict with char $ac_func (); below.
37973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37974 <limits.h> exists even on freestanding compilers. */
37977 # include <limits.h>
37979 # include <assert.h>
37984 /* Override any GCC internal prototype to avoid an error.
37985 Use char because int might match the return type of a GCC
37986 builtin and then its argument prototype would still apply. */
37991 /* The GNU C library defines this for functions which it implements
37992 to always fail with ENOSYS. Some functions are actually named
37993 something starting with __ and the normal name is an alias. */
37994 #if defined __stub_$ac_func || defined __stub___$ac_func
38001 return $ac_func ();
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (ac_try="$ac_link"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38010 *) ac_try_echo=$ac_try;;
38012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_link") 2>conftest.er1
38015 grep -v '^ *+' conftest.er1 >conftest.err
38017 cat conftest.err >&5
38018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_c_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest$ac_exeext &&
38023 $as_test_x conftest$ac_exeext; then
38024 eval "$as_ac_var=yes"
38026 echo "$as_me: failed program was
:" >&5
38027 sed 's/^/| /' conftest.$ac_ext >&5
38029 eval "$as_ac_var=no
"
38032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38033 conftest$ac_exeext conftest.$ac_ext
38035 ac_res=`eval echo '${'$as_ac_var'}'`
38036 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38037 echo "${ECHO_T}$ac_res" >&6; }
38038 if test `eval echo '${'$as_ac_var'}'` = yes; then
38039 cat >>confdefs.h <<_ACEOF
38040 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38047 if test "$ac_cv_func_swprintf" = "yes"; then
38048 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38049 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38050 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38051 echo $ECHO_N "(cached
) $ECHO_C" >&6
38054 cat >conftest.$ac_ext <<_ACEOF
38057 cat confdefs.h >>conftest.$ac_ext
38058 cat >>conftest.$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38062 #include <stdarg.h>
38070 const wchar_t *fmt = L"test";
38071 swprintf(buf, 10u, fmt);
38077 rm -f conftest.$ac_objext
38078 if { (ac_try="$ac_compile"
38079 case "(($ac_try" in
38080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38081 *) ac_try_echo=$ac_try;;
38083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38084 (eval "$ac_compile") 2>conftest.er1
38086 grep -v '^ *+' conftest.er1 >conftest.err
38088 cat conftest.err >&5
38089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38090 (exit $ac_status); } && {
38091 test -z "$ac_c_werror_flag" ||
38092 test ! -s conftest.err
38093 } && test -s conftest.$ac_objext; then
38094 wx_cv_func_broken_swprintf_decl=no
38096 echo "$as_me: failed program was
:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38099 wx_cv_func_broken_swprintf_decl=yes
38103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38107 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38108 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38110 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_BROKEN_SWPRINTF_DECL 1
38118 wchar_headers="#include <stdio.h>
38119 #include <wchar.h>"
38123 for ac_header
in widec.h
38125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38128 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38129 echo $ECHO_N "(cached) $ECHO_C" >&6
38131 cat >conftest.
$ac_ext <<_ACEOF
38134 cat confdefs.h
>>conftest.
$ac_ext
38135 cat >>conftest.
$ac_ext <<_ACEOF
38136 /* end confdefs.h. */
38137 $ac_includes_default
38139 #include <$ac_header>
38141 rm -f conftest.
$ac_objext
38142 if { (ac_try
="$ac_compile"
38143 case "(($ac_try" in
38144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38145 *) ac_try_echo=$ac_try;;
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_compile") 2>conftest.er1
38150 grep -v '^ *+' conftest.er1 >conftest.err
38152 cat conftest.err >&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } && {
38155 test -z "$ac_c_werror_flag" ||
38156 test ! -s conftest.err
38157 } && test -s conftest.$ac_objext; then
38158 eval "$as_ac_Header=yes"
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38163 eval "$as_ac_Header=no"
38166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_res=`eval echo '${'$as_ac_Header'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38172 cat >>confdefs.h <<_ACEOF
38173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38180 if test "$ac_cv_header_widec_h" = "yes"; then
38181 wchar_headers="$wchar_headers
38182 #include <widec.h>"
38187 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 cat >conftest.$ac_ext <<_ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38204 $ac_includes_default
38220 rm -f conftest.$ac_objext conftest$ac_exeext
38221 if { (ac_try="$ac_link"
38222 case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38224 *) ac_try_echo
=$ac_try;;
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_link") 2>conftest.er1
38229 grep -v '^ *+' conftest.er1
>conftest.err
38231 cat conftest.err
>&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_c_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest
$ac_exeext &&
38237 $as_test_x conftest
$ac_exeext; then
38238 eval wx_cv_func_
$wx_func=yes
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.
$ac_ext >&5
38243 eval wx_cv_func_
$wx_func=no
38246 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38247 conftest
$ac_exeext conftest.
$ac_ext
38250 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38251 { echo "$as_me:$LINENO: result: $ac_res" >&5
38252 echo "${ECHO_T}$ac_res" >&6; }
38254 if eval test \
$wx_cv_func_$wx_func = yes
38256 cat >>confdefs.h
<<_ACEOF
38257 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38268 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38269 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38270 cat >conftest.
$ac_ext <<_ACEOF
38273 cat confdefs.h
>>conftest.
$ac_ext
38274 cat >>conftest.
$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38285 rm -f conftest.
$ac_objext
38286 if { (ac_try
="$ac_compile"
38287 case "(($ac_try" in
38288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38289 *) ac_try_echo=$ac_try;;
38291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38292 (eval "$ac_compile") 2>conftest.er1
38294 grep -v '^ *+' conftest.er1 >conftest.err
38296 cat conftest.err >&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } && {
38299 test -z "$ac_c_werror_flag" ||
38300 test ! -s conftest.err
38301 } && test -s conftest.$ac_objext; then
38302 { echo "$as_me:$LINENO: result: yes" >&5
38303 echo "${ECHO_T}yes" >&6; }
38304 cat >>confdefs.h <<\_ACEOF
38305 #define HAVE__VSNWPRINTF 1
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38312 { echo "$as_me:$LINENO: result: no" >&5
38313 echo "${ECHO_T}no" >&6; }
38316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38319 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38321 for wx_func in fnmatch
38323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38325 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38326 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 cat >conftest.$ac_ext <<_ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38337 #include <fnmatch.h>
38338 $ac_includes_default
38354 rm -f conftest.$ac_objext conftest$ac_exeext
38355 if { (ac_try="$ac_link"
38356 case "(($ac_try" in
38357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38358 *) ac_try_echo
=$ac_try;;
38360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38361 (eval "$ac_link") 2>conftest.er1
38363 grep -v '^ *+' conftest.er1
>conftest.err
38365 cat conftest.err
>&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } && {
38368 test -z "$ac_c_werror_flag" ||
38369 test ! -s conftest.err
38370 } && test -s conftest
$ac_exeext &&
38371 $as_test_x conftest
$ac_exeext; then
38372 eval wx_cv_func_
$wx_func=yes
38374 echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.
$ac_ext >&5
38377 eval wx_cv_func_
$wx_func=no
38380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38381 conftest
$ac_exeext conftest.
$ac_ext
38384 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38385 { echo "$as_me:$LINENO: result: $ac_res" >&5
38386 echo "${ECHO_T}$ac_res" >&6; }
38388 if eval test \
$wx_cv_func_$wx_func = yes
38390 cat >>confdefs.h
<<_ACEOF
38391 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38403 if test "$wxUSE_FILE" = "yes"; then
38405 for wx_func
in fsync
38407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38409 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38413 cat >conftest.
$ac_ext <<_ACEOF
38417 cat confdefs.h
>>conftest.
$ac_ext
38418 cat >>conftest.
$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38422 $ac_includes_default
38438 rm -f conftest.
$ac_objext conftest
$ac_exeext
38439 if { (ac_try
="$ac_link"
38440 case "(($ac_try" in
38441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38442 *) ac_try_echo=$ac_try;;
38444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38445 (eval "$ac_link") 2>conftest.er1
38447 grep -v '^ *+' conftest.er1 >conftest.err
38449 cat conftest.err >&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); } && {
38452 test -z "$ac_c_werror_flag" ||
38453 test ! -s conftest.err
38454 } && test -s conftest$ac_exeext &&
38455 $as_test_x conftest$ac_exeext; then
38456 eval wx_cv_func_$wx_func=yes
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38461 eval wx_cv_func_$wx_func=no
38464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38465 conftest$ac_exeext conftest.$ac_ext
38468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38469 { echo "$as_me:$LINENO: result: $ac_res" >&5
38470 echo "${ECHO_T}$ac_res" >&6; }
38472 if eval test \$wx_cv_func_$wx_func = yes
38474 cat >>confdefs.h <<_ACEOF
38475 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38494 for wx_func in round
38496 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38497 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38498 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38502 cat >conftest.$ac_ext <<_ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38511 $ac_includes_default
38527 rm -f conftest.$ac_objext conftest$ac_exeext
38528 if { (ac_try="$ac_link"
38529 case "(($ac_try" in
38530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38531 *) ac_try_echo
=$ac_try;;
38533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38534 (eval "$ac_link") 2>conftest.er1
38536 grep -v '^ *+' conftest.er1
>conftest.err
38538 cat conftest.err
>&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); } && {
38541 test -z "$ac_cxx_werror_flag" ||
38542 test ! -s conftest.err
38543 } && test -s conftest
$ac_exeext &&
38544 $as_test_x conftest
$ac_exeext; then
38545 eval wx_cv_func_
$wx_func=yes
38547 echo "$as_me: failed program was:" >&5
38548 sed 's/^/| /' conftest.
$ac_ext >&5
38550 eval wx_cv_func_
$wx_func=no
38553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38554 conftest
$ac_exeext conftest.
$ac_ext
38557 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38558 { echo "$as_me:$LINENO: result: $ac_res" >&5
38559 echo "${ECHO_T}$ac_res" >&6; }
38561 if eval test \
$wx_cv_func_$wx_func = yes
38563 cat >>confdefs.h
<<_ACEOF
38564 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38575 ac_cpp
='$CPP $CPPFLAGS'
38576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38581 if test "$TOOLKIT" != "MSW"; then
38587 # Check whether --with-libiconv-prefix was given.
38588 if test "${with_libiconv_prefix+set}" = set; then
38589 withval
=$with_libiconv_prefix;
38590 for dir
in `echo "$withval" | tr : ' '`; do
38591 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38592 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38598 { echo "$as_me:$LINENO: checking for iconv" >&5
38599 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38600 if test "${am_cv_func_iconv+set}" = set; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 am_cv_func_iconv
="no, consider installing GNU libiconv"
38606 cat >conftest.
$ac_ext <<_ACEOF
38609 cat confdefs.h
>>conftest.
$ac_ext
38610 cat >>conftest.
$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38612 #include <stdlib.h>
38617 iconv_t cd = iconv_open("","");
38618 iconv(cd,NULL,NULL,NULL,NULL);
38624 rm -f conftest.
$ac_objext conftest
$ac_exeext
38625 if { (ac_try
="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38633 grep -v '^ *+' conftest.er1 >conftest.err
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 am_cv_func_iconv=yes
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652 if test "$am_cv_func_iconv" != yes; then
38653 am_save_LIBS="$LIBS"
38654 LIBS="$LIBS -liconv"
38655 cat >conftest.$ac_ext <<_ACEOF
38658 cat confdefs.h >>conftest.$ac_ext
38659 cat >>conftest.$ac_ext <<_ACEOF
38660 /* end confdefs.h. */
38661 #include <stdlib.h>
38666 iconv_t cd = iconv_open("","");
38667 iconv(cd,NULL,NULL,NULL,NULL);
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38677 *) ac_try_echo
=$ac_try;;
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38682 grep -v '^ *+' conftest.er1
>conftest.err
38684 cat conftest.err
>&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_c_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest
$ac_exeext &&
38690 $as_test_x conftest
$ac_exeext; then
38691 am_cv_lib_iconv
=yes
38692 am_cv_func_iconv
=yes
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.
$ac_ext >&5
38700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38701 conftest
$ac_exeext conftest.
$ac_ext
38702 LIBS
="$am_save_LIBS"
38706 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38707 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38708 if test "$am_cv_func_iconv" = yes; then
38710 cat >>confdefs.h
<<\_ACEOF
38711 #define HAVE_ICONV 1
38714 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38715 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38716 if test "${wx_cv_func_iconv_const+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 cat >conftest.
$ac_ext <<_ACEOF
38722 cat confdefs.h
>>conftest.
$ac_ext
38723 cat >>conftest.
$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38726 #include <stdlib.h>
38732 #if defined(__STDC__) || defined(__cplusplus)
38733 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38746 rm -f conftest.
$ac_objext
38747 if { (ac_try
="$ac_compile"
38748 case "(($ac_try" in
38749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38750 *) ac_try_echo=$ac_try;;
38752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38753 (eval "$ac_compile") 2>conftest.er1
38755 grep -v '^ *+' conftest.er1 >conftest.err
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } && {
38760 test -z "$ac_c_werror_flag" ||
38761 test ! -s conftest.err
38762 } && test -s conftest.$ac_objext; then
38763 wx_cv_func_iconv_const="no"
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38768 wx_cv_func_iconv_const="yes"
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38775 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38776 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38779 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38780 iconv_const="const"
38784 cat >>confdefs.h <<_ACEOF
38785 #define ICONV_CONST $iconv_const
38790 if test "$am_cv_lib_iconv" = yes; then
38795 LIBS="$LIBICONV $LIBS"
38797 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38799 for ac_func in sigaction
38801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 cat >conftest.$ac_ext <<_ACEOF
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38815 #define $ac_func innocuous_$ac_func
38817 /* System header to define __stub macros and hopefully few prototypes,
38818 which can conflict with char $ac_func (); below.
38819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38820 <limits.h> exists even on freestanding compilers. */
38823 # include <limits.h>
38825 # include <assert.h>
38830 /* Override any GCC internal prototype to avoid an error.
38831 Use char because int might match the return type of a GCC
38832 builtin and then its argument prototype would still apply. */
38837 /* The GNU C library defines this for functions which it implements
38838 to always fail with ENOSYS. Some functions are actually named
38839 something starting with __ and the normal name is an alias. */
38840 #if defined __stub_$ac_func || defined __stub___$ac_func
38847 return $ac_func ();
38852 rm -f conftest.$ac_objext conftest$ac_exeext
38853 if { (ac_try="$ac_link"
38854 case "(($ac_try" in
38855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38856 *) ac_try_echo
=$ac_try;;
38858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38859 (eval "$ac_link") 2>conftest.er1
38861 grep -v '^ *+' conftest.er1
>conftest.err
38863 cat conftest.err
>&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); } && {
38866 test -z "$ac_c_werror_flag" ||
38867 test ! -s conftest.err
38868 } && test -s conftest
$ac_exeext &&
38869 $as_test_x conftest
$ac_exeext; then
38870 eval "$as_ac_var=yes"
38872 echo "$as_me: failed program was:" >&5
38873 sed 's/^/| /' conftest.
$ac_ext >&5
38875 eval "$as_ac_var=no"
38878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38879 conftest
$ac_exeext conftest.
$ac_ext
38881 ac_res
=`eval echo '${'$as_ac_var'}'`
38882 { echo "$as_me:$LINENO: result: $ac_res" >&5
38883 echo "${ECHO_T}$ac_res" >&6; }
38884 if test `eval echo '${'$as_ac_var'}'` = yes; then
38885 cat >>confdefs.h
<<_ACEOF
38886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38893 if test "$ac_cv_func_sigaction" = "no"; then
38894 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38895 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38896 wxUSE_ON_FATAL_EXCEPTION
=no
38899 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38900 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38901 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38902 if test "${wx_cv_type_sa_handler+set}" = set; then
38903 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 ac_cpp
='$CXXCPP $CPPFLAGS'
38908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38912 cat >conftest.
$ac_ext <<_ACEOF
38915 cat confdefs.h
>>conftest.
$ac_ext
38916 cat >>conftest.
$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 #include <signal.h>
38923 extern void testSigHandler(int);
38925 struct sigaction sa;
38926 sa.sa_handler = testSigHandler;
38932 rm -f conftest.
$ac_objext
38933 if { (ac_try
="$ac_compile"
38934 case "(($ac_try" in
38935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38936 *) ac_try_echo=$ac_try;;
38938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38939 (eval "$ac_compile") 2>conftest.er1
38941 grep -v '^ *+' conftest.er1 >conftest.err
38943 cat conftest.err >&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); } && {
38946 test -z "$ac_cxx_werror_flag" ||
38947 test ! -s conftest.err
38948 } && test -s conftest.$ac_objext; then
38950 wx_cv_type_sa_handler=int
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.$ac_ext >&5
38957 wx_cv_type_sa_handler=void
38961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38963 ac_cpp='$CPP $CPPFLAGS'
38964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38971 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38973 cat >>confdefs.h <<_ACEOF
38974 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38980 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38981 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38982 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38983 if test "${wx_cv_func_backtrace+set}" = set; then
38984 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 ac_cpp='$CXXCPP $CPPFLAGS'
38989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38993 cat >conftest.$ac_ext <<_ACEOF
38996 cat confdefs.h >>conftest.$ac_ext
38997 cat >>conftest.$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 #include <execinfo.h>
39007 backtrace(trace, 1);
39008 messages = backtrace_symbols(trace, 1);
39014 rm -f conftest.$ac_objext
39015 if { (ac_try="$ac_compile"
39016 case "(($ac_try" in
39017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39018 *) ac_try_echo
=$ac_try;;
39020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39021 (eval "$ac_compile") 2>conftest.er1
39023 grep -v '^ *+' conftest.er1
>conftest.err
39025 cat conftest.err
>&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } && {
39028 test -z "$ac_cxx_werror_flag" ||
39029 test ! -s conftest.err
39030 } && test -s conftest.
$ac_objext; then
39031 wx_cv_func_backtrace
=yes
39033 echo "$as_me: failed program was:" >&5
39034 sed 's/^/| /' conftest.
$ac_ext >&5
39036 wx_cv_func_backtrace
=no
39040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39042 ac_cpp
='$CPP $CPPFLAGS'
39043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39050 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39051 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39054 if test "$wx_cv_func_backtrace" = "no"; then
39055 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39056 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39057 wxUSE_STACKWALKER
=no
39059 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39060 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39061 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39062 echo $ECHO_N "(cached) $ECHO_C" >&6
39066 ac_cpp
='$CXXCPP $CPPFLAGS'
39067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39071 cat >conftest.
$ac_ext <<_ACEOF
39074 cat confdefs.h
>>conftest.
$ac_ext
39075 cat >>conftest.
$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 #include <cxxabi.h>
39083 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39089 rm -f conftest.
$ac_objext conftest
$ac_exeext
39090 if { (ac_try
="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39098 grep -v '^ *+' conftest.er1 >conftest.err
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_cxx_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 wx_cv_func_cxa_demangle=yes
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39112 wx_cv_func_cxa_demangle=no
39116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39117 conftest$ac_exeext conftest.$ac_ext
39119 ac_cpp='$CPP $CPPFLAGS'
39120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39127 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39128 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39130 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39131 cat >>confdefs.h <<\_ACEOF
39132 #define HAVE_CXA_DEMANGLE 1
39139 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39140 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39141 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39142 wxUSE_STACKWALKER=no
39148 for ac_func in mkstemp mktemp
39150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 cat >conftest.$ac_ext <<_ACEOF
39159 cat confdefs.h >>conftest.$ac_ext
39160 cat >>conftest.$ac_ext <<_ACEOF
39161 /* end confdefs.h. */
39162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39164 #define $ac_func innocuous_$ac_func
39166 /* System header to define __stub macros and hopefully few prototypes,
39167 which can conflict with char $ac_func (); below.
39168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39169 <limits.h> exists even on freestanding compilers. */
39172 # include <limits.h>
39174 # include <assert.h>
39179 /* Override any GCC internal prototype to avoid an error.
39180 Use char because int might match the return type of a GCC
39181 builtin and then its argument prototype would still apply. */
39186 /* The GNU C library defines this for functions which it implements
39187 to always fail with ENOSYS. Some functions are actually named
39188 something starting with __ and the normal name is an alias. */
39189 #if defined __stub_$ac_func || defined __stub___$ac_func
39196 return $ac_func ();
39201 rm -f conftest.$ac_objext conftest$ac_exeext
39202 if { (ac_try="$ac_link"
39203 case "(($ac_try" in
39204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39205 *) ac_try_echo
=$ac_try;;
39207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39208 (eval "$ac_link") 2>conftest.er1
39210 grep -v '^ *+' conftest.er1
>conftest.err
39212 cat conftest.err
>&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } && {
39215 test -z "$ac_c_werror_flag" ||
39216 test ! -s conftest.err
39217 } && test -s conftest
$ac_exeext &&
39218 $as_test_x conftest
$ac_exeext; then
39219 eval "$as_ac_var=yes"
39221 echo "$as_me: failed program was:" >&5
39222 sed 's/^/| /' conftest.
$ac_ext >&5
39224 eval "$as_ac_var=no"
39227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39228 conftest
$ac_exeext conftest.
$ac_ext
39230 ac_res
=`eval echo '${'$as_ac_var'}'`
39231 { echo "$as_me:$LINENO: result: $ac_res" >&5
39232 echo "${ECHO_T}$ac_res" >&6; }
39233 if test `eval echo '${'$as_ac_var'}'` = yes; then
39234 cat >>confdefs.h
<<_ACEOF
39235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39242 { echo "$as_me:$LINENO: checking for statfs" >&5
39243 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39244 if test "${wx_cv_func_statfs+set}" = set; then
39245 echo $ECHO_N "(cached) $ECHO_C" >&6
39247 cat >conftest.
$ac_ext <<_ACEOF
39250 cat confdefs.h
>>conftest.
$ac_ext
39251 cat >>conftest.
$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39254 #if defined(__BSD__)
39255 #include <sys/param.h>
39256 #include <sys/mount.h>
39258 #include <sys/vfs.h>
39276 rm -f conftest.
$ac_objext
39277 if { (ac_try
="$ac_compile"
39278 case "(($ac_try" in
39279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39280 *) ac_try_echo=$ac_try;;
39282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39283 (eval "$ac_compile") 2>conftest.er1
39285 grep -v '^ *+' conftest.er1 >conftest.err
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } && {
39290 test -z "$ac_c_werror_flag" ||
39291 test ! -s conftest.err
39292 } && test -s conftest.$ac_objext; then
39293 wx_cv_func_statfs=yes
39295 echo "$as_me: failed program was:" >&5
39296 sed 's/^/| /' conftest.$ac_ext >&5
39298 wx_cv_func_statfs=no
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39306 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39308 if test "$wx_cv_func_statfs" = "yes"; then
39309 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39310 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39311 if test "${wx_cv_func_statfs_decl+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 ac_cpp='$CXXCPP $CPPFLAGS'
39316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39320 cat >conftest.$ac_ext <<_ACEOF
39323 cat confdefs.h >>conftest.$ac_ext
39324 cat >>conftest.$ac_ext <<_ACEOF
39325 /* end confdefs.h. */
39327 #if defined(__BSD__)
39328 #include <sys/param.h>
39329 #include <sys/mount.h>
39331 #include <sys/vfs.h>
39345 rm -f conftest.$ac_objext
39346 if { (ac_try="$ac_compile"
39347 case "(($ac_try" in
39348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39349 *) ac_try_echo
=$ac_try;;
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_compile") 2>conftest.er1
39354 grep -v '^ *+' conftest.er1
>conftest.err
39356 cat conftest.err
>&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_cxx_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest.
$ac_objext; then
39362 wx_cv_func_statfs_decl
=yes
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.
$ac_ext >&5
39367 wx_cv_func_statfs_decl
=no
39371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39373 ac_cpp
='$CPP $CPPFLAGS'
39374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39380 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39381 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39383 if test "$wx_cv_func_statfs_decl" = "yes"; then
39384 cat >>confdefs.h
<<\_ACEOF
39385 #define HAVE_STATFS_DECL 1
39390 wx_cv_type_statvfs_t
="struct statfs"
39391 cat >>confdefs.h
<<\_ACEOF
39392 #define HAVE_STATFS 1
39396 { echo "$as_me:$LINENO: checking for statvfs" >&5
39397 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39398 if test "${wx_cv_func_statvfs+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39401 cat >conftest.
$ac_ext <<_ACEOF
39404 cat confdefs.h
>>conftest.
$ac_ext
39405 cat >>conftest.
$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39408 #include <stddef.h>
39409 #include <sys/statvfs.h>
39415 statvfs("/", NULL);
39421 rm -f conftest.
$ac_objext
39422 if { (ac_try
="$ac_compile"
39423 case "(($ac_try" in
39424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39425 *) ac_try_echo=$ac_try;;
39427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39428 (eval "$ac_compile") 2>conftest.er1
39430 grep -v '^ *+' conftest.er1 >conftest.err
39432 cat conftest.err >&5
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); } && {
39435 test -z "$ac_c_werror_flag" ||
39436 test ! -s conftest.err
39437 } && test -s conftest.$ac_objext; then
39438 wx_cv_func_statvfs=yes
39440 echo "$as_me: failed program was:" >&5
39441 sed 's/^/| /' conftest.$ac_ext >&5
39443 wx_cv_func_statvfs=no
39447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39451 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39453 if test "$wx_cv_func_statvfs" = "yes"; then
39454 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39455 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39456 if test "${wx_cv_type_statvfs_t+set}" = set; then
39457 echo $ECHO_N "(cached) $ECHO_C" >&6
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465 cat >conftest.$ac_ext <<_ACEOF
39468 cat confdefs.h >>conftest.$ac_ext
39469 cat >>conftest.$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39472 #include <sys/statvfs.h>
39489 rm -f conftest.$ac_objext
39490 if { (ac_try="$ac_compile"
39491 case "(($ac_try" in
39492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39493 *) ac_try_echo
=$ac_try;;
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_compile") 2>conftest.er1
39498 grep -v '^ *+' conftest.er1
>conftest.err
39500 cat conftest.err
>&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_cxx_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest.
$ac_objext; then
39506 wx_cv_type_statvfs_t
=statvfs_t
39508 echo "$as_me: failed program was:" >&5
39509 sed 's/^/| /' conftest.
$ac_ext >&5
39512 cat >conftest.
$ac_ext <<_ACEOF
39515 cat confdefs.h
>>conftest.
$ac_ext
39516 cat >>conftest.
$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39519 #include <sys/statvfs.h>
39536 rm -f conftest.
$ac_objext
39537 if { (ac_try
="$ac_compile"
39538 case "(($ac_try" in
39539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39540 *) ac_try_echo=$ac_try;;
39542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39543 (eval "$ac_compile") 2>conftest.er1
39545 grep -v '^ *+' conftest.er1 >conftest.err
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } && {
39550 test -z "$ac_cxx_werror_flag" ||
39551 test ! -s conftest.err
39552 } && test -s conftest.$ac_objext; then
39553 wx_cv_type_statvfs_t="struct statvfs"
39555 echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.$ac_ext >&5
39558 wx_cv_type_statvfs_t="unknown"
39562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39577 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39579 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_STATVFS 1
39586 wx_cv_type_statvfs_t="unknown"
39590 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39591 cat >>confdefs.h <<_ACEOF
39592 #define WX_STATFS_T $wx_cv_type_statvfs_t
39596 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39597 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39600 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39603 for ac_func in fcntl flock
39605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39611 cat >conftest.$ac_ext <<_ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39619 #define $ac_func innocuous_$ac_func
39621 /* System header to define __stub macros and hopefully few prototypes,
39622 which can conflict with char $ac_func (); below.
39623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624 <limits.h> exists even on freestanding compilers. */
39627 # include <limits.h>
39629 # include <assert.h>
39634 /* Override any GCC internal prototype to avoid an error.
39635 Use char because int might match the return type of a GCC
39636 builtin and then its argument prototype would still apply. */
39641 /* The GNU C library defines this for functions which it implements
39642 to always fail with ENOSYS. Some functions are actually named
39643 something starting with __ and the normal name is an alias. */
39644 #if defined __stub_$ac_func || defined __stub___$ac_func
39651 return $ac_func ();
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (ac_try="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39660 *) ac_try_echo
=$ac_try;;
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39665 grep -v '^ *+' conftest.er1
>conftest.err
39667 cat conftest.err
>&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest
$ac_exeext &&
39673 $as_test_x conftest
$ac_exeext; then
39674 eval "$as_ac_var=yes"
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.
$ac_ext >&5
39679 eval "$as_ac_var=no"
39682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39683 conftest
$ac_exeext conftest.
$ac_ext
39685 ac_res
=`eval echo '${'$as_ac_var'}'`
39686 { echo "$as_me:$LINENO: result: $ac_res" >&5
39687 echo "${ECHO_T}$ac_res" >&6; }
39688 if test `eval echo '${'$as_ac_var'}'` = yes; then
39689 cat >>confdefs.h
<<_ACEOF
39690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39697 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39698 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39699 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39700 wxUSE_SNGLINST_CHECKER
=no
39705 for ac_func
in timegm
39707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39710 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 cat >conftest.
$ac_ext <<_ACEOF
39716 cat confdefs.h
>>conftest.
$ac_ext
39717 cat >>conftest.
$ac_ext <<_ACEOF
39718 /* end confdefs.h. */
39719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39721 #define $ac_func innocuous_$ac_func
39723 /* System header to define __stub macros and hopefully few prototypes,
39724 which can conflict with char $ac_func (); below.
39725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39726 <limits.h> exists even on freestanding compilers. */
39729 # include <limits.h>
39731 # include <assert.h>
39736 /* Override any GCC internal prototype to avoid an error.
39737 Use char because int might match the return type of a GCC
39738 builtin and then its argument prototype would still apply. */
39743 /* The GNU C library defines this for functions which it implements
39744 to always fail with ENOSYS. Some functions are actually named
39745 something starting with __ and the normal name is an alias. */
39746 #if defined __stub_$ac_func || defined __stub___$ac_func
39753 return $ac_func ();
39758 rm -f conftest.
$ac_objext conftest
$ac_exeext
39759 if { (ac_try
="$ac_link"
39760 case "(($ac_try" in
39761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_link") 2>conftest.er1
39767 grep -v '^ *+' conftest.er1 >conftest.err
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest$ac_exeext &&
39775 $as_test_x conftest$ac_exeext; then
39776 eval "$as_ac_var=yes"
39778 echo "$as_me: failed program was:" >&5
39779 sed 's/^/| /' conftest.$ac_ext >&5
39781 eval "$as_ac_var=no"
39784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39785 conftest$ac_exeext conftest.$ac_ext
39787 ac_res=`eval echo '${'$as_ac_var'}'`
39788 { echo "$as_me:$LINENO: result: $ac_res" >&5
39789 echo "${ECHO_T}$ac_res" >&6; }
39790 if test `eval echo '${'$as_ac_var'}'` = yes; then
39791 cat >>confdefs.h <<_ACEOF
39792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39801 for ac_func in setenv putenv
39803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39809 cat >conftest.$ac_ext <<_ACEOF
39812 cat confdefs.h >>conftest.$ac_ext
39813 cat >>conftest.$ac_ext <<_ACEOF
39814 /* end confdefs.h. */
39815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39817 #define $ac_func innocuous_$ac_func
39819 /* System header to define __stub macros and hopefully few prototypes,
39820 which can conflict with char $ac_func (); below.
39821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39822 <limits.h> exists even on freestanding compilers. */
39825 # include <limits.h>
39827 # include <assert.h>
39832 /* Override any GCC internal prototype to avoid an error.
39833 Use char because int might match the return type of a GCC
39834 builtin and then its argument prototype would still apply. */
39839 /* The GNU C library defines this for functions which it implements
39840 to always fail with ENOSYS. Some functions are actually named
39841 something starting with __ and the normal name is an alias. */
39842 #if defined __stub_$ac_func || defined __stub___$ac_func
39849 return $ac_func ();
39854 rm -f conftest.$ac_objext conftest$ac_exeext
39855 if { (ac_try="$ac_link"
39856 case "(($ac_try" in
39857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39858 *) ac_try_echo
=$ac_try;;
39860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39861 (eval "$ac_link") 2>conftest.er1
39863 grep -v '^ *+' conftest.er1
>conftest.err
39865 cat conftest.err
>&5
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); } && {
39868 test -z "$ac_c_werror_flag" ||
39869 test ! -s conftest.err
39870 } && test -s conftest
$ac_exeext &&
39871 $as_test_x conftest
$ac_exeext; then
39872 eval "$as_ac_var=yes"
39874 echo "$as_me: failed program was:" >&5
39875 sed 's/^/| /' conftest.
$ac_ext >&5
39877 eval "$as_ac_var=no"
39880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39881 conftest
$ac_exeext conftest.
$ac_ext
39883 ac_res
=`eval echo '${'$as_ac_var'}'`
39884 { echo "$as_me:$LINENO: result: $ac_res" >&5
39885 echo "${ECHO_T}$ac_res" >&6; }
39886 if test `eval echo '${'$as_ac_var'}'` = yes; then
39887 cat >>confdefs.h
<<_ACEOF
39888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39895 HAVE_SOME_SLEEP_FUNC
=0
39896 if test "$USE_BEOS" = 1; then
39897 cat >>confdefs.h
<<\_ACEOF
39898 #define HAVE_SLEEP 1
39901 HAVE_SOME_SLEEP_FUNC
=1
39904 if test "$USE_DARWIN" = 1; then
39905 cat >>confdefs.h
<<\_ACEOF
39906 #define HAVE_USLEEP 1
39909 HAVE_SOME_SLEEP_FUNC
=1
39912 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39915 for ac_func
in nanosleep
39917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39920 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 cat >conftest.
$ac_ext <<_ACEOF
39926 cat confdefs.h
>>conftest.
$ac_ext
39927 cat >>conftest.
$ac_ext <<_ACEOF
39928 /* end confdefs.h. */
39929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39931 #define $ac_func innocuous_$ac_func
39933 /* System header to define __stub macros and hopefully few prototypes,
39934 which can conflict with char $ac_func (); below.
39935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39936 <limits.h> exists even on freestanding compilers. */
39939 # include <limits.h>
39941 # include <assert.h>
39946 /* Override any GCC internal prototype to avoid an error.
39947 Use char because int might match the return type of a GCC
39948 builtin and then its argument prototype would still apply. */
39953 /* The GNU C library defines this for functions which it implements
39954 to always fail with ENOSYS. Some functions are actually named
39955 something starting with __ and the normal name is an alias. */
39956 #if defined __stub_$ac_func || defined __stub___$ac_func
39963 return $ac_func ();
39968 rm -f conftest.
$ac_objext conftest
$ac_exeext
39969 if { (ac_try
="$ac_link"
39970 case "(($ac_try" in
39971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39972 *) ac_try_echo=$ac_try;;
39974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39975 (eval "$ac_link") 2>conftest.er1
39977 grep -v '^ *+' conftest.er1 >conftest.err
39979 cat conftest.err >&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); } && {
39982 test -z "$ac_c_werror_flag" ||
39983 test ! -s conftest.err
39984 } && test -s conftest$ac_exeext &&
39985 $as_test_x conftest$ac_exeext; then
39986 eval "$as_ac_var=yes"
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.$ac_ext >&5
39991 eval "$as_ac_var=no"
39994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39995 conftest$ac_exeext conftest.$ac_ext
39997 ac_res=`eval echo '${'$as_ac_var'}'`
39998 { echo "$as_me:$LINENO: result: $ac_res" >&5
39999 echo "${ECHO_T}$ac_res" >&6; }
40000 if test `eval echo '${'$as_ac_var'}'` = yes; then
40001 cat >>confdefs.h <<_ACEOF
40002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40004 cat >>confdefs.h <<\_ACEOF
40005 #define HAVE_NANOSLEEP 1
40010 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40011 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40012 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40015 ac_check_lib_save_LIBS=$LIBS
40016 LIBS="-lposix4 $LIBS"
40017 cat >conftest.$ac_ext <<_ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40024 /* Override any GCC internal prototype to avoid an error.
40025 Use char because int might match the return type of a GCC
40026 builtin and then its argument prototype would still apply. */
40034 return nanosleep ();
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40043 *) ac_try_echo
=$ac_try;;
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40048 grep -v '^ *+' conftest.er1
>conftest.err
40050 cat conftest.err
>&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest
$ac_exeext &&
40056 $as_test_x conftest
$ac_exeext; then
40057 ac_cv_lib_posix4_nanosleep
=yes
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.
$ac_ext >&5
40062 ac_cv_lib_posix4_nanosleep
=no
40065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40066 conftest
$ac_exeext conftest.
$ac_ext
40067 LIBS
=$ac_check_lib_save_LIBS
40069 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40070 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40071 if test $ac_cv_lib_posix4_nanosleep = yes; then
40073 cat >>confdefs.h
<<\_ACEOF
40074 #define HAVE_NANOSLEEP 1
40077 POSIX4_LINK
=" -lposix4"
40082 for wx_func
in usleep
40084 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40085 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40086 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40087 echo $ECHO_N "(cached) $ECHO_C" >&6
40090 cat >conftest.
$ac_ext <<_ACEOF
40094 cat confdefs.h
>>conftest.
$ac_ext
40095 cat >>conftest.
$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40099 $ac_includes_default
40115 rm -f conftest.
$ac_objext conftest
$ac_exeext
40116 if { (ac_try
="$ac_link"
40117 case "(($ac_try" in
40118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40119 *) ac_try_echo=$ac_try;;
40121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40122 (eval "$ac_link") 2>conftest.er1
40124 grep -v '^ *+' conftest.er1 >conftest.err
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } && {
40129 test -z "$ac_c_werror_flag" ||
40130 test ! -s conftest.err
40131 } && test -s conftest$ac_exeext &&
40132 $as_test_x conftest$ac_exeext; then
40133 eval wx_cv_func_$wx_func=yes
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40138 eval wx_cv_func_$wx_func=no
40141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40142 conftest$ac_exeext conftest.$ac_ext
40145 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40146 { echo "$as_me:$LINENO: result: $ac_res" >&5
40147 echo "${ECHO_T}$ac_res" >&6; }
40149 if eval test \$wx_cv_func_$wx_func = yes
40151 cat >>confdefs.h <<_ACEOF
40152 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40158 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40159 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40176 for wx_func in uname
40178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 cat >conftest.$ac_ext <<_ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h. */
40192 #include <sys/utsname.h>
40193 $ac_includes_default
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40213 *) ac_try_echo
=$ac_try;;
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216 (eval "$ac_link") 2>conftest.er1
40218 grep -v '^ *+' conftest.er1
>conftest.err
40220 cat conftest.err
>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } && {
40223 test -z "$ac_c_werror_flag" ||
40224 test ! -s conftest.err
40225 } && test -s conftest
$ac_exeext &&
40226 $as_test_x conftest
$ac_exeext; then
40227 eval wx_cv_func_
$wx_func=yes
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.
$ac_ext >&5
40232 eval wx_cv_func_
$wx_func=no
40235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40236 conftest
$ac_exeext conftest.
$ac_ext
40239 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40240 { echo "$as_me:$LINENO: result: $ac_res" >&5
40241 echo "${ECHO_T}$ac_res" >&6; }
40243 if eval test \
$wx_cv_func_$wx_func = yes
40245 cat >>confdefs.h
<<_ACEOF
40246 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40256 if test "$wx_cv_func_uname" != yes; then
40258 for wx_func
in gethostname
40260 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40261 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40262 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40263 echo $ECHO_N "(cached) $ECHO_C" >&6
40266 cat >conftest.
$ac_ext <<_ACEOF
40270 cat confdefs.h
>>conftest.
$ac_ext
40271 cat >>conftest.
$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40275 $ac_includes_default
40291 rm -f conftest.
$ac_objext conftest
$ac_exeext
40292 if { (ac_try
="$ac_link"
40293 case "(($ac_try" in
40294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40295 *) ac_try_echo=$ac_try;;
40297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40298 (eval "$ac_link") 2>conftest.er1
40300 grep -v '^ *+' conftest.er1 >conftest.err
40302 cat conftest.err >&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); } && {
40305 test -z "$ac_c_werror_flag" ||
40306 test ! -s conftest.err
40307 } && test -s conftest$ac_exeext &&
40308 $as_test_x conftest$ac_exeext; then
40309 eval wx_cv_func_$wx_func=yes
40311 echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40314 eval wx_cv_func_$wx_func=no
40317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40318 conftest$ac_exeext conftest.$ac_ext
40321 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40322 { echo "$as_me:$LINENO: result: $ac_res" >&5
40323 echo "${ECHO_T}$ac_res" >&6; }
40325 if eval test \$wx_cv_func_$wx_func = yes
40327 cat >>confdefs.h <<_ACEOF
40328 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40341 for wx_func in strtok_r
40343 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40344 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40345 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40346 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 cat >conftest.$ac_ext <<_ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40358 $ac_includes_default
40374 rm -f conftest.$ac_objext conftest$ac_exeext
40375 if { (ac_try="$ac_link"
40376 case "(($ac_try" in
40377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40378 *) ac_try_echo
=$ac_try;;
40380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40381 (eval "$ac_link") 2>conftest.er1
40383 grep -v '^ *+' conftest.er1
>conftest.err
40385 cat conftest.err
>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); } && {
40388 test -z "$ac_c_werror_flag" ||
40389 test ! -s conftest.err
40390 } && test -s conftest
$ac_exeext &&
40391 $as_test_x conftest
$ac_exeext; then
40392 eval wx_cv_func_
$wx_func=yes
40394 echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.
$ac_ext >&5
40397 eval wx_cv_func_
$wx_func=no
40400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40401 conftest
$ac_exeext conftest.
$ac_ext
40404 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40405 { echo "$as_me:$LINENO: result: $ac_res" >&5
40406 echo "${ECHO_T}$ac_res" >&6; }
40408 if eval test \
$wx_cv_func_$wx_func = yes
40410 cat >>confdefs.h
<<_ACEOF
40411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40424 for ac_func
in inet_addr
40426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40429 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40440 #define $ac_func innocuous_$ac_func
40442 /* System header to define __stub macros and hopefully few prototypes,
40443 which can conflict with char $ac_func (); below.
40444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40445 <limits.h> exists even on freestanding compilers. */
40448 # include <limits.h>
40450 # include <assert.h>
40455 /* Override any GCC internal prototype to avoid an error.
40456 Use char because int might match the return type of a GCC
40457 builtin and then its argument prototype would still apply. */
40462 /* The GNU C library defines this for functions which it implements
40463 to always fail with ENOSYS. Some functions are actually named
40464 something starting with __ and the normal name is an alias. */
40465 #if defined __stub_$ac_func || defined __stub___$ac_func
40472 return $ac_func ();
40477 rm -f conftest.
$ac_objext conftest
$ac_exeext
40478 if { (ac_try
="$ac_link"
40479 case "(($ac_try" in
40480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40481 *) ac_try_echo=$ac_try;;
40483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40484 (eval "$ac_link") 2>conftest.er1
40486 grep -v '^ *+' conftest.er1 >conftest.err
40488 cat conftest.err >&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } && {
40491 test -z "$ac_c_werror_flag" ||
40492 test ! -s conftest.err
40493 } && test -s conftest$ac_exeext &&
40494 $as_test_x conftest$ac_exeext; then
40495 eval "$as_ac_var=yes"
40497 echo "$as_me: failed program was:" >&5
40498 sed 's/^/| /' conftest.$ac_ext >&5
40500 eval "$as_ac_var=no"
40503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40504 conftest$ac_exeext conftest.$ac_ext
40506 ac_res=`eval echo '${'$as_ac_var'}'`
40507 { echo "$as_me:$LINENO: result: $ac_res" >&5
40508 echo "${ECHO_T}$ac_res" >&6; }
40509 if test `eval echo '${'$as_ac_var'}'` = yes; then
40510 cat >>confdefs.h <<_ACEOF
40511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40513 cat >>confdefs.h <<\_ACEOF
40514 #define HAVE_INET_ADDR 1
40519 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40520 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40521 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40524 ac_check_lib_save_LIBS=$LIBS
40526 cat >conftest.$ac_ext <<_ACEOF
40529 cat confdefs.h >>conftest.$ac_ext
40530 cat >>conftest.$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40533 /* Override any GCC internal prototype to avoid an error.
40534 Use char because int might match the return type of a GCC
40535 builtin and then its argument prototype would still apply. */
40543 return inet_addr ();
40548 rm -f conftest.$ac_objext conftest$ac_exeext
40549 if { (ac_try="$ac_link"
40550 case "(($ac_try" in
40551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40552 *) ac_try_echo
=$ac_try;;
40554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40555 (eval "$ac_link") 2>conftest.er1
40557 grep -v '^ *+' conftest.er1
>conftest.err
40559 cat conftest.err
>&5
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); } && {
40562 test -z "$ac_c_werror_flag" ||
40563 test ! -s conftest.err
40564 } && test -s conftest
$ac_exeext &&
40565 $as_test_x conftest
$ac_exeext; then
40566 ac_cv_lib_nsl_inet_addr
=yes
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.
$ac_ext >&5
40571 ac_cv_lib_nsl_inet_addr
=no
40574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40575 conftest
$ac_exeext conftest.
$ac_ext
40576 LIBS
=$ac_check_lib_save_LIBS
40578 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40580 if test $ac_cv_lib_nsl_inet_addr = yes; then
40584 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40587 echo $ECHO_N "(cached) $ECHO_C" >&6
40589 ac_check_lib_save_LIBS
=$LIBS
40590 LIBS
="-lresolv $LIBS"
40591 cat >conftest.
$ac_ext <<_ACEOF
40594 cat confdefs.h
>>conftest.
$ac_ext
40595 cat >>conftest.
$ac_ext <<_ACEOF
40596 /* end confdefs.h. */
40598 /* Override any GCC internal prototype to avoid an error.
40599 Use char because int might match the return type of a GCC
40600 builtin and then its argument prototype would still apply. */
40608 return inet_addr ();
40613 rm -f conftest.
$ac_objext conftest
$ac_exeext
40614 if { (ac_try
="$ac_link"
40615 case "(($ac_try" in
40616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40617 *) ac_try_echo=$ac_try;;
40619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40620 (eval "$ac_link") 2>conftest.er1
40622 grep -v '^ *+' conftest.er1 >conftest.err
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } && {
40627 test -z "$ac_c_werror_flag" ||
40628 test ! -s conftest.err
40629 } && test -s conftest$ac_exeext &&
40630 $as_test_x conftest$ac_exeext; then
40631 ac_cv_lib_resolv_inet_addr=yes
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40636 ac_cv_lib_resolv_inet_addr=no
40639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40640 conftest$ac_exeext conftest.$ac_ext
40641 LIBS=$ac_check_lib_save_LIBS
40643 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40644 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40645 if test $ac_cv_lib_resolv_inet_addr = yes; then
40649 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40650 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40651 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40654 ac_check_lib_save_LIBS=$LIBS
40655 LIBS="-lsocket $LIBS"
40656 cat >conftest.$ac_ext <<_ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40663 /* Override any GCC internal prototype to avoid an error.
40664 Use char because int might match the return type of a GCC
40665 builtin and then its argument prototype would still apply. */
40673 return inet_addr ();
40678 rm -f conftest.$ac_objext conftest$ac_exeext
40679 if { (ac_try="$ac_link"
40680 case "(($ac_try" in
40681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40682 *) ac_try_echo
=$ac_try;;
40684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40685 (eval "$ac_link") 2>conftest.er1
40687 grep -v '^ *+' conftest.er1
>conftest.err
40689 cat conftest.err
>&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } && {
40692 test -z "$ac_c_werror_flag" ||
40693 test ! -s conftest.err
40694 } && test -s conftest
$ac_exeext &&
40695 $as_test_x conftest
$ac_exeext; then
40696 ac_cv_lib_socket_inet_addr
=yes
40698 echo "$as_me: failed program was:" >&5
40699 sed 's/^/| /' conftest.
$ac_ext >&5
40701 ac_cv_lib_socket_inet_addr
=no
40704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40705 conftest
$ac_exeext conftest.
$ac_ext
40706 LIBS
=$ac_check_lib_save_LIBS
40708 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40709 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40710 if test $ac_cv_lib_socket_inet_addr = yes; then
40730 for ac_func
in inet_aton
40732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40735 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40736 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 cat >conftest.
$ac_ext <<_ACEOF
40741 cat confdefs.h
>>conftest.
$ac_ext
40742 cat >>conftest.
$ac_ext <<_ACEOF
40743 /* end confdefs.h. */
40744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40746 #define $ac_func innocuous_$ac_func
40748 /* System header to define __stub macros and hopefully few prototypes,
40749 which can conflict with char $ac_func (); below.
40750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40751 <limits.h> exists even on freestanding compilers. */
40754 # include <limits.h>
40756 # include <assert.h>
40761 /* Override any GCC internal prototype to avoid an error.
40762 Use char because int might match the return type of a GCC
40763 builtin and then its argument prototype would still apply. */
40768 /* The GNU C library defines this for functions which it implements
40769 to always fail with ENOSYS. Some functions are actually named
40770 something starting with __ and the normal name is an alias. */
40771 #if defined __stub_$ac_func || defined __stub___$ac_func
40778 return $ac_func ();
40783 rm -f conftest.
$ac_objext conftest
$ac_exeext
40784 if { (ac_try
="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40792 grep -v '^ *+' conftest.er1 >conftest.err
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 eval "$as_ac_var=yes"
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40806 eval "$as_ac_var=no"
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40812 ac_res=`eval echo '${'$as_ac_var'}'`
40813 { echo "$as_me:$LINENO: result: $ac_res" >&5
40814 echo "${ECHO_T}$ac_res" >&6; }
40815 if test `eval echo '${'$as_ac_var'}'` = yes; then
40816 cat >>confdefs.h <<_ACEOF
40817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40819 cat >>confdefs.h <<\_ACEOF
40820 #define HAVE_INET_ATON 1
40825 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40826 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40827 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40828 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40829 echo $ECHO_N "(cached) $ECHO_C" >&6
40831 ac_check_lib_save_LIBS=$LIBS
40832 LIBS="-l$INET_LINK $LIBS"
40833 cat >conftest.$ac_ext <<_ACEOF
40836 cat confdefs.h >>conftest.$ac_ext
40837 cat >>conftest.$ac_ext <<_ACEOF
40838 /* end confdefs.h. */
40840 /* Override any GCC internal prototype to avoid an error.
40841 Use char because int might match the return type of a GCC
40842 builtin and then its argument prototype would still apply. */
40850 return inet_aton ();
40855 rm -f conftest.$ac_objext conftest$ac_exeext
40856 if { (ac_try="$ac_link"
40857 case "(($ac_try" in
40858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40859 *) ac_try_echo
=$ac_try;;
40861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40862 (eval "$ac_link") 2>conftest.er1
40864 grep -v '^ *+' conftest.er1
>conftest.err
40866 cat conftest.err
>&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } && {
40869 test -z "$ac_c_werror_flag" ||
40870 test ! -s conftest.err
40871 } && test -s conftest
$ac_exeext &&
40872 $as_test_x conftest
$ac_exeext; then
40873 eval "$as_ac_Lib=yes"
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.
$ac_ext >&5
40878 eval "$as_ac_Lib=no"
40881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40882 conftest
$ac_exeext conftest.
$ac_ext
40883 LIBS
=$ac_check_lib_save_LIBS
40885 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40886 { echo "$as_me:$LINENO: result: $ac_res" >&5
40887 echo "${ECHO_T}$ac_res" >&6; }
40888 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40889 cat >>confdefs.h
<<\_ACEOF
40890 #define HAVE_INET_ATON 1
40900 if test "x$INET_LINK" != "x"; then
40901 cat >>confdefs.h
<<\_ACEOF
40902 #define HAVE_INET_ADDR 1
40905 INET_LINK
=" -l$INET_LINK"
40909 for wx_func
in fdopen
40911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40913 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40914 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 cat >conftest.
$ac_ext <<_ACEOF
40921 cat confdefs.h
>>conftest.
$ac_ext
40922 cat >>conftest.
$ac_ext <<_ACEOF
40923 /* end confdefs.h. */
40926 $ac_includes_default
40942 rm -f conftest.
$ac_objext conftest
$ac_exeext
40943 if { (ac_try
="$ac_link"
40944 case "(($ac_try" in
40945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40946 *) ac_try_echo=$ac_try;;
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_link") 2>conftest.er1
40951 grep -v '^ *+' conftest.er1 >conftest.err
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest$ac_exeext &&
40959 $as_test_x conftest$ac_exeext; then
40960 eval wx_cv_func_$wx_func=yes
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40965 eval wx_cv_func_$wx_func=no
40968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40969 conftest$ac_exeext conftest.$ac_ext
40972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40973 { echo "$as_me:$LINENO: result: $ac_res" >&5
40974 echo "${ECHO_T}$ac_res" >&6; }
40976 if eval test \$wx_cv_func_$wx_func = yes
40978 cat >>confdefs.h <<_ACEOF
40979 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40994 cat >confcache <<\_ACEOF
40995 # This file is a shell script that caches the results of configure
40996 # tests run on this system so they can be shared between configure
40997 # scripts and configure runs, see configure's option --config-cache.
40998 # It is not useful on other systems. If it contains results you don't
40999 # want to keep, you may remove or edit it.
41001 # config.status only pays attention to the cache file if you give it
41002 # the --recheck option to rerun configure.
41004 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41006 # following values.
41010 # The following way of writing the cache mishandles newlines in values,
41011 # but we know of no workaround that is simple, portable, and efficient.
41012 # So, we kill variables containing newlines.
41013 # Ultrix sh set writes to stderr and can't be redirected directly,
41014 # and sets the high bit in the cache file unless we assign to the vars.
41016 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41017 eval ac_val
=\$
$ac_var
41021 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41025 _
| IFS
| as_nl
) ;; #(
41026 *) $as_unset $ac_var ;;
41032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41033 *${as_nl}ac_space
=\
*)
41034 # `set' does not quote correctly, so add quotes (double-quote
41035 # substitution turns \\\\ into \\, and sed turns \\ into \).
41038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41041 # `set' quotes correctly as required by POSIX, so do not add quotes.
41042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41055 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41056 if test -w "$cache_file"; then
41057 test "x$cache_file" != "x/dev/null" &&
41058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41059 echo "$as_me: updating cache $cache_file" >&6;}
41060 cat confcache
>$cache_file
41062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41069 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41075 if test "$wxUSE_THREADS" = "yes" ; then
41076 if test "$USE_BEOS" = 1; then
41077 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41078 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41083 if test "$wxUSE_THREADS" = "yes" ; then
41086 THREAD_OPTS
="-pthread"
41087 if test "x$SUNCXX" = xyes
; then
41088 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41092 *-*-solaris2* | *-*-sunos4* )
41093 if test "x$GCC" = "xyes"; then
41094 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41098 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41100 *-*-darwin* | *-*-cygwin* )
41104 THREAD_OPTS
="pthreads"
41107 if test "x$GCC" = "xyes"; then
41108 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41116 if test "x$GCC" = "xyes"; then
41122 if test "x$GCC" != "xyes"; then
41123 THREAD_OPTS
="-Ethread"
41128 THREAD_OPTS
="$THREAD_OPTS pthread none"
41131 for flag
in $THREAD_OPTS; do
41134 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41135 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41139 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41140 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41141 THREADS_CFLAGS
="$flag"
41145 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41146 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41147 THREADS_LINK
="-l$flag"
41152 save_CFLAGS
="$CFLAGS"
41153 LIBS
="$THREADS_LINK $LIBS"
41154 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41156 cat >conftest.
$ac_ext <<_ACEOF
41159 cat confdefs.h
>>conftest.
$ac_ext
41160 cat >>conftest.
$ac_ext <<_ACEOF
41161 /* end confdefs.h. */
41162 #include <pthread.h>
41166 pthread_create(0,0,0,0);
41171 rm -f conftest.
$ac_objext conftest
$ac_exeext
41172 if { (ac_try
="$ac_link"
41173 case "(($ac_try" in
41174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41175 *) ac_try_echo=$ac_try;;
41177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41178 (eval "$ac_link") 2>conftest.er1
41180 grep -v '^ *+' conftest.er1 >conftest.err
41182 cat conftest.err >&5
41183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41184 (exit $ac_status); } && {
41185 test -z "$ac_c_werror_flag" ||
41186 test ! -s conftest.err
41187 } && test -s conftest$ac_exeext &&
41188 $as_test_x conftest$ac_exeext; then
41191 echo "$as_me: failed program was:" >&5
41192 sed 's/^/| /' conftest.$ac_ext >&5
41197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41198 conftest$ac_exeext conftest.$ac_ext
41201 CFLAGS="$save_CFLAGS"
41203 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41204 echo "${ECHO_T}$THREADS_OK" >&6; }
41205 if test "x$THREADS_OK" = "xyes"; then
41213 if test "x$THREADS_OK" != "xyes"; then
41215 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41216 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41218 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41219 LIBS="$THREADS_LINK $LIBS"
41221 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41222 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41226 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41227 flag="-D_THREAD_SAFE"
41230 flag="-D_THREAD_SAFE"
41233 flag="-D_REENTRANT"
41234 if test "x$GCC" != "xyes"; then
41235 flag="$flag -D_RWSTD_MULTI_THREAD"
41238 *solaris* | alpha*-osf*)
41239 flag="-D_REENTRANT"
41242 { echo "$as_me:$LINENO: result: ${flag}" >&5
41243 echo "${ECHO_T}${flag}" >&6; }
41244 if test "x$flag" != xno; then
41245 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41248 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41252 if test "$wxUSE_THREADS" = "yes" ; then
41254 for ac_func in thr_setconcurrency
41256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41260 echo $ECHO_N "(cached) $ECHO_C" >&6
41262 cat >conftest.$ac_ext <<_ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h. */
41268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41270 #define $ac_func innocuous_$ac_func
41272 /* System header to define __stub macros and hopefully few prototypes,
41273 which can conflict with char $ac_func (); below.
41274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41275 <limits.h> exists even on freestanding compilers. */
41278 # include <limits.h>
41280 # include <assert.h>
41285 /* Override any GCC internal prototype to avoid an error.
41286 Use char because int might match the return type of a GCC
41287 builtin and then its argument prototype would still apply. */
41292 /* The GNU C library defines this for functions which it implements
41293 to always fail with ENOSYS. Some functions are actually named
41294 something starting with __ and the normal name is an alias. */
41295 #if defined __stub_$ac_func || defined __stub___$ac_func
41302 return $ac_func ();
41307 rm -f conftest.$ac_objext conftest$ac_exeext
41308 if { (ac_try="$ac_link"
41309 case "(($ac_try" in
41310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41311 *) ac_try_echo
=$ac_try;;
41313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41314 (eval "$ac_link") 2>conftest.er1
41316 grep -v '^ *+' conftest.er1
>conftest.err
41318 cat conftest.err
>&5
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); } && {
41321 test -z "$ac_c_werror_flag" ||
41322 test ! -s conftest.err
41323 } && test -s conftest
$ac_exeext &&
41324 $as_test_x conftest
$ac_exeext; then
41325 eval "$as_ac_var=yes"
41327 echo "$as_me: failed program was:" >&5
41328 sed 's/^/| /' conftest.
$ac_ext >&5
41330 eval "$as_ac_var=no"
41333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41334 conftest
$ac_exeext conftest.
$ac_ext
41336 ac_res
=`eval echo '${'$as_ac_var'}'`
41337 { echo "$as_me:$LINENO: result: $ac_res" >&5
41338 echo "${ECHO_T}$ac_res" >&6; }
41339 if test `eval echo '${'$as_ac_var'}'` = yes; then
41340 cat >>confdefs.h
<<_ACEOF
41341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41348 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41349 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41350 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41351 echo $ECHO_N "(cached) $ECHO_C" >&6
41355 ac_cpp
='$CXXCPP $CPPFLAGS'
41356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41360 cat >conftest.
$ac_ext <<_ACEOF
41363 cat confdefs.h
>>conftest.
$ac_ext
41364 cat >>conftest.
$ac_ext <<_ACEOF
41365 /* end confdefs.h. */
41366 #include <pthread.h>
41367 void ThreadCleanupFunc(void *p);
41374 pthread_cleanup_push(ThreadCleanupFunc, p);
41375 pthread_cleanup_pop(0);
41381 rm -f conftest.
$ac_objext
41382 if { (ac_try
="$ac_compile"
41383 case "(($ac_try" in
41384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41385 *) ac_try_echo=$ac_try;;
41387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41388 (eval "$ac_compile") 2>conftest.er1
41390 grep -v '^ *+' conftest.er1 >conftest.err
41392 cat conftest.err >&5
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); } && {
41395 test -z "$ac_cxx_werror_flag" ||
41396 test ! -s conftest.err
41397 } && test -s conftest.$ac_objext; then
41399 wx_cv_func_pthread_cleanup=yes
41402 echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41406 wx_cv_func_pthread_cleanup=no
41411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41420 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41421 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41422 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41423 cat >>confdefs.h <<\_ACEOF
41424 #define wxHAVE_PTHREAD_CLEANUP 1
41430 for ac_header in sched.h
41432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41436 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 cat >conftest.$ac_ext <<_ACEOF
41441 cat confdefs.h >>conftest.$ac_ext
41442 cat >>conftest.$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41444 $ac_includes_default
41446 #include <$ac_header>
41448 rm -f conftest.$ac_objext
41449 if { (ac_try="$ac_compile"
41450 case "(($ac_try" in
41451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41452 *) ac_try_echo
=$ac_try;;
41454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41455 (eval "$ac_compile") 2>conftest.er1
41457 grep -v '^ *+' conftest.er1
>conftest.err
41459 cat conftest.err
>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } && {
41462 test -z "$ac_c_werror_flag" ||
41463 test ! -s conftest.err
41464 } && test -s conftest.
$ac_objext; then
41465 eval "$as_ac_Header=yes"
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.
$ac_ext >&5
41470 eval "$as_ac_Header=no"
41473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41475 ac_res
=`eval echo '${'$as_ac_Header'}'`
41476 { echo "$as_me:$LINENO: result: $ac_res" >&5
41477 echo "${ECHO_T}$ac_res" >&6; }
41478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41479 cat >>confdefs.h
<<_ACEOF
41480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41487 if test "$ac_cv_header_sched_h" = "yes"; then
41488 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41489 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41490 if test "${ac_cv_func_sched_yield+set}" = set; then
41491 echo $ECHO_N "(cached) $ECHO_C" >&6
41493 cat >conftest.
$ac_ext <<_ACEOF
41496 cat confdefs.h
>>conftest.
$ac_ext
41497 cat >>conftest.
$ac_ext <<_ACEOF
41498 /* end confdefs.h. */
41499 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41501 #define sched_yield innocuous_sched_yield
41503 /* System header to define __stub macros and hopefully few prototypes,
41504 which can conflict with char sched_yield (); below.
41505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41506 <limits.h> exists even on freestanding compilers. */
41509 # include <limits.h>
41511 # include <assert.h>
41516 /* Override any GCC internal prototype to avoid an error.
41517 Use char because int might match the return type of a GCC
41518 builtin and then its argument prototype would still apply. */
41522 char sched_yield ();
41523 /* The GNU C library defines this for functions which it implements
41524 to always fail with ENOSYS. Some functions are actually named
41525 something starting with __ and the normal name is an alias. */
41526 #if defined __stub_sched_yield || defined __stub___sched_yield
41533 return sched_yield ();
41538 rm -f conftest.
$ac_objext conftest
$ac_exeext
41539 if { (ac_try
="$ac_link"
41540 case "(($ac_try" in
41541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41542 *) ac_try_echo=$ac_try;;
41544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41545 (eval "$ac_link") 2>conftest.er1
41547 grep -v '^ *+' conftest.er1 >conftest.err
41549 cat conftest.err >&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } && {
41552 test -z "$ac_c_werror_flag" ||
41553 test ! -s conftest.err
41554 } && test -s conftest$ac_exeext &&
41555 $as_test_x conftest$ac_exeext; then
41556 ac_cv_func_sched_yield=yes
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41561 ac_cv_func_sched_yield=no
41564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41565 conftest$ac_exeext conftest.$ac_ext
41567 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41568 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41569 if test $ac_cv_func_sched_yield = yes; then
41570 cat >>confdefs.h <<\_ACEOF
41571 #define HAVE_SCHED_YIELD 1
41576 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41577 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41578 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41579 echo $ECHO_N "(cached) $ECHO_C" >&6
41581 ac_check_lib_save_LIBS=$LIBS
41582 LIBS="-lposix4 $LIBS"
41583 cat >conftest.$ac_ext <<_ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41590 /* Override any GCC internal prototype to avoid an error.
41591 Use char because int might match the return type of a GCC
41592 builtin and then its argument prototype would still apply. */
41596 char sched_yield ();
41600 return sched_yield ();
41605 rm -f conftest.$ac_objext conftest$ac_exeext
41606 if { (ac_try="$ac_link"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41609 *) ac_try_echo
=$ac_try;;
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_link") 2>conftest.er1
41614 grep -v '^ *+' conftest.er1
>conftest.err
41616 cat conftest.err
>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest
$ac_exeext &&
41622 $as_test_x conftest
$ac_exeext; then
41623 ac_cv_lib_posix4_sched_yield
=yes
41625 echo "$as_me: failed program was:" >&5
41626 sed 's/^/| /' conftest.
$ac_ext >&5
41628 ac_cv_lib_posix4_sched_yield
=no
41631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41632 conftest
$ac_exeext conftest.
$ac_ext
41633 LIBS
=$ac_check_lib_save_LIBS
41635 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41636 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41637 if test $ac_cv_lib_posix4_sched_yield = yes; then
41638 cat >>confdefs.h
<<\_ACEOF
41639 #define HAVE_SCHED_YIELD 1
41641 POSIX4_LINK
=" -lposix4"
41643 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41644 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41655 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41656 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41657 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41658 echo $ECHO_N "(cached) $ECHO_C" >&6
41660 cat >conftest.
$ac_ext <<_ACEOF
41663 cat confdefs.h
>>conftest.
$ac_ext
41664 cat >>conftest.
$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41666 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41668 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41670 /* System header to define __stub macros and hopefully few prototypes,
41671 which can conflict with char pthread_attr_getschedpolicy (); below.
41672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41673 <limits.h> exists even on freestanding compilers. */
41676 # include <limits.h>
41678 # include <assert.h>
41681 #undef pthread_attr_getschedpolicy
41683 /* Override any GCC internal prototype to avoid an error.
41684 Use char because int might match the return type of a GCC
41685 builtin and then its argument prototype would still apply. */
41689 char pthread_attr_getschedpolicy ();
41690 /* The GNU C library defines this for functions which it implements
41691 to always fail with ENOSYS. Some functions are actually named
41692 something starting with __ and the normal name is an alias. */
41693 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41700 return pthread_attr_getschedpolicy ();
41705 rm -f conftest.
$ac_objext conftest
$ac_exeext
41706 if { (ac_try
="$ac_link"
41707 case "(($ac_try" in
41708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41709 *) ac_try_echo=$ac_try;;
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_link") 2>conftest.er1
41714 grep -v '^ *+' conftest.er1 >conftest.err
41716 cat conftest.err >&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } && {
41719 test -z "$ac_c_werror_flag" ||
41720 test ! -s conftest.err
41721 } && test -s conftest$ac_exeext &&
41722 $as_test_x conftest$ac_exeext; then
41723 ac_cv_func_pthread_attr_getschedpolicy=yes
41725 echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.$ac_ext >&5
41728 ac_cv_func_pthread_attr_getschedpolicy=no
41731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41732 conftest$ac_exeext conftest.$ac_ext
41734 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41735 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41736 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41737 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41738 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41739 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41742 cat >conftest.$ac_ext <<_ACEOF
41745 cat confdefs.h >>conftest.$ac_ext
41746 cat >>conftest.$ac_ext <<_ACEOF
41747 /* end confdefs.h. */
41748 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41750 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41752 /* System header to define __stub macros and hopefully few prototypes,
41753 which can conflict with char pthread_attr_setschedparam (); below.
41754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41755 <limits.h> exists even on freestanding compilers. */
41758 # include <limits.h>
41760 # include <assert.h>
41763 #undef pthread_attr_setschedparam
41765 /* Override any GCC internal prototype to avoid an error.
41766 Use char because int might match the return type of a GCC
41767 builtin and then its argument prototype would still apply. */
41771 char pthread_attr_setschedparam ();
41772 /* The GNU C library defines this for functions which it implements
41773 to always fail with ENOSYS. Some functions are actually named
41774 something starting with __ and the normal name is an alias. */
41775 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41782 return pthread_attr_setschedparam ();
41787 rm -f conftest.$ac_objext conftest$ac_exeext
41788 if { (ac_try="$ac_link"
41789 case "(($ac_try" in
41790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41791 *) ac_try_echo
=$ac_try;;
41793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41794 (eval "$ac_link") 2>conftest.er1
41796 grep -v '^ *+' conftest.er1
>conftest.err
41798 cat conftest.err
>&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } && {
41801 test -z "$ac_c_werror_flag" ||
41802 test ! -s conftest.err
41803 } && test -s conftest
$ac_exeext &&
41804 $as_test_x conftest
$ac_exeext; then
41805 ac_cv_func_pthread_attr_setschedparam
=yes
41807 echo "$as_me: failed program was:" >&5
41808 sed 's/^/| /' conftest.
$ac_ext >&5
41810 ac_cv_func_pthread_attr_setschedparam
=no
41813 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41814 conftest
$ac_exeext conftest.
$ac_ext
41816 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41817 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41818 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41819 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41820 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41821 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41822 echo $ECHO_N "(cached) $ECHO_C" >&6
41824 cat >conftest.
$ac_ext <<_ACEOF
41827 cat confdefs.h
>>conftest.
$ac_ext
41828 cat >>conftest.
$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41830 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41832 #define sched_get_priority_max innocuous_sched_get_priority_max
41834 /* System header to define __stub macros and hopefully few prototypes,
41835 which can conflict with char sched_get_priority_max (); below.
41836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41837 <limits.h> exists even on freestanding compilers. */
41840 # include <limits.h>
41842 # include <assert.h>
41845 #undef sched_get_priority_max
41847 /* Override any GCC internal prototype to avoid an error.
41848 Use char because int might match the return type of a GCC
41849 builtin and then its argument prototype would still apply. */
41853 char sched_get_priority_max ();
41854 /* The GNU C library defines this for functions which it implements
41855 to always fail with ENOSYS. Some functions are actually named
41856 something starting with __ and the normal name is an alias. */
41857 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41864 return sched_get_priority_max ();
41869 rm -f conftest.
$ac_objext conftest
$ac_exeext
41870 if { (ac_try
="$ac_link"
41871 case "(($ac_try" in
41872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41873 *) ac_try_echo=$ac_try;;
41875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41876 (eval "$ac_link") 2>conftest.er1
41878 grep -v '^ *+' conftest.er1 >conftest.err
41880 cat conftest.err >&5
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); } && {
41883 test -z "$ac_c_werror_flag" ||
41884 test ! -s conftest.err
41885 } && test -s conftest$ac_exeext &&
41886 $as_test_x conftest$ac_exeext; then
41887 ac_cv_func_sched_get_priority_max=yes
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41892 ac_cv_func_sched_get_priority_max=no
41895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41896 conftest$ac_exeext conftest.$ac_ext
41898 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41899 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41900 if test $ac_cv_func_sched_get_priority_max = yes; then
41903 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41904 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41905 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 ac_check_lib_save_LIBS=$LIBS
41909 LIBS="-lposix4 $LIBS"
41910 cat >conftest.$ac_ext <<_ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41917 /* Override any GCC internal prototype to avoid an error.
41918 Use char because int might match the return type of a GCC
41919 builtin and then its argument prototype would still apply. */
41923 char sched_get_priority_max ();
41927 return sched_get_priority_max ();
41932 rm -f conftest.$ac_objext conftest$ac_exeext
41933 if { (ac_try="$ac_link"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41936 *) ac_try_echo
=$ac_try;;
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_link") 2>conftest.er1
41941 grep -v '^ *+' conftest.er1
>conftest.err
41943 cat conftest.err
>&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest
$ac_exeext &&
41949 $as_test_x conftest
$ac_exeext; then
41950 ac_cv_lib_posix4_sched_get_priority_max
=yes
41952 echo "$as_me: failed program was:" >&5
41953 sed 's/^/| /' conftest.
$ac_ext >&5
41955 ac_cv_lib_posix4_sched_get_priority_max
=no
41958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41959 conftest
$ac_exeext conftest.
$ac_ext
41960 LIBS
=$ac_check_lib_save_LIBS
41962 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41963 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41964 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41967 POSIX4_LINK
=" -lposix4"
41981 if test "$HAVE_PRIOR_FUNCS" = 1; then
41982 cat >>confdefs.h
<<\_ACEOF
41983 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41987 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41988 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41991 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41992 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41993 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41996 cat >conftest.
$ac_ext <<_ACEOF
41999 cat confdefs.h
>>conftest.
$ac_ext
42000 cat >>conftest.
$ac_ext <<_ACEOF
42001 /* end confdefs.h. */
42002 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42004 #define pthread_cancel innocuous_pthread_cancel
42006 /* System header to define __stub macros and hopefully few prototypes,
42007 which can conflict with char pthread_cancel (); below.
42008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42009 <limits.h> exists even on freestanding compilers. */
42012 # include <limits.h>
42014 # include <assert.h>
42017 #undef pthread_cancel
42019 /* Override any GCC internal prototype to avoid an error.
42020 Use char because int might match the return type of a GCC
42021 builtin and then its argument prototype would still apply. */
42025 char pthread_cancel ();
42026 /* The GNU C library defines this for functions which it implements
42027 to always fail with ENOSYS. Some functions are actually named
42028 something starting with __ and the normal name is an alias. */
42029 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42036 return pthread_cancel ();
42041 rm -f conftest.
$ac_objext conftest
$ac_exeext
42042 if { (ac_try
="$ac_link"
42043 case "(($ac_try" in
42044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42045 *) ac_try_echo=$ac_try;;
42047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42048 (eval "$ac_link") 2>conftest.er1
42050 grep -v '^ *+' conftest.er1 >conftest.err
42052 cat conftest.err >&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); } && {
42055 test -z "$ac_c_werror_flag" ||
42056 test ! -s conftest.err
42057 } && test -s conftest$ac_exeext &&
42058 $as_test_x conftest$ac_exeext; then
42059 ac_cv_func_pthread_cancel=yes
42061 echo "$as_me: failed program was:" >&5
42062 sed 's/^/| /' conftest.$ac_ext >&5
42064 ac_cv_func_pthread_cancel=no
42067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42068 conftest$ac_exeext conftest.$ac_ext
42070 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42071 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42072 if test $ac_cv_func_pthread_cancel = yes; then
42073 cat >>confdefs.h <<\_ACEOF
42074 #define HAVE_PTHREAD_CANCEL 1
42078 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42079 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42083 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42084 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42085 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42086 echo $ECHO_N "(cached) $ECHO_C" >&6
42088 cat >conftest.$ac_ext <<_ACEOF
42091 cat confdefs.h >>conftest.$ac_ext
42092 cat >>conftest.$ac_ext <<_ACEOF
42093 /* end confdefs.h. */
42094 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42096 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42098 /* System header to define __stub macros and hopefully few prototypes,
42099 which can conflict with char pthread_mutex_timedlock (); below.
42100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42101 <limits.h> exists even on freestanding compilers. */
42104 # include <limits.h>
42106 # include <assert.h>
42109 #undef pthread_mutex_timedlock
42111 /* Override any GCC internal prototype to avoid an error.
42112 Use char because int might match the return type of a GCC
42113 builtin and then its argument prototype would still apply. */
42117 char pthread_mutex_timedlock ();
42118 /* The GNU C library defines this for functions which it implements
42119 to always fail with ENOSYS. Some functions are actually named
42120 something starting with __ and the normal name is an alias. */
42121 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42128 return pthread_mutex_timedlock ();
42133 rm -f conftest.$ac_objext conftest$ac_exeext
42134 if { (ac_try="$ac_link"
42135 case "(($ac_try" in
42136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42137 *) ac_try_echo
=$ac_try;;
42139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42140 (eval "$ac_link") 2>conftest.er1
42142 grep -v '^ *+' conftest.er1
>conftest.err
42144 cat conftest.err
>&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } && {
42147 test -z "$ac_c_werror_flag" ||
42148 test ! -s conftest.err
42149 } && test -s conftest
$ac_exeext &&
42150 $as_test_x conftest
$ac_exeext; then
42151 ac_cv_func_pthread_mutex_timedlock
=yes
42153 echo "$as_me: failed program was:" >&5
42154 sed 's/^/| /' conftest.
$ac_ext >&5
42156 ac_cv_func_pthread_mutex_timedlock
=no
42159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42160 conftest
$ac_exeext conftest.
$ac_ext
42162 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42163 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42164 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42165 cat >>confdefs.h
<<\_ACEOF
42166 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42170 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42171 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42175 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42176 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42177 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42178 echo $ECHO_N "(cached) $ECHO_C" >&6
42180 cat >conftest.
$ac_ext <<_ACEOF
42183 cat confdefs.h
>>conftest.
$ac_ext
42184 cat >>conftest.
$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42188 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42190 /* System header to define __stub macros and hopefully few prototypes,
42191 which can conflict with char pthread_attr_setstacksize (); below.
42192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42193 <limits.h> exists even on freestanding compilers. */
42196 # include <limits.h>
42198 # include <assert.h>
42201 #undef pthread_attr_setstacksize
42203 /* Override any GCC internal prototype to avoid an error.
42204 Use char because int might match the return type of a GCC
42205 builtin and then its argument prototype would still apply. */
42209 char pthread_attr_setstacksize ();
42210 /* The GNU C library defines this for functions which it implements
42211 to always fail with ENOSYS. Some functions are actually named
42212 something starting with __ and the normal name is an alias. */
42213 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42220 return pthread_attr_setstacksize ();
42225 rm -f conftest.
$ac_objext conftest
$ac_exeext
42226 if { (ac_try
="$ac_link"
42227 case "(($ac_try" in
42228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42229 *) ac_try_echo=$ac_try;;
42231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42232 (eval "$ac_link") 2>conftest.er1
42234 grep -v '^ *+' conftest.er1 >conftest.err
42236 cat conftest.err >&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); } && {
42239 test -z "$ac_c_werror_flag" ||
42240 test ! -s conftest.err
42241 } && test -s conftest$ac_exeext &&
42242 $as_test_x conftest$ac_exeext; then
42243 ac_cv_func_pthread_attr_setstacksize=yes
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42248 ac_cv_func_pthread_attr_setstacksize=no
42251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42252 conftest$ac_exeext conftest.$ac_ext
42254 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42255 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42256 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42265 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42266 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42267 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42271 cat >conftest.$ac_ext <<_ACEOF
42274 cat confdefs.h >>conftest.$ac_ext
42275 cat >>conftest.$ac_ext <<_ACEOF
42276 /* end confdefs.h. */
42277 #include <pthread.h>
42282 pthread_mutexattr_t attr;
42283 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42289 rm -f conftest.$ac_objext
42290 if { (ac_try="$ac_compile"
42291 case "(($ac_try" in
42292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42293 *) ac_try_echo
=$ac_try;;
42295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42296 (eval "$ac_compile") 2>conftest.er1
42298 grep -v '^ *+' conftest.er1
>conftest.err
42300 cat conftest.err
>&5
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); } && {
42303 test -z "$ac_c_werror_flag" ||
42304 test ! -s conftest.err
42305 } && test -s conftest.
$ac_objext; then
42306 wx_cv_type_pthread_mutexattr_t
=yes
42308 echo "$as_me: failed program was:" >&5
42309 sed 's/^/| /' conftest.
$ac_ext >&5
42311 wx_cv_type_pthread_mutexattr_t
=no
42315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42318 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42319 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42321 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42322 cat >>confdefs.h
<<\_ACEOF
42323 #define HAVE_PTHREAD_MUTEXATTR_T 1
42327 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42328 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42329 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42330 echo $ECHO_N "(cached) $ECHO_C" >&6
42333 cat >conftest.
$ac_ext <<_ACEOF
42336 cat confdefs.h
>>conftest.
$ac_ext
42337 cat >>conftest.
$ac_ext <<_ACEOF
42338 /* end confdefs.h. */
42339 #include <pthread.h>
42344 pthread_mutexattr_t attr;
42345 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42351 rm -f conftest.
$ac_objext
42352 if { (ac_try
="$ac_compile"
42353 case "(($ac_try" in
42354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_compile") 2>conftest.er1
42360 grep -v '^ *+' conftest.er1 >conftest.err
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } && {
42365 test -z "$ac_c_werror_flag" ||
42366 test ! -s conftest.err
42367 } && test -s conftest.$ac_objext; then
42368 wx_cv_func_pthread_mutexattr_settype_decl=yes
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.$ac_ext >&5
42373 wx_cv_func_pthread_mutexattr_settype_decl=no
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42380 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42381 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42382 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42383 cat >>confdefs.h <<\_ACEOF
42384 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42389 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42390 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42391 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42392 echo $ECHO_N "(cached) $ECHO_C" >&6
42395 cat >conftest.$ac_ext <<_ACEOF
42398 cat confdefs.h >>conftest.$ac_ext
42399 cat >>conftest.$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42401 #include <pthread.h>
42406 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42412 rm -f conftest.$ac_objext
42413 if { (ac_try="$ac_compile"
42414 case "(($ac_try" in
42415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42416 *) ac_try_echo
=$ac_try;;
42418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42419 (eval "$ac_compile") 2>conftest.er1
42421 grep -v '^ *+' conftest.er1
>conftest.err
42423 cat conftest.err
>&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); } && {
42426 test -z "$ac_c_werror_flag" ||
42427 test ! -s conftest.err
42428 } && test -s conftest.
$ac_objext; then
42430 wx_cv_type_pthread_rec_mutex_init
=yes
42433 echo "$as_me: failed program was:" >&5
42434 sed 's/^/| /' conftest.
$ac_ext >&5
42437 wx_cv_type_pthread_rec_mutex_init
=no
42442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42445 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42446 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42447 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42448 cat >>confdefs.h
<<\_ACEOF
42449 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42453 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42454 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42460 if test "$wxUSE_THREADS" = "yes" ; then
42463 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42464 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42465 if test "${wx_cv_cflags_mthread+set}" = set; then
42466 echo $ECHO_N "(cached) $ECHO_C" >&6
42469 CFLAGS_OLD
="$CFLAGS"
42470 CFLAGS
="-mthreads $CFLAGS"
42471 cat >conftest.
$ac_ext <<_ACEOF
42474 cat confdefs.h
>>conftest.
$ac_ext
42475 cat >>conftest.
$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42486 rm -f conftest.
$ac_objext
42487 if { (ac_try
="$ac_compile"
42488 case "(($ac_try" in
42489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42490 *) ac_try_echo=$ac_try;;
42492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42493 (eval "$ac_compile") 2>conftest.er1
42495 grep -v '^ *+' conftest.er1 >conftest.err
42497 cat conftest.err >&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); } && {
42500 test -z "$ac_c_werror_flag" ||
42501 test ! -s conftest.err
42502 } && test -s conftest.$ac_objext; then
42503 wx_cv_cflags_mthread=yes
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.$ac_ext >&5
42508 wx_cv_cflags_mthread=no
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42517 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42519 if test "$wx_cv_cflags_mthread" = "yes"; then
42520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42521 LDFLAGS="$LDFLAGS -mthreads"
42523 CFLAGS="$CFLAGS_OLD"
42527 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42528 LDFLAGS="$LDFLAGS -Zmt"
42534 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42535 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42536 if test "${ac_cv_func_localtime_r+set}" = set; then
42537 echo $ECHO_N "(cached) $ECHO_C" >&6
42539 cat >conftest.$ac_ext <<_ACEOF
42542 cat confdefs.h >>conftest.$ac_ext
42543 cat >>conftest.$ac_ext <<_ACEOF
42544 /* end confdefs.h. */
42545 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42547 #define localtime_r innocuous_localtime_r
42549 /* System header to define __stub macros and hopefully few prototypes,
42550 which can conflict with char localtime_r (); below.
42551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42552 <limits.h> exists even on freestanding compilers. */
42555 # include <limits.h>
42557 # include <assert.h>
42562 /* Override any GCC internal prototype to avoid an error.
42563 Use char because int might match the return type of a GCC
42564 builtin and then its argument prototype would still apply. */
42568 char localtime_r ();
42569 /* The GNU C library defines this for functions which it implements
42570 to always fail with ENOSYS. Some functions are actually named
42571 something starting with __ and the normal name is an alias. */
42572 #if defined __stub_localtime_r || defined __stub___localtime_r
42579 return localtime_r ();
42584 rm -f conftest.$ac_objext conftest$ac_exeext
42585 if { (ac_try="$ac_link"
42586 case "(($ac_try" in
42587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42588 *) ac_try_echo
=$ac_try;;
42590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42591 (eval "$ac_link") 2>conftest.er1
42593 grep -v '^ *+' conftest.er1
>conftest.err
42595 cat conftest.err
>&5
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); } && {
42598 test -z "$ac_c_werror_flag" ||
42599 test ! -s conftest.err
42600 } && test -s conftest
$ac_exeext &&
42601 $as_test_x conftest
$ac_exeext; then
42602 ac_cv_func_localtime_r
=yes
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.
$ac_ext >&5
42607 ac_cv_func_localtime_r
=no
42610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42611 conftest
$ac_exeext conftest.
$ac_ext
42613 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42614 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42615 if test $ac_cv_func_localtime_r = yes; then
42616 cat >>confdefs.h
<<\_ACEOF
42617 #define HAVE_LOCALTIME_R 1
42622 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42623 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42624 if test "${ac_cv_func_gmtime_r+set}" = set; then
42625 echo $ECHO_N "(cached) $ECHO_C" >&6
42627 cat >conftest.
$ac_ext <<_ACEOF
42630 cat confdefs.h
>>conftest.
$ac_ext
42631 cat >>conftest.
$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42633 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42635 #define gmtime_r innocuous_gmtime_r
42637 /* System header to define __stub macros and hopefully few prototypes,
42638 which can conflict with char gmtime_r (); below.
42639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42640 <limits.h> exists even on freestanding compilers. */
42643 # include <limits.h>
42645 # include <assert.h>
42650 /* Override any GCC internal prototype to avoid an error.
42651 Use char because int might match the return type of a GCC
42652 builtin and then its argument prototype would still apply. */
42657 /* The GNU C library defines this for functions which it implements
42658 to always fail with ENOSYS. Some functions are actually named
42659 something starting with __ and the normal name is an alias. */
42660 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42667 return gmtime_r ();
42672 rm -f conftest.
$ac_objext conftest
$ac_exeext
42673 if { (ac_try
="$ac_link"
42674 case "(($ac_try" in
42675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42676 *) ac_try_echo=$ac_try;;
42678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42679 (eval "$ac_link") 2>conftest.er1
42681 grep -v '^ *+' conftest.er1 >conftest.err
42683 cat conftest.err >&5
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); } && {
42686 test -z "$ac_c_werror_flag" ||
42687 test ! -s conftest.err
42688 } && test -s conftest$ac_exeext &&
42689 $as_test_x conftest$ac_exeext; then
42690 ac_cv_func_gmtime_r=yes
42692 echo "$as_me: failed program was:" >&5
42693 sed 's/^/| /' conftest.$ac_ext >&5
42695 ac_cv_func_gmtime_r=no
42698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42699 conftest$ac_exeext conftest.$ac_ext
42701 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42702 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42703 if test $ac_cv_func_gmtime_r = yes; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define HAVE_GMTIME_R 1
42710 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42711 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42712 if test "${ac_cv_func_readdir_r+set}" = set; then
42713 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 cat >conftest.$ac_ext <<_ACEOF
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42721 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42723 #define readdir_r innocuous_readdir_r
42725 /* System header to define __stub macros and hopefully few prototypes,
42726 which can conflict with char readdir_r (); below.
42727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42728 <limits.h> exists even on freestanding compilers. */
42731 # include <limits.h>
42733 # include <assert.h>
42738 /* Override any GCC internal prototype to avoid an error.
42739 Use char because int might match the return type of a GCC
42740 builtin and then its argument prototype would still apply. */
42745 /* The GNU C library defines this for functions which it implements
42746 to always fail with ENOSYS. Some functions are actually named
42747 something starting with __ and the normal name is an alias. */
42748 #if defined __stub_readdir_r || defined __stub___readdir_r
42755 return readdir_r ();
42760 rm -f conftest.$ac_objext conftest$ac_exeext
42761 if { (ac_try="$ac_link"
42762 case "(($ac_try" in
42763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42764 *) ac_try_echo
=$ac_try;;
42766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42767 (eval "$ac_link") 2>conftest.er1
42769 grep -v '^ *+' conftest.er1
>conftest.err
42771 cat conftest.err
>&5
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); } && {
42774 test -z "$ac_c_werror_flag" ||
42775 test ! -s conftest.err
42776 } && test -s conftest
$ac_exeext &&
42777 $as_test_x conftest
$ac_exeext; then
42778 ac_cv_func_readdir_r
=yes
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.
$ac_ext >&5
42783 ac_cv_func_readdir_r
=no
42786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42787 conftest
$ac_exeext conftest.
$ac_ext
42789 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42790 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42791 if test $ac_cv_func_readdir_r = yes; then
42792 cat >>confdefs.h
<<\_ACEOF
42793 #define HAVE_READDIR_R 1
42802 ac_cpp
='$CPP $CPPFLAGS'
42803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42807 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42808 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42810 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42811 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 ################################################################
42817 ac_cv_func_which_gethostbyname_r
=unknown
42820 # ONE ARGUMENT (sanity check)
42823 # This should fail, as there is no variant of gethostbyname_r() that takes
42824 # a single argument. If it actually compiles, then we can assume that
42825 # netdb.h is not declaring the function, and the compiler is thereby
42826 # assuming an implicit prototype. In which case, we're out of luck.
42828 cat >conftest.
$ac_ext <<_ACEOF
42831 cat confdefs.h
>>conftest.
$ac_ext
42832 cat >>conftest.
$ac_ext <<_ACEOF
42833 /* end confdefs.h. */
42839 char *name = "www.gnu.org";
42840 (void)gethostbyname_r(name) /* ; */
42846 rm -f conftest.
$ac_objext
42847 if { (ac_try
="$ac_compile"
42848 case "(($ac_try" in
42849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42850 *) ac_try_echo=$ac_try;;
42852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42853 (eval "$ac_compile") 2>conftest.er1
42855 grep -v '^ *+' conftest.er1 >conftest.err
42857 cat conftest.err >&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } && {
42860 test -z "$ac_c_werror_flag" ||
42861 test ! -s conftest.err
42862 } && test -s conftest.$ac_objext; then
42863 ac_cv_func_which_gethostbyname_r=no
42865 echo "$as_me: failed program was:" >&5
42866 sed 's/^/| /' conftest.$ac_ext >&5
42871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42880 cat >conftest.$ac_ext <<_ACEOF
42883 cat confdefs.h >>conftest.$ac_ext
42884 cat >>conftest.$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42891 char *name = "www.gnu.org";
42892 struct hostent ret, *retp;
42896 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42902 rm -f conftest.$ac_objext
42903 if { (ac_try="$ac_compile"
42904 case "(($ac_try" in
42905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42906 *) ac_try_echo
=$ac_try;;
42908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42909 (eval "$ac_compile") 2>conftest.er1
42911 grep -v '^ *+' conftest.er1
>conftest.err
42913 cat conftest.err
>&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } && {
42916 test -z "$ac_c_werror_flag" ||
42917 test ! -s conftest.err
42918 } && test -s conftest.
$ac_objext; then
42919 ac_cv_func_which_gethostbyname_r
=six
42921 echo "$as_me: failed program was:" >&5
42922 sed 's/^/| /' conftest.
$ac_ext >&5
42927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42936 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42938 cat >conftest.
$ac_ext <<_ACEOF
42941 cat confdefs.h
>>conftest.
$ac_ext
42942 cat >>conftest.
$ac_ext <<_ACEOF
42943 /* end confdefs.h. */
42949 char *name = "www.gnu.org";
42950 struct hostent ret;
42954 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42960 rm -f conftest.
$ac_objext
42961 if { (ac_try
="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42969 grep -v '^ *+' conftest.er1 >conftest.err
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 ac_cv_func_which_gethostbyname_r=five
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991 # (e.g. AIX, HP-UX, Tru64)
42994 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42996 cat >conftest.$ac_ext <<_ACEOF
42999 cat confdefs.h >>conftest.$ac_ext
43000 cat >>conftest.$ac_ext <<_ACEOF
43001 /* end confdefs.h. */
43007 char *name = "www.gnu.org";
43008 struct hostent ret;
43009 struct hostent_data data;
43010 (void)gethostbyname_r(name, &ret, &data) /* ; */
43016 rm -f conftest.$ac_objext
43017 if { (ac_try="$ac_compile"
43018 case "(($ac_try" in
43019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43020 *) ac_try_echo
=$ac_try;;
43022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43023 (eval "$ac_compile") 2>conftest.er1
43025 grep -v '^ *+' conftest.er1
>conftest.err
43027 cat conftest.err
>&5
43028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43029 (exit $ac_status); } && {
43030 test -z "$ac_c_werror_flag" ||
43031 test ! -s conftest.err
43032 } && test -s conftest.
$ac_objext; then
43033 ac_cv_func_which_gethostbyname_r
=three
43035 echo "$as_me: failed program was:" >&5
43036 sed 's/^/| /' conftest.
$ac_ext >&5
43041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43045 ################################################################
43050 case "$ac_cv_func_which_gethostbyname_r" in
43052 { echo "$as_me:$LINENO: result: three" >&5
43053 echo "${ECHO_T}three" >&6; }
43054 cat >>confdefs.h
<<\_ACEOF
43055 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43061 { echo "$as_me:$LINENO: result: five" >&5
43062 echo "${ECHO_T}five" >&6; }
43063 cat >>confdefs.h
<<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43070 { echo "$as_me:$LINENO: result: six" >&5
43071 echo "${ECHO_T}six" >&6; }
43072 cat >>confdefs.h
<<\_ACEOF
43073 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43079 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43080 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43084 { echo "$as_me:$LINENO: result: can't tell" >&5
43085 echo "${ECHO_T}can't tell" >&6; }
43089 { { echo "$as_me:$LINENO: error: internal error" >&5
43090 echo "$as_me: error: internal error" >&2;}
43091 { (exit 1); exit 1; }; }
43096 ac_cpp
='$CPP $CPPFLAGS'
43097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43103 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43104 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43107 if test "${ac_cv_func_gethostbyname+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43110 cat >conftest.
$ac_ext <<_ACEOF
43113 cat confdefs.h
>>conftest.
$ac_ext
43114 cat >>conftest.
$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43118 #define gethostbyname innocuous_gethostbyname
43120 /* System header to define __stub macros and hopefully few prototypes,
43121 which can conflict with char gethostbyname (); below.
43122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43123 <limits.h> exists even on freestanding compilers. */
43126 # include <limits.h>
43128 # include <assert.h>
43131 #undef gethostbyname
43133 /* Override any GCC internal prototype to avoid an error.
43134 Use char because int might match the return type of a GCC
43135 builtin and then its argument prototype would still apply. */
43139 char gethostbyname ();
43140 /* The GNU C library defines this for functions which it implements
43141 to always fail with ENOSYS. Some functions are actually named
43142 something starting with __ and the normal name is an alias. */
43143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43150 return gethostbyname ();
43155 rm -f conftest.
$ac_objext conftest
$ac_exeext
43156 if { (ac_try
="$ac_link"
43157 case "(($ac_try" in
43158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43159 *) ac_try_echo=$ac_try;;
43161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43162 (eval "$ac_link") 2>conftest.er1
43164 grep -v '^ *+' conftest.er1 >conftest.err
43166 cat conftest.err >&5
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); } && {
43169 test -z "$ac_c_werror_flag" ||
43170 test ! -s conftest.err
43171 } && test -s conftest$ac_exeext &&
43172 $as_test_x conftest$ac_exeext; then
43173 ac_cv_func_gethostbyname=yes
43175 echo "$as_me: failed program was:" >&5
43176 sed 's/^/| /' conftest.$ac_ext >&5
43178 ac_cv_func_gethostbyname=no
43181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43182 conftest$ac_exeext conftest.$ac_ext
43184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43186 if test $ac_cv_func_gethostbyname = yes; then
43187 cat >>confdefs.h <<\_ACEOF
43188 #define HAVE_GETHOSTBYNAME 1
43195 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43196 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43197 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43198 echo $ECHO_N "(cached) $ECHO_C" >&6
43202 ac_cpp='$CXXCPP $CPPFLAGS'
43203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43208 cat >conftest.$ac_ext <<_ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43221 struct servent *se, *res;
43224 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43230 rm -f conftest.$ac_objext
43231 if { (ac_try="$ac_compile"
43232 case "(($ac_try" in
43233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43234 *) ac_try_echo
=$ac_try;;
43236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43237 (eval "$ac_compile") 2>conftest.er1
43239 grep -v '^ *+' conftest.er1
>conftest.err
43241 cat conftest.err
>&5
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); } && {
43244 test -z "$ac_cxx_werror_flag" ||
43245 test ! -s conftest.err
43246 } && test -s conftest.
$ac_objext; then
43247 ac_cv_func_which_getservbyname_r
=six
43249 echo "$as_me: failed program was:" >&5
43250 sed 's/^/| /' conftest.
$ac_ext >&5
43253 cat >conftest.
$ac_ext <<_ACEOF
43256 cat confdefs.h
>>conftest.
$ac_ext
43257 cat >>conftest.
$ac_ext <<_ACEOF
43258 /* end confdefs.h. */
43266 struct servent *se;
43269 (void) getservbyname_r(name, proto, se, buffer, buflen)
43275 rm -f conftest.
$ac_objext
43276 if { (ac_try
="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43284 grep -v '^ *+' conftest.er1 >conftest.err
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_cxx_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43292 ac_cv_func_which_getservbyname_r=five
43294 echo "$as_me: failed program was:" >&5
43295 sed 's/^/| /' conftest.$ac_ext >&5
43298 cat >conftest.$ac_ext <<_ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h. */
43311 struct servent *se;
43312 struct servent_data data;
43313 (void) getservbyname_r(name, proto, se, &data);
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43323 *) ac_try_echo
=$ac_try;;
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43328 grep -v '^ *+' conftest.er1
>conftest.err
43330 cat conftest.err
>&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.
$ac_objext; then
43336 ac_cv_func_which_getservbyname_r
=four
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.
$ac_ext >&5
43341 ac_cv_func_which_getservbyname_r
=no
43345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43357 ac_cpp
='$CPP $CPPFLAGS'
43358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43365 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43366 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43368 if test $ac_cv_func_which_getservbyname_r = six
; then
43369 cat >>confdefs.h
<<\_ACEOF
43370 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43373 elif test $ac_cv_func_which_getservbyname_r = five
; then
43374 cat >>confdefs.h
<<\_ACEOF
43375 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43378 elif test $ac_cv_func_which_getservbyname_r = four
; then
43379 cat >>confdefs.h
<<\_ACEOF
43380 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43386 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43387 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43389 for ac_func
in getservbyname
43391 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43394 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43395 echo $ECHO_N "(cached) $ECHO_C" >&6
43397 cat >conftest.
$ac_ext <<_ACEOF
43400 cat confdefs.h
>>conftest.
$ac_ext
43401 cat >>conftest.
$ac_ext <<_ACEOF
43402 /* end confdefs.h. */
43403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43405 #define $ac_func innocuous_$ac_func
43407 /* System header to define __stub macros and hopefully few prototypes,
43408 which can conflict with char $ac_func (); below.
43409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43410 <limits.h> exists even on freestanding compilers. */
43413 # include <limits.h>
43415 # include <assert.h>
43420 /* Override any GCC internal prototype to avoid an error.
43421 Use char because int might match the return type of a GCC
43422 builtin and then its argument prototype would still apply. */
43427 /* The GNU C library defines this for functions which it implements
43428 to always fail with ENOSYS. Some functions are actually named
43429 something starting with __ and the normal name is an alias. */
43430 #if defined __stub_$ac_func || defined __stub___$ac_func
43437 return $ac_func ();
43442 rm -f conftest.
$ac_objext conftest
$ac_exeext
43443 if { (ac_try
="$ac_link"
43444 case "(($ac_try" in
43445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43446 *) ac_try_echo=$ac_try;;
43448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43449 (eval "$ac_link") 2>conftest.er1
43451 grep -v '^ *+' conftest.er1 >conftest.err
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } && {
43456 test -z "$ac_c_werror_flag" ||
43457 test ! -s conftest.err
43458 } && test -s conftest$ac_exeext &&
43459 $as_test_x conftest$ac_exeext; then
43460 eval "$as_ac_var=yes"
43462 echo "$as_me: failed program was:" >&5
43463 sed 's/^/| /' conftest.$ac_ext >&5
43465 eval "$as_ac_var=no"
43468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43469 conftest$ac_exeext conftest.$ac_ext
43471 ac_res=`eval echo '${'$as_ac_var'}'`
43472 { echo "$as_me:$LINENO: result: $ac_res" >&5
43473 echo "${ECHO_T}$ac_res" >&6; }
43474 if test `eval echo '${'$as_ac_var'}'` = yes; then
43475 cat >>confdefs.h <<_ACEOF
43476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43478 cat >>confdefs.h <<\_ACEOF
43479 #define HAVE_GETSERVBYNAME 1
43487 if test "$wxUSE_THREADS" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_THREADS 1
43493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43495 if test "$wx_cv_func_strtok_r" = "yes"; then
43496 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43497 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43498 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43499 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43500 { echo "$as_me:$LINENO: result: yes" >&5
43501 echo "${ECHO_T}yes" >&6; }
43503 { echo "$as_me:$LINENO: result: no" >&5
43504 echo "${ECHO_T}no" >&6; }
43509 if test "$WXGTK20" = 1 ; then
43510 cat >>confdefs.h <<_ACEOF
43511 #define __WXGTK20__ $WXGTK20
43517 if test "$WXGTK12" = 1 ; then
43518 cat >>confdefs.h <<_ACEOF
43519 #define __WXGTK12__ $WXGTK12
43524 if test "$WXGTK127" = 1 ; then
43525 cat >>confdefs.h <<_ACEOF
43526 #define __WXGTK127__ $WXGTK127
43531 if test "$WXGPE" = 1 ; then
43532 cat >>confdefs.h <<_ACEOF
43533 #define __WXGPE__ $WXGPE
43539 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43544 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43545 wxUSE_DEBUG_INFO=yes
43546 if test "$GCC" = yes; then
43547 DEBUG_CFLAGS="-ggdb"
43551 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43552 cat >>confdefs.h <<\_ACEOF
43556 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43558 if test "$wxUSE_GTK" = 1 ; then
43559 if test "x$wxGTK_VERSION" = "x1" ; then
43560 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43565 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_MEMORY_TRACING 1
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_DEBUG_NEW_ALWAYS 1
43578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43581 if test "$wxUSE_DMALLOC" = "yes" ; then
43582 DMALLOC_LIBS="-ldmallocthcxx"
43586 if test "$wxUSE_PROFILE" = "yes" ; then
43587 PROFILE_FLAGS=" -pg"
43590 if test "$GCC" = "yes" ; then
43591 if test "$wxUSE_NO_RTTI" = "yes" ; then
43592 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43594 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43595 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43597 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43598 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43603 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43612 if test "$wxUSE_OPTIMISE" = "no" ; then
43613 if test "$GCC" = yes ; then
43614 OPTIMISE_CFLAGS="-O0"
43617 if test "$GCC" = yes ; then
43619 *-pc-os2_emx | *-pc-os2-emx )
43620 OPTIMISE_CFLAGS="-O2"
43623 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43627 OPTIMISE_CFLAGS="-O"
43632 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define WXWIN_COMPATIBILITY_2_6 1
43638 WXWIN_COMPATIBILITY_2_8="yes"
43641 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define WXWIN_COMPATIBILITY_2_8 1
43649 if test "$wxUSE_GUI" = "yes"; then
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_GUI 1
43658 if test "$wxUSE_UNIX" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_UNIX 1
43666 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43670 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43671 if test "$USE_DARWIN" = 1; then
43673 elif test "$USE_DOS" = 1; then
43677 for ac_func in dlopen
43679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43683 echo $ECHO_N "(cached) $ECHO_C" >&6
43685 cat >conftest.$ac_ext <<_ACEOF
43688 cat confdefs.h >>conftest.$ac_ext
43689 cat >>conftest.$ac_ext <<_ACEOF
43690 /* end confdefs.h. */
43691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43693 #define $ac_func innocuous_$ac_func
43695 /* System header to define __stub macros and hopefully few prototypes,
43696 which can conflict with char $ac_func (); below.
43697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43698 <limits.h> exists even on freestanding compilers. */
43701 # include <limits.h>
43703 # include <assert.h>
43708 /* Override any GCC internal prototype to avoid an error.
43709 Use char because int might match the return type of a GCC
43710 builtin and then its argument prototype would still apply. */
43715 /* The GNU C library defines this for functions which it implements
43716 to always fail with ENOSYS. Some functions are actually named
43717 something starting with __ and the normal name is an alias. */
43718 #if defined __stub_$ac_func || defined __stub___$ac_func
43725 return $ac_func ();
43730 rm -f conftest.$ac_objext conftest$ac_exeext
43731 if { (ac_try="$ac_link"
43732 case "(($ac_try" in
43733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43734 *) ac_try_echo
=$ac_try;;
43736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43737 (eval "$ac_link") 2>conftest.er1
43739 grep -v '^ *+' conftest.er1
>conftest.err
43741 cat conftest.err
>&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); } && {
43744 test -z "$ac_c_werror_flag" ||
43745 test ! -s conftest.err
43746 } && test -s conftest
$ac_exeext &&
43747 $as_test_x conftest
$ac_exeext; then
43748 eval "$as_ac_var=yes"
43750 echo "$as_me: failed program was:" >&5
43751 sed 's/^/| /' conftest.
$ac_ext >&5
43753 eval "$as_ac_var=no"
43756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43757 conftest
$ac_exeext conftest.
$ac_ext
43759 ac_res
=`eval echo '${'$as_ac_var'}'`
43760 { echo "$as_me:$LINENO: result: $ac_res" >&5
43761 echo "${ECHO_T}$ac_res" >&6; }
43762 if test `eval echo '${'$as_ac_var'}'` = yes; then
43763 cat >>confdefs.h
<<_ACEOF
43764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43767 cat >>confdefs.h
<<\_ACEOF
43768 #define HAVE_DLOPEN 1
43775 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43776 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43777 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 ac_check_lib_save_LIBS
=$LIBS
43782 cat >conftest.
$ac_ext <<_ACEOF
43785 cat confdefs.h
>>conftest.
$ac_ext
43786 cat >>conftest.
$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43789 /* Override any GCC internal prototype to avoid an error.
43790 Use char because int might match the return type of a GCC
43791 builtin and then its argument prototype would still apply. */
43804 rm -f conftest.
$ac_objext conftest
$ac_exeext
43805 if { (ac_try
="$ac_link"
43806 case "(($ac_try" in
43807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43808 *) ac_try_echo=$ac_try;;
43810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43811 (eval "$ac_link") 2>conftest.er1
43813 grep -v '^ *+' conftest.er1 >conftest.err
43815 cat conftest.err >&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); } && {
43818 test -z "$ac_c_werror_flag" ||
43819 test ! -s conftest.err
43820 } && test -s conftest$ac_exeext &&
43821 $as_test_x conftest$ac_exeext; then
43822 ac_cv_lib_dl_dlopen=yes
43824 echo "$as_me: failed program was:" >&5
43825 sed 's/^/| /' conftest.$ac_ext >&5
43827 ac_cv_lib_dl_dlopen=no
43830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43831 conftest$ac_exeext conftest.$ac_ext
43832 LIBS=$ac_check_lib_save_LIBS
43834 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43835 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43836 if test $ac_cv_lib_dl_dlopen = yes; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define HAVE_DLOPEN 1
43843 DL_LINK=" -ldl$DL_LINK"
43848 for ac_func in shl_load
43850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43856 cat >conftest.$ac_ext <<_ACEOF
43859 cat confdefs.h >>conftest.$ac_ext
43860 cat >>conftest.$ac_ext <<_ACEOF
43861 /* end confdefs.h. */
43862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43864 #define $ac_func innocuous_$ac_func
43866 /* System header to define __stub macros and hopefully few prototypes,
43867 which can conflict with char $ac_func (); below.
43868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43869 <limits.h> exists even on freestanding compilers. */
43872 # include <limits.h>
43874 # include <assert.h>
43879 /* Override any GCC internal prototype to avoid an error.
43880 Use char because int might match the return type of a GCC
43881 builtin and then its argument prototype would still apply. */
43886 /* The GNU C library defines this for functions which it implements
43887 to always fail with ENOSYS. Some functions are actually named
43888 something starting with __ and the normal name is an alias. */
43889 #if defined __stub_$ac_func || defined __stub___$ac_func
43896 return $ac_func ();
43901 rm -f conftest.$ac_objext conftest$ac_exeext
43902 if { (ac_try="$ac_link"
43903 case "(($ac_try" in
43904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43905 *) ac_try_echo
=$ac_try;;
43907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43908 (eval "$ac_link") 2>conftest.er1
43910 grep -v '^ *+' conftest.er1
>conftest.err
43912 cat conftest.err
>&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); } && {
43915 test -z "$ac_c_werror_flag" ||
43916 test ! -s conftest.err
43917 } && test -s conftest
$ac_exeext &&
43918 $as_test_x conftest
$ac_exeext; then
43919 eval "$as_ac_var=yes"
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.
$ac_ext >&5
43924 eval "$as_ac_var=no"
43927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43928 conftest
$ac_exeext conftest.
$ac_ext
43930 ac_res
=`eval echo '${'$as_ac_var'}'`
43931 { echo "$as_me:$LINENO: result: $ac_res" >&5
43932 echo "${ECHO_T}$ac_res" >&6; }
43933 if test `eval echo '${'$as_ac_var'}'` = yes; then
43934 cat >>confdefs.h
<<_ACEOF
43935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43938 cat >>confdefs.h
<<\_ACEOF
43939 #define HAVE_SHL_LOAD 1
43946 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43947 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43948 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 ac_check_lib_save_LIBS
=$LIBS
43952 LIBS
="-lshl_load $LIBS"
43953 cat >conftest.
$ac_ext <<_ACEOF
43956 cat confdefs.h
>>conftest.
$ac_ext
43957 cat >>conftest.
$ac_ext <<_ACEOF
43958 /* end confdefs.h. */
43960 /* Override any GCC internal prototype to avoid an error.
43961 Use char because int might match the return type of a GCC
43962 builtin and then its argument prototype would still apply. */
43975 rm -f conftest.
$ac_objext conftest
$ac_exeext
43976 if { (ac_try
="$ac_link"
43977 case "(($ac_try" in
43978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43979 *) ac_try_echo=$ac_try;;
43981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43982 (eval "$ac_link") 2>conftest.er1
43984 grep -v '^ *+' conftest.er1 >conftest.err
43986 cat conftest.err >&5
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); } && {
43989 test -z "$ac_c_werror_flag" ||
43990 test ! -s conftest.err
43991 } && test -s conftest$ac_exeext &&
43992 $as_test_x conftest$ac_exeext; then
43993 ac_cv_lib_shl_load_dld=yes
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43998 ac_cv_lib_shl_load_dld=no
44001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44002 conftest$ac_exeext conftest.$ac_ext
44003 LIBS=$ac_check_lib_save_LIBS
44005 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44006 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44007 if test $ac_cv_lib_shl_load_dld = yes; then
44010 DL_LINK=" -ldld$DL_LINK"
44026 if test "$HAVE_DL_FUNCS" = 1; then
44028 for ac_func in dlerror
44030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44034 echo $ECHO_N "(cached) $ECHO_C" >&6
44036 cat >conftest.$ac_ext <<_ACEOF
44039 cat confdefs.h >>conftest.$ac_ext
44040 cat >>conftest.$ac_ext <<_ACEOF
44041 /* end confdefs.h. */
44042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44044 #define $ac_func innocuous_$ac_func
44046 /* System header to define __stub macros and hopefully few prototypes,
44047 which can conflict with char $ac_func (); below.
44048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44049 <limits.h> exists even on freestanding compilers. */
44052 # include <limits.h>
44054 # include <assert.h>
44059 /* Override any GCC internal prototype to avoid an error.
44060 Use char because int might match the return type of a GCC
44061 builtin and then its argument prototype would still apply. */
44066 /* The GNU C library defines this for functions which it implements
44067 to always fail with ENOSYS. Some functions are actually named
44068 something starting with __ and the normal name is an alias. */
44069 #if defined __stub_$ac_func || defined __stub___$ac_func
44076 return $ac_func ();
44081 rm -f conftest.$ac_objext conftest$ac_exeext
44082 if { (ac_try="$ac_link"
44083 case "(($ac_try" in
44084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44085 *) ac_try_echo
=$ac_try;;
44087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44088 (eval "$ac_link") 2>conftest.er1
44090 grep -v '^ *+' conftest.er1
>conftest.err
44092 cat conftest.err
>&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); } && {
44095 test -z "$ac_c_werror_flag" ||
44096 test ! -s conftest.err
44097 } && test -s conftest
$ac_exeext &&
44098 $as_test_x conftest
$ac_exeext; then
44099 eval "$as_ac_var=yes"
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.
$ac_ext >&5
44104 eval "$as_ac_var=no"
44107 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44108 conftest
$ac_exeext conftest.
$ac_ext
44110 ac_res
=`eval echo '${'$as_ac_var'}'`
44111 { echo "$as_me:$LINENO: result: $ac_res" >&5
44112 echo "${ECHO_T}$ac_res" >&6; }
44113 if test `eval echo '${'$as_ac_var'}'` = yes; then
44114 cat >>confdefs.h
<<_ACEOF
44115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44117 cat >>confdefs.h
<<\_ACEOF
44118 #define HAVE_DLERROR 1
44123 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44124 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44125 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44126 echo $ECHO_N "(cached) $ECHO_C" >&6
44128 ac_check_lib_save_LIBS
=$LIBS
44130 cat >conftest.
$ac_ext <<_ACEOF
44133 cat confdefs.h
>>conftest.
$ac_ext
44134 cat >>conftest.
$ac_ext <<_ACEOF
44135 /* end confdefs.h. */
44137 /* Override any GCC internal prototype to avoid an error.
44138 Use char because int might match the return type of a GCC
44139 builtin and then its argument prototype would still apply. */
44152 rm -f conftest.
$ac_objext conftest
$ac_exeext
44153 if { (ac_try
="$ac_link"
44154 case "(($ac_try" in
44155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44156 *) ac_try_echo=$ac_try;;
44158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44159 (eval "$ac_link") 2>conftest.er1
44161 grep -v '^ *+' conftest.er1 >conftest.err
44163 cat conftest.err >&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); } && {
44166 test -z "$ac_c_werror_flag" ||
44167 test ! -s conftest.err
44168 } && test -s conftest$ac_exeext &&
44169 $as_test_x conftest$ac_exeext; then
44170 ac_cv_lib_dl_dlerror=yes
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44175 ac_cv_lib_dl_dlerror=no
44178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44179 conftest$ac_exeext conftest.$ac_ext
44180 LIBS=$ac_check_lib_save_LIBS
44182 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44183 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44184 if test $ac_cv_lib_dl_dlerror = yes; then
44185 cat >>confdefs.h <<\_ACEOF
44186 #define HAVE_DLERROR 1
44199 if test "$HAVE_DL_FUNCS" = 0; then
44200 if test "$HAVE_SHL_FUNCS" = 0; then
44201 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44202 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44203 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44204 wxUSE_DYNAMIC_LOADER=no
44205 wxUSE_DYNLIB_CLASS=no
44207 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44208 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44215 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_DYNAMIC_LOADER 1
44221 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_DYNLIB_CLASS 1
44230 if test "$wxUSE_PLUGINS" = "yes" ; then
44231 if test "$wxUSE_SHARED" = "no" ; then
44232 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44233 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44236 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44237 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44238 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44241 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44242 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44243 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44246 if test "$wxUSE_PLUGINS" = "yes" ; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_PLUGINS 1
44255 if test "$wxUSE_STL" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_STL 1
44262 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_EXTENDED_RTTI 1
44269 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_APPLE_IEEE 1
44276 if test "$wxUSE_TIMER" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_TIMER 1
44283 if test "$USE_UNIX" = "1" ; then
44284 if test "$wxUSE_MGL" != 1; then
44285 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44286 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44287 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44288 echo $ECHO_N "(cached) $ECHO_C" >&6
44291 cat >conftest.$ac_ext <<_ACEOF
44294 cat confdefs.h >>conftest.$ac_ext
44295 cat >>conftest.$ac_ext <<_ACEOF
44296 /* end confdefs.h. */
44298 #include <sys/ioctl.h>
44299 #include <sys/soundcard.h>
44305 ioctl(0, SNDCTL_DSP_SPEED, 0);
44311 rm -f conftest.$ac_objext conftest$ac_exeext
44312 if { (ac_try="$ac_link"
44313 case "(($ac_try" in
44314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44315 *) ac_try_echo
=$ac_try;;
44317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44318 (eval "$ac_link") 2>conftest.er1
44320 grep -v '^ *+' conftest.er1
>conftest.err
44322 cat conftest.err
>&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } && {
44325 test -z "$ac_c_werror_flag" ||
44326 test ! -s conftest.err
44327 } && test -s conftest
$ac_exeext &&
44328 $as_test_x conftest
$ac_exeext; then
44329 ac_cv_header_sys_soundcard
=yes
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.
$ac_ext >&5
44336 LIBS
="$saveLibs -lossaudio"
44337 cat >conftest.
$ac_ext <<_ACEOF
44340 cat confdefs.h
>>conftest.
$ac_ext
44341 cat >>conftest.
$ac_ext <<_ACEOF
44342 /* end confdefs.h. */
44344 #include <sys/ioctl.h>
44345 #include <sys/soundcard.h>
44351 ioctl(0, SNDCTL_DSP_SPEED, 0);
44357 rm -f conftest.
$ac_objext conftest
$ac_exeext
44358 if { (ac_try
="$ac_link"
44359 case "(($ac_try" in
44360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44361 *) ac_try_echo=$ac_try;;
44363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44364 (eval "$ac_link") 2>conftest.er1
44366 grep -v '^ *+' conftest.er1 >conftest.err
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } && {
44371 test -z "$ac_c_werror_flag" ||
44372 test ! -s conftest.err
44373 } && test -s conftest$ac_exeext &&
44374 $as_test_x conftest$ac_exeext; then
44375 ac_cv_header_sys_soundcard=yes
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44382 ac_cv_header_sys_soundcard=no
44387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44388 conftest$ac_exeext conftest.$ac_ext
44393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44394 conftest$ac_exeext conftest.$ac_ext
44397 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44398 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44401 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44402 cat >>confdefs.h <<\_ACEOF
44403 #define HAVE_SYS_SOUNDCARD_H 1
44410 if test "$wxUSE_SOUND" = "yes"; then
44411 if test "$USE_UNIX" = "1" ; then
44412 if test "$wxUSE_LIBSDL" != "no"; then
44414 # Check whether --with-sdl-prefix was given.
44415 if test "${with_sdl_prefix+set}" = set; then
44416 withval=$with_sdl_prefix; sdl_prefix="$withval"
44422 # Check whether --with-sdl-exec-prefix was given.
44423 if test "${with_sdl_exec_prefix+set}" = set; then
44424 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44429 # Check whether --enable-sdltest was given.
44430 if test "${enable_sdltest+set}" = set; then
44431 enableval=$enable_sdltest;
44437 if test x$sdl_exec_prefix != x ; then
44438 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44439 if test x${SDL_CONFIG+set} != xset ; then
44440 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44443 if test x$sdl_prefix != x ; then
44444 sdl_args="$sdl_args --prefix=$sdl_prefix"
44445 if test x${SDL_CONFIG+set} != xset ; then
44446 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44450 if test "x$prefix" != xNONE; then
44451 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44453 # Extract the first word of "sdl-config", so it can be a program name with args.
44454 set dummy sdl-config; ac_word=$2
44455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44457 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44458 echo $ECHO_N "(cached) $ECHO_C" >&6
44460 case $SDL_CONFIG in
44462 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44466 for as_dir in $PATH
44469 test -z "$as_dir" && as_dir=.
44470 for ac_exec_ext in '' $ac_executable_extensions; do
44471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44472 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44480 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44484 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44485 if test -n "$SDL_CONFIG"; then
44486 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44487 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44489 { echo "$as_me:$LINENO: result: no" >&5
44490 echo "${ECHO_T}no" >&6; }
44494 min_sdl_version=1.2.0
44495 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44496 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44498 if test "$SDL_CONFIG" = "no" ; then
44501 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44502 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44504 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44506 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44508 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44510 if test "x$enable_sdltest" = "xyes" ; then
44511 ac_save_CFLAGS="$CFLAGS"
44512 ac_save_CXXFLAGS="$CXXFLAGS"
44513 ac_save_LIBS="$LIBS"
44514 CFLAGS="$CFLAGS $SDL_CFLAGS"
44515 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44516 LIBS="$LIBS $SDL_LIBS"
44518 if test "$cross_compiling" = yes; then
44519 echo $ac_n "cross compiling; assumed OK... $ac_c"
44521 cat >conftest.$ac_ext <<_ACEOF
44524 cat confdefs.h >>conftest.$ac_ext
44525 cat >>conftest.$ac_ext <<_ACEOF
44526 /* end confdefs.h. */
44529 #include <stdlib.h>
44530 #include <string.h>
44534 my_strdup (char *str)
44540 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44541 strcpy (new_str, str);
44549 int main (int argc, char *argv[])
44551 int major, minor, micro;
44554 /* This hangs on some systems (?)
44555 system ("touch conf.sdltest");
44557 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44559 /* HP/UX 9 (%@#!) writes to sscanf strings */
44560 tmp_version = my_strdup("$min_sdl_version");
44561 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44562 printf("%s, bad version string\n", "$min_sdl_version");
44566 if (($sdl_major_version > major) ||
44567 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44568 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44574 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44575 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44576 printf("*** best to upgrade to the required version.\n");
44577 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44578 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44579 printf("*** config.cache before re-running configure\n");
44586 rm -f conftest$ac_exeext
44587 if { (ac_try="$ac_link"
44588 case "(($ac_try" in
44589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44590 *) ac_try_echo
=$ac_try;;
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_link") 2>&5
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44597 { (case "(($ac_try" in
44598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_try") 2>&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; }; then
44608 echo "$as_me: program exited with status $ac_status" >&5
44609 echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44612 ( exit $ac_status )
44615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44619 CFLAGS="$ac_save_CFLAGS"
44620 CXXFLAGS="$ac_save_CXXFLAGS"
44621 LIBS="$ac_save_LIBS"
44624 if test "x$no_sdl" = x ; then
44625 { echo "$as_me:$LINENO: result: yes" >&5
44626 echo "${ECHO_T}yes" >&6; }
44628 EXTRALIBS_SDL="$SDL_LIBS"
44629 CFLAGS="$SDL_CFLAGS $CFLAGS"
44630 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_LIBSDL 1
44637 { echo "$as_me:$LINENO: result: no" >&5
44638 echo "${ECHO_T}no" >&6; }
44639 if test "$SDL_CONFIG" = "no" ; then
44640 echo "*** The sdl-config script installed by SDL could not be found"
44641 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44642 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44643 echo "*** full path to sdl-config."
44645 if test -f conf.sdltest ; then
44648 echo "*** Could not run SDL test program, checking why..."
44649 CFLAGS="$CFLAGS $SDL_CFLAGS"
44650 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44651 LIBS="$LIBS $SDL_LIBS"
44652 cat >conftest.$ac_ext <<_ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44662 int main(int argc, char *argv[])
44665 #define main K_and_R_C_main
44675 rm -f conftest.$ac_objext conftest$ac_exeext
44676 if { (ac_try="$ac_link"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44679 *) ac_try_echo
=$ac_try;;
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_link") 2>conftest.er1
44684 grep -v '^ *+' conftest.er1
>conftest.err
44686 cat conftest.err
>&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_c_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest
$ac_exeext &&
44692 $as_test_x conftest
$ac_exeext; then
44693 echo "*** The test program compiled, but did not run. This usually means"
44694 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44695 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44698 echo "*** is required on your system"
44700 echo "*** If you have an old version installed, it is best to remove it, although"
44701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.
$ac_ext >&5
44706 echo "*** The test program failed to compile or link. See the file config.log for the"
44707 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44708 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44709 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44713 conftest
$ac_exeext conftest.
$ac_ext
44714 CFLAGS
="$ac_save_CFLAGS"
44715 CXXFLAGS
="$ac_save_CXXFLAGS"
44716 LIBS
="$ac_save_LIBS"
44727 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44732 if test "$wxUSE_MGL" = 1; then
44733 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44734 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44740 if test "$wxUSE_SOUND" = "yes"; then
44741 cat >>confdefs.h
<<\_ACEOF
44742 #define wxUSE_SOUND 1
44745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44748 if test "$WXGTK20" = 1; then
44751 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44752 if test -n "$ac_tool_prefix"; then
44753 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44754 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44757 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44758 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 case $PKG_CONFIG in
44762 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44766 for as_dir
in $PATH
44769 test -z "$as_dir" && as_dir
=.
44770 for ac_exec_ext
in '' $ac_executable_extensions; do
44771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44772 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44783 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44784 if test -n "$PKG_CONFIG"; then
44785 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44786 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44788 { echo "$as_me:$LINENO: result: no" >&5
44789 echo "${ECHO_T}no" >&6; }
44794 if test -z "$ac_cv_path_PKG_CONFIG"; then
44795 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44796 # Extract the first word of "pkg-config", so it can be a program name with args.
44797 set dummy pkg
-config; ac_word
=$2
44798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44800 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44801 echo $ECHO_N "(cached) $ECHO_C" >&6
44803 case $ac_pt_PKG_CONFIG in
44805 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44809 for as_dir
in $PATH
44812 test -z "$as_dir" && as_dir
=.
44813 for ac_exec_ext
in '' $ac_executable_extensions; do
44814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44815 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44826 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44827 if test -n "$ac_pt_PKG_CONFIG"; then
44828 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44829 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44831 { echo "$as_me:$LINENO: result: no" >&5
44832 echo "${ECHO_T}no" >&6; }
44835 if test "x$ac_pt_PKG_CONFIG" = x
; then
44838 case $cross_compiling:$ac_tool_warned in
44840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44841 whose name does not start with the host triplet. If you think this
44842 configuration is useful to you, please write to autoconf@gnu.org." >&5
44843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44844 whose name does not start with the host triplet. If you think this
44845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44846 ac_tool_warned
=yes ;;
44848 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44851 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44855 if test -n "$PKG_CONFIG"; then
44856 _pkg_min_version
=0.9.0
44857 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44858 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44859 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44860 { echo "$as_me:$LINENO: result: yes" >&5
44861 echo "${ECHO_T}yes" >&6; }
44863 { echo "$as_me:$LINENO: result: no" >&5
44864 echo "${ECHO_T}no" >&6; }
44870 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44871 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44875 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44876 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44878 if test -n "$PKG_CONFIG"; then
44879 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44880 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44882 if test -n "$PKG_CONFIG" && \
44883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44884 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; then
44888 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44896 if test -n "$PKG_CONFIG"; then
44897 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44898 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44900 if test -n "$PKG_CONFIG" && \
44901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44902 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; then
44906 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44917 if test $pkg_failed = yes; then
44919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44920 _pkg_short_errors_supported
=yes
44922 _pkg_short_errors_supported
=no
44924 if test $_pkg_short_errors_supported = yes; then
44925 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44927 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44929 # Put the nasty error message in config.log where it belongs
44930 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44933 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44934 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44935 wxUSE_LIBGNOMEPRINT
="no"
44938 elif test $pkg_failed = untried
; then
44940 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44941 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44942 wxUSE_LIBGNOMEPRINT
="no"
44946 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44947 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44948 { echo "$as_me:$LINENO: result: yes" >&5
44949 echo "${ECHO_T}yes" >&6; }
44951 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44952 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_LIBGNOMEPRINT 1
44962 if test "$wxUSE_MIMETYPE" = "yes" ; then
44963 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44967 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44968 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44970 if test -n "$PKG_CONFIG"; then
44971 if test -n "$GNOMEVFS_CFLAGS"; then
44972 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44974 if test -n "$PKG_CONFIG" && \
44975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44976 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; then
44980 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$GNOMEVFS_LIBS"; then
44990 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45009 if test $pkg_failed = yes; then
45011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45012 _pkg_short_errors_supported
=yes
45014 _pkg_short_errors_supported
=no
45016 if test $_pkg_short_errors_supported = yes; then
45017 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45019 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45021 # Put the nasty error message in config.log where it belongs
45022 echo "$GNOMEVFS_PKG_ERRORS" >&5
45025 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45026 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45027 wxUSE_LIBGNOMEVFS
="no"
45030 elif test $pkg_failed = untried
; then
45032 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45033 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45034 wxUSE_LIBGNOMEVFS
="no"
45038 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45039 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45040 { echo "$as_me:$LINENO: result: yes" >&5
45041 echo "${ECHO_T}yes" >&6; }
45043 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45044 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45045 cat >>confdefs.h
<<\_ACEOF
45046 #define wxUSE_LIBGNOMEVFS 1
45054 if test "$wxUSE_LIBHILDON" = "yes" ; then
45057 { echo "$as_me:$LINENO: checking for HILDON" >&5
45058 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45060 if test -n "$PKG_CONFIG"; then
45061 if test -n "$HILDON_CFLAGS"; then
45062 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45064 if test -n "$PKG_CONFIG" && \
45065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45066 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); }; then
45070 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45078 if test -n "$PKG_CONFIG"; then
45079 if test -n "$HILDON_LIBS"; then
45080 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45082 if test -n "$PKG_CONFIG" && \
45083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45084 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; then
45088 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45099 if test $pkg_failed = yes; then
45101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45102 _pkg_short_errors_supported
=yes
45104 _pkg_short_errors_supported
=no
45106 if test $_pkg_short_errors_supported = yes; then
45107 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45109 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45111 # Put the nasty error message in config.log where it belongs
45112 echo "$HILDON_PKG_ERRORS" >&5
45115 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45116 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45117 wxUSE_LIBHILDON
="no"
45120 elif test $pkg_failed = untried
; then
45122 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45123 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45124 wxUSE_LIBHILDON
="no"
45128 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45129 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45130 { echo "$as_me:$LINENO: result: yes" >&5
45131 echo "${ECHO_T}yes" >&6; }
45133 EXTRALIBS_HILDON
="$HILDON_LIBS"
45134 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45135 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45136 cat >>confdefs.h
<<\_ACEOF
45137 #define wxUSE_LIBHILDON 1
45145 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45146 cat >>confdefs.h
<<\_ACEOF
45147 #define wxUSE_CMDLINE_PARSER 1
45152 if test "$wxUSE_STOPWATCH" = "yes"; then
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_STOPWATCH 1
45159 if test "$wxUSE_DATETIME" = "yes"; then
45160 cat >>confdefs.h
<<\_ACEOF
45161 #define wxUSE_DATETIME 1
45166 if test "$wxUSE_FILE" = "yes"; then
45167 cat >>confdefs.h
<<\_ACEOF
45168 #define wxUSE_FILE 1
45173 if test "$wxUSE_FFILE" = "yes"; then
45174 cat >>confdefs.h
<<\_ACEOF
45175 #define wxUSE_FFILE 1
45180 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45181 if test "$wxUSE_STREAMS" != yes; then
45182 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45183 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45184 wxUSE_ARCHIVE_STREAMS
=no
45186 cat >>confdefs.h
<<\_ACEOF
45187 #define wxUSE_ARCHIVE_STREAMS 1
45193 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45194 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45195 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45196 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45197 elif test "$wxUSE_ZLIB" = "no"; then
45198 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45199 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45201 cat >>confdefs.h
<<\_ACEOF
45202 #define wxUSE_ZIPSTREAM 1
45208 if test "$wxUSE_TARSTREAM" = "yes"; then
45209 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45210 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45211 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45213 cat >>confdefs.h
<<\_ACEOF
45214 #define wxUSE_TARSTREAM 1
45220 if test "$wxUSE_FILESYSTEM" = "yes"; then
45221 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45222 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45223 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45224 wxUSE_FILESYSTEM
=no
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_FILESYSTEM 1
45233 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45234 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45235 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45236 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_FS_ARCHIVE 1
45245 if test "$wxUSE_FS_ZIP" = "yes"; then
45246 if test "$wxUSE_FS_ARCHIVE" != yes; then
45247 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45248 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_FS_ZIP 1
45257 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45258 if test "$USE_UNIX" != 1; then
45259 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45260 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45261 wxUSE_ON_FATAL_EXCEPTION
=no
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_ON_FATAL_EXCEPTION 1
45270 if test "$wxUSE_STACKWALKER" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_STACKWALKER 1
45277 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45278 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45279 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45280 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45281 wxUSE_DEBUGREPORT
=no
45283 cat >>confdefs.h
<<\_ACEOF
45284 #define wxUSE_DEBUGREPORT 1
45287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45293 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45294 cat >>confdefs.h
<<\_ACEOF
45295 #define wxUSE_SNGLINST_CHECKER 1
45300 if test "$wxUSE_BUSYINFO" = "yes"; then
45301 cat >>confdefs.h
<<\_ACEOF
45302 #define wxUSE_BUSYINFO 1
45307 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_STD_IOSTREAM 1
45314 if test "$wxUSE_STD_STRING" = "yes"; then
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_STD_STRING 1
45321 if test "$wxUSE_STDPATHS" = "yes"; then
45322 cat >>confdefs.h
<<\_ACEOF
45323 #define wxUSE_STDPATHS 1
45328 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45329 cat >>confdefs.h
<<\_ACEOF
45330 #define wxUSE_TEXTBUFFER 1
45335 if test "$wxUSE_TEXTFILE" = "yes"; then
45336 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45337 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45338 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_TEXTFILE 1
45347 if test "$wxUSE_CONFIG" = "yes" ; then
45348 if test "$wxUSE_TEXTFILE" != "yes"; then
45349 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45350 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45352 cat >>confdefs.h
<<\_ACEOF
45353 #define wxUSE_CONFIG 1
45356 cat >>confdefs.h
<<\_ACEOF
45357 #define wxUSE_CONFIG_NATIVE 1
45360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45364 if test "$wxUSE_INTL" = "yes" ; then
45365 if test "$wxUSE_FILE" != "yes"; then
45366 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45367 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45369 cat >>confdefs.h
<<\_ACEOF
45370 #define wxUSE_INTL 1
45373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45374 GUIDIST
="$GUIDIST INTL_DIST"
45378 if test "$wxUSE_LOG" = "yes"; then
45379 cat >>confdefs.h
<<\_ACEOF
45380 #define wxUSE_LOG 1
45384 if test "$wxUSE_LOGGUI" = "yes"; then
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_LOGGUI 1
45391 if test "$wxUSE_LOGWINDOW" = "yes"; then
45392 cat >>confdefs.h
<<\_ACEOF
45393 #define wxUSE_LOGWINDOW 1
45398 if test "$wxUSE_LOGDIALOG" = "yes"; then
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_LOG_DIALOG 1
45405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45408 if test "$wxUSE_LONGLONG" = "yes"; then
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define wxUSE_LONGLONG 1
45415 if test "$wxUSE_GEOMETRY" = "yes"; then
45416 cat >>confdefs.h
<<\_ACEOF
45417 #define wxUSE_GEOMETRY 1
45422 if test "$wxUSE_BASE64" = "yes"; then
45423 cat >>confdefs.h
<<\_ACEOF
45424 #define wxUSE_BASE64 1
45429 if test "$wxUSE_STREAMS" = "yes" ; then
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_STREAMS 1
45436 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45437 cat >>confdefs.h
<<\_ACEOF
45438 #define wxUSE_PRINTF_POS_PARAMS 1
45443 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45444 cat >>confdefs.h
<<\_ACEOF
45445 #define wxUSE_OBJC_UNIQUIFYING 1
45451 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45452 cat >>confdefs.h
<<\_ACEOF
45453 #define wxUSE_CONSOLE_EVENTLOOP 1
45457 if test "$wxUSE_UNIX" = "yes"; then
45458 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45459 cat >>confdefs.h
<<\_ACEOF
45460 #define wxUSE_SELECT_DISPATCHER 1
45465 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45467 for ac_header
in sys
/epoll.h
45469 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45470 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45473 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45474 echo $ECHO_N "(cached) $ECHO_C" >&6
45476 ac_res
=`eval echo '${'$as_ac_Header'}'`
45477 { echo "$as_me:$LINENO: result: $ac_res" >&5
45478 echo "${ECHO_T}$ac_res" >&6; }
45480 # Is the header compilable?
45481 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45483 cat >conftest.
$ac_ext <<_ACEOF
45486 cat confdefs.h
>>conftest.
$ac_ext
45487 cat >>conftest.
$ac_ext <<_ACEOF
45488 /* end confdefs.h. */
45489 $ac_includes_default
45490 #include <$ac_header>
45492 rm -f conftest.
$ac_objext
45493 if { (ac_try
="$ac_compile"
45494 case "(($ac_try" in
45495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45496 *) ac_try_echo=$ac_try;;
45498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45499 (eval "$ac_compile") 2>conftest.er1
45501 grep -v '^ *+' conftest.er1 >conftest.err
45503 cat conftest.err >&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } && {
45506 test -z "$ac_c_werror_flag" ||
45507 test ! -s conftest.err
45508 } && test -s conftest.$ac_objext; then
45509 ac_header_compiler=yes
45511 echo "$as_me: failed program was:" >&5
45512 sed 's/^/| /' conftest.$ac_ext >&5
45514 ac_header_compiler=no
45517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45519 echo "${ECHO_T}$ac_header_compiler" >&6; }
45521 # Is the header present?
45522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45524 cat >conftest.$ac_ext <<_ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530 #include <$ac_header>
45532 if { (ac_try="$ac_cpp conftest.$ac_ext"
45533 case "(($ac_try" in
45534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45535 *) ac_try_echo
=$ac_try;;
45537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45540 grep -v '^ *+' conftest.er1
>conftest.err
45542 cat conftest.err
>&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } >/dev
/null
&& {
45545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45546 test ! -s conftest.err
45548 ac_header_preproc
=yes
45550 echo "$as_me: failed program was:" >&5
45551 sed 's/^/| /' conftest.
$ac_ext >&5
45553 ac_header_preproc
=no
45556 rm -f conftest.err conftest.
$ac_ext
45557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45558 echo "${ECHO_T}$ac_header_preproc" >&6; }
45560 # So? What about this header?
45561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45567 ac_header_preproc
=yes
45570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45583 ## ----------------------------------------- ##
45584 ## Report this to wx-dev@lists.wxwidgets.org ##
45585 ## ----------------------------------------- ##
45587 ) | sed "s/^/$as_me: WARNING: /" >&2
45590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45592 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45593 echo $ECHO_N "(cached) $ECHO_C" >&6
45595 eval "$as_ac_Header=\$ac_header_preproc"
45597 ac_res
=`eval echo '${'$as_ac_Header'}'`
45598 { echo "$as_me:$LINENO: result: $ac_res" >&5
45599 echo "${ECHO_T}$ac_res" >&6; }
45602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45603 cat >>confdefs.h
<<_ACEOF
45604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45611 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45612 cat >>confdefs.h
<<\_ACEOF
45613 #define wxUSE_EPOLL_DISPATCHER 1
45617 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45618 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45627 for ac_func
in gettimeofday ftime
45629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45632 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45635 cat >conftest.
$ac_ext <<_ACEOF
45638 cat confdefs.h
>>conftest.
$ac_ext
45639 cat >>conftest.
$ac_ext <<_ACEOF
45640 /* end confdefs.h. */
45641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45643 #define $ac_func innocuous_$ac_func
45645 /* System header to define __stub macros and hopefully few prototypes,
45646 which can conflict with char $ac_func (); below.
45647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45648 <limits.h> exists even on freestanding compilers. */
45651 # include <limits.h>
45653 # include <assert.h>
45658 /* Override any GCC internal prototype to avoid an error.
45659 Use char because int might match the return type of a GCC
45660 builtin and then its argument prototype would still apply. */
45665 /* The GNU C library defines this for functions which it implements
45666 to always fail with ENOSYS. Some functions are actually named
45667 something starting with __ and the normal name is an alias. */
45668 #if defined __stub_$ac_func || defined __stub___$ac_func
45675 return $ac_func ();
45680 rm -f conftest.
$ac_objext conftest
$ac_exeext
45681 if { (ac_try
="$ac_link"
45682 case "(($ac_try" in
45683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45684 *) ac_try_echo=$ac_try;;
45686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45687 (eval "$ac_link") 2>conftest.er1
45689 grep -v '^ *+' conftest.er1 >conftest.err
45691 cat conftest.err >&5
45692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693 (exit $ac_status); } && {
45694 test -z "$ac_c_werror_flag" ||
45695 test ! -s conftest.err
45696 } && test -s conftest$ac_exeext &&
45697 $as_test_x conftest$ac_exeext; then
45698 eval "$as_ac_var=yes"
45700 echo "$as_me: failed program was:" >&5
45701 sed 's/^/| /' conftest.$ac_ext >&5
45703 eval "$as_ac_var=no"
45706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45707 conftest$ac_exeext conftest.$ac_ext
45709 ac_res=`eval echo '${'$as_ac_var'}'`
45710 { echo "$as_me:$LINENO: result: $ac_res" >&5
45711 echo "${ECHO_T}$ac_res" >&6; }
45712 if test `eval echo '${'$as_ac_var'}'` = yes; then
45713 cat >>confdefs.h <<_ACEOF
45714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45721 if test "$ac_cv_func_gettimeofday" = "yes"; then
45722 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45723 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45724 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45728 cat >conftest.$ac_ext <<_ACEOF
45731 cat confdefs.h >>conftest.$ac_ext
45732 cat >>conftest.$ac_ext <<_ACEOF
45733 /* end confdefs.h. */
45735 #include <sys/time.h>
45736 #include <unistd.h>
45743 gettimeofday(&tv, NULL);
45749 rm -f conftest.$ac_objext
45750 if { (ac_try="$ac_compile"
45751 case "(($ac_try" in
45752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45753 *) ac_try_echo
=$ac_try;;
45755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45756 (eval "$ac_compile") 2>conftest.er1
45758 grep -v '^ *+' conftest.er1
>conftest.err
45760 cat conftest.err
>&5
45761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45762 (exit $ac_status); } && {
45763 test -z "$ac_c_werror_flag" ||
45764 test ! -s conftest.err
45765 } && test -s conftest.
$ac_objext; then
45766 wx_cv_func_gettimeofday_has_2_args
=yes
45768 echo "$as_me: failed program was:" >&5
45769 sed 's/^/| /' conftest.
$ac_ext >&5
45771 cat >conftest.
$ac_ext <<_ACEOF
45774 cat confdefs.h
>>conftest.
$ac_ext
45775 cat >>conftest.
$ac_ext <<_ACEOF
45776 /* end confdefs.h. */
45778 #include <sys/time.h>
45779 #include <unistd.h>
45792 rm -f conftest.
$ac_objext
45793 if { (ac_try
="$ac_compile"
45794 case "(($ac_try" in
45795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45796 *) ac_try_echo=$ac_try;;
45798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45799 (eval "$ac_compile") 2>conftest.er1
45801 grep -v '^ *+' conftest.er1 >conftest.err
45803 cat conftest.err >&5
45804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45805 (exit $ac_status); } && {
45806 test -z "$ac_c_werror_flag" ||
45807 test ! -s conftest.err
45808 } && test -s conftest.$ac_objext; then
45809 wx_cv_func_gettimeofday_has_2_args=no
45811 echo "$as_me: failed program was:" >&5
45812 sed 's/^/| /' conftest.$ac_ext >&5
45815 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45816 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45817 wx_cv_func_gettimeofday_has_2_args=unknown
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45829 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45830 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45832 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define WX_GETTIMEOFDAY_NO_TZ 1
45840 if test "$wxUSE_DATETIME" = "yes"; then
45841 { echo "$as_me:$LINENO: checking for strptime" >&5
45842 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45843 if test "${ac_cv_func_strptime+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 cat >conftest.$ac_ext <<_ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45854 #define strptime innocuous_strptime
45856 /* System header to define __stub macros and hopefully few prototypes,
45857 which can conflict with char strptime (); below.
45858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859 <limits.h> exists even on freestanding compilers. */
45862 # include <limits.h>
45864 # include <assert.h>
45869 /* Override any GCC internal prototype to avoid an error.
45870 Use char because int might match the return type of a GCC
45871 builtin and then its argument prototype would still apply. */
45876 /* The GNU C library defines this for functions which it implements
45877 to always fail with ENOSYS. Some functions are actually named
45878 something starting with __ and the normal name is an alias. */
45879 #if defined __stub_strptime || defined __stub___strptime
45886 return strptime ();
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (ac_try="$ac_link"
45893 case "(($ac_try" in
45894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45895 *) ac_try_echo
=$ac_try;;
45897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45898 (eval "$ac_link") 2>conftest.er1
45900 grep -v '^ *+' conftest.er1
>conftest.err
45902 cat conftest.err
>&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); } && {
45905 test -z "$ac_c_werror_flag" ||
45906 test ! -s conftest.err
45907 } && test -s conftest
$ac_exeext &&
45908 $as_test_x conftest
$ac_exeext; then
45909 ac_cv_func_strptime
=yes
45911 echo "$as_me: failed program was:" >&5
45912 sed 's/^/| /' conftest.
$ac_ext >&5
45914 ac_cv_func_strptime
=no
45917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45918 conftest
$ac_exeext conftest.
$ac_ext
45920 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45921 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45923 if test "$ac_cv_func_strptime" = "yes"; then
45924 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45925 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45926 if test "${wx_cv_func_strptime_decl+set}" = set; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45931 ac_cpp
='$CXXCPP $CPPFLAGS'
45932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45936 cat >conftest.
$ac_ext <<_ACEOF
45939 cat confdefs.h
>>conftest.
$ac_ext
45940 cat >>conftest.
$ac_ext <<_ACEOF
45941 /* end confdefs.h. */
45950 strptime("foo", "bar", &t);
45956 rm -f conftest.
$ac_objext
45957 if { (ac_try
="$ac_compile"
45958 case "(($ac_try" in
45959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45960 *) ac_try_echo=$ac_try;;
45962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45963 (eval "$ac_compile") 2>conftest.er1
45965 grep -v '^ *+' conftest.er1 >conftest.err
45967 cat conftest.err >&5
45968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969 (exit $ac_status); } && {
45970 test -z "$ac_cxx_werror_flag" ||
45971 test ! -s conftest.err
45972 } && test -s conftest.$ac_objext; then
45973 wx_cv_func_strptime_decl=yes
45975 echo "$as_me: failed program was:" >&5
45976 sed 's/^/| /' conftest.$ac_ext >&5
45978 wx_cv_func_strptime_decl=no
45982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45984 ac_cpp='$CPP $CPPFLAGS'
45985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45992 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45993 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45995 if test "$wx_cv_func_strptime_decl" = "yes"; then
45996 cat >>confdefs.h <<\_ACEOF
45997 #define HAVE_STRPTIME_DECL 1
46001 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46003 if test "$ac_cv_func_strptime" = "yes"; then
46004 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46005 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46006 if test "${wx_cv_func_strptime_ok+set}" = set; then
46007 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 if test "$cross_compiling" = yes; then
46010 wx_cv_func_strptime_ok=no
46013 cat >conftest.$ac_ext <<_ACEOF
46015 #include <stdlib.h>
46017 #include "confdefs.h"
46024 return !!strptime("", "%x", &t);
46028 rm -f conftest$ac_exeext
46029 if { (ac_try="$ac_link"
46030 case "(($ac_try" in
46031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46032 *) ac_try_echo
=$ac_try;;
46034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46035 (eval "$ac_link") 2>&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46039 { (case "(($ac_try" in
46040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46041 *) ac_try_echo=$ac_try;;
46043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46044 (eval "$ac_try") 2>&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); }; }; then
46048 wx_cv_func_strptime_ok=yes
46050 echo "$as_me: program exited with status $ac_status" >&5
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.$ac_ext >&5
46054 ( exit $ac_status )
46055 wx_cv_func_strptime_ok=no
46057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46063 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46064 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46066 if test "$wx_cv_func_strptime_ok" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define HAVE_STRPTIME 1
46074 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46075 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46076 if test "${wx_cv_var_timezone+set}" = set; then
46077 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 ac_cpp='$CXXCPP $CPPFLAGS'
46082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46086 cat >conftest.$ac_ext <<_ACEOF
46089 cat confdefs.h >>conftest.$ac_ext
46090 cat >>conftest.$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46106 rm -f conftest.$ac_objext
46107 if { (ac_try="$ac_compile"
46108 case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46110 *) ac_try_echo
=$ac_try;;
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_compile") 2>conftest.er1
46115 grep -v '^ *+' conftest.er1
>conftest.err
46117 cat conftest.err
>&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); } && {
46120 test -z "$ac_cxx_werror_flag" ||
46121 test ! -s conftest.err
46122 } && test -s conftest.
$ac_objext; then
46124 wx_cv_var_timezone
=timezone
46127 echo "$as_me: failed program was:" >&5
46128 sed 's/^/| /' conftest.
$ac_ext >&5
46131 cat >conftest.
$ac_ext <<_ACEOF
46134 cat confdefs.h
>>conftest.
$ac_ext
46135 cat >>conftest.
$ac_ext <<_ACEOF
46136 /* end confdefs.h. */
46151 rm -f conftest.
$ac_objext
46152 if { (ac_try
="$ac_compile"
46153 case "(($ac_try" in
46154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46155 *) ac_try_echo=$ac_try;;
46157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46158 (eval "$ac_compile") 2>conftest.er1
46160 grep -v '^ *+' conftest.er1 >conftest.err
46162 cat conftest.err >&5
46163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46164 (exit $ac_status); } && {
46165 test -z "$ac_cxx_werror_flag" ||
46166 test ! -s conftest.err
46167 } && test -s conftest.$ac_objext; then
46169 wx_cv_var_timezone=_timezone
46172 echo "$as_me: failed program was:" >&5
46173 sed 's/^/| /' conftest.$ac_ext >&5
46176 cat >conftest.$ac_ext <<_ACEOF
46179 cat confdefs.h >>conftest.$ac_ext
46180 cat >>conftest.$ac_ext <<_ACEOF
46181 /* end confdefs.h. */
46196 rm -f conftest.$ac_objext
46197 if { (ac_try="$ac_compile"
46198 case "(($ac_try" in
46199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46200 *) ac_try_echo
=$ac_try;;
46202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46203 (eval "$ac_compile") 2>conftest.er1
46205 grep -v '^ *+' conftest.er1
>conftest.err
46207 cat conftest.err
>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); } && {
46210 test -z "$ac_cxx_werror_flag" ||
46211 test ! -s conftest.err
46212 } && test -s conftest.
$ac_objext; then
46214 wx_cv_var_timezone
=__timezone
46217 echo "$as_me: failed program was:" >&5
46218 sed 's/^/| /' conftest.
$ac_ext >&5
46221 if test "$USE_DOS" = 0 ; then
46222 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46223 echo "$as_me: WARNING: no timezone variable" >&2;}
46229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46241 ac_cpp
='$CPP $CPPFLAGS'
46242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46249 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46250 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46252 if test "x$wx_cv_var_timezone" != x
; then
46253 cat >>confdefs.h
<<_ACEOF
46254 #define WX_TIMEZONE $wx_cv_var_timezone
46260 for ac_func
in localtime
46262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46265 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46266 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 cat >conftest.
$ac_ext <<_ACEOF
46271 cat confdefs.h
>>conftest.
$ac_ext
46272 cat >>conftest.
$ac_ext <<_ACEOF
46273 /* end confdefs.h. */
46274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46276 #define $ac_func innocuous_$ac_func
46278 /* System header to define __stub macros and hopefully few prototypes,
46279 which can conflict with char $ac_func (); below.
46280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46281 <limits.h> exists even on freestanding compilers. */
46284 # include <limits.h>
46286 # include <assert.h>
46291 /* Override any GCC internal prototype to avoid an error.
46292 Use char because int might match the return type of a GCC
46293 builtin and then its argument prototype would still apply. */
46298 /* The GNU C library defines this for functions which it implements
46299 to always fail with ENOSYS. Some functions are actually named
46300 something starting with __ and the normal name is an alias. */
46301 #if defined __stub_$ac_func || defined __stub___$ac_func
46308 return $ac_func ();
46313 rm -f conftest.
$ac_objext conftest
$ac_exeext
46314 if { (ac_try
="$ac_link"
46315 case "(($ac_try" in
46316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46317 *) ac_try_echo=$ac_try;;
46319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46320 (eval "$ac_link") 2>conftest.er1
46322 grep -v '^ *+' conftest.er1 >conftest.err
46324 cat conftest.err >&5
46325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326 (exit $ac_status); } && {
46327 test -z "$ac_c_werror_flag" ||
46328 test ! -s conftest.err
46329 } && test -s conftest$ac_exeext &&
46330 $as_test_x conftest$ac_exeext; then
46331 eval "$as_ac_var=yes"
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.$ac_ext >&5
46336 eval "$as_ac_var=no"
46339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46340 conftest$ac_exeext conftest.$ac_ext
46342 ac_res=`eval echo '${'$as_ac_var'}'`
46343 { echo "$as_me:$LINENO: result: $ac_res" >&5
46344 echo "${ECHO_T}$ac_res" >&6; }
46345 if test `eval echo '${'$as_ac_var'}'` = yes; then
46346 cat >>confdefs.h <<_ACEOF
46347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46354 if test "$ac_cv_func_localtime" = "yes"; then
46355 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46356 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46357 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46358 echo $ECHO_N "(cached) $ECHO_C" >&6
46361 cat >conftest.$ac_ext <<_ACEOF
46364 cat confdefs.h >>conftest.$ac_ext
46365 cat >>conftest.$ac_ext <<_ACEOF
46366 /* end confdefs.h. */
46381 rm -f conftest.$ac_objext
46382 if { (ac_try="$ac_compile"
46383 case "(($ac_try" in
46384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46385 *) ac_try_echo
=$ac_try;;
46387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46388 (eval "$ac_compile") 2>conftest.er1
46390 grep -v '^ *+' conftest.er1
>conftest.err
46392 cat conftest.err
>&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } && {
46395 test -z "$ac_c_werror_flag" ||
46396 test ! -s conftest.err
46397 } && test -s conftest.
$ac_objext; then
46399 wx_cv_struct_tm_has_gmtoff
=yes
46402 echo "$as_me: failed program was:" >&5
46403 sed 's/^/| /' conftest.
$ac_ext >&5
46405 wx_cv_struct_tm_has_gmtoff
=no
46409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46412 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46413 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46416 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46417 cat >>confdefs.h
<<\_ACEOF
46418 #define WX_GMTOFF_IN_TM 1
46423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46427 if test "$wxUSE_SOCKETS" = "yes"; then
46428 if test "$wxUSE_MGL" = "1"; then
46429 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46430 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46435 if test "$wxUSE_SOCKETS" = "yes"; then
46436 if test "$TOOLKIT" != "MSW"; then
46437 { echo "$as_me:$LINENO: checking for socket" >&5
46438 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46439 if test "${ac_cv_func_socket+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46442 cat >conftest.
$ac_ext <<_ACEOF
46445 cat confdefs.h
>>conftest.
$ac_ext
46446 cat >>conftest.
$ac_ext <<_ACEOF
46447 /* end confdefs.h. */
46448 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46450 #define socket innocuous_socket
46452 /* System header to define __stub macros and hopefully few prototypes,
46453 which can conflict with char socket (); below.
46454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46455 <limits.h> exists even on freestanding compilers. */
46458 # include <limits.h>
46460 # include <assert.h>
46465 /* Override any GCC internal prototype to avoid an error.
46466 Use char because int might match the return type of a GCC
46467 builtin and then its argument prototype would still apply. */
46472 /* The GNU C library defines this for functions which it implements
46473 to always fail with ENOSYS. Some functions are actually named
46474 something starting with __ and the normal name is an alias. */
46475 #if defined __stub_socket || defined __stub___socket
46487 rm -f conftest.
$ac_objext conftest
$ac_exeext
46488 if { (ac_try
="$ac_link"
46489 case "(($ac_try" in
46490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_link") 2>conftest.er1
46496 grep -v '^ *+' conftest.er1 >conftest.err
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest$ac_exeext &&
46504 $as_test_x conftest$ac_exeext; then
46505 ac_cv_func_socket=yes
46507 echo "$as_me: failed program was:" >&5
46508 sed 's/^/| /' conftest.$ac_ext >&5
46510 ac_cv_func_socket=no
46513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46514 conftest$ac_exeext conftest.$ac_ext
46516 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46517 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46518 if test $ac_cv_func_socket = yes; then
46522 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46523 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46524 if test "${ac_cv_lib_socket_socket+set}" = set; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46527 ac_check_lib_save_LIBS=$LIBS
46528 LIBS="-lsocket $LIBS"
46529 cat >conftest.$ac_ext <<_ACEOF
46532 cat confdefs.h >>conftest.$ac_ext
46533 cat >>conftest.$ac_ext <<_ACEOF
46534 /* end confdefs.h. */
46536 /* Override any GCC internal prototype to avoid an error.
46537 Use char because int might match the return type of a GCC
46538 builtin and then its argument prototype would still apply. */
46551 rm -f conftest.$ac_objext conftest$ac_exeext
46552 if { (ac_try="$ac_link"
46553 case "(($ac_try" in
46554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46555 *) ac_try_echo
=$ac_try;;
46557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46558 (eval "$ac_link") 2>conftest.er1
46560 grep -v '^ *+' conftest.er1
>conftest.err
46562 cat conftest.err
>&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); } && {
46565 test -z "$ac_c_werror_flag" ||
46566 test ! -s conftest.err
46567 } && test -s conftest
$ac_exeext &&
46568 $as_test_x conftest
$ac_exeext; then
46569 ac_cv_lib_socket_socket
=yes
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.
$ac_ext >&5
46574 ac_cv_lib_socket_socket
=no
46577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46578 conftest
$ac_exeext conftest.
$ac_ext
46579 LIBS
=$ac_check_lib_save_LIBS
46581 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46582 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46583 if test $ac_cv_lib_socket_socket = yes; then
46584 if test "$INET_LINK" != " -lsocket"; then
46585 INET_LINK
="$INET_LINK -lsocket"
46589 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46590 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46603 if test "$wxUSE_SOCKETS" = "yes" ; then
46604 if test "$TOOLKIT" != "MSW"; then
46605 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46606 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46607 if test "${wx_cv_type_getsockname3+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46612 ac_cpp
='$CXXCPP $CPPFLAGS'
46613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46617 cat >conftest.
$ac_ext <<_ACEOF
46620 cat confdefs.h
>>conftest.
$ac_ext
46621 cat >>conftest.
$ac_ext <<_ACEOF
46622 /* end confdefs.h. */
46624 #include <sys/types.h>
46625 #include <sys/socket.h>
46632 getsockname(0, 0, &len);
46638 rm -f conftest.
$ac_objext
46639 if { (ac_try
="$ac_compile"
46640 case "(($ac_try" in
46641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46642 *) ac_try_echo=$ac_try;;
46644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46645 (eval "$ac_compile") 2>conftest.er1
46647 grep -v '^ *+' conftest.er1 >conftest.err
46649 cat conftest.err >&5
46650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651 (exit $ac_status); } && {
46652 test -z "$ac_cxx_werror_flag" ||
46653 test ! -s conftest.err
46654 } && test -s conftest.$ac_objext; then
46655 wx_cv_type_getsockname3=socklen_t
46657 echo "$as_me: failed program was:" >&5
46658 sed 's/^/| /' conftest.$ac_ext >&5
46661 CFLAGS_OLD="$CFLAGS"
46662 if test "$GCC" = yes ; then
46663 CFLAGS="-Werror $CFLAGS"
46666 cat >conftest.$ac_ext <<_ACEOF
46669 cat confdefs.h >>conftest.$ac_ext
46670 cat >>conftest.$ac_ext <<_ACEOF
46671 /* end confdefs.h. */
46673 #include <sys/types.h>
46674 #include <sys/socket.h>
46681 getsockname(0, 0, &len);
46687 rm -f conftest.$ac_objext
46688 if { (ac_try="$ac_compile"
46689 case "(($ac_try" in
46690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46691 *) ac_try_echo
=$ac_try;;
46693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46694 (eval "$ac_compile") 2>conftest.er1
46696 grep -v '^ *+' conftest.er1
>conftest.err
46698 cat conftest.err
>&5
46699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700 (exit $ac_status); } && {
46701 test -z "$ac_cxx_werror_flag" ||
46702 test ! -s conftest.err
46703 } && test -s conftest.
$ac_objext; then
46704 wx_cv_type_getsockname3
=size_t
46706 echo "$as_me: failed program was:" >&5
46707 sed 's/^/| /' conftest.
$ac_ext >&5
46709 cat >conftest.
$ac_ext <<_ACEOF
46712 cat confdefs.h
>>conftest.
$ac_ext
46713 cat >>conftest.
$ac_ext <<_ACEOF
46714 /* end confdefs.h. */
46716 #include <sys/types.h>
46717 #include <sys/socket.h>
46724 getsockname(0, 0, &len);
46730 rm -f conftest.
$ac_objext
46731 if { (ac_try
="$ac_compile"
46732 case "(($ac_try" in
46733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46734 *) ac_try_echo=$ac_try;;
46736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46737 (eval "$ac_compile") 2>conftest.er1
46739 grep -v '^ *+' conftest.er1 >conftest.err
46741 cat conftest.err >&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && {
46744 test -z "$ac_cxx_werror_flag" ||
46745 test ! -s conftest.err
46746 } && test -s conftest.$ac_objext; then
46747 wx_cv_type_getsockname3=int
46749 echo "$as_me: failed program was:" >&5
46750 sed 's/^/| /' conftest.$ac_ext >&5
46752 wx_cv_type_getsockname3=unknown
46756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46762 CFLAGS="$CFLAGS_OLD"
46767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46769 ac_cpp='$CPP $CPPFLAGS'
46770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46776 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46777 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46779 if test "$wx_cv_type_getsockname3" = "unknown"; then
46781 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46782 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46784 cat >>confdefs.h <<_ACEOF
46785 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46789 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46790 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46791 if test "${wx_cv_type_getsockopt5+set}" = set; then
46792 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 ac_cpp='$CXXCPP $CPPFLAGS'
46797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46801 cat >conftest.$ac_ext <<_ACEOF
46804 cat confdefs.h >>conftest.$ac_ext
46805 cat >>conftest.$ac_ext <<_ACEOF
46806 /* end confdefs.h. */
46808 #include <sys/types.h>
46809 #include <sys/socket.h>
46816 getsockopt(0, 0, 0, 0, &len);
46822 rm -f conftest.$ac_objext
46823 if { (ac_try="$ac_compile"
46824 case "(($ac_try" in
46825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46826 *) ac_try_echo
=$ac_try;;
46828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46829 (eval "$ac_compile") 2>conftest.er1
46831 grep -v '^ *+' conftest.er1
>conftest.err
46833 cat conftest.err
>&5
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); } && {
46836 test -z "$ac_cxx_werror_flag" ||
46837 test ! -s conftest.err
46838 } && test -s conftest.
$ac_objext; then
46839 wx_cv_type_getsockopt5
=socklen_t
46841 echo "$as_me: failed program was:" >&5
46842 sed 's/^/| /' conftest.
$ac_ext >&5
46845 cat >conftest.
$ac_ext <<_ACEOF
46848 cat confdefs.h
>>conftest.
$ac_ext
46849 cat >>conftest.
$ac_ext <<_ACEOF
46850 /* end confdefs.h. */
46852 #include <sys/types.h>
46853 #include <sys/socket.h>
46860 getsockopt(0, 0, 0, 0, &len);
46866 rm -f conftest.
$ac_objext
46867 if { (ac_try
="$ac_compile"
46868 case "(($ac_try" in
46869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46870 *) ac_try_echo=$ac_try;;
46872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46873 (eval "$ac_compile") 2>conftest.er1
46875 grep -v '^ *+' conftest.er1 >conftest.err
46877 cat conftest.err >&5
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); } && {
46880 test -z "$ac_cxx_werror_flag" ||
46881 test ! -s conftest.err
46882 } && test -s conftest.$ac_objext; then
46883 wx_cv_type_getsockopt5=size_t
46885 echo "$as_me: failed program was:" >&5
46886 sed 's/^/| /' conftest.$ac_ext >&5
46888 cat >conftest.$ac_ext <<_ACEOF
46891 cat confdefs.h >>conftest.$ac_ext
46892 cat >>conftest.$ac_ext <<_ACEOF
46893 /* end confdefs.h. */
46895 #include <sys/types.h>
46896 #include <sys/socket.h>
46903 getsockopt(0, 0, 0, 0, &len);
46909 rm -f conftest.$ac_objext
46910 if { (ac_try="$ac_compile"
46911 case "(($ac_try" in
46912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46913 *) ac_try_echo
=$ac_try;;
46915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46916 (eval "$ac_compile") 2>conftest.er1
46918 grep -v '^ *+' conftest.er1
>conftest.err
46920 cat conftest.err
>&5
46921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922 (exit $ac_status); } && {
46923 test -z "$ac_cxx_werror_flag" ||
46924 test ! -s conftest.err
46925 } && test -s conftest.
$ac_objext; then
46926 wx_cv_type_getsockopt5
=int
46928 echo "$as_me: failed program was:" >&5
46929 sed 's/^/| /' conftest.
$ac_ext >&5
46931 wx_cv_type_getsockopt5
=unknown
46935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46946 ac_cpp
='$CPP $CPPFLAGS'
46947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46953 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46954 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46956 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46958 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46959 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46961 cat >>confdefs.h
<<_ACEOF
46962 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46969 if test "$wxUSE_SOCKETS" = "yes" ; then
46970 cat >>confdefs.h
<<\_ACEOF
46971 #define wxUSE_SOCKETS 1
46974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46977 if test "$wxUSE_PROTOCOL" = "yes"; then
46978 if test "$wxUSE_SOCKETS" != "yes"; then
46979 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46980 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46985 if test "$wxUSE_PROTOCOL" = "yes"; then
46986 cat >>confdefs.h
<<\_ACEOF
46987 #define wxUSE_PROTOCOL 1
46991 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46992 cat >>confdefs.h
<<\_ACEOF
46993 #define wxUSE_PROTOCOL_HTTP 1
46997 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_PROTOCOL_FTP 1
47003 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47004 cat >>confdefs.h
<<\_ACEOF
47005 #define wxUSE_PROTOCOL_FILE 1
47010 if test "$wxUSE_FS_INET" = "yes"; then
47011 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47012 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47017 if test "$wxUSE_URL" = "yes"; then
47018 if test "$wxUSE_PROTOCOL" != "yes"; then
47019 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47020 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47023 if test "$wxUSE_URL" = "yes"; then
47024 cat >>confdefs.h
<<\_ACEOF
47025 #define wxUSE_URL 1
47031 if test "$wxUSE_VARIANT" = "yes"; then
47032 cat >>confdefs.h
<<\_ACEOF
47033 #define wxUSE_VARIANT 1
47038 if test "$wxUSE_FS_INET" = "yes"; then
47039 cat >>confdefs.h
<<\_ACEOF
47040 #define wxUSE_FS_INET 1
47046 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47049 if test "$TOOLKIT" = "MSW"; then
47052 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47053 if test "$USE_DARWIN" = 1; then
47054 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47055 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47057 ac_cpp
='$CXXCPP $CPPFLAGS'
47058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47062 cat >conftest.
$ac_ext <<_ACEOF
47065 cat confdefs.h
>>conftest.
$ac_ext
47066 cat >>conftest.
$ac_ext <<_ACEOF
47067 /* end confdefs.h. */
47068 #include <IOKit/hid/IOHIDLib.h>
47072 IOHIDQueueInterface *qi = NULL;
47073 IOHIDCallbackFunction cb = NULL;
47074 qi->setEventCallout(NULL, cb, NULL, NULL);
47079 rm -f conftest.
$ac_objext
47080 if { (ac_try
="$ac_compile"
47081 case "(($ac_try" in
47082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47083 *) ac_try_echo=$ac_try;;
47085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47086 (eval "$ac_compile") 2>conftest.er1
47088 grep -v '^ *+' conftest.er1 >conftest.err
47090 cat conftest.err >&5
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); } && {
47093 test -z "$ac_cxx_werror_flag" ||
47094 test ! -s conftest.err
47095 } && test -s conftest.$ac_objext; then
47099 echo "$as_me: failed program was:" >&5
47100 sed 's/^/| /' conftest.$ac_ext >&5
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47107 ac_cpp='$CPP $CPPFLAGS'
47108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47112 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47113 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47117 if test "$wxUSE_MGL" != "1"; then
47119 for ac_header in linux/joystick.h
47121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47125 echo $ECHO_N "(cached) $ECHO_C" >&6
47127 cat >conftest.$ac_ext <<_ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h. */
47133 $ac_includes_default
47135 #include <$ac_header>
47137 rm -f conftest.$ac_objext
47138 if { (ac_try="$ac_compile"
47139 case "(($ac_try" in
47140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47141 *) ac_try_echo
=$ac_try;;
47143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47144 (eval "$ac_compile") 2>conftest.er1
47146 grep -v '^ *+' conftest.er1
>conftest.err
47148 cat conftest.err
>&5
47149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150 (exit $ac_status); } && {
47151 test -z "$ac_c_werror_flag" ||
47152 test ! -s conftest.err
47153 } && test -s conftest.
$ac_objext; then
47154 eval "$as_ac_Header=yes"
47156 echo "$as_me: failed program was:" >&5
47157 sed 's/^/| /' conftest.
$ac_ext >&5
47159 eval "$as_ac_Header=no"
47162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47164 ac_res
=`eval echo '${'$as_ac_Header'}'`
47165 { echo "$as_me:$LINENO: result: $ac_res" >&5
47166 echo "${ECHO_T}$ac_res" >&6; }
47167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47168 cat >>confdefs.h
<<_ACEOF
47169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47179 if test "$wxUSE_JOYSTICK" = "yes"; then
47180 cat >>confdefs.h
<<\_ACEOF
47181 #define wxUSE_JOYSTICK 1
47184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47186 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47187 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47193 if test "$wxUSE_FONTENUM" = "yes" ; then
47194 cat >>confdefs.h
<<\_ACEOF
47195 #define wxUSE_FONTENUM 1
47200 if test "$wxUSE_FONTMAP" = "yes" ; then
47201 cat >>confdefs.h
<<\_ACEOF
47202 #define wxUSE_FONTMAP 1
47207 if test "$wxUSE_UNICODE" = "yes" ; then
47208 cat >>confdefs.h
<<\_ACEOF
47209 #define wxUSE_UNICODE 1
47213 if test "$USE_WIN32" != 1; then
47214 wxUSE_UNICODE_MSLU
=no
47217 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47218 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47219 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47220 if test "${ac_cv_lib_unicows_main+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47223 ac_check_lib_save_LIBS
=$LIBS
47224 LIBS
="-lunicows $LIBS"
47225 cat >conftest.
$ac_ext <<_ACEOF
47228 cat confdefs.h
>>conftest.
$ac_ext
47229 cat >>conftest.
$ac_ext <<_ACEOF
47230 /* end confdefs.h. */
47241 rm -f conftest.
$ac_objext conftest
$ac_exeext
47242 if { (ac_try
="$ac_link"
47243 case "(($ac_try" in
47244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47245 *) ac_try_echo=$ac_try;;
47247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47248 (eval "$ac_link") 2>conftest.er1
47250 grep -v '^ *+' conftest.er1 >conftest.err
47252 cat conftest.err >&5
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); } && {
47255 test -z "$ac_c_werror_flag" ||
47256 test ! -s conftest.err
47257 } && test -s conftest$ac_exeext &&
47258 $as_test_x conftest$ac_exeext; then
47259 ac_cv_lib_unicows_main=yes
47261 echo "$as_me: failed program was:" >&5
47262 sed 's/^/| /' conftest.$ac_ext >&5
47264 ac_cv_lib_unicows_main=no
47267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47268 conftest$ac_exeext conftest.$ac_ext
47269 LIBS=$ac_check_lib_save_LIBS
47271 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47272 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47273 if test $ac_cv_lib_unicows_main = yes; then
47275 cat >>confdefs.h <<\_ACEOF
47276 #define wxUSE_UNICODE_MSLU 1
47282 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47283 Applications will only run on Windows NT/2000/XP!" >&5
47284 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47285 Applications will only run on Windows NT/2000/XP!" >&2;}
47286 wxUSE_UNICODE_MSLU=no
47293 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_UNICODE_UTF8 1
47299 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_UTF8_LOCALE_ONLY 1
47307 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_EXPERIMENTAL_PRINTF 1
47315 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_CONSTRAINTS 1
47320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47323 if test "$wxUSE_MDI" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_MDI 1
47329 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_MDI_ARCHITECTURE 1
47334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47338 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47344 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47349 if test "$wxUSE_HELP" = "yes"; then
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_HELP 1
47354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47356 if test "$wxUSE_MSW" = 1; then
47357 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_MS_HTML_HELP 1
47365 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47366 if test "$wxUSE_HTML" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_WXHTML_HELP 1
47372 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47373 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47374 wxUSE_WXHTML_HELP=no
47379 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47380 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47381 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47382 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_PRINTING_ARCHITECTURE 1
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47392 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_POSTSCRIPT 1
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_NORMALIZED_PS_FONTS 1
47409 if test "$wxUSE_SVG" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_SVG 1
47417 if test "$wxUSE_METAFILE" = "yes"; then
47418 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47419 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47420 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47426 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47427 -o "$wxUSE_CLIPBOARD" = "yes" \
47428 -o "$wxUSE_OLE" = "yes" \
47429 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47430 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47431 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47432 if test "${ac_cv_header_ole2_h+set}" = set; then
47433 echo $ECHO_N "(cached) $ECHO_C" >&6
47435 cat >conftest.$ac_ext <<_ACEOF
47438 cat confdefs.h >>conftest.$ac_ext
47439 cat >>conftest.$ac_ext <<_ACEOF
47440 /* end confdefs.h. */
47445 rm -f conftest.$ac_objext
47446 if { (ac_try="$ac_compile"
47447 case "(($ac_try" in
47448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47449 *) ac_try_echo
=$ac_try;;
47451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47452 (eval "$ac_compile") 2>conftest.er1
47454 grep -v '^ *+' conftest.er1
>conftest.err
47456 cat conftest.err
>&5
47457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47458 (exit $ac_status); } && {
47459 test -z "$ac_c_werror_flag" ||
47460 test ! -s conftest.err
47461 } && test -s conftest.
$ac_objext; then
47462 ac_cv_header_ole2_h
=yes
47464 echo "$as_me: failed program was:" >&5
47465 sed 's/^/| /' conftest.
$ac_ext >&5
47467 ac_cv_header_ole2_h
=no
47470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47472 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47473 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47477 if test "$ac_cv_header_ole2_h" = "yes" ; then
47478 if test "$GCC" = yes ; then
47479 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47480 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47481 cat >conftest.
$ac_ext <<_ACEOF
47484 cat confdefs.h
>>conftest.
$ac_ext
47485 cat >>conftest.
$ac_ext <<_ACEOF
47486 /* end confdefs.h. */
47487 #include <windows.h>
47497 rm -f conftest.
$ac_objext
47498 if { (ac_try
="$ac_compile"
47499 case "(($ac_try" in
47500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_compile") 2>conftest.er1
47506 grep -v '^ *+' conftest.er1 >conftest.err
47508 cat conftest.err >&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); } && {
47511 test -z "$ac_c_werror_flag" ||
47512 test ! -s conftest.err
47513 } && test -s conftest.$ac_objext; then
47514 { echo "$as_me:$LINENO: result: no" >&5
47515 echo "${ECHO_T}no" >&6; }
47517 echo "$as_me: failed program was:" >&5
47518 sed 's/^/| /' conftest.$ac_ext >&5
47520 { echo "$as_me:$LINENO: result: yes" >&5
47521 echo "${ECHO_T}yes" >&6; }
47522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47526 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47527 if test "$wxUSE_OLE" = "yes" ; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_OLE 1
47532 cat >>confdefs.h <<\_ACEOF
47533 #define wxUSE_OLE_AUTOMATION 1
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_ACTIVEX 1
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47544 if test "$wxUSE_DATAOBJ" = "yes" ; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_DATAOBJ 1
47551 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47552 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47555 wxUSE_DRAG_AND_DROP=no
47560 if test "$wxUSE_METAFILE" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_METAFILE 1
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_ENH_METAFILE 1
47573 if test "$wxUSE_IPC" = "yes"; then
47574 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47575 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47576 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47580 if test "$wxUSE_IPC" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_IPC 1
47585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47589 if test "$wxUSE_DATAOBJ" = "yes"; then
47590 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47591 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47592 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_DATAOBJ 1
47601 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47602 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47604 wxUSE_DRAG_AND_DROP=no
47607 if test "$wxUSE_CLIPBOARD" = "yes"; then
47608 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47609 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47610 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47614 if test "$wxUSE_CLIPBOARD" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_CLIPBOARD 1
47622 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47623 if test "$wxUSE_GTK" = 1; then
47624 if test "$WXGTK12" != 1; then
47625 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47626 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47627 wxUSE_DRAG_AND_DROP=no
47631 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47632 "$wxUSE_DFB" = 1; then
47633 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47634 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47635 wxUSE_DRAG_AND_DROP=no
47638 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_DRAG_AND_DROP 1
47647 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47651 if test "$wxUSE_SPLINES" = "yes" ; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define wxUSE_SPLINES 1
47658 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_MOUSEWHEEL 1
47667 if test "$wxUSE_CONTROLS" = "yes"; then
47671 if test "$wxUSE_ACCEL" = "yes"; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_ACCEL 1
47679 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47680 cat >>confdefs.h <<\_ACEOF
47681 #define wxUSE_ANIMATIONCTRL 1
47685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47688 if test "$wxUSE_BUTTON" = "yes"; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_BUTTON 1
47696 if test "$wxUSE_BMPBUTTON" = "yes"; then
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_BMPBUTTON 1
47704 if test "$wxUSE_CALCTRL" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_CALENDARCTRL 1
47710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47713 if test "$wxUSE_CARET" = "yes"; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_CARET 1
47719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47722 if test "$wxUSE_COLLPANE" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_COLLPANE 1
47728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47731 if test "$wxUSE_COMBOBOX" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_COMBOBOX 1
47739 if test "$wxUSE_COMBOCTRL" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_COMBOCTRL 1
47747 if test "$wxUSE_CHOICE" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_CHOICE 1
47755 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_CHOICEBOOK 1
47763 if test "$wxUSE_CHECKBOX" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_CHECKBOX 1
47771 if test "$wxUSE_CHECKLST" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_CHECKLISTBOX 1
47777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47780 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_COLOURPICKERCTRL 1
47788 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_DATEPICKCTRL 1
47796 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_DIRPICKERCTRL 1
47804 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_FILEPICKERCTRL 1
47812 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_FONTPICKERCTRL 1
47820 if test "$wxUSE_DISPLAY" = "yes"; then
47821 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47822 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47823 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_DISPLAY 1
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47834 if test "$wxUSE_DETECT_SM" = "yes"; then
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_DETECT_SM 1
47841 if test "$wxUSE_GAUGE" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_GAUGE 1
47849 if test "$wxUSE_GRID" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_GRID 1
47855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47858 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_HYPERLINKCTRL 1
47866 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_BITMAPCOMBOBOX 1
47874 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_DATAVIEWCTRL 1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47883 if test "$wxUSE_IMAGLIST" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_IMAGLIST 1
47890 if test "$wxUSE_LISTBOOK" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_LISTBOOK 1
47898 if test "$wxUSE_LISTBOX" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_LISTBOX 1
47904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47907 if test "$wxUSE_LISTCTRL" = "yes"; then
47908 if test "$wxUSE_IMAGLIST" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_LISTCTRL 1
47914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47916 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47917 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47921 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_EDITABLELISTBOX 1
47927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47930 if test "$wxUSE_NOTEBOOK" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_NOTEBOOK 1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47939 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_ODCOMBOBOX 1
47945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47949 if test "$wxUSE_RADIOBOX" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_RADIOBOX 1
47957 if test "$wxUSE_RADIOBTN" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_RADIOBTN 1
47965 if test "$wxUSE_SASH" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_SASH 1
47970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47973 if test "$wxUSE_SCROLLBAR" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_SCROLLBAR 1
47979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47982 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_SEARCHCTRL 1
47990 if test "$wxUSE_SLIDER" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_SLIDER 1
47998 if test "$wxUSE_SPINBTN" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_SPINBTN 1
48006 if test "$wxUSE_SPINCTRL" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_SPINCTRL 1
48014 if test "$wxUSE_SPLITTER" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_SPLITTER 1
48019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48022 if test "$wxUSE_STATBMP" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_STATBMP 1
48030 if test "$wxUSE_STATBOX" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_STATBOX 1
48038 if test "$wxUSE_STATTEXT" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_STATTEXT 1
48046 if test "$wxUSE_STATLINE" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_STATLINE 1
48054 if test "$wxUSE_STATUSBAR" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_NATIVE_STATUSBAR 1
48059 cat >>confdefs.h <<\_ACEOF
48060 #define wxUSE_STATUSBAR 1
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48068 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_TAB_DIALOG 1
48075 if test "$wxUSE_TEXTCTRL" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_TEXTCTRL 1
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48084 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48085 if test "$wxUSE_COCOA" = 1 ; then
48086 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48087 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48091 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_TOGGLEBTN 1
48100 if test "$wxUSE_TOOLBAR" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_TOOLBAR 1
48107 if test "$wxUSE_UNIVERSAL" = "yes"; then
48108 wxUSE_TOOLBAR_NATIVE="no"
48110 wxUSE_TOOLBAR_NATIVE="yes"
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_TOOLBAR_NATIVE 1
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48120 if test "$wxUSE_TOOLTIPS" = "yes"; then
48121 if test "$wxUSE_MOTIF" = 1; then
48122 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48123 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48125 if test "$wxUSE_UNIVERSAL" = "yes"; then
48126 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48127 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_TOOLTIPS 1
48137 if test "$wxUSE_TREEBOOK" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_TREEBOOK 1
48145 if test "$wxUSE_TOOLBOOK" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_TOOLBOOK 1
48153 if test "$wxUSE_TREECTRL" = "yes"; then
48154 if test "$wxUSE_IMAGLIST" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_TREECTRL 1
48160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48162 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48163 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48167 if test "$wxUSE_POPUPWIN" = "yes"; then
48168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48169 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48170 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48172 if test "$wxUSE_PM" = 1; then
48173 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48174 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_POPUPWIN 1
48180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48187 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48188 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48189 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48190 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_DIALUP_MANAGER 1
48196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48200 if test "$wxUSE_TIPWINDOW" = "yes"; then
48201 if test "$wxUSE_PM" = 1; then
48202 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48203 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_TIPWINDOW 1
48212 if test "$USES_CONTROLS" = 1; then
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_CONTROLS 1
48220 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_ACCESSIBILITY 1
48225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48228 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_DRAGIMAGE 1
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48236 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48237 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48238 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48239 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_EXCEPTIONS 1
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48250 if test "$wxUSE_HTML" = "yes"; then
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_HTML 1
48256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48257 if test "$wxUSE_MAC" = 1; then
48258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48261 if test "$wxUSE_WEBKIT" = "yes"; then
48262 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48263 old_CPPFLAGS="$CPPFLAGS"
48264 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48265 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48266 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48267 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48268 echo $ECHO_N "(cached) $ECHO_C" >&6
48270 cat >conftest.$ac_ext <<_ACEOF
48273 cat confdefs.h >>conftest.$ac_ext
48274 cat >>conftest.$ac_ext <<_ACEOF
48275 /* end confdefs.h. */
48277 #include <Carbon/Carbon.h>
48278 #include <WebKit/WebKit.h>
48281 #include <WebKit/HIWebView.h>
48283 rm -f conftest.$ac_objext
48284 if { (ac_try="$ac_compile"
48285 case "(($ac_try" in
48286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48287 *) ac_try_echo
=$ac_try;;
48289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48290 (eval "$ac_compile") 2>conftest.er1
48292 grep -v '^ *+' conftest.er1
>conftest.err
48294 cat conftest.err
>&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); } && {
48297 test -z "$ac_c_werror_flag" ||
48298 test ! -s conftest.err
48299 } && test -s conftest.
$ac_objext; then
48300 ac_cv_header_WebKit_HIWebView_h
=yes
48302 echo "$as_me: failed program was:" >&5
48303 sed 's/^/| /' conftest.
$ac_ext >&5
48305 ac_cv_header_WebKit_HIWebView_h
=no
48308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48310 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48311 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48312 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48314 cat >>confdefs.h
<<\_ACEOF
48315 #define wxUSE_WEBKIT 1
48318 WEBKIT_LINK
="-framework WebKit"
48322 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48323 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48329 CPPFLAGS
="$old_CPPFLAGS"
48330 elif test "$wxUSE_COCOA" = 1; then
48331 cat >>confdefs.h
<<\_ACEOF
48332 #define wxUSE_WEBKIT 1
48341 if test "$wxUSE_XRC" = "yes"; then
48342 if test "$wxUSE_XML" != "yes"; then
48343 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48344 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48347 cat >>confdefs.h
<<\_ACEOF
48348 #define wxUSE_XRC 1
48352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48357 if test "$wxUSE_AUI" = "yes"; then
48358 cat >>confdefs.h
<<\_ACEOF
48359 #define wxUSE_AUI 1
48363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48367 if test "$wxUSE_STC" = "yes"; then
48368 cat >>confdefs.h
<<\_ACEOF
48369 #define wxUSE_STC 1
48373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48376 if test "$wxUSE_MENUS" = "yes"; then
48377 cat >>confdefs.h
<<\_ACEOF
48378 #define wxUSE_MENUS 1
48381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48384 if test "$wxUSE_METAFILE" = "yes"; then
48385 cat >>confdefs.h
<<\_ACEOF
48386 #define wxUSE_METAFILE 1
48391 if test "$wxUSE_MIMETYPE" = "yes"; then
48392 cat >>confdefs.h
<<\_ACEOF
48393 #define wxUSE_MIMETYPE 1
48398 if test "$wxUSE_MINIFRAME" = "yes"; then
48399 cat >>confdefs.h
<<\_ACEOF
48400 #define wxUSE_MINIFRAME 1
48403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
48406 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48407 cat >>confdefs.h
<<\_ACEOF
48408 #define wxUSE_SYSTEM_OPTIONS 1
48413 if test "$wxUSE_TASKBARICON" = "yes"; then
48414 cat >>confdefs.h
<<\_ACEOF
48415 #define wxUSE_TASKBARICON 1
48418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48422 if test "$wxUSE_VALIDATORS" = "yes"; then
48423 cat >>confdefs.h
<<\_ACEOF
48424 #define wxUSE_VALIDATORS 1
48427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48430 if test "$wxUSE_PALETTE" = "yes" ; then
48431 if test "$wxUSE_DFB" = 1; then
48432 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48433 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48436 cat >>confdefs.h
<<\_ACEOF
48437 #define wxUSE_PALETTE 1
48443 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48444 LIBS
=" -lunicows $LIBS"
48448 if test "$wxUSE_RICHTEXT" = "yes"; then
48449 cat >>confdefs.h
<<\_ACEOF
48450 #define wxUSE_RICHTEXT 1
48454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48458 if test "$wxUSE_IMAGE" = "yes" ; then
48459 cat >>confdefs.h
<<\_ACEOF
48460 #define wxUSE_IMAGE 1
48464 if test "$wxUSE_GIF" = "yes" ; then
48465 cat >>confdefs.h
<<\_ACEOF
48466 #define wxUSE_GIF 1
48471 if test "$wxUSE_PCX" = "yes" ; then
48472 cat >>confdefs.h
<<\_ACEOF
48473 #define wxUSE_PCX 1
48478 if test "$wxUSE_TGA" = "yes" ; then
48479 cat >>confdefs.h
<<\_ACEOF
48480 #define wxUSE_TGA 1
48485 if test "$wxUSE_IFF" = "yes" ; then
48486 cat >>confdefs.h
<<\_ACEOF
48487 #define wxUSE_IFF 1
48492 if test "$wxUSE_PNM" = "yes" ; then
48493 cat >>confdefs.h
<<\_ACEOF
48494 #define wxUSE_PNM 1
48499 if test "$wxUSE_XPM" = "yes" ; then
48500 cat >>confdefs.h
<<\_ACEOF
48501 #define wxUSE_XPM 1
48506 if test "$wxUSE_ICO_CUR" = "yes" ; then
48507 cat >>confdefs.h
<<\_ACEOF
48508 #define wxUSE_ICO_CUR 1
48515 if test "$wxUSE_ABOUTDLG" = "yes"; then
48516 cat >>confdefs.h
<<\_ACEOF
48517 #define wxUSE_ABOUTDLG 1
48522 if test "$wxUSE_CHOICEDLG" = "yes"; then
48523 cat >>confdefs.h
<<\_ACEOF
48524 #define wxUSE_CHOICEDLG 1
48529 if test "$wxUSE_COLOURDLG" = "yes"; then
48530 cat >>confdefs.h
<<\_ACEOF
48531 #define wxUSE_COLOURDLG 1
48536 if test "$wxUSE_FILEDLG" = "yes"; then
48537 cat >>confdefs.h
<<\_ACEOF
48538 #define wxUSE_FILEDLG 1
48543 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48544 cat >>confdefs.h
<<\_ACEOF
48545 #define wxUSE_FINDREPLDLG 1
48550 if test "$wxUSE_FONTDLG" = "yes"; then
48551 cat >>confdefs.h
<<\_ACEOF
48552 #define wxUSE_FONTDLG 1
48557 if test "$wxUSE_DIRDLG" = "yes"; then
48558 if test "$wxUSE_TREECTRL" != "yes"; then
48559 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48560 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48562 cat >>confdefs.h
<<\_ACEOF
48563 #define wxUSE_DIRDLG 1
48569 if test "$wxUSE_MSGDLG" = "yes"; then
48570 cat >>confdefs.h
<<\_ACEOF
48571 #define wxUSE_MSGDLG 1
48576 if test "$wxUSE_NUMBERDLG" = "yes"; then
48577 cat >>confdefs.h
<<\_ACEOF
48578 #define wxUSE_NUMBERDLG 1
48583 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48584 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48585 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48586 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48588 cat >>confdefs.h
<<\_ACEOF
48589 #define wxUSE_PROGRESSDLG 1
48595 if test "$wxUSE_SPLASH" = "yes"; then
48596 cat >>confdefs.h
<<\_ACEOF
48597 #define wxUSE_SPLASH 1
48600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48603 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48604 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48605 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48606 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48608 cat >>confdefs.h
<<\_ACEOF
48609 #define wxUSE_STARTUP_TIPS 1
48615 if test "$wxUSE_TEXTDLG" = "yes"; then
48616 cat >>confdefs.h
<<\_ACEOF
48617 #define wxUSE_TEXTDLG 1
48622 if test "$wxUSE_WIZARDDLG" = "yes"; then
48623 cat >>confdefs.h
<<\_ACEOF
48624 #define wxUSE_WIZARDDLG 1
48627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48631 if test "$wxUSE_MSW" = 1 ; then
48633 if test "$wxUSE_DC_CACHEING" = "yes"; then
48634 cat >>confdefs.h
<<\_ACEOF
48635 #define wxUSE_DC_CACHEING 1
48640 if test "$wxUSE_DIB" = "yes"; then
48641 cat >>confdefs.h
<<\_ACEOF
48642 #define wxUSE_WXDIB 1
48647 if test "$wxUSE_REGKEY" = "yes"; then
48648 cat >>confdefs.h
<<\_ACEOF
48649 #define wxUSE_REGKEY 1
48654 if test "$wxUSE_UXTHEME" = "yes"; then
48655 cat >>confdefs.h
<<\_ACEOF
48656 #define wxUSE_UXTHEME 1
48664 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48665 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48666 cat >>confdefs.h
<<\_ACEOF
48667 #define wxUSE_GRAPHICS_CONTEXT 1
48670 elif test "$wxUSE_GTK" != 1; then
48671 cat >>confdefs.h
<<\_ACEOF
48672 #define wxUSE_GRAPHICS_CONTEXT 1
48678 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48679 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48681 if test -n "$PKG_CONFIG"; then
48682 if test -n "$CAIRO_CFLAGS"; then
48683 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48685 if test -n "$PKG_CONFIG" && \
48686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48687 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); }; then
48691 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48699 if test -n "$PKG_CONFIG"; then
48700 if test -n "$CAIRO_LIBS"; then
48701 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48703 if test -n "$PKG_CONFIG" && \
48704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48705 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); }; then
48709 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48720 if test $pkg_failed = yes; then
48722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48723 _pkg_short_errors_supported
=yes
48725 _pkg_short_errors_supported
=no
48727 if test $_pkg_short_errors_supported = yes; then
48728 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48730 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48732 # Put the nasty error message in config.log where it belongs
48733 echo "$CAIRO_PKG_ERRORS" >&5
48735 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48736 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48738 elif test $pkg_failed = untried
; then
48739 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48740 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48743 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48744 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48745 { echo "$as_me:$LINENO: result: yes" >&5
48746 echo "${ECHO_T}yes" >&6; }
48747 cat >>confdefs.h
<<\_ACEOF
48748 #define wxUSE_GRAPHICS_CONTEXT 1
48758 if test "$wxUSE_MEDIACTRL" = "yes"; then
48761 if test "$wxUSE_GTK" = 1; then
48762 wxUSE_GSTREAMER
="no"
48764 GST_VERSION_MAJOR
=0
48765 GST_VERSION_MINOR
=10
48766 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48768 if test "$wxUSE_GSTREAMER8" = "no"; then
48771 { echo "$as_me:$LINENO: checking for GST" >&5
48772 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48774 if test -n "$PKG_CONFIG"; then
48775 if test -n "$GST_CFLAGS"; then
48776 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48778 if test -n "$PKG_CONFIG" && \
48779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48780 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48783 (exit $ac_status); }; then
48784 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48792 if test -n "$PKG_CONFIG"; then
48793 if test -n "$GST_LIBS"; then
48794 pkg_cv_GST_LIBS
="$GST_LIBS"
48796 if test -n "$PKG_CONFIG" && \
48797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48798 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48801 (exit $ac_status); }; then
48802 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48813 if test $pkg_failed = yes; then
48815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48816 _pkg_short_errors_supported
=yes
48818 _pkg_short_errors_supported
=no
48820 if test $_pkg_short_errors_supported = yes; then
48821 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48823 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48825 # Put the nasty error message in config.log where it belongs
48826 echo "$GST_PKG_ERRORS" >&5
48829 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48830 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48831 GST_VERSION_MINOR
=8
48834 elif test $pkg_failed = untried
; then
48836 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48837 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48838 GST_VERSION_MINOR
=8
48842 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48843 GST_LIBS
=$pkg_cv_GST_LIBS
48844 { echo "$as_me:$LINENO: result: yes" >&5
48845 echo "${ECHO_T}yes" >&6; }
48847 wxUSE_GSTREAMER
="yes"
48848 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48852 GST_VERSION_MINOR
=8
48855 if test $GST_VERSION_MINOR = "8"; then
48856 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48859 { echo "$as_me:$LINENO: checking for GST" >&5
48860 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48862 if test -n "$PKG_CONFIG"; then
48863 if test -n "$GST_CFLAGS"; then
48864 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48866 if test -n "$PKG_CONFIG" && \
48867 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48868 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871 (exit $ac_status); }; then
48872 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48880 if test -n "$PKG_CONFIG"; then
48881 if test -n "$GST_LIBS"; then
48882 pkg_cv_GST_LIBS
="$GST_LIBS"
48884 if test -n "$PKG_CONFIG" && \
48885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48886 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48889 (exit $ac_status); }; then
48890 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48901 if test $pkg_failed = yes; then
48903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48904 _pkg_short_errors_supported
=yes
48906 _pkg_short_errors_supported
=no
48908 if test $_pkg_short_errors_supported = yes; then
48909 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48911 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48913 # Put the nasty error message in config.log where it belongs
48914 echo "$GST_PKG_ERRORS" >&5
48917 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48918 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48920 elif test $pkg_failed = untried
; then
48922 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48923 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48926 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48927 GST_LIBS
=$pkg_cv_GST_LIBS
48928 { echo "$as_me:$LINENO: result: yes" >&5
48929 echo "${ECHO_T}yes" >&6; }
48930 wxUSE_GSTREAMER
="yes"
48935 if test "$wxUSE_GSTREAMER" = "yes"; then
48936 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48937 LIBS
="$GST_LIBS $LIBS"
48939 cat >>confdefs.h
<<\_ACEOF
48940 #define wxUSE_GSTREAMER 1
48948 if test $USE_MEDIA = 1; then
48949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48950 cat >>confdefs.h
<<\_ACEOF
48951 #define wxUSE_MEDIACTRL 1
48958 if test "$cross_compiling" = "yes"; then
48961 OSINFO
=`uname -s -r -m`
48962 OSINFO
="\"$OSINFO\""
48965 cat >>confdefs.h
<<_ACEOF
48966 #define WXWIN_OS_DESCRIPTION $OSINFO
48971 if test "x$prefix" != "xNONE"; then
48974 wxPREFIX
=$ac_default_prefix
48977 cat >>confdefs.h
<<_ACEOF
48978 #define wxINSTALL_PREFIX "$wxPREFIX"
48984 STD_BASE_LIBS
="base"
48986 BUILT_WX_LIBS
="base"
48987 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48989 if test "$wxUSE_SOCKETS" = "yes" ; then
48990 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48991 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48993 if test "$wxUSE_ODBC" != "no" ; then
48994 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
48996 if test "$wxUSE_XML" = "yes" ; then
48997 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48998 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49001 if test "$wxUSE_GUI" = "yes"; then
49002 STD_GUI_LIBS
="adv core"
49003 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49005 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49006 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49007 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49009 if test "$wxUSE_ODBC" != "no" ; then
49010 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49012 if test "$wxUSE_HTML" = "yes" ; then
49013 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49014 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49016 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49017 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49019 if test "$wxUSE_OPENGL" = "yes" ; then
49020 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49022 if test "$wxUSE_AUI" = "yes" ; then
49023 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49025 if test "$wxUSE_STC" = "yes" ; then
49026 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49028 if test "$wxUSE_XRC" = "yes" ; then
49029 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49030 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49041 if test "$wxUSE_MAC" = 1 ; then
49042 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49043 if test "$USE_DARWIN" = 1; then
49044 LDFLAGS
="$LDFLAGS -framework QuickTime"
49046 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49049 if test "$USE_DARWIN" = 1; then
49050 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49052 LDFLAGS
="$LDFLAGS -lCarbonLib"
49055 if test "$wxUSE_COCOA" = 1 ; then
49056 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49057 if test "$wxUSE_MEDIACTRL" = "yes"; then
49058 LDFLAGS
="$LDFLAGS -framework QuickTime"
49061 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49062 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49065 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49067 if test "$wxUSE_GUI" = "yes"; then
49070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49071 dynamic erase event exec font image minimal mobile \
49072 mobile/wxedit mobile/styles propsize render \
49073 rotate shaped svg taborder vscroll widgets"
49075 if test "$wxUSE_MONOLITHIC" != "yes"; then
49076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49078 if test "$TOOLKIT" = "MSW"; then
49079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49080 if test "$wxUSE_UNIVERSAL" != "yes"; then
49081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49084 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49088 SAMPLES_SUBDIRS
="console"
49092 if test "x$INTELCC" = "xyes" ; then
49093 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49094 elif test "$GCC" = yes ; then
49095 CWARNINGS
="-Wall -Wundef"
49098 if test "x$INTELCXX" = "xyes" ; then
49099 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49100 elif test "$GXX" = yes ; then
49101 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49105 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49106 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49109 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49110 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49111 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49114 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49115 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49116 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49118 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49121 if test "x$MWCC" = "xyes"; then
49123 CC
="$CC -cwd source -I-"
49124 CXX
="$CXX -cwd source -I-"
49129 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49130 EXTRALIBS_XML
="$EXPAT_LINK"
49131 EXTRALIBS_HTML
="$MSPACK_LINK"
49132 EXTRALIBS_ODBC
="$ODBC_LINK"
49133 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49134 if test "$wxUSE_GUI" = "yes"; then
49135 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49137 if test "$wxUSE_OPENGL" = "yes"; then
49138 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49141 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49143 WXCONFIG_LIBS
="$LIBS"
49145 if test "$wxUSE_REGEX" = "builtin" ; then
49146 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49148 if test "$wxUSE_EXPAT" = "builtin" ; then
49149 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49151 if test "$wxUSE_ODBC" = "builtin" ; then
49152 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49154 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49155 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49157 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49158 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49160 if test "$wxUSE_LIBPNG" = "builtin" ; then
49161 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49163 if test "$wxUSE_ZLIB" = "builtin" ; then
49164 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49167 for i
in $wxconfig_3rdparty ; do
49168 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49172 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49175 case "$wxUNIV_THEMES" in
49177 cat >>confdefs.h
<<\_ACEOF
49178 #define wxUSE_ALL_THEMES 1
49184 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49185 cat >>confdefs.h
<<_ACEOF
49186 #define wxUSE_THEME_$t 1
49203 if test $wxUSE_MONOLITHIC = "yes" ; then
49209 if test $wxUSE_PLUGINS = "yes" ; then
49215 if test $wxUSE_ODBC != "no" ; then
49221 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49227 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49258 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49269 TOOLKIT_DESC
="GTK+"
49270 if test "$WXGTK20" = 1; then
49271 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49272 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49273 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49275 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49276 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49278 if test "$wxUSE_LIBHILDON" = "yes"; then
49279 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49282 if test "$TOOLKIT_EXTRA" != ""; then
49283 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49289 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49293 TOOLKIT_DESC
="base only"
49297 if test "$wxUSE_WINE" = "yes"; then
49298 BAKEFILE_FORCE_PLATFORM
=win32
49301 if test "$wxUSE_MAC" = 1 ; then
49302 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
49303 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
49304 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49306 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49308 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
49309 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
49310 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
49311 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
49314 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49315 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49318 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49320 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49321 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49322 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49323 echo $ECHO_N "(cached) $ECHO_C" >&6
49326 echo '#include <stdio.h>
49327 const wchar_t test_var[] = L"awidetest";' > conftest.h
49329 echo '#include "conftest.h"
49332 printf("%ls", test_var);
49336 wx_cv_gcc_pch_bug
="pch not supported"
49338 if $CXX conftest.h
>/dev
/null
2>&1
49342 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49344 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49345 grep awidetest
>/dev
/null
49347 wx_cv_gcc_pch_bug
=no
49349 wx_cv_gcc_pch_bug
=yes
49354 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49357 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49358 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49360 if test "$wx_cv_gcc_pch_bug" = yes; then
49368 if test "x$BAKEFILE_HOST" = "x"; then
49369 if test "x${host}" = "x" ; then
49370 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49371 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49372 { (exit 1); exit 1; }; }
49375 BAKEFILE_HOST
="${host}"
49378 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49380 if test -n "$ac_tool_prefix"; then
49381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49382 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_RANLIB+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 if test -n "$RANLIB"; then
49389 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49392 for as_dir
in $PATH
49395 test -z "$as_dir" && as_dir
=.
49396 for ac_exec_ext
in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49408 RANLIB
=$ac_cv_prog_RANLIB
49409 if test -n "$RANLIB"; then
49410 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49411 echo "${ECHO_T}$RANLIB" >&6; }
49413 { echo "$as_me:$LINENO: result: no" >&5
49414 echo "${ECHO_T}no" >&6; }
49419 if test -z "$ac_cv_prog_RANLIB"; then
49420 ac_ct_RANLIB
=$RANLIB
49421 # Extract the first word of "ranlib", so it can be a program name with args.
49422 set dummy ranlib
; ac_word
=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 if test -n "$ac_ct_RANLIB"; then
49429 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49432 for as_dir
in $PATH
49435 test -z "$as_dir" && as_dir
=.
49436 for ac_exec_ext
in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49448 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49449 if test -n "$ac_ct_RANLIB"; then
49450 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49451 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49457 if test "x$ac_ct_RANLIB" = x
; then
49460 case $cross_compiling:$ac_tool_warned in
49462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&5
49465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49468 ac_tool_warned
=yes ;;
49470 RANLIB
=$ac_ct_RANLIB
49473 RANLIB
="$ac_cv_prog_RANLIB"
49476 # Find a good install program. We prefer a C program (faster),
49477 # so one script is as good as another. But avoid the broken or
49478 # incompatible versions:
49479 # SysV /etc/install, /usr/sbin/install
49480 # SunOS /usr/etc/install
49481 # IRIX /sbin/install
49483 # AmigaOS /C/install, which installs bootblocks on floppy discs
49484 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49485 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49487 # OS/2's system install, which has a completely different semantic
49488 # ./install, which can be erroneously created by make from ./install.sh.
49489 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49490 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49491 if test -z "$INSTALL"; then
49492 if test "${ac_cv_path_install+set}" = set; then
49493 echo $ECHO_N "(cached) $ECHO_C" >&6
49495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49496 for as_dir
in $PATH
49499 test -z "$as_dir" && as_dir
=.
49500 # Account for people who put trailing slashes in PATH elements.
49502 .
/ | .
// | /cC
/* | \
49503 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49504 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49507 # OSF1 and SCO ODT 3.0 have their own names for install.
49508 # Don't use installbsd from OSF since it installs stuff as root
49510 for ac_prog
in ginstall scoinst
install; do
49511 for ac_exec_ext
in '' $ac_executable_extensions; do
49512 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49513 if test $ac_prog = install &&
49514 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49515 # AIX install. It has an incompatible calling convention.
49517 elif test $ac_prog = install &&
49518 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49519 # program-specific install script used by HP pwplus--don't use.
49522 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49535 if test "${ac_cv_path_install+set}" = set; then
49536 INSTALL
=$ac_cv_path_install
49538 # As a last resort, use the slow shell script. Don't cache a
49539 # value for INSTALL within a source directory, because that will
49540 # break other packages using the cache if that directory is
49541 # removed, or if the value is a relative name.
49542 INSTALL
=$ac_install_sh
49545 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49546 echo "${ECHO_T}$INSTALL" >&6; }
49548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49549 # It thinks the first close brace ends the variable substitution.
49550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49554 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49556 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49557 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49559 if test "$LN_S" = "ln -s"; then
49560 { echo "$as_me:$LINENO: result: yes" >&5
49561 echo "${ECHO_T}yes" >&6; }
49563 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49564 echo "${ECHO_T}no, using $LN_S" >&6; }
49568 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49569 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49570 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49571 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49572 echo $ECHO_N "(cached) $ECHO_C" >&6
49574 cat >conftest.
make <<\_ACEOF
49577 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49581 *@@@
%%%=?
*=@@@
%%%*)
49582 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49584 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49586 rm -f conftest.
make
49588 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49589 { echo "$as_me:$LINENO: result: yes" >&5
49590 echo "${ECHO_T}yes" >&6; }
49593 { echo "$as_me:$LINENO: result: no" >&5
49594 echo "${ECHO_T}no" >&6; }
49595 SET_MAKE
="MAKE=${MAKE-make}"
49600 if test "x$SUNCXX" = "xyes"; then
49602 AROPTIONS
="-xar -o"
49604 elif test "x$SGICC" = "xyes"; then
49609 if test -n "$ac_tool_prefix"; then
49610 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49611 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49614 if test "${ac_cv_prog_AR+set}" = set; then
49615 echo $ECHO_N "(cached) $ECHO_C" >&6
49617 if test -n "$AR"; then
49618 ac_cv_prog_AR
="$AR" # Let the user override the test.
49620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49621 for as_dir
in $PATH
49624 test -z "$as_dir" && as_dir
=.
49625 for ac_exec_ext
in '' $ac_executable_extensions; do
49626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49627 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49638 if test -n "$AR"; then
49639 { echo "$as_me:$LINENO: result: $AR" >&5
49640 echo "${ECHO_T}$AR" >&6; }
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49648 if test -z "$ac_cv_prog_AR"; then
49650 # Extract the first word of "ar", so it can be a program name with args.
49651 set dummy
ar; ac_word
=$2
49652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49654 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49655 echo $ECHO_N "(cached) $ECHO_C" >&6
49657 if test -n "$ac_ct_AR"; then
49658 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49661 for as_dir
in $PATH
49664 test -z "$as_dir" && as_dir
=.
49665 for ac_exec_ext
in '' $ac_executable_extensions; do
49666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49667 ac_cv_prog_ac_ct_AR
="ar"
49668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49677 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49678 if test -n "$ac_ct_AR"; then
49679 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49680 echo "${ECHO_T}$ac_ct_AR" >&6; }
49682 { echo "$as_me:$LINENO: result: no" >&5
49683 echo "${ECHO_T}no" >&6; }
49686 if test "x$ac_ct_AR" = x
; then
49689 case $cross_compiling:$ac_tool_warned in
49691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49692 whose name does not start with the host triplet. If you think this
49693 configuration is useful to you, please write to autoconf@gnu.org." >&5
49694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49695 whose name does not start with the host triplet. If you think this
49696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49697 ac_tool_warned
=yes ;;
49702 AR
="$ac_cv_prog_AR"
49709 if test -n "$ac_tool_prefix"; then
49710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49711 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49714 if test "${ac_cv_prog_STRIP+set}" = set; then
49715 echo $ECHO_N "(cached) $ECHO_C" >&6
49717 if test -n "$STRIP"; then
49718 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49721 for as_dir
in $PATH
49724 test -z "$as_dir" && as_dir
=.
49725 for ac_exec_ext
in '' $ac_executable_extensions; do
49726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49727 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49737 STRIP
=$ac_cv_prog_STRIP
49738 if test -n "$STRIP"; then
49739 { echo "$as_me:$LINENO: result: $STRIP" >&5
49740 echo "${ECHO_T}$STRIP" >&6; }
49742 { echo "$as_me:$LINENO: result: no" >&5
49743 echo "${ECHO_T}no" >&6; }
49748 if test -z "$ac_cv_prog_STRIP"; then
49750 # Extract the first word of "strip", so it can be a program name with args.
49751 set dummy strip
; ac_word
=$2
49752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49754 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49755 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 if test -n "$ac_ct_STRIP"; then
49758 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49761 for as_dir
in $PATH
49764 test -z "$as_dir" && as_dir
=.
49765 for ac_exec_ext
in '' $ac_executable_extensions; do
49766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49767 ac_cv_prog_ac_ct_STRIP
="strip"
49768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49777 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49778 if test -n "$ac_ct_STRIP"; then
49779 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49780 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49782 { echo "$as_me:$LINENO: result: no" >&5
49783 echo "${ECHO_T}no" >&6; }
49786 if test "x$ac_ct_STRIP" = x
; then
49789 case $cross_compiling:$ac_tool_warned in
49791 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49792 whose name does not start with the host triplet. If you think this
49793 configuration is useful to you, please write to autoconf@gnu.org." >&5
49794 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49795 whose name does not start with the host triplet. If you think this
49796 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49797 ac_tool_warned
=yes ;;
49802 STRIP
="$ac_cv_prog_STRIP"
49805 if test -n "$ac_tool_prefix"; then
49806 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49807 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49810 if test "${ac_cv_prog_NM+set}" = set; then
49811 echo $ECHO_N "(cached) $ECHO_C" >&6
49813 if test -n "$NM"; then
49814 ac_cv_prog_NM
="$NM" # Let the user override the test.
49816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49817 for as_dir
in $PATH
49820 test -z "$as_dir" && as_dir
=.
49821 for ac_exec_ext
in '' $ac_executable_extensions; do
49822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49823 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49834 if test -n "$NM"; then
49835 { echo "$as_me:$LINENO: result: $NM" >&5
49836 echo "${ECHO_T}$NM" >&6; }
49838 { echo "$as_me:$LINENO: result: no" >&5
49839 echo "${ECHO_T}no" >&6; }
49844 if test -z "$ac_cv_prog_NM"; then
49846 # Extract the first word of "nm", so it can be a program name with args.
49847 set dummy nm
; ac_word
=$2
49848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49850 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49851 echo $ECHO_N "(cached) $ECHO_C" >&6
49853 if test -n "$ac_ct_NM"; then
49854 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49857 for as_dir
in $PATH
49860 test -z "$as_dir" && as_dir
=.
49861 for ac_exec_ext
in '' $ac_executable_extensions; do
49862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49863 ac_cv_prog_ac_ct_NM
="nm"
49864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49873 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49874 if test -n "$ac_ct_NM"; then
49875 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49876 echo "${ECHO_T}$ac_ct_NM" >&6; }
49878 { echo "$as_me:$LINENO: result: no" >&5
49879 echo "${ECHO_T}no" >&6; }
49882 if test "x$ac_ct_NM" = x
; then
49885 case $cross_compiling:$ac_tool_warned in
49887 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49888 whose name does not start with the host triplet. If you think this
49889 configuration is useful to you, please write to autoconf@gnu.org." >&5
49890 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49891 whose name does not start with the host triplet. If you think this
49892 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49893 ac_tool_warned
=yes ;;
49898 NM
="$ac_cv_prog_NM"
49902 case ${BAKEFILE_HOST} in
49904 INSTALL_DIR
="mkdir -p"
49907 INSTALL_DIR
='$(INSTALL) -d'
49913 case ${BAKEFILE_HOST} in
49914 *-*-cygwin* | *-*-mingw32* )
49915 LDFLAGS_GUI
="-mwindows"
49921 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49922 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49923 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49924 echo $ECHO_N "(cached) $ECHO_C" >&6
49927 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49928 egrep -s GNU
> /dev
/null
); then
49929 bakefile_cv_prog_makeisgnu
="yes"
49931 bakefile_cv_prog_makeisgnu
="no"
49935 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49936 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49938 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49955 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49956 case "${BAKEFILE_HOST}" in
49963 *-pc-os2_emx | *-pc-os2-emx )
49973 powerpc
-apple-macos* )
49982 case "$BAKEFILE_FORCE_PLATFORM" in
50017 # Check whether --enable-omf was given.
50018 if test "${enable_omf+set}" = set; then
50019 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50023 case "${BAKEFILE_HOST}" in
50025 if test "x$GCC" = "xyes"; then
50026 CFLAGS
="$CFLAGS -fno-common"
50027 CXXFLAGS
="$CXXFLAGS -fno-common"
50029 if test "x$XLCC" = "xyes"; then
50030 CFLAGS
="$CFLAGS -qnocommon"
50031 CXXFLAGS
="$CXXFLAGS -qnocommon"
50035 *-pc-os2_emx | *-pc-os2-emx )
50036 if test "x$bk_os2_use_omf" = "xyes" ; then
50039 LDFLAGS
="-Zomf $LDFLAGS"
50040 CFLAGS
="-Zomf $CFLAGS"
50041 CXXFLAGS
="-Zomf $CXXFLAGS"
50049 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50055 SO_SUFFIX_MODULE
="so"
50060 DLLPREFIX_MODULE
=""
50064 case "${BAKEFILE_HOST}" in
50067 SO_SUFFIX_MODULE
="sl"
50071 SO_SUFFIX_MODULE
="a"
50075 SO_SUFFIX_MODULE
="dll"
50076 DLLIMP_SUFFIX
="dll.a"
50083 SO_SUFFIX_MODULE
="dll"
50084 DLLIMP_SUFFIX
="dll.a"
50094 *-pc-os2_emx | *-pc-os2-emx )
50096 SO_SUFFIX_MODULE
="dll"
50097 DLLIMP_SUFFIX
=$OS2_LIBEXT
50101 LIBEXT
=".$OS2_LIBEXT"
50106 SO_SUFFIX_MODULE
="bundle"
50110 if test "x$DLLIMP_SUFFIX" = "x" ; then
50111 DLLIMP_SUFFIX
="$SO_SUFFIX"
50126 if test "x$GCC" = "xyes"; then
50130 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50131 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50134 case "${BAKEFILE_HOST}" in
50136 if test "x$GCC" != "xyes"; then
50137 LDFLAGS
="$LDFLAGS -L/usr/lib"
50139 SHARED_LD_CC
="${CC} -b -o"
50140 SHARED_LD_CXX
="${CXX} -b -o"
50146 if test "$INTELCC" = "yes"; then
50148 elif test "x$SUNCXX" = "xyes"; then
50149 SHARED_LD_CC
="${CC} -G -o"
50150 SHARED_LD_CXX
="${CXX} -G -o"
50156 if test "x$SUNCXX" = xyes
; then
50157 SHARED_LD_CC
="${CC} -G -o"
50158 SHARED_LD_CXX
="${CXX} -G -o"
50166 cat <<EOF >shared-ld-sh
50168 #-----------------------------------------------------------------------------
50169 #-- Name: distrib/mac/shared-ld-sh
50170 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50171 #-- Author: Gilles Depeyrot
50172 #-- Copyright: (c) 2002 Gilles Depeyrot
50173 #-- Licence: any use permitted
50174 #-----------------------------------------------------------------------------
50179 linking_flag="-dynamiclib"
50180 ldargs="-r -keep_private_externs -nostdlib"
50182 while test ${D}# -gt 0; do
50189 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50190 # collect these options and values
50191 args="${D}{args} ${D}1 ${D}2"
50196 # collect these load args
50197 ldargs="${D}{ldargs} ${D}1"
50200 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50201 # collect these options
50202 args="${D}{args} ${D}1"
50205 -dynamiclib|-bundle)
50206 linking_flag="${D}1"
50210 echo "shared-ld: unhandled option '${D}1'"
50214 *.o | *.a | *.dylib)
50215 # collect object files
50216 objects="${D}{objects} ${D}1"
50220 echo "shared-ld: unhandled argument '${D}1'"
50231 # Link one module containing all the others
50233 if test ${D}{verbose} = 1; then
50234 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50236 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50240 # Link the shared library from the single module created, but only if the
50241 # previous command didn't fail:
50243 if test ${D}{status} = 0; then
50244 if test ${D}{verbose} = 1; then
50245 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50247 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50252 # Remove intermediate module
50254 rm -f master.${D}${D}.o
50259 chmod +x shared
-ld-sh
50261 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50262 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50265 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50266 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50267 if test "${bakefile_cv_gcc31+set}" = set; then
50268 echo $ECHO_N "(cached) $ECHO_C" >&6
50271 cat >conftest.
$ac_ext <<_ACEOF
50274 cat confdefs.h
>>conftest.
$ac_ext
50275 cat >>conftest.
$ac_ext <<_ACEOF
50276 /* end confdefs.h. */
50282 #if (__GNUC__ < 3) || \
50283 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50291 rm -f conftest.
$ac_objext
50292 if { (ac_try
="$ac_compile"
50293 case "(($ac_try" in
50294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50295 *) ac_try_echo=$ac_try;;
50297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50298 (eval "$ac_compile") 2>conftest.er1
50300 grep -v '^ *+' conftest.er1 >conftest.err
50302 cat conftest.err >&5
50303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50304 (exit $ac_status); } && {
50305 test -z "$ac_c_werror_flag" ||
50306 test ! -s conftest.err
50307 } && test -s conftest.$ac_objext; then
50309 bakefile_cv_gcc31=yes
50312 echo "$as_me: failed program was:" >&5
50313 sed 's/^/| /' conftest.$ac_ext >&5
50316 bakefile_cv_gcc31=no
50321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50324 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50325 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50326 if test "$bakefile_cv_gcc31" = "no"; then
50327 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50328 SHARED_LD_CXX="$SHARED_LD_CC"
50330 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50331 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50334 if test "x$GCC" == "xyes"; then
50335 PIC_FLAG="-dynamic -fPIC"
50337 if test "x$XLCC" = "xyes"; then
50338 PIC_FLAG="-dynamic -DPIC"
50343 if test "x$GCC" = "xyes"; then
50346 case "${BAKEFILE_HOST}" in
50348 LD_EXPFULL="-Wl,-bexpfull"
50352 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50353 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50355 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50356 set dummy makeC++SharedLib; ac_word=$2
50357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50359 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50360 echo $ECHO_N "(cached) $ECHO_C" >&6
50362 if test -n "$AIX_CXX_LD"; then
50363 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50366 for as_dir in $PATH
50369 test -z "$as_dir" && as_dir=.
50370 for ac_exec_ext in '' $ac_executable_extensions; do
50371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50372 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50380 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50383 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50384 if test -n "$AIX_CXX_LD"; then
50385 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50386 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50388 { echo "$as_me:$LINENO: result: no" >&5
50389 echo "${ECHO_T}no" >&6; }
50393 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50394 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50399 SHARED_LD_CC="${LD} -nostart -o"
50400 SHARED_LD_CXX="${LD} -nostart -o"
50404 if test "x$GCC" != "xyes"; then
50409 *-*-cygwin* | *-*-mingw32* )
50411 SHARED_LD_CC="\$(CC) -shared -o"
50412 SHARED_LD_CXX="\$(CXX) -shared -o"
50416 *-pc-os2_emx | *-pc-os2-emx )
50417 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50418 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50422 cat <<EOF >dllar.sh
50425 # dllar - a tool to build both a .dll and an .a file
50426 # from a set of object (.o) files for EMX/OS2.
50428 # Written by Andrew Zabolotny, bit@freya.etu.ru
50429 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50431 # This script will accept a set of files on the command line.
50432 # All the public symbols from the .o files will be exported into
50433 # a .DEF file, then linker will be run (through gcc) against them to
50434 # build a shared library consisting of all given .o files. All libraries
50435 # (.a) will be first decompressed into component .o files then act as
50436 # described above. You can optionally give a description (-d "description")
50437 # which will be put into .DLL. To see the list of accepted options (as well
50438 # as command-line format) simply run this program without options. The .DLL
50439 # is built to be imported by name (there is no guarantee that new versions
50440 # of the library you build will have same ordinals for same symbols).
50442 # dllar is free software; you can redistribute it and/or modify
50443 # it under the terms of the GNU General Public License as published by
50444 # the Free Software Foundation; either version 2, or (at your option)
50445 # any later version.
50447 # dllar is distributed in the hope that it will be useful,
50448 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50449 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50450 # GNU General Public License for more details.
50452 # You should have received a copy of the GNU General Public License
50453 # along with dllar; see the file COPYING. If not, write to the Free
50454 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50457 # To successfuly run this program you will need:
50458 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50459 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50461 # (used to build the .dll)
50463 # (used to create .def file from .o files)
50465 # (used to create .a file from .def file)
50466 # - GNU text utilites (cat, sort, uniq)
50467 # used to process emxexp output
50468 # - GNU file utilities (mv, rm)
50470 # - lxlite (optional, see flag below)
50471 # (used for general .dll cleanup)
50478 # basnam, variant of basename, which does _not_ remove the path, _iff_
50479 # second argument (suffix to remove) is given
50483 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50486 echo ${D}1 | sed 's/'${D}2'${D}//'
50489 echo "error in basnam ${D}*"
50495 # Cleanup temporary files and output
50498 for i in ${D}inputFiles ; do
50501 rm -rf \`basnam
${D}i
!\
`
50508 # Kill result in case of failure as there is just to many stupid make/nmake
50509 # things out there which doesn't do this.
50510 if [ ${D}# -eq 0 ]; then
50511 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50515 # Print usage and exit script with rc=1.
50517 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50518 echo ' [-name-mangler-script script.sh]'
50519 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50520 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50521 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50522 echo ' [*.o] [*.a]'
50523 echo '*> "output_file" should have no extension.'
50524 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50525 echo ' The import library name is derived from this and is set to "name".a,'
50526 echo ' unless overridden by -import'
50527 echo '*> "importlib_name" should have no extension.'
50528 echo ' If it has the .o, or .a extension, it is automatically removed.'
50529 echo ' This name is used as the import library name and may be longer and'
50530 echo ' more descriptive than the DLL name which has to follow the old '
50531 echo ' 8.3 convention of FAT.'
50532 echo '*> "script.sh may be given to override the output_file name by a'
50533 echo ' different name. It is mainly useful if the regular make process'
50534 echo ' of some package does not take into account OS/2 restriction of'
50535 echo ' DLL name lengths. It takes the importlib name as input and is'
50536 echo ' supposed to procude a shorter name as output. The script should'
50537 echo ' expect to get importlib_name without extension and should produce'
50538 echo ' a (max.) 8 letter name without extension.'
50539 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50540 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50541 echo ' These flags will be put at the start of GCC command line.'
50542 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50543 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50544 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50545 echo ' If the last character of a symbol is "*", all symbols beginning'
50546 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50547 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50548 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50549 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50550 echo ' C runtime DLLs.'
50551 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50552 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50553 echo ' unchanged to GCC at the end of command line.'
50554 echo '*> If you create a DLL from a library and you do not specify -o,'
50555 echo ' the basename for DLL and import library will be set to library name,'
50556 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50557 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50558 echo ' library will be renamed into gcc_s.a.'
50561 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50562 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50567 # Execute a command.
50568 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50569 # @Uses Whatever CleanUp() uses.
50575 if [ ${D}rcCmd -ne 0 ]; then
50576 echo "command failed, exit code="${D}rcCmd
50591 CFLAGS="-s -Zcrtdll"
50593 EXPORT_BY_ORDINALS=0
50598 case ${D}curDirS in
50602 curDirS=${D}{curDirS}"/"
50605 # Parse commandline
50608 while [ ${D}1 ]; do
50611 EXPORT_BY_ORDINALS=1;
50621 -name-mangler-script)
50642 exclude_symbols=${D}{exclude_symbols}${D}1" "
50646 library_flags=${D}{library_flags}${D}1" "
50665 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50668 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50669 if [ ${D}omfLinking -eq 1 ]; then
50670 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50672 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50677 if [ ${D}libsToLink -ne 0 ]; then
50678 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50680 for file in ${D}1 ; do
50681 if [ -f ${D}file ]; then
50682 inputFiles="${D}{inputFiles} ${D}file"
50686 if [ ${D}found -eq 0 ]; then
50687 echo "ERROR: No file(s) found: "${D}1
50694 done # iterate cmdline words
50697 if [ -z "${D}inputFiles" ]; then
50698 echo "dllar: no input files"
50702 # Now extract all .o files from .a files
50704 for file in ${D}inputFiles ; do
50715 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50720 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50722 if [ ${D}? -ne 0 ]; then
50723 echo "Failed to create subdirectory ./${D}dirname"
50727 # Append '!' to indicate archive
50728 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50729 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50732 for subfile in ${D}dirname/*.o* ; do
50733 if [ -f ${D}subfile ]; then
50735 if [ -s ${D}subfile ]; then
50736 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50737 newInputFiles="${D}newInputFiles ${D}subfile"
50741 if [ ${D}found -eq 0 ]; then
50742 echo "WARNING: there are no files in archive \\'${D}file\\'"
50746 newInputFiles="${D}{newInputFiles} ${D}file"
50750 inputFiles="${D}newInputFiles"
50752 # Output filename(s).
50754 if [ -z ${D}outFile ]; then
50756 set outFile ${D}inputFiles; outFile=${D}2
50759 # If it is an archive, remove the '!' and the '_%' suffixes
50760 case ${D}outFile in
50762 outFile=\`basnam
${D}outFile _
%!\
`
50767 case ${D}outFile in
50769 outFile=\`basnam
${D}outFile .dll\
`
50772 outFile=\`basnam
${D}outFile .DLL\
`
50775 outFile=\`basnam
${D}outFile .o\
`
50778 outFile=\`basnam
${D}outFile .obj\
`
50781 outFile=\`basnam
${D}outFile .a\
`
50784 outFile=\`basnam
${D}outFile .lib\
`
50789 case ${D}outimpFile in
50791 outimpFile=\`basnam
${D}outimpFile .a\
`
50794 outimpFile=\`basnam
${D}outimpFile .lib\
`
50799 if [ -z ${D}outimpFile ]; then
50800 outimpFile=${D}outFile
50802 defFile="${D}{outFile}.def"
50803 arcFile="${D}{outimpFile}.a"
50804 arcFile2="${D}{outimpFile}.lib"
50806 #create ${D}dllFile as something matching 8.3 restrictions,
50807 if [ -z ${D}renameScript ] ; then
50808 dllFile="${D}outFile"
50810 dllFile=\`${D}renameScript
${D}outimpFile\
`
50813 if [ ${D}do_backup -ne 0 ] ; then
50814 if [ -f ${D}arcFile ] ; then
50815 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50817 if [ -f ${D}arcFile2 ] ; then
50818 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50822 # Extract public symbols from all the object files.
50823 tmpdefFile=${D}{defFile}_%
50824 rm -f ${D}tmpdefFile
50825 for file in ${D}inputFiles ; do
50830 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50835 # Create the def file.
50837 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50838 dllFile="${D}{dllFile}.dll"
50839 if [ ! -z ${D}description ]; then
50840 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50842 echo "EXPORTS" >> ${D}defFile
50844 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50845 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50847 # Checks if the export is ok or not.
50848 for word in ${D}exclude_symbols; do
50849 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50850 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50854 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50855 sed "=" < ${D}tmpdefFile | \\
50859 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50861 ' > ${D}{tmpdefFile}%
50862 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50864 rm -f ${D}{tmpdefFile}%
50866 cat ${D}tmpdefFile >> ${D}defFile
50867 rm -f ${D}tmpdefFile
50869 # Do linking, create implib, and apply lxlite.
50871 for file in ${D}inputFiles ; do
50876 gccCmdl="${D}gccCmdl ${D}file"
50880 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50881 touch "${D}{outFile}.dll"
50883 doCommand "emximp -o ${D}arcFile ${D}defFile"
50884 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50886 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50889 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50891 doCommand "emxomf -s -l ${D}arcFile"
50901 powerpc-apple-macos* | \
50902 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50912 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50913 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50914 { (exit 1); exit 1; }; }
50917 if test "x$PIC_FLAG" != "x" ; then
50918 PIC_FLAG="$PIC_FLAG -DPIC"
50921 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50922 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50924 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50925 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50944 case "${BAKEFILE_HOST}" in
50945 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50946 if test "x$SUNCXX" = "xyes"; then
50949 SONAME_FLAG="-Wl,-soname,"
50984 # Check whether --enable-dependency-tracking was given.
50985 if test "${enable_dependency_tracking+set}" = set; then
50986 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50990 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50991 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50994 if test "x$bk_use_trackdeps" = "xno" ; then
50996 { echo "$as_me:$LINENO: result: disabled" >&5
50997 echo "${ECHO_T}disabled" >&6; }
51001 if test "x$GCC" = "xyes"; then
51003 case "${BAKEFILE_HOST}" in
51005 DEPSFLAG="-no-cpp-precomp -MMD"
51011 { echo "$as_me:$LINENO: result: gcc" >&5
51012 echo "${ECHO_T}gcc" >&6; }
51013 elif test "x$MWCC" = "xyes"; then
51016 { echo "$as_me:$LINENO: result: mwcc" >&5
51017 echo "${ECHO_T}mwcc" >&6; }
51018 elif test "x$SUNCC" = "xyes"; then
51021 { echo "$as_me:$LINENO: result: Sun cc" >&5
51022 echo "${ECHO_T}Sun cc" >&6; }
51023 elif test "x$SGICC" = "xyes"; then
51026 { echo "$as_me:$LINENO: result: SGI cc" >&5
51027 echo "${ECHO_T}SGI cc" >&6; }
51028 elif test "x$HPCC" = "xyes"; then
51031 { echo "$as_me:$LINENO: result: HP cc" >&5
51032 echo "${ECHO_T}HP cc" >&6; }
51033 elif test "x$COMPAQCC" = "xyes"; then
51036 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51037 echo "${ECHO_T}Compaq cc" >&6; }
51040 { echo "$as_me:$LINENO: result: none" >&5
51041 echo "${ECHO_T}none" >&6; }
51044 if test $DEPS_TRACKING = 1 ; then
51050 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51051 # script. It is used to track C/C++ files dependencies in portable way.
51053 # Permission is given to use this file in any way.
51055 DEPSMODE=${DEPSMODE}
51057 DEPSFLAG="${DEPSFLAG}"
51059 mkdir -p ${D}DEPSDIR
51061 if test ${D}DEPSMODE = gcc ; then
51062 ${D}* ${D}{DEPSFLAG}
51064 if test ${D}{status} != 0 ; then
51067 # move created file to the location we want it in:
51068 while test ${D}# -gt 0; do
51082 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51083 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51084 if test -f ${D}depfile ; then
51085 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51088 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51089 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51090 if test ! -f ${D}depfile ; then
51091 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51092 depfile="${D}objfile.d"
51094 if test -f ${D}depfile ; then
51095 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51100 elif test ${D}DEPSMODE = mwcc ; then
51101 ${D}* || exit ${D}?
51102 # Run mwcc again with -MM and redirect into the dep file we want
51103 # NOTE: We can't use shift here because we need ${D}* to be valid
51105 for arg in ${D}* ; do
51106 if test "${D}prevarg" = "-o"; then
51119 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51121 elif test ${D}DEPSMODE = unixcc; then
51122 ${D}* || exit ${D}?
51123 # Run compiler again with deps flag and redirect into the dep file.
51124 # It doesn't work if the '-o FILE' option is used, but without it the
51125 # dependency file will contain the wrong name for the object. So it is
51126 # removed from the command line, and the dep file is fixed with sed.
51128 while test ${D}# -gt 0; do
51135 eval arg${D}#=\\${D}1
51136 cmd="${D}cmd \\${D}arg${D}#"
51141 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51150 BK_DEPS="`pwd`/bk-deps"
51158 case ${BAKEFILE_HOST} in
51159 *-*-cygwin* | *-*-mingw32* )
51160 if test -n "$ac_tool_prefix"; then
51161 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51162 set dummy ${ac_tool_prefix}windres; ac_word=$2
51163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51165 if test "${ac_cv_prog_WINDRES+set}" = set; then
51166 echo $ECHO_N "(cached) $ECHO_C" >&6
51168 if test -n "$WINDRES"; then
51169 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51172 for as_dir in $PATH
51175 test -z "$as_dir" && as_dir=.
51176 for ac_exec_ext in '' $ac_executable_extensions; do
51177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51178 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51188 WINDRES=$ac_cv_prog_WINDRES
51189 if test -n "$WINDRES"; then
51190 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51191 echo "${ECHO_T}$WINDRES" >&6; }
51193 { echo "$as_me:$LINENO: result: no" >&5
51194 echo "${ECHO_T}no" >&6; }
51199 if test -z "$ac_cv_prog_WINDRES"; then
51200 ac_ct_WINDRES=$WINDRES
51201 # Extract the first word of "windres", so it can be a program name with args.
51202 set dummy windres; ac_word=$2
51203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51205 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51208 if test -n "$ac_ct_WINDRES"; then
51209 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51212 for as_dir in $PATH
51215 test -z "$as_dir" && as_dir=.
51216 for ac_exec_ext in '' $ac_executable_extensions; do
51217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51218 ac_cv_prog_ac_ct_WINDRES="windres"
51219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51228 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51229 if test -n "$ac_ct_WINDRES"; then
51230 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51231 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51233 { echo "$as_me:$LINENO: result: no" >&5
51234 echo "${ECHO_T}no" >&6; }
51237 if test "x$ac_ct_WINDRES" = x; then
51240 case $cross_compiling:$ac_tool_warned in
51242 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51243 whose name does not start with the host triplet. If you think this
51244 configuration is useful to you, please write to autoconf@gnu.org." >&5
51245 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51246 whose name does not start with the host triplet. If you think this
51247 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51248 ac_tool_warned=yes ;;
51250 WINDRES=$ac_ct_WINDRES
51253 WINDRES="$ac_cv_prog_WINDRES"
51258 *-*-darwin* | powerpc-apple-macos* )
51259 # Extract the first word of "Rez", so it can be a program name with args.
51260 set dummy Rez; ac_word=$2
51261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51263 if test "${ac_cv_prog_REZ+set}" = set; then
51264 echo $ECHO_N "(cached) $ECHO_C" >&6
51266 if test -n "$REZ"; then
51267 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51270 for as_dir in $PATH
51273 test -z "$as_dir" && as_dir=.
51274 for ac_exec_ext in '' $ac_executable_extensions; do
51275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51276 ac_cv_prog_REZ="Rez"
51277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51284 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51287 REZ=$ac_cv_prog_REZ
51288 if test -n "$REZ"; then
51289 { echo "$as_me:$LINENO: result: $REZ" >&5
51290 echo "${ECHO_T}$REZ" >&6; }
51292 { echo "$as_me:$LINENO: result: no" >&5
51293 echo "${ECHO_T}no" >&6; }
51297 # Extract the first word of "SetFile", so it can be a program name with args.
51298 set dummy SetFile; ac_word=$2
51299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51301 if test "${ac_cv_prog_SETFILE+set}" = set; then
51302 echo $ECHO_N "(cached) $ECHO_C" >&6
51304 if test -n "$SETFILE"; then
51305 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51308 for as_dir in $PATH
51311 test -z "$as_dir" && as_dir=.
51312 for ac_exec_ext in '' $ac_executable_extensions; do
51313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51314 ac_cv_prog_SETFILE="SetFile"
51315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51322 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51325 SETFILE=$ac_cv_prog_SETFILE
51326 if test -n "$SETFILE"; then
51327 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51328 echo "${ECHO_T}$SETFILE" >&6; }
51330 { echo "$as_me:$LINENO: result: no" >&5
51331 echo "${ECHO_T}no" >&6; }
51343 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51346 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51350 # Check whether --enable-precomp-headers was given.
51351 if test "${enable_precomp_headers+set}" = set; then
51352 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51361 case ${BAKEFILE_HOST} in
51367 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51368 if test "x$GCC" = "xyes"; then
51369 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51370 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51371 cat >conftest.$ac_ext <<_ACEOF
51374 cat confdefs.h >>conftest.$ac_ext
51375 cat >>conftest.$ac_ext <<_ACEOF
51376 /* end confdefs.h. */
51382 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51383 There is no PCH support
51386 There is no PCH support
51388 #if (__GNUC__ == 3) && \
51389 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51390 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51391 ( defined(__INTEL_COMPILER) )
51392 There is no PCH support
51399 rm -f conftest.$ac_objext
51400 if { (ac_try="$ac_compile"
51401 case "(($ac_try" in
51402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51403 *) ac_try_echo
=$ac_try;;
51405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51406 (eval "$ac_compile") 2>conftest.er1
51408 grep -v '^ *+' conftest.er1
>conftest.err
51410 cat conftest.err
>&5
51411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51412 (exit $ac_status); } && {
51413 test -z "$ac_c_werror_flag" ||
51414 test ! -s conftest.err
51415 } && test -s conftest.
$ac_objext; then
51417 { echo "$as_me:$LINENO: result: yes" >&5
51418 echo "${ECHO_T}yes" >&6; }
51422 echo "$as_me: failed program was:" >&5
51423 sed 's/^/| /' conftest.
$ac_ext >&5
51426 cat >conftest.
$ac_ext <<_ACEOF
51429 cat confdefs.h
>>conftest.
$ac_ext
51430 cat >>conftest.
$ac_ext <<_ACEOF
51431 /* end confdefs.h. */
51437 #if !defined(__INTEL_COMPILER) || \
51438 (__INTEL_COMPILER < 800)
51439 There is no PCH support
51446 rm -f conftest.
$ac_objext
51447 if { (ac_try
="$ac_compile"
51448 case "(($ac_try" in
51449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51450 *) ac_try_echo=$ac_try;;
51452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51453 (eval "$ac_compile") 2>conftest.er1
51455 grep -v '^ *+' conftest.er1 >conftest.err
51457 cat conftest.err >&5
51458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51459 (exit $ac_status); } && {
51460 test -z "$ac_c_werror_flag" ||
51461 test ! -s conftest.err
51462 } && test -s conftest.$ac_objext; then
51464 { echo "$as_me:$LINENO: result: yes" >&5
51465 echo "${ECHO_T}yes" >&6; }
51469 echo "$as_me: failed program was:" >&5
51470 sed 's/^/| /' conftest.$ac_ext >&5
51473 { echo "$as_me:$LINENO: result: no" >&5
51474 echo "${ECHO_T}no" >&6; }
51478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51487 cat <<EOF >bk-make-pch
51490 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51491 # script. It is used to generated precompiled headers.
51493 # Permission is given to use this file in any way.
51503 while test ${D}{#} -gt 0; do
51507 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51508 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51509 headerfile="${D}{incdir}/${D}{header}"
51512 -use-pch|-use_pch )
51517 if test ${D}add_to_cmdline = 1 ; then
51518 compiler="${D}{compiler} ${D}{1}"
51523 if test "x${D}{headerfile}" = "x" ; then
51524 echo "error: can't find header ${D}{header} in include paths" >&2
51526 if test -f ${D}{outfile} ; then
51527 rm -f ${D}{outfile}
51529 mkdir -p \`dirname ${D}{outfile
}\
`
51531 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51533 if test "x${GCC_PCH}" = "x1" ; then
51534 # can do this because gcc is >= 3.4:
51535 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51536 elif test "x${ICC_PCH}" = "x1" ; then
51537 filename=pch_gen-${D}${D}
51538 file=${D}{filename}.c
51539 dfile=${D}{filename}.d
51540 cat > ${D}file <<EOT
51541 #include "${D}header"
51543 # using -MF icc complains about differing command lines in creation/use
51544 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51545 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51546 rm -f ${D}file ${D}dfile ${D}{filename}.o
51552 chmod +x bk-make-pch
51553 BK_MAKE_PCH="`pwd`/bk-make-pch"
51562 COND_BUILD_DEBUG="#"
51563 if test "x$BUILD" = "xdebug" ; then
51564 COND_BUILD_DEBUG=""
51567 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51568 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51569 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51572 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51573 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51574 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51577 COND_BUILD_DEBUG_UNICODE_0="#"
51578 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51579 COND_BUILD_DEBUG_UNICODE_0=""
51582 COND_BUILD_DEBUG_UNICODE_1="#"
51583 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51584 COND_BUILD_DEBUG_UNICODE_1=""
51587 COND_BUILD_RELEASE="#"
51588 if test "x$BUILD" = "xrelease" ; then
51589 COND_BUILD_RELEASE=""
51592 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51593 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51594 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51597 COND_BUILD_RELEASE_UNICODE_0="#"
51598 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51599 COND_BUILD_RELEASE_UNICODE_0=""
51602 COND_BUILD_RELEASE_UNICODE_1="#"
51603 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51604 COND_BUILD_RELEASE_UNICODE_1=""
51607 COND_DEBUG_FLAG_1="#"
51608 if test "x$DEBUG_FLAG" = "x1" ; then
51609 COND_DEBUG_FLAG_1=""
51612 COND_DEBUG_INFO_0="#"
51613 if test "x$DEBUG_INFO" = "x0" ; then
51614 COND_DEBUG_INFO_0=""
51617 COND_DEBUG_INFO_1="#"
51618 if test "x$DEBUG_INFO" = "x1" ; then
51619 COND_DEBUG_INFO_1=""
51622 COND_DEPS_TRACKING_0="#"
51623 if test "x$DEPS_TRACKING" = "x0" ; then
51624 COND_DEPS_TRACKING_0=""
51627 COND_DEPS_TRACKING_1="#"
51628 if test "x$DEPS_TRACKING" = "x1" ; then
51629 COND_DEPS_TRACKING_1=""
51633 if test "x$GCC_PCH" = "x1" ; then
51638 if test "x$ICC_PCH" = "x1" ; then
51642 COND_MONOLITHIC_0="#"
51643 if test "x$MONOLITHIC" = "x0" ; then
51644 COND_MONOLITHIC_0=""
51647 COND_MONOLITHIC_0_SHARED_0="#"
51648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51649 COND_MONOLITHIC_0_SHARED_0=""
51652 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51654 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51682 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51684 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51687 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51689 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51692 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51694 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51697 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51699 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51702 COND_MONOLITHIC_0_SHARED_1="#"
51703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51704 COND_MONOLITHIC_0_SHARED_1=""
51707 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51709 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51737 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51742 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51747 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51752 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51757 COND_MONOLITHIC_0_USE_AUI_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51759 COND_MONOLITHIC_0_USE_AUI_1=""
51762 COND_MONOLITHIC_0_USE_GUI_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51764 COND_MONOLITHIC_0_USE_GUI_1=""
51767 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51769 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51772 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51774 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51777 COND_MONOLITHIC_0_USE_HTML_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51779 COND_MONOLITHIC_0_USE_HTML_1=""
51782 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51784 COND_MONOLITHIC_0_USE_MEDIA_1=""
51787 COND_MONOLITHIC_0_USE_ODBC_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51789 COND_MONOLITHIC_0_USE_ODBC_1=""
51792 COND_MONOLITHIC_0_USE_QA_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51794 COND_MONOLITHIC_0_USE_QA_1=""
51797 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51799 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51802 COND_MONOLITHIC_0_USE_STC_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51804 COND_MONOLITHIC_0_USE_STC_1=""
51807 COND_MONOLITHIC_0_USE_XRC_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51809 COND_MONOLITHIC_0_USE_XRC_1=""
51812 COND_MONOLITHIC_1="#"
51813 if test "x$MONOLITHIC" = "x1" ; then
51814 COND_MONOLITHIC_1=""
51817 COND_MONOLITHIC_1_SHARED_0="#"
51818 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51819 COND_MONOLITHIC_1_SHARED_0=""
51822 COND_MONOLITHIC_1_SHARED_1="#"
51823 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51824 COND_MONOLITHIC_1_SHARED_1=""
51827 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51828 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51829 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51832 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51833 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51834 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51837 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51838 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51839 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51842 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51843 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51844 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51847 COND_PLATFORM_MACOSX_1="#"
51848 if test "x$PLATFORM_MACOSX" = "x1" ; then
51849 COND_PLATFORM_MACOSX_1=""
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51854 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51857 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51859 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51862 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51879 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51884 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51887 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51889 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51897 COND_PLATFORM_MACOS_1="#"
51898 if test "x$PLATFORM_MACOS" = "x1" ; then
51899 COND_PLATFORM_MACOS_1=""
51902 COND_PLATFORM_MAC_1="#"
51903 if test "x$PLATFORM_MAC" = "x1" ; then
51904 COND_PLATFORM_MAC_1=""
51907 COND_PLATFORM_MSDOS_0="#"
51908 if test "x$PLATFORM_MSDOS" = "x0" ; then
51909 COND_PLATFORM_MSDOS_0=""
51912 COND_PLATFORM_MSDOS_1="#"
51913 if test "x$PLATFORM_MSDOS" = "x1" ; then
51914 COND_PLATFORM_MSDOS_1=""
51917 COND_PLATFORM_OS2_1="#"
51918 if test "x$PLATFORM_OS2" = "x1" ; then
51919 COND_PLATFORM_OS2_1=""
51922 COND_PLATFORM_UNIX_0="#"
51923 if test "x$PLATFORM_UNIX" = "x0" ; then
51924 COND_PLATFORM_UNIX_0=""
51927 COND_PLATFORM_UNIX_1="#"
51928 if test "x$PLATFORM_UNIX" = "x1" ; then
51929 COND_PLATFORM_UNIX_1=""
51932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51933 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51934 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51938 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51939 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51942 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51943 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51944 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51947 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51949 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51952 COND_PLATFORM_WIN32_0="#"
51953 if test "x$PLATFORM_WIN32" = "x0" ; then
51954 COND_PLATFORM_WIN32_0=""
51957 COND_PLATFORM_WIN32_1="#"
51958 if test "x$PLATFORM_WIN32" = "x1" ; then
51959 COND_PLATFORM_WIN32_1=""
51963 if test "x$SHARED" = "x0" ; then
51967 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51968 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51969 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51972 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51974 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51977 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51979 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51982 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51984 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51987 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51994 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52002 COND_SHARED_0_USE_STC_1="#"
52003 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52004 COND_SHARED_0_USE_STC_1=""
52007 COND_SHARED_0_USE_XRC_1="#"
52008 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52009 COND_SHARED_0_USE_XRC_1=""
52012 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52013 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52014 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52017 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52018 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52019 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52022 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52023 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52024 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52027 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52028 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52029 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52033 if test "x$SHARED" = "x1" ; then
52037 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52038 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52039 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52042 COND_SHARED_1_USE_XRC_1="#"
52043 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52044 COND_SHARED_1_USE_XRC_1=""
52048 if test "x$TOOLKIT" = "x" ; then
52052 COND_TOOLKIT_COCOA="#"
52053 if test "x$TOOLKIT" = "xCOCOA" ; then
52054 COND_TOOLKIT_COCOA=""
52057 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52059 COND_TOOLKIT_COCOA_USE_GUI_1=""
52062 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52063 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52064 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52067 COND_TOOLKIT_DFB="#"
52068 if test "x$TOOLKIT" = "xDFB" ; then
52069 COND_TOOLKIT_DFB=""
52072 COND_TOOLKIT_DFB_USE_GUI_1="#"
52073 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52074 COND_TOOLKIT_DFB_USE_GUI_1=""
52077 COND_TOOLKIT_GTK="#"
52078 if test "x$TOOLKIT" = "xGTK" ; then
52079 COND_TOOLKIT_GTK=""
52082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52099 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52103 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52104 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52108 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52109 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52112 COND_TOOLKIT_GTK_USE_GUI_1="#"
52113 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52114 COND_TOOLKIT_GTK_USE_GUI_1=""
52117 COND_TOOLKIT_MAC="#"
52118 if test "x$TOOLKIT" = "xMAC" ; then
52119 COND_TOOLKIT_MAC=""
52122 COND_TOOLKIT_MAC_USE_GUI_1="#"
52123 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52124 COND_TOOLKIT_MAC_USE_GUI_1=""
52127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52132 COND_TOOLKIT_MGL="#"
52133 if test "x$TOOLKIT" = "xMGL" ; then
52134 COND_TOOLKIT_MGL=""
52137 COND_TOOLKIT_MGL_USE_GUI_1="#"
52138 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52139 COND_TOOLKIT_MGL_USE_GUI_1=""
52142 COND_TOOLKIT_MOTIF="#"
52143 if test "x$TOOLKIT" = "xMOTIF" ; then
52144 COND_TOOLKIT_MOTIF=""
52147 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52148 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52149 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52152 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52153 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52154 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52157 COND_TOOLKIT_MSW="#"
52158 if test "x$TOOLKIT" = "xMSW" ; then
52159 COND_TOOLKIT_MSW=""
52162 COND_TOOLKIT_MSW_USE_GUI_1="#"
52163 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52164 COND_TOOLKIT_MSW_USE_GUI_1=""
52167 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52168 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52169 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52172 COND_TOOLKIT_MSW_WXUNIV_0="#"
52173 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52174 COND_TOOLKIT_MSW_WXUNIV_0=""
52177 COND_TOOLKIT_PM="#"
52178 if test "x$TOOLKIT" = "xPM" ; then
52182 COND_TOOLKIT_PM_USE_GUI_1="#"
52183 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52184 COND_TOOLKIT_PM_USE_GUI_1=""
52187 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52188 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52189 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52192 COND_TOOLKIT_WINCE="#"
52193 if test "x$TOOLKIT" = "xWINCE" ; then
52194 COND_TOOLKIT_WINCE=""
52197 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52198 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52199 COND_TOOLKIT_WINCE_USE_GUI_1=""
52202 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52203 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52204 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52207 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_WINCE_WXUNIV_0=""
52212 COND_TOOLKIT_X11="#"
52213 if test "x$TOOLKIT" = "xX11" ; then
52214 COND_TOOLKIT_X11=""
52217 COND_TOOLKIT_X11_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_X11_USE_GUI_1=""
52223 if test "x$UNICODE" = "x1" ; then
52227 COND_USE_EXCEPTIONS_0="#"
52228 if test "x$USE_EXCEPTIONS" = "x0" ; then
52229 COND_USE_EXCEPTIONS_0=""
52232 COND_USE_EXCEPTIONS_1="#"
52233 if test "x$USE_EXCEPTIONS" = "x1" ; then
52234 COND_USE_EXCEPTIONS_1=""
52238 if test "x$USE_GUI" = "x0" ; then
52243 if test "x$USE_GUI" = "x1" ; then
52247 COND_USE_GUI_1_USE_OPENGL_1="#"
52248 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52249 COND_USE_GUI_1_USE_OPENGL_1=""
52252 COND_USE_GUI_1_WXUNIV_0="#"
52253 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52254 COND_USE_GUI_1_WXUNIV_0=""
52257 COND_USE_GUI_1_WXUNIV_1="#"
52258 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52259 COND_USE_GUI_1_WXUNIV_1=""
52262 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52263 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52267 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52269 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52272 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52274 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52277 COND_USE_ODBC_1="#"
52278 if test "x$USE_ODBC" = "x1" ; then
52282 COND_USE_OPENGL_1="#"
52283 if test "x$USE_OPENGL" = "x1" ; then
52284 COND_USE_OPENGL_1=""
52288 if test "x$USE_PCH" = "x1" ; then
52292 COND_USE_PLUGINS_0="#"
52293 if test "x$USE_PLUGINS" = "x0" ; then
52294 COND_USE_PLUGINS_0=""
52297 COND_USE_RTTI_0="#"
52298 if test "x$USE_RTTI" = "x0" ; then
52302 COND_USE_RTTI_1="#"
52303 if test "x$USE_RTTI" = "x1" ; then
52307 COND_USE_SOSYMLINKS_1="#"
52308 if test "x$USE_SOSYMLINKS" = "x1" ; then
52309 COND_USE_SOSYMLINKS_1=""
52312 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52313 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52314 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52317 COND_USE_SOVERLINUX_1="#"
52318 if test "x$USE_SOVERLINUX" = "x1" ; then
52319 COND_USE_SOVERLINUX_1=""
52322 COND_USE_SOVERSION_0="#"
52323 if test "x$USE_SOVERSION" = "x0" ; then
52324 COND_USE_SOVERSION_0=""
52327 COND_USE_SOVERSOLARIS_1="#"
52328 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52329 COND_USE_SOVERSOLARIS_1=""
52333 if test "x$USE_STC" = "x1" ; then
52337 COND_USE_THREADS_0="#"
52338 if test "x$USE_THREADS" = "x0" ; then
52339 COND_USE_THREADS_0=""
52342 COND_USE_THREADS_1="#"
52343 if test "x$USE_THREADS" = "x1" ; then
52344 COND_USE_THREADS_1=""
52348 if test "x$USE_XRC" = "x1" ; then
52352 COND_WINDOWS_IMPLIB_1="#"
52353 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52354 COND_WINDOWS_IMPLIB_1=""
52357 COND_WITH_PLUGIN_SDL_1="#"
52358 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52359 COND_WITH_PLUGIN_SDL_1=""
52363 if test "x$WXUNIV" = "x0" ; then
52368 if test "x$WXUNIV" = "x1" ; then
52372 COND_WXUSE_EXPAT_BUILTIN="#"
52373 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52374 COND_WXUSE_EXPAT_BUILTIN=""
52377 COND_WXUSE_LIBJPEG_BUILTIN="#"
52378 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52379 COND_WXUSE_LIBJPEG_BUILTIN=""
52382 COND_WXUSE_LIBPNG_BUILTIN="#"
52383 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52384 COND_WXUSE_LIBPNG_BUILTIN=""
52387 COND_WXUSE_LIBTIFF_BUILTIN="#"
52388 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52389 COND_WXUSE_LIBTIFF_BUILTIN=""
52392 COND_WXUSE_ODBC_BUILTIN="#"
52393 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52394 COND_WXUSE_ODBC_BUILTIN=""
52397 COND_WXUSE_REGEX_BUILTIN="#"
52398 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52399 COND_WXUSE_REGEX_BUILTIN=""
52402 COND_WXUSE_ZLIB_BUILTIN="#"
52403 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52404 COND_WXUSE_ZLIB_BUILTIN=""
52409 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52410 { { echo "$as_me:$LINENO: 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)?" >&5
52411 echo "$as_me: 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)?" >&2;}
52412 { (exit 1); exit 1; }; }
52415 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52416 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
52417 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
52418 { (exit 1); exit 1; }; }
52422 if test $GCC_PCH = 1
52424 if test "$wx_cv_gcc_pch_bug" = yes; then
52425 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52426 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52427 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52428 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52429 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52430 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52433 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52437 if test "$wxUSE_MAC" = 1 ; then
52438 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52439 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52445 if test "$wxUSE_SHARED" = "yes"; then
52447 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52448 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52451 *-pc-os2_emx | *-pc-os2-emx )
52452 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52453 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52454 cp -p ${srcdir}/src/os2/dllnames.sh .
52455 cp -p ${srcdir}/src/os2/dllar.sh .
52460 EXE_LINKER="$CXX -o"
52463 if test "$wxUSE_OMF" = "yes"; then
52465 *-pc-os2_emx | *-pc-os2-emx )
52466 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52467 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52468 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52473 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52478 if "$GCC" = yes; then
52479 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52480 LIBS=`echo $LIBS | sed 's/-mt//'`
52481 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52486 if test "x$SUNCXX" = xyes; then
52487 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52488 LIBS=`echo $LIBS | sed 's/-pthread//'`
52489 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52494 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52495 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52497 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52559 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52561 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52562 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52563 echo $ECHO_N "(cached) $ECHO_C" >&6
52565 cat >conftest.make <<\_ACEOF
52568 @echo '@@@%%%=$(MAKE)=@@@%%%'
52570 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52571 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52572 *@@@%%%=?*=@@@%%%*)
52573 eval ac_cv_prog_make_${ac_make}_set=yes;;
52575 eval ac_cv_prog_make_${ac_make}_set=no;;
52577 rm -f conftest.make
52579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52580 { echo "$as_me:$LINENO: result: yes" >&5
52581 echo "${ECHO_T}yes" >&6; }
52584 { echo "$as_me:$LINENO: result: no" >&5
52585 echo "${ECHO_T}no" >&6; }
52586 SET_MAKE="MAKE=${MAKE-make}"
52591 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52594 if test "$USE_WIN32" = 1; then
52595 ac_config_commands="$ac_config_commands
52601 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52604 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52607 if test "$wx_cv_version_script" = "yes"; then
52608 ac_config_files="$ac_config_files version-script"
52611 ac_config_files="$ac_config_files Makefile"
52614 ac_config_commands="$ac_config_commands wx-config"
52618 if test "$wxWITH_SUBDIRS" != "no"; then
52619 if test "$wxUSE_GUI" = "yes"; then
52620 SUBDIRS="samples demos utils"
52621 else SUBDIRS="samples utils"
52626 # Check whether --with-cppunit-prefix was given.
52627 if test "${with_cppunit_prefix+set}" = set; then
52628 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52630 cppunit_config_prefix=""
52634 # Check whether --with-cppunit-exec-prefix was given.
52635 if test "${with_cppunit_exec_prefix+set}" = set; then
52636 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52638 cppunit_config_exec_prefix=""
52642 if test x$cppunit_config_exec_prefix != x ; then
52643 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52644 if test x${CPPUNIT_CONFIG+set} != xset ; then
52645 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52648 if test x$cppunit_config_prefix != x ; then
52649 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52650 if test x${CPPUNIT_CONFIG+set} != xset ; then
52651 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52655 # Extract the first word of "cppunit-config", so it can be a program name with args.
52656 set dummy cppunit-config; ac_word=$2
52657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52659 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52660 echo $ECHO_N "(cached) $ECHO_C" >&6
52662 case $CPPUNIT_CONFIG in
52664 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52668 for as_dir in $PATH
52671 test -z "$as_dir" && as_dir=.
52672 for ac_exec_ext in '' $ac_executable_extensions; do
52673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52674 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52682 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52686 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52687 if test -n "$CPPUNIT_CONFIG"; then
52688 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52689 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52691 { echo "$as_me:$LINENO: result: no" >&5
52692 echo "${ECHO_T}no" >&6; }
52696 cppunit_version_min=1.8.0
52698 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52699 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52701 if test "$CPPUNIT_CONFIG" = "no" ; then
52702 { echo "$as_me:$LINENO: result: no" >&5
52703 echo "${ECHO_T}no" >&6; }
52706 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52707 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52708 cppunit_version=`$CPPUNIT_CONFIG --version`
52710 cppunit_major_version=`echo $cppunit_version | \
52711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52712 cppunit_minor_version=`echo $cppunit_version | \
52713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52714 cppunit_micro_version=`echo $cppunit_version | \
52715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52717 cppunit_major_min=`echo $cppunit_version_min | \
52718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52719 cppunit_minor_min=`echo $cppunit_version_min | \
52720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52721 cppunit_micro_min=`echo $cppunit_version_min | \
52722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52724 cppunit_version_proper=`expr \
52725 $cppunit_major_version \
> $cppunit_major_min \
| \
52726 $cppunit_major_version \
= $cppunit_major_min \
& \
52727 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52728 $cppunit_major_version \
= $cppunit_major_min \
& \
52729 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52730 $cppunit_micro_version \
>= $cppunit_micro_min `
52732 if test "$cppunit_version_proper" = "1" ; then
52733 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52734 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52736 { echo "$as_me:$LINENO: result: no" >&5
52737 echo "${ECHO_T}no" >&6; }
52742 if test "x$no_cppunit" = x ; then
52743 SUBDIRS="$SUBDIRS tests"
52754 for subdir in `echo $SUBDIRS`; do
52755 if test -d ${srcdir}/${subdir} ; then
52756 if test "$wxUSE_GUI" = "yes"; then
52757 if test ${subdir} = "samples"; then
52758 makefiles="samples/Makefile.in $makefiles"
52759 for sample in `echo $SAMPLES_SUBDIRS`; do
52760 if test -d $srcdir/samples/$sample; then
52761 makefiles="samples/$sample/Makefile.in $makefiles"
52765 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52766 eval "disabled=\$$disabled_var"
52767 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52768 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52770 else if test ${subdir} = "samples"; then
52771 makefiles="samples/Makefile.in samples/console/Makefile.in"
52772 elif test ${subdir} = "utils"; then
52774 for util in HelpGen tex2rtf ; do
52775 if test -d $srcdir/utils/$util ; then
52776 makefiles="utils/$util/Makefile.in \
52777 utils/$util/src/Makefile.in \
52781 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52785 for mkin in $makefiles ; do
52786 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52787 ac_config_files="$ac_config_files $mk"
52793 cat >confcache <<\_ACEOF
52794 # This file is a shell script that caches the results of configure
52795 # tests run on this system so they can be shared between configure
52796 # scripts and configure runs, see configure's option --config-cache.
52797 # It is not useful on other systems. If it contains results you don't
52798 # want to keep, you may remove or edit it.
52800 # config.status only pays attention to the cache file if you give it
52801 # the --recheck option to rerun configure.
52803 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52805 # following values.
52809 # The following way of writing the cache mishandles newlines in values,
52810 # but we know of no workaround that is simple, portable, and efficient.
52811 # So, we kill variables containing newlines.
52812 # Ultrix sh set writes to stderr and can't be redirected directly,
52813 # and sets the high bit in the cache file unless we assign to the vars.
52815 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52816 eval ac_val
=\$
$ac_var
52820 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52821 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52824 _
| IFS
| as_nl
) ;; #(
52825 *) $as_unset $ac_var ;;
52831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52832 *${as_nl}ac_space
=\
*)
52833 # `set' does not quote correctly, so add quotes (double-quote
52834 # substitution turns \\\\ into \\, and sed turns \\ into \).
52837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52840 # `set' quotes correctly as required by POSIX, so do not add quotes.
52841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52854 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52855 if test -w "$cache_file"; then
52856 test "x$cache_file" != "x/dev/null" &&
52857 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52858 echo "$as_me: updating cache $cache_file" >&6;}
52859 cat confcache
>$cache_file
52861 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52862 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52867 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52868 # Let make expand exec_prefix.
52869 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52871 DEFS
=-DHAVE_CONFIG_H
52875 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52876 # 1. Remove the extension, and $U if already installed.
52877 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52878 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52880 # will be set to the directory where LIBOBJS objects are built.
52881 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52882 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52884 LIBOBJS
=$ac_libobjs
52886 LTLIBOBJS
=$ac_ltlibobjs
52890 : ${CONFIG_STATUS=./config.status}
52891 ac_clean_files_save
=$ac_clean_files
52892 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52893 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52894 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52895 cat >$CONFIG_STATUS <<_ACEOF
52897 # Generated by $as_me.
52898 # Run this file to recreate the current configuration.
52899 # Compiler output produced by configure, useful for debugging
52900 # configure, is in config.log if it exists.
52903 ac_cs_recheck=false
52905 SHELL=\${CONFIG_SHELL-$SHELL}
52908 cat >>$CONFIG_STATUS <<\_ACEOF
52909 ## --------------------- ##
52910 ## M4sh Initialization. ##
52911 ## --------------------- ##
52913 # Be more Bourne compatible
52914 DUALCASE
=1; export DUALCASE
# for MKS sh
52915 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52918 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52919 # is contrary to our usage. Disable this feature.
52920 alias -g '${1+"$@"}'='"$@"'
52921 setopt NO_GLOB_SUBST
52923 case `(set -o) 2>/dev/null` in
52924 *posix
*) set -o posix
;;
52933 # Avoid depending upon Character Ranges.
52934 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52935 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52936 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52937 as_cr_digits
='0123456789'
52938 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52940 # The user is always right.
52941 if test "${PATH_SEPARATOR+set}" != set; then
52942 echo "#! /bin/sh" >conf$$.sh
52943 echo "exit 0" >>conf$$.sh
52945 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52953 # Support unset when possible.
52954 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52962 # We need space, tab and new line, in precisely that order. Quoting is
52963 # there to prevent editors from complaining about space-tab.
52964 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52965 # splitting by setting IFS to empty value.)
52970 # Find who we are. Look in the path if we contain no directory separator.
52972 *[\\/]* ) as_myself
=$0 ;;
52973 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52974 for as_dir
in $PATH
52977 test -z "$as_dir" && as_dir
=.
52978 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52984 # We did not find ourselves, most probably we were run as `sh COMMAND'
52985 # in which case we are not to be found in the path.
52986 if test "x$as_myself" = x
; then
52989 if test ! -f "$as_myself"; then
52990 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52991 { (exit 1); exit 1; }
52994 # Work around bugs in pre-3.0 UWIN ksh.
52995 for as_var
in ENV MAIL MAILPATH
52996 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53004 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53005 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53006 LC_TELEPHONE LC_TIME
53008 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53009 eval $as_var=C
; export $as_var
53011 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53015 # Required to use basename.
53016 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53017 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53023 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53024 as_basename
=basename
53030 # Name of the executable.
53031 as_me
=`$as_basename -- "$0" ||
53032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53033 X"$0" : 'X\(//\)$' \| \
53034 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53036 sed '/^.*\/\([^/][^/]*\)\/*$/{
53055 as_lineno_1
=$LINENO
53056 as_lineno_2
=$LINENO
53057 test "x$as_lineno_1" != "x$as_lineno_2" &&
53058 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53060 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53061 # uniformly replaced by the line number. The first 'sed' inserts a
53062 # line-number line after each line using $LINENO; the second 'sed'
53063 # does the real work. The second script uses 'N' to pair each
53064 # line-number line with the line containing $LINENO, and appends
53065 # trailing '-' during substitution so that $LINENO is not a special
53066 # case at line end.
53067 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53068 # scripts with optimization help from Paolo Bonzini. Blame Lee
53069 # E. McMahon (1931-1989) for sed's syntax. :-)
53081 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53084 ' >$as_me.lineno
&&
53085 chmod +x
"$as_me.lineno" ||
53086 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53087 { (exit 1); exit 1; }; }
53089 # Don't try to exec as it changes $[0], causing all sort of problems
53090 # (the dirname of $[0] is not the place where we might find the
53091 # original and so on. Autoconf is especially sensitive to this).
53092 .
"./$as_me.lineno"
53093 # Exit status is that of the last command.
53098 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53104 ECHO_C
= ECHO_N
= ECHO_T
=
53105 case `echo -n x` in
53107 case `echo 'x\c'` in
53108 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53122 rm -f conf$$ conf$$.exe conf$$.
file
53123 if test -d conf$$.dir
; then
53124 rm -f conf$$.dir
/conf$$.
file
53130 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53132 # ... but there are two gotchas:
53133 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53134 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53135 # In both cases, we have to default to `cp -p'.
53136 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53138 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53143 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53144 rmdir conf$$.dir
2>/dev
/null
53146 if mkdir -p .
2>/dev
/null
; then
53149 test -d .
/-p && rmdir .
/-p
53153 if test -x / >/dev
/null
2>&1; then
53154 as_test_x
='test -x'
53156 if ls -dL / >/dev
/null
2>&1; then
53163 if test -d "$1"; then
53169 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53170 ???[sx]*):;;*)false;;esac;fi
53174 as_executable_p
=$as_test_x
53176 # Sed expression to map a string onto a valid CPP name.
53177 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53179 # Sed expression to map a string onto a valid variable name.
53180 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53185 # Save the log message, to keep $[0] and so on meaningful, and to
53186 # report actual input values of CONFIG_FILES etc. instead of their
53187 # values after options handling.
53189 This file was extended by wxWidgets $as_me 2.9.0, which was
53190 generated by GNU Autoconf 2.61. Invocation command line was
53192 CONFIG_FILES = $CONFIG_FILES
53193 CONFIG_HEADERS = $CONFIG_HEADERS
53194 CONFIG_LINKS = $CONFIG_LINKS
53195 CONFIG_COMMANDS = $CONFIG_COMMANDS
53198 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53203 cat >>$CONFIG_STATUS <<_ACEOF
53204 # Files that config.status was made for.
53205 config_files="$ac_config_files"
53206 config_headers="$ac_config_headers"
53207 config_commands="$ac_config_commands"
53211 cat >>$CONFIG_STATUS <<\_ACEOF
53213 \`$as_me' instantiates files from templates according to the
53214 current configuration.
53216 Usage: $0 [OPTIONS] [FILE]...
53218 -h, --help print this help, then exit
53219 -V, --version print version number and configuration settings, then exit
53220 -q, --quiet do not print progress messages
53221 -d, --debug don't remove temporary files
53222 --recheck update $as_me by reconfiguring in the same conditions
53223 --file=FILE[:TEMPLATE]
53224 instantiate the configuration file FILE
53225 --header=FILE[:TEMPLATE]
53226 instantiate the configuration header FILE
53228 Configuration files:
53231 Configuration headers:
53234 Configuration commands:
53237 Report bugs to <bug-autoconf@gnu.org>."
53240 cat >>$CONFIG_STATUS <<_ACEOF
53242 wxWidgets config.status 2.9.0
53243 configured by $0, generated by GNU Autoconf 2.61,
53244 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53246 Copyright (C) 2006 Free Software Foundation, Inc.
53247 This config.status script is free software; the Free Software Foundation
53248 gives unlimited permission to copy, distribute and modify it."
53255 cat >>$CONFIG_STATUS <<\_ACEOF
53256 # If no file are specified by the user, then we need to provide default
53257 # value. By we need to know if files were specified by the user.
53263 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53264 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53275 # Handling of the options.
53276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53278 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53279 echo "$ac_cs_version"; exit ;;
53280 --debug | --debu | --deb | --de | --d | -d )
53282 --file | --fil | --fi | --f )
53284 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53285 ac_need_defaults
=false
;;
53286 --header | --heade | --head | --hea )
53288 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53289 ac_need_defaults
=false
;;
53291 # Conflict between --help and --header
53292 { echo "$as_me: error: ambiguous option: $1
53293 Try \`$0 --help' for more information." >&2
53294 { (exit 1); exit 1; }; };;
53295 --help | --hel | -h )
53296 echo "$ac_cs_usage"; exit ;;
53297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53298 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53301 # This is an error.
53302 -*) { echo "$as_me: error: unrecognized option: $1
53303 Try \`$0 --help' for more information." >&2
53304 { (exit 1); exit 1; }; } ;;
53306 *) ac_config_targets
="$ac_config_targets $1"
53307 ac_need_defaults
=false
;;
53313 ac_configure_extra_args
=
53315 if $ac_cs_silent; then
53317 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53321 cat >>$CONFIG_STATUS <<_ACEOF
53322 if \$ac_cs_recheck; then
53323 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53324 CONFIG_SHELL=$SHELL
53325 export CONFIG_SHELL
53326 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53330 cat >>$CONFIG_STATUS <<\_ACEOF
53334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53335 ## Running $as_me. ##
53341 cat >>$CONFIG_STATUS <<_ACEOF
53347 infile="$srcdir/include/wx/msw/genrcdefs.h"
53348 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53351 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53352 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53353 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53359 cat >>$CONFIG_STATUS <<\_ACEOF
53361 # Handling of arguments.
53362 for ac_config_target
in $ac_config_targets
53364 case $ac_config_target in
53365 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53366 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53367 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53368 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53369 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53370 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53371 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53372 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53374 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53375 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53376 { (exit 1); exit 1; }; };;
53381 # If the user did not use the arguments to specify the items to instantiate,
53382 # then the envvar interface is used. Set only those that are not.
53383 # We use the long form for the default assignment because of an extremely
53384 # bizarre bug on SunOS 4.1.3.
53385 if $ac_need_defaults; then
53386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53391 # Have a temporary directory for convenience. Make it in the build tree
53392 # simply because there is no reason against having it here, and in addition,
53393 # creating and moving files from /tmp can sometimes cause problems.
53394 # Hook for its removal unless debugging.
53395 # Note that there is a small window in which the directory will not be cleaned:
53396 # after its creation but before its name has been assigned to `$tmp'.
53400 trap 'exit_status=$?
53401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53403 trap '{ (exit 1); exit 1; }' 1 2 13 15
53405 # Create a (secure) tmp directory for tmp files.
53408 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53409 test -n "$tmp" && test -d "$tmp"
53412 tmp
=.
/conf$$
-$RANDOM
53413 (umask 077 && mkdir "$tmp")
53416 echo "$me: cannot create a temporary directory in ." >&2
53417 { (exit 1); exit 1; }
53421 # Set up the sed scripts for CONFIG_FILES section.
53424 # No need to generate the scripts if there are no CONFIG_FILES.
53425 # This happens for instance when ./config.status config.h
53426 if test -n "$CONFIG_FILES"; then
53433 for ac_last_try
in false false false false false
:; do
53434 cat >conf$
$subs.
sed <<_ACEOF
53435 SHELL!$SHELL$ac_delim
53436 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53437 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53438 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53439 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53440 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53441 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53442 exec_prefix!$exec_prefix$ac_delim
53443 prefix!$prefix$ac_delim
53444 program_transform_name!$program_transform_name$ac_delim
53445 bindir!$bindir$ac_delim
53446 sbindir!$sbindir$ac_delim
53447 libexecdir!$libexecdir$ac_delim
53448 datarootdir!$datarootdir$ac_delim
53449 datadir!$datadir$ac_delim
53450 sysconfdir!$sysconfdir$ac_delim
53451 sharedstatedir!$sharedstatedir$ac_delim
53452 localstatedir!$localstatedir$ac_delim
53453 includedir!$includedir$ac_delim
53454 oldincludedir!$oldincludedir$ac_delim
53455 docdir!$docdir$ac_delim
53456 infodir!$infodir$ac_delim
53457 htmldir!$htmldir$ac_delim
53458 dvidir!$dvidir$ac_delim
53459 pdfdir!$pdfdir$ac_delim
53460 psdir!$psdir$ac_delim
53461 libdir!$libdir$ac_delim
53462 localedir!$localedir$ac_delim
53463 mandir!$mandir$ac_delim
53464 DEFS!$DEFS$ac_delim
53465 ECHO_C!$ECHO_C$ac_delim
53466 ECHO_N!$ECHO_N$ac_delim
53467 ECHO_T!$ECHO_T$ac_delim
53468 LIBS!$LIBS$ac_delim
53469 build_alias!$build_alias$ac_delim
53470 host_alias!$host_alias$ac_delim
53471 target_alias!$target_alias$ac_delim
53472 build!$build$ac_delim
53473 build_cpu!$build_cpu$ac_delim
53474 build_vendor!$build_vendor$ac_delim
53475 build_os!$build_os$ac_delim
53476 host!$host$ac_delim
53477 host_cpu!$host_cpu$ac_delim
53478 host_vendor!$host_vendor$ac_delim
53479 host_os!$host_os$ac_delim
53480 target!$target$ac_delim
53481 target_cpu!$target_cpu$ac_delim
53482 target_vendor!$target_vendor$ac_delim
53483 target_os!$target_os$ac_delim
53484 wx_top_builddir!$wx_top_builddir$ac_delim
53486 CFLAGS!$CFLAGS$ac_delim
53487 LDFLAGS!$LDFLAGS$ac_delim
53488 CPPFLAGS!$CPPFLAGS$ac_delim
53489 ac_ct_CC!$ac_ct_CC$ac_delim
53490 EXEEXT!$EXEEXT$ac_delim
53491 OBJEXT!$OBJEXT$ac_delim
53493 GREP!$GREP$ac_delim
53494 EGREP!$EGREP$ac_delim
53496 CXXFLAGS!$CXXFLAGS$ac_delim
53497 ac_ct_CXX!$ac_ct_CXX$ac_delim
53498 RANLIB!$RANLIB$ac_delim
53500 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53501 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53502 INSTALL_DATA!$INSTALL_DATA$ac_delim
53503 STRIP!$STRIP$ac_delim
53504 WINDRES!$WINDRES$ac_delim
53505 DLLTOOL!$DLLTOOL$ac_delim
53506 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53507 LN_S!$LN_S$ac_delim
53508 subdirs!$subdirs$ac_delim
53509 PKG_CONFIG!$PKG_CONFIG$ac_delim
53510 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53511 GTK_LIBS!$GTK_LIBS$ac_delim
53512 GTK_CONFIG!$GTK_CONFIG$ac_delim
53513 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53514 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53515 XMKMF!$XMKMF$ac_delim
53516 X_CFLAGS!$X_CFLAGS$ac_delim
53517 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53518 X_LIBS!$X_LIBS$ac_delim
53519 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53520 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53521 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53522 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53523 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53524 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53525 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53526 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53527 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53529 DEREZ!$DEREZ$ac_delim
53530 SETFILE!$SETFILE$ac_delim
53531 LIBICONV!$LIBICONV$ac_delim
53534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53536 elif $ac_last_try; then
53537 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53538 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53539 { (exit 1); exit 1; }; }
53541 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53545 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53546 if test -n "$ac_eof"; then
53547 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53548 ac_eof
=`expr $ac_eof + 1`
53551 cat >>$CONFIG_STATUS <<_ACEOF
53552 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53556 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53557 s/^/s,@/; s/!/@,|#_!!_#|/
53560 s/'"$ac_delim"'$/,g/; t
53562 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53563 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53564 rm -f conf$
$subs.
sed
53565 cat >>$CONFIG_STATUS <<_ACEOF
53571 for ac_last_try
in false false false false false
:; do
53572 cat >conf$
$subs.
sed <<_ACEOF
53573 SDL_CONFIG!$SDL_CONFIG$ac_delim
53574 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53575 SDL_LIBS!$SDL_LIBS$ac_delim
53576 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53577 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53578 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53579 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53580 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53581 HILDON_LIBS!$HILDON_LIBS$ac_delim
53582 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53583 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53584 GST_CFLAGS!$GST_CFLAGS$ac_delim
53585 GST_LIBS!$GST_LIBS$ac_delim
53586 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53587 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53588 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53589 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53590 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53591 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53592 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53593 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53594 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53595 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53596 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53597 VENDOR!$VENDOR$ac_delim
53598 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53599 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53600 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53601 WXUNIV!$WXUNIV$ac_delim
53602 MONOLITHIC!$MONOLITHIC$ac_delim
53603 USE_PLUGINS!$USE_PLUGINS$ac_delim
53604 CXXWARNINGS!$CXXWARNINGS$ac_delim
53605 EXTRALIBS!$EXTRALIBS$ac_delim
53606 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53607 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53608 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53609 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53610 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53611 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53612 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53613 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53614 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53615 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53616 UNICODE!$UNICODE$ac_delim
53617 BUILD!$BUILD$ac_delim
53618 DEBUG_INFO!$DEBUG_INFO$ac_delim
53619 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53620 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53621 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53622 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53623 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53624 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53625 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53626 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53627 SET_MAKE!$SET_MAKE$ac_delim
53628 MAKE_SET!$MAKE_SET$ac_delim
53629 AROPTIONS!$AROPTIONS$ac_delim
53631 INSTALL_DIR!$INSTALL_DIR$ac_delim
53632 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53633 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53634 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53635 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53636 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53637 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53638 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53639 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53640 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53641 SO_SUFFIX!$SO_SUFFIX$ac_delim
53642 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53643 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53644 LIBPREFIX!$LIBPREFIX$ac_delim
53645 LIBEXT!$LIBEXT$ac_delim
53646 DLLPREFIX!$DLLPREFIX$ac_delim
53647 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53648 dlldir!$dlldir$ac_delim
53649 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53650 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53651 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53652 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53653 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53654 PIC_FLAG!$PIC_FLAG$ac_delim
53655 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53656 USE_SOVERSION!$USE_SOVERSION$ac_delim
53657 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53658 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53659 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53660 USE_MACVERSION!$USE_MACVERSION$ac_delim
53661 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53662 SONAME_FLAG!$SONAME_FLAG$ac_delim
53663 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53664 BK_DEPS!$BK_DEPS$ac_delim
53665 GCC_PCH!$GCC_PCH$ac_delim
53666 ICC_PCH!$ICC_PCH$ac_delim
53667 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53668 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53669 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53672 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53674 elif $ac_last_try; then
53675 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53676 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53677 { (exit 1); exit 1; }; }
53679 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53683 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53684 if test -n "$ac_eof"; then
53685 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53686 ac_eof
=`expr $ac_eof + 1`
53689 cat >>$CONFIG_STATUS <<_ACEOF
53690 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53694 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53695 s/^/s,@/; s/!/@,|#_!!_#|/
53698 s/'"$ac_delim"'$/,g/; t
53700 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53701 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53702 rm -f conf$
$subs.
sed
53703 cat >>$CONFIG_STATUS <<_ACEOF
53709 for ac_last_try
in false false false false false
:; do
53710 cat >conf$
$subs.
sed <<_ACEOF
53711 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53712 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53713 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53714 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53715 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53716 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53717 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53718 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53719 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53720 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53721 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53722 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53723 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53724 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53725 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53726 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53727 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53734 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53735 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53736 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53737 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53738 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53739 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53741 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53742 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53743 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53744 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53745 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53746 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53748 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53749 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53750 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53751 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53752 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53753 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53754 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53755 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53756 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53757 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53758 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53759 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53760 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53761 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53762 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53763 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53764 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53765 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53766 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53767 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53768 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53769 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53770 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53771 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53772 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53773 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53774 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53775 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53776 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53777 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53778 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53779 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53780 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53781 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53782 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53783 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53784 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53785 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53786 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53787 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53788 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53789 COND_SHARED_0!$COND_SHARED_0$ac_delim
53790 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53791 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53792 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53793 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53794 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53795 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53796 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53797 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53798 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53799 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53800 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53801 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53802 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53803 COND_SHARED_1!$COND_SHARED_1$ac_delim
53804 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53805 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53806 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53807 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53810 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53812 elif $ac_last_try; then
53813 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53814 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53815 { (exit 1); exit 1; }; }
53817 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53821 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53822 if test -n "$ac_eof"; then
53823 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53824 ac_eof
=`expr $ac_eof + 1`
53827 cat >>$CONFIG_STATUS <<_ACEOF
53828 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53832 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53833 s/^/s,@/; s/!/@,|#_!!_#|/
53836 s/'"$ac_delim"'$/,g/; t
53838 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53839 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53840 rm -f conf$
$subs.
sed
53841 cat >>$CONFIG_STATUS <<_ACEOF
53847 for ac_last_try
in false false false false false
:; do
53848 cat >conf$
$subs.
sed <<_ACEOF
53849 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53850 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53851 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53852 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53853 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53854 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53856 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53859 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53860 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53861 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53862 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53863 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53864 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53865 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53866 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53867 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53868 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53869 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53870 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53871 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53872 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53873 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53874 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53875 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53876 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53877 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53878 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53879 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53880 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53881 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53882 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53883 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53884 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53885 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53886 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53887 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53888 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53889 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53890 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53891 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53892 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53893 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53894 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53895 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53896 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53897 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53898 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53899 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53900 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53901 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53902 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53903 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53904 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53905 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53906 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53907 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53908 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53909 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53910 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53911 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53912 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53913 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53914 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53915 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53916 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53917 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53918 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53919 SHARED!$SHARED$ac_delim
53920 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53921 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53922 USE_GUI!$USE_GUI$ac_delim
53923 AFMINSTALL!$AFMINSTALL$ac_delim
53924 WIN32INSTALL!$WIN32INSTALL$ac_delim
53925 TOOLKIT!$TOOLKIT$ac_delim
53926 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53927 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53928 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53929 cross_compiling!$cross_compiling$ac_delim
53930 WIDGET_SET!$WIDGET_SET$ac_delim
53931 WX_RELEASE!$WX_RELEASE$ac_delim
53932 WX_VERSION!$WX_VERSION$ac_delim
53933 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53934 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53935 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53936 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53937 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53938 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53939 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53940 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53941 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53942 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53943 EXE_LINKER!$EXE_LINKER$ac_delim
53944 GUIDIST!$GUIDIST$ac_delim
53945 DISTDIR!$DISTDIR$ac_delim
53948 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53950 elif $ac_last_try; then
53951 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53952 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53953 { (exit 1); exit 1; }; }
53955 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53959 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53960 if test -n "$ac_eof"; then
53961 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53962 ac_eof
=`expr $ac_eof + 1`
53965 cat >>$CONFIG_STATUS <<_ACEOF
53966 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53970 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53971 s/^/s,@/; s/!/@,|#_!!_#|/
53974 s/'"$ac_delim"'$/,g/; t
53976 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53977 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53978 rm -f conf$
$subs.
sed
53979 cat >>$CONFIG_STATUS <<_ACEOF
53985 for ac_last_try
in false false false false false
:; do
53986 cat >conf$
$subs.
sed <<_ACEOF
53987 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53988 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53989 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53990 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53991 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53992 RESCOMP!$RESCOMP$ac_delim
53993 RESFLAGS!$RESFLAGS$ac_delim
53994 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53995 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53996 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53997 LIBWXMACRES!$LIBWXMACRES$ac_delim
53998 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53999 MACSETFILE!$MACSETFILE$ac_delim
54001 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54002 LIBOBJS!$LIBOBJS$ac_delim
54003 LTLIBOBJS!$LTLIBOBJS$ac_delim
54006 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54008 elif $ac_last_try; then
54009 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54010 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54011 { (exit 1); exit 1; }; }
54013 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54017 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54018 if test -n "$ac_eof"; then
54019 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54020 ac_eof
=`expr $ac_eof + 1`
54023 cat >>$CONFIG_STATUS <<_ACEOF
54024 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54028 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54029 s/^/s,@/; s/!/@,|#_!!_#|/
54032 s/'"$ac_delim"'$/,g/; t
54034 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54035 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54036 rm -f conf$
$subs.
sed
54037 cat >>$CONFIG_STATUS <<_ACEOF
54044 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54045 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54046 # trailing colons and then remove the whole line if VPATH becomes empty
54047 # (actually we leave an empty line to preserve line numbers).
54048 if test "x$srcdir" = x.
; then
54049 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54050 s/:*\$(srcdir):*/:/
54051 s/:*\${srcdir}:*/:/
54053 s/^\([^=]*=[ ]*\):*/\1/
54059 cat >>$CONFIG_STATUS <<\_ACEOF
54060 fi # test -n "$CONFIG_FILES"
54063 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54066 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54068 case $ac_mode$ac_tag in
54070 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54071 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54072 { (exit 1); exit 1; }; };;
54073 :[FH
]-) ac_tag
=-:-;;
54074 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54091 -) ac_f
="$tmp/stdin";;
54092 *) # Look for the file first in the build tree, then in the source tree
54093 # (if the path is not absolute). The absolute path cannot be DOS-style,
54094 # because $ac_f cannot contain `:'.
54098 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54100 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54101 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54102 { (exit 1); exit 1; }; };;
54104 ac_file_inputs
="$ac_file_inputs $ac_f"
54107 # Let's still pretend it is `configure' which instantiates (i.e., don't
54108 # use $as_me), people would be surprised to read:
54109 # /* config.h. Generated by config.status. */
54110 configure_input
="Generated from "`IFS=:
54111 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54112 if test x
"$ac_file" != x
-; then
54113 configure_input
="$ac_file. $configure_input"
54114 { echo "$as_me:$LINENO: creating $ac_file" >&5
54115 echo "$as_me: creating $ac_file" >&6;}
54119 *:-:* | *:-) cat >"$tmp/stdin";;
54124 ac_dir
=`$as_dirname -- "$ac_file" ||
54125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54126 X"$ac_file" : 'X\(//\)[^/]' \| \
54127 X"$ac_file" : 'X\(//\)$' \| \
54128 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54134 /^X\(\/\/\)[^/].*/{
54149 -*) as_dir
=.
/$as_dir;;
54151 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54155 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54156 *) as_qdir
=$as_dir;;
54158 as_dirs
="'$as_qdir' $as_dirs"
54159 as_dir
=`$as_dirname -- "$as_dir" ||
54160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54161 X"$as_dir" : 'X\(//\)[^/]' \| \
54162 X"$as_dir" : 'X\(//\)$' \| \
54163 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54169 /^X\(\/\/\)[^/].*/{
54182 test -d "$as_dir" && break
54184 test -z "$as_dirs" || eval "mkdir $as_dirs"
54185 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54186 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54187 { (exit 1); exit 1; }; }; }
54191 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54193 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54194 # A ".." for each directory in $ac_dir_suffix.
54195 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54196 case $ac_top_builddir_sub in
54197 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54198 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54201 ac_abs_top_builddir
=$ac_pwd
54202 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54203 # for backward compatibility:
54204 ac_top_builddir
=$ac_top_build_prefix
54207 .
) # We are building in place.
54209 ac_top_srcdir
=$ac_top_builddir_sub
54210 ac_abs_top_srcdir
=$ac_pwd ;;
54211 [\\/]* | ?
:[\\/]* ) # Absolute name.
54212 ac_srcdir
=$srcdir$ac_dir_suffix;
54213 ac_top_srcdir
=$srcdir
54214 ac_abs_top_srcdir
=$srcdir ;;
54215 *) # Relative name.
54216 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54217 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54218 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54220 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54230 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54231 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54235 cat >>$CONFIG_STATUS <<\_ACEOF
54236 # If the template does not know about datarootdir, expand it.
54237 # FIXME: This hack should be removed a few years after 2.60.
54238 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54240 case `sed -n '/datarootdir/ {
54249 ' $ac_file_inputs` in
54250 *datarootdir
*) ac_datarootdir_seen
=yes;;
54251 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54252 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54253 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54255 cat >>$CONFIG_STATUS <<_ACEOF
54256 ac_datarootdir_hack='
54257 s&@datadir@&$datadir&g
54258 s&@docdir@&$docdir&g
54259 s&@infodir@&$infodir&g
54260 s&@localedir@&$localedir&g
54261 s&@mandir@&$mandir&g
54262 s&\\\${datarootdir}&$datarootdir&g' ;;
54266 # Neutralize VPATH when `$srcdir' = `.'.
54267 # Shell code in configure.ac might set extrasub.
54268 # FIXME: do we really want to maintain this feature?
54269 cat >>$CONFIG_STATUS <<_ACEOF
54273 cat >>$CONFIG_STATUS <<\_ACEOF
54275 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54276 s
&@configure_input@
&$configure_input&;t t
54277 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54278 s
&@srcdir@
&$ac_srcdir&;t t
54279 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54280 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54281 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54282 s
&@builddir@
&$ac_builddir&;t t
54283 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54284 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54285 s
&@INSTALL@
&$ac_INSTALL&;t t
54286 $ac_datarootdir_hack
54287 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed -f "$tmp/subs
-5.
sed" >$tmp/out
54289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54292 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54293 which seems to be undefined. Please make sure it is defined." >&5
54294 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54295 which seems to be undefined. Please make sure it is defined." >&2;}
54299 -) cat "$tmp/out"; rm -f "$tmp/out";;
54300 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54309 # Transform confdefs.h into a sed script `conftest.defines', that
54310 # substitutes the proper values into config.h.in to produce config.h.
54311 rm -f conftest.defines conftest.
tail
54312 # First, append a space to every undef/define line, to ease matching.
54313 echo 's/$/ /' >conftest.defines
54314 # Then, protect against being on the right side of a sed subst, or in
54315 # an unquoted here document, in config.status. If some macros were
54316 # called several times there might be several #defines for the same
54317 # symbol, which is useless. But do not sort them, since the last
54318 # AC_DEFINE must be honored.
54319 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54320 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54321 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54322 # PARAMS is the parameter list in the macro definition--in most cases, it's
54323 # just an empty string.
54324 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54325 ac_dB
='\\)[ (].*,\\1define\\2'
54333 s/^[ ]*#[ ]*define[ ][ ]*//
54338 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54339 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54340 ' >>conftest.defines
54342 # Remove the space that was appended to ease matching.
54343 # Then replace #undef with comments. This is necessary, for
54344 # example, in the case of _POSIX_SOURCE, which is predefined and required
54345 # on some systems where configure will not decide to define it.
54346 # (The regexp can be short, since the line contains either #define or #undef.)
54348 s,^[ #]*u.*,/* & */,' >>conftest.defines
54350 # Break up conftest.defines:
54351 ac_max_sed_lines
=50
54353 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54354 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54355 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54357 ac_in
='$ac_file_inputs'
54358 ac_out
='"$tmp/out1"'
54359 ac_nxt
='"$tmp/out2"'
54363 # Write a here document:
54364 cat >>$CONFIG_STATUS <<_ACEOF
54365 # First, check the format of the line:
54366 cat >"\$tmp/defines.sed" <<\\CEOF
54367 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54368 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54372 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54374 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54375 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54376 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54377 grep . conftest.
tail >/dev
/null
|| break
54378 rm -f conftest.defines
54379 mv conftest.
tail conftest.defines
54381 rm -f conftest.defines conftest.
tail
54383 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54384 cat >>$CONFIG_STATUS <<\_ACEOF
54385 if test x
"$ac_file" != x
-; then
54386 echo "/* $configure_input */" >"$tmp/config.h"
54387 cat "$ac_result" >>"$tmp/config.h"
54388 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54390 echo "$as_me: $ac_file is unchanged" >&6;}
54393 mv "$tmp/config.h" $ac_file
54396 echo "/* $configure_input */"
54402 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54403 echo "$as_me: executing $ac_file commands" >&6;}
54408 case $ac_file$ac_mode in
54410 mkdir -p $outdir &&
54411 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54413 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54414 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54415 "wx-config":C
) rm -f wx
-config
54416 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54423 { (exit 0); exit 0; }
54425 chmod +x
$CONFIG_STATUS
54426 ac_clean_files
=$ac_clean_files_save
54429 # configure is writing to config.log, and then calls config.status.
54430 # config.status does its own redirection, appending to config.log.
54431 # Unfortunately, on DOS this fails, as config.log is still kept open
54432 # by configure, so config.status won't be able to write to it; its
54433 # output is simply discarded. So we exec the FD to /dev/null,
54434 # effectively closing config.log, so it can be properly (re)opened and
54435 # appended to by config.status. When coming back to configure, we
54436 # need to make the FD available again.
54437 if test "$no_create" != yes; then
54439 ac_config_status_args
=
54440 test "$silent" = yes &&
54441 ac_config_status_args
="$ac_config_status_args --quiet"
54443 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54445 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54446 # would make configure fail if this is the last instruction.
54447 $ac_cs_success || { (exit 1); exit 1; }
54451 # CONFIG_SUBDIRS section.
54453 if test "$no_recursion" != yes; then
54455 # Remove --cache-file and --srcdir arguments so they do not pile up.
54456 ac_sub_configure_args
=
54458 eval "set x $ac_configure_args"
54462 if test -n "$ac_prev"; then
54467 -cache-file | --cache-file | --cache-fil | --cache-fi \
54468 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54469 ac_prev
=cache_file
;;
54470 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54471 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54474 --config-cache | -C)
54476 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54478 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54480 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54482 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54486 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54488 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54492 # Always prepend --prefix to ensure using the same prefix
54493 # in subdir configurations.
54494 ac_arg
="--prefix=$prefix"
54496 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54498 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54501 if test "$silent" = yes; then
54502 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54506 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54508 # Do not complain, so a configure script can configure whichever
54509 # parts of a large source tree are present.
54510 test -d "$srcdir/$ac_dir" || continue
54512 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54513 echo "$as_me:$LINENO: $ac_msg" >&5
54517 -*) as_dir
=.
/$as_dir;;
54519 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54523 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54524 *) as_qdir
=$as_dir;;
54526 as_dirs
="'$as_qdir' $as_dirs"
54527 as_dir
=`$as_dirname -- "$as_dir" ||
54528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54529 X"$as_dir" : 'X\(//\)[^/]' \| \
54530 X"$as_dir" : 'X\(//\)$' \| \
54531 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54537 /^X\(\/\/\)[^/].*/{
54550 test -d "$as_dir" && break
54552 test -z "$as_dirs" || eval "mkdir $as_dirs"
54553 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54554 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54555 { (exit 1); exit 1; }; }; }
54559 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54561 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54562 # A ".." for each directory in $ac_dir_suffix.
54563 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54564 case $ac_top_builddir_sub in
54565 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54566 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54569 ac_abs_top_builddir
=$ac_pwd
54570 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54571 # for backward compatibility:
54572 ac_top_builddir
=$ac_top_build_prefix
54575 .
) # We are building in place.
54577 ac_top_srcdir
=$ac_top_builddir_sub
54578 ac_abs_top_srcdir
=$ac_pwd ;;
54579 [\\/]* | ?
:[\\/]* ) # Absolute name.
54580 ac_srcdir
=$srcdir$ac_dir_suffix;
54581 ac_top_srcdir
=$srcdir
54582 ac_abs_top_srcdir
=$srcdir ;;
54583 *) # Relative name.
54584 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54585 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54586 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54588 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54593 # Check for guested configure; otherwise get Cygnus style configure.
54594 if test -f "$ac_srcdir/configure.gnu"; then
54595 ac_sub_configure
=$ac_srcdir/configure.gnu
54596 elif test -f "$ac_srcdir/configure"; then
54597 ac_sub_configure
=$ac_srcdir/configure
54598 elif test -f "$ac_srcdir/configure.in"; then
54599 # This should be Cygnus configure.
54600 ac_sub_configure
=$ac_aux_dir/configure
54602 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54603 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54607 # The recursion is here.
54608 if test -n "$ac_sub_configure"; then
54609 # Make the cache file name correct relative to the subdirectory.
54610 case $cache_file in
54611 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54612 *) # Relative name.
54613 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54616 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54617 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54618 # The eval makes quoting arguments work.
54619 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54620 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54621 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54622 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54623 { (exit 1); exit 1; }; }
54632 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54634 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54635 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54637 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54638 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54639 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54640 if test "$wxUSE_UNICODE" = "yes"; then
54641 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54642 echo " (using UTF-8)"
54644 echo " (using wchar_t)"
54650 echo " What level of wxWidgets compatibility should be enabled?"
54651 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54652 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54654 echo " Which libraries should wxWidgets use?"
54655 echo " jpeg ${wxUSE_LIBJPEG-none}"
54656 echo " png ${wxUSE_LIBPNG-none}"
54657 echo " regex ${wxUSE_REGEX}"
54658 echo " tiff ${wxUSE_LIBTIFF-none}"
54659 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54660 echo " xpm ${wxUSE_LIBXPM-none}"
54662 echo " zlib ${wxUSE_ZLIB}"
54663 echo " odbc ${wxUSE_ODBC}"
54664 echo " expat ${wxUSE_EXPAT}"
54665 echo " libmspack ${wxUSE_LIBMSPACK}"
54666 echo " sdl ${wxUSE_LIBSDL}"