2 # From configure.in Id: configure.in 47621 2007-07-21 13:09:57Z 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-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-regkey use wxRegKey class (Win32 only)
1852 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1853 --enable-wxdib use wxDIB class (Win32 only)
1854 --disable-largefile omit support for large files
1855 --disable-gtktest do not try to compile and run a test GTK+ program
1856 --disable-gtktest Do not try to compile and run a test GTK program
1857 --disable-sdltest Do not try to compile and run a test SDL program
1858 --enable-omf use OMF object format (OS/2)
1859 --disable-dependency-tracking
1860 don't use dependency tracking even if the compiler
1862 --disable-precomp-headers
1863 don't use precompiled headers even if compiler can
1866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1868 --without-subdirs don't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gnomeprint don't use GNOME printing libraries
1888 --with-gnomevfs use GNOME VFS for associating MIME types
1889 --with-hildon use Hildon framework for Nokia 770
1890 --with-opengl use OpenGL (or Mesa)
1891 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1892 --with-sdl use SDL for audio on Unix
1893 --with-regex enable support for wxRegEx class
1894 --with-zlib use zlib for LZW compression
1895 --with-odbc use the IODBC and wxODBC classes
1896 --with-expat enable XML support using expat parser
1897 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1898 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1899 --with-x use the X Window System
1900 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1901 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1902 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1903 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1904 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1906 Some influential environment variables:
1907 CC C compiler command
1908 CFLAGS C compiler flags
1909 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1910 nonstandard directory <lib dir>
1911 LIBS libraries to pass to the linker, e.g. -l<library>
1912 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1913 you have headers in a nonstandard directory <include dir>
1915 CXX C++ compiler command
1916 CXXFLAGS C++ compiler flags
1917 PKG_CONFIG path to pkg-config utility
1919 C compiler flags for DIRECTFB, overriding pkg-config
1921 linker flags for DIRECTFB, overriding pkg-config
1922 XMKMF Path to xmkmf, Makefile generator for X Window System
1924 C compiler flags for PANGOX, overriding pkg-config
1925 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1927 C compiler flags for PANGOFT2, overriding pkg-config
1929 linker flags for PANGOFT2, overriding pkg-config
1931 C compiler flags for PANGOXFT, overriding pkg-config
1933 linker flags for PANGOXFT, overriding pkg-config
1934 LIBGNOMEPRINTUI_CFLAGS
1935 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1936 LIBGNOMEPRINTUI_LIBS
1937 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 C compiler flags for GNOMEVFS, overriding pkg-config
1941 linker flags for GNOMEVFS, overriding pkg-config
1943 C compiler flags for HILDON, overriding pkg-config
1944 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 C compiler flags for CAIRO, overriding pkg-config
1947 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1948 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1949 GST_LIBS linker flags for GST, overriding pkg-config
1951 Use these variables to override the choices made by `configure' or to help
1952 it to find libraries and programs with nonstandard names/locations.
1954 Report bugs to <wx-dev@lists.wxwidgets.org>.
1959 if test "$ac_init_help" = "recursive"; then
1960 # If there are subdirs, report their specific --help.
1961 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1962 test -d "$ac_dir" || continue
1966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1969 # A ".." for each directory in $ac_dir_suffix.
1970 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1971 case $ac_top_builddir_sub in
1972 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1973 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1976 ac_abs_top_builddir=$ac_pwd
1977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1978 # for backward compatibility:
1979 ac_top_builddir=$ac_top_build_prefix
1982 .) # We are building in place.
1984 ac_top_srcdir=$ac_top_builddir_sub
1985 ac_abs_top_srcdir=$ac_pwd ;;
1986 [\\/]* | ?:[\\/]* ) # Absolute name.
1987 ac_srcdir=$srcdir$ac_dir_suffix;
1988 ac_top_srcdir=$srcdir
1989 ac_abs_top_srcdir=$srcdir ;;
1991 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1992 ac_top_srcdir=$ac_top_build_prefix$srcdir
1993 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997 cd "$ac_dir" || { ac_status=$?; continue; }
1998 # Check for guested configure.
1999 if test -f "$ac_srcdir/configure.gnu"; then
2001 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2002 elif test -f "$ac_srcdir/configure"; then
2004 $SHELL "$ac_srcdir/configure" --help=recursive
2006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 cd "$ac_pwd" || { ac_status=$?; break; }
2012 test -n "$ac_init_help" && exit $ac_status
2013 if $ac_init_version; then
2015 wxWidgets configure 2.9.0
2016 generated by GNU Autoconf 2.61
2018 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2019 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2020 This configure script is free software; the Free Software Foundation
2021 gives unlimited permission to copy, distribute and modify it.
2025 cat >config.log <<_ACEOF
2026 This file contains any messages produced by compilers while
2027 running configure, to aid debugging if configure makes a mistake.
2029 It was created by wxWidgets $as_me 2.9.0, which was
2030 generated by GNU Autoconf 2.61. Invocation command line was
2042 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2043 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2044 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2045 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2046 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2049 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2052 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2053 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2054 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2055 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2056 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2057 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir=.
2066 echo "PATH: $as_dir"
2082 # Keep a trace of the command line.
2083 # Strip out --no-create and --no-recursion so they do not pile up.
2084 # Strip out --silent because we don't want to record it for future runs.
2085 # Also quote any args containing shell meta-characters.
2086 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_must_keep_next=false
2096 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2101 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2104 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2107 if test $ac_must_keep_next = true; then
2108 ac_must_keep_next=false # Got value, back to normal.
2111 *=* | --config-cache | -C | -disable-* | --disable-* \
2112 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2113 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2114 | -with-* | --with-* | -without-* | --without-* | --x)
2115 case "$ac_configure_args0 " in
2116 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2119 -* ) ac_must_keep_next=true ;;
2122 ac_configure_args="$ac_configure_args '$ac_arg'"
2127 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2128 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130 # When interrupted or exit'd, cleanup temporary files, and complete
2131 # config.log. We remove comments because anyway the quotes in there
2132 # would cause problems or look ugly.
2133 # WARNING: Use '\'' to represent an apostrophe within the trap.
2134 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2135 trap 'exit_status=$?
2136 # Save into config.log some information that might help in debugging.
2141 ## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##
2146 # The following way of writing the cache mishandles newlines in values,
2148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2149 eval ac_val=\$$ac_var
2153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2157 _ | IFS | as_nl) ;; #(
2158 *) $as_unset $ac_var ;;
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2178 ## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##
2183 for ac_var in $ac_subst_vars
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 echo "$ac_var='\''$ac_val'\''"
2193 if test -n "$ac_subst_files"; then
2195 ## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##
2200 for ac_var in $ac_subst_files
2202 eval ac_val=\$$ac_var
2204 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 echo "$ac_var='\''$ac_val'\''"
2211 if test -s confdefs.h; then
2221 test "$ac_signal" != 0 &&
2222 echo "$as_me: caught signal $ac_signal"
2223 echo "$as_me: exit $exit_status"
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 for ac_signal in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest* confdefs.h
2237 # Predefined preprocessor variables.
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 set x "$CONFIG_SITE"
2268 elif test "x$prefix" != xNONE; then
2269 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 set x "$ac_default_prefix/share/config.site" \
2272 "$ac_default_prefix/etc/config.site"
2277 if test -r "$ac_site_file"; then
2278 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2279 echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2285 if test -r "$cache_file"; then
2286 # Some versions of bash will fail to source /dev/null (special
2287 # files actually), so we avoid doing that.
2288 if test -f "$cache_file"; then
2289 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2290 echo "$as_me: loading cache $cache_file" >&6;}
2292 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2293 *) . "./$cache_file";;
2297 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2298 echo "$as_me: creating cache $cache_file" >&6;}
2302 # Check that the precious variables saved in the cache have kept the same
2304 ac_cache_corrupted=false
2305 for ac_var in $ac_precious_vars; do
2306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2307 eval ac_new_set=\$ac_env_${ac_var}_set
2308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2309 eval ac_new_val=\$ac_env_${ac_var}_value
2310 case $ac_old_set,$ac_new_set in
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2321 if test "x$ac_old_val" != "x$ac_new_val"; then
2322 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2323 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2325 echo "$as_me: former value: $ac_old_val" >&2;}
2326 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2327 echo "$as_me: current value: $ac_new_val" >&2;}
2328 ac_cache_corrupted=:
2331 # Pass precious variables to config.status.
2332 if test "$ac_new_set" = set; then
2334 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335 *) ac_arg=$ac_var=$ac_new_val ;;
2337 case " $ac_configure_args " in
2338 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2339 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2343 if $ac_cache_corrupted; then
2344 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2345 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2347 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2348 { (exit 1); exit 1; }; }
2376 ac_cpp='$CPP $CPPFLAGS'
2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387 if test -f "$ac_dir/install-sh"; then
2389 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 elif test -f "$ac_dir/install.sh"; then
2393 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 elif test -f "$ac_dir/shtool"; then
2397 ac_install_sh="$ac_aux_dir/shtool install -c"
2401 if test -z "$ac_aux_dir"; then
2402 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2403 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2404 { (exit 1); exit 1; }; }
2407 # These three variables are undocumented and unsupported,
2408 # and are intended to be withdrawn in a future Autoconf release.
2409 # They can cause serious problems if a builder's source tree is in a directory
2410 # whose full name contains unusual characters.
2411 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416 # Make sure we can run config.sub.
2417 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2418 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2419 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2420 { (exit 1); exit 1; }; }
2422 { echo "$as_me:$LINENO: checking build system type" >&5
2423 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_build+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 ac_build_alias=$build_alias
2428 test "x$ac_build_alias" = x &&
2429 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2430 test "x$ac_build_alias" = x &&
2431 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2432 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2433 { (exit 1); exit 1; }; }
2434 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2435 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2436 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2437 { (exit 1); exit 1; }; }
2440 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2441 echo "${ECHO_T}$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2444 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2445 echo "$as_me: error: invalid value of canonical build" >&2;}
2446 { (exit 1); exit 1; }; };;
2449 ac_save_IFS=$IFS; IFS='-'
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2462 { echo "$as_me:$LINENO: checking host system type" >&5
2463 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_host+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test "x$host_alias" = x; then
2468 ac_cv_host=$ac_cv_build
2470 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2472 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2473 { (exit 1); exit 1; }; }
2477 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2478 echo "${ECHO_T}$ac_cv_host" >&6; }
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2482 echo "$as_me: error: invalid value of canonical host" >&2;}
2483 { (exit 1); exit 1; }; };;
2486 ac_save_IFS=$IFS; IFS='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2499 { echo "$as_me:$LINENO: checking target system type" >&5
2500 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_target+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test "x$target_alias" = x; then
2505 ac_cv_target=$ac_cv_host
2507 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2514 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2515 echo "${ECHO_T}$ac_cv_target" >&6; }
2516 case $ac_cv_target in
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2519 echo "$as_me: error: invalid value of canonical target" >&2;}
2520 { (exit 1); exit 1; }; };;
2522 target=$ac_cv_target
2523 ac_save_IFS=$IFS; IFS='-'
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2533 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2536 # The aliases save the names the user supplied, while $host etc.
2537 # will get canonicalized.
2538 test -n "$target_alias" &&
2539 test "$program_prefix$program_suffix$program_transform_name" = \
2541 program_prefix=${target_alias}-
2545 wx_major_version_number=2
2546 wx_minor_version_number=9
2548 wx_subrelease_number=0
2550 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2551 WX_VERSION=$WX_RELEASE.$wx_release_number
2552 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2557 wx_top_builddir="`pwd`"
2570 USE_BSD= USE_DARWIN= USE_FREEBSD=
2576 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2582 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586 DEFAULT_wxUSE_COCOA=0
2590 DEFAULT_wxUSE_MICROWIN=0
2591 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_DEFAULT_wxUSE_COCOA=0
2598 DEFAULT_DEFAULT_wxUSE_GTK=0
2599 DEFAULT_DEFAULT_wxUSE_MAC=0
2600 DEFAULT_DEFAULT_wxUSE_MGL=0
2601 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2603 DEFAULT_DEFAULT_wxUSE_MSW=0
2604 DEFAULT_DEFAULT_wxUSE_PM=0
2605 DEFAULT_DEFAULT_wxUSE_X11=0
2606 DEFAULT_DEFAULT_wxUSE_DFB=0
2611 SAMPLES_RPATH_POSTLINK=
2613 DEFAULT_STD_FLAG=yes
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2619 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 cat >>confdefs.h <<\_ACEOF
2626 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2630 cat >>confdefs.h <<\_ACEOF
2635 if test "x$TMP" = "xalpha"; then
2637 cat >>confdefs.h <<\_ACEOF
2642 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 *-*-gnu* | *-*-k*bsd*-gnu )
2647 if test "x$TMP" = "xalpha"; then
2649 cat >>confdefs.h <<\_ACEOF
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 *-*-irix5* | *-*-irix6* )
2659 cat >>confdefs.h <<\_ACEOF
2663 cat >>confdefs.h <<\_ACEOF
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 cat >>confdefs.h <<\_ACEOF
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SOLARIS__ 1
2681 cat >>confdefs.h <<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 cat >>confdefs.h <<\_ACEOF
2696 cat >>confdefs.h <<\_ACEOF
2700 cat >>confdefs.h <<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __FREEBSD__ 1
2713 cat >>confdefs.h <<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 *-*-openbsd*|*-*-mirbsd*)
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __OPENBSD__ 1
2726 cat >>confdefs.h <<\_ACEOF
2730 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __NETBSD__ 1
2739 cat >>confdefs.h <<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2751 cat >>confdefs.h <<\_ACEOF
2755 cat >>confdefs.h <<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2765 cat >>confdefs.h <<\_ACEOF
2769 cat >>confdefs.h <<\_ACEOF
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 cat >>confdefs.h <<\_ACEOF
2782 cat >>confdefs.h <<\_ACEOF
2786 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2793 cat >>confdefs.h <<\_ACEOF
2797 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __UNIXWARE__ 1
2818 *-*-cygwin* | *-*-mingw32* )
2821 DEFAULT_DEFAULT_wxUSE_MSW=1
2827 cat >>confdefs.h <<\_ACEOF
2832 DEFAULT_DEFAULT_wxUSE_MGL=1
2835 *-pc-os2_emx | *-pc-os2-emx )
2836 cat >>confdefs.h <<\_ACEOF
2841 cat >>confdefs.h <<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_PM=1
2848 LDFLAGS="$LDFLAGS -Zcrtdll"
2849 ac_executable_extensions=".exe"
2850 export ac_executable_extensions
2854 for ac_dir in $PATH; do
2856 if test -z "$ac_TEMP_PATH"; then
2857 ac_TEMP_PATH="$ac_dir"
2859 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2862 export PATH="$ac_TEMP_PATH"
2871 cat >>confdefs.h <<\_ACEOF
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __DARWIN__ 1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define TARGET_CARBON 1
2883 DEFAULT_DEFAULT_wxUSE_MAC=1
2886 powerpc-apple-macos* )
2888 ac_cv_c_bigendian=yes
2890 DEFAULT_DEFAULT_wxUSE_MAC=1
2896 cat >>confdefs.h <<\_ACEOF
2903 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2904 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2905 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2906 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908 DEFAULT_DEFAULT_wxUSE_X11=1
2909 DEFAULT_wxUSE_SHARED=no
2915 wx_arg_cache_file="configarg.cache"
2916 echo "loading argument cache $wx_arg_cache_file"
2917 rm -f ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}
2922 DEFAULT_wxUSE_ALL_FEATURES=yes
2924 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS=no
2929 DEFAULT_wxUSE_LIBHILDON=no
2930 DEFAULT_wxUSE_LIBMSPACK=no
2931 DEFAULT_wxUSE_LIBSDL=no
2932 DEFAULT_wxUSE_ODBC=no
2933 DEFAULT_wxUSE_OPENGL=no
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_DATAVIEWCTRL=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_MEDIACTRL=no
2939 DEFAULT_wxUSE_TAB_DIALOG=no
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2946 DEFAULT_wxUSE_GTK2=yes
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2951 for toolkit in `echo $ALL_TOOLKITS`; do
2952 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 has_toolkit_in_cache=1
2955 eval "DEFAULT_$LINE"
2956 eval "CACHE_$toolkit=1"
2958 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 eval "DEFAULT_$LINE"
2969 enablestring=disable
2971 if test -z "$defaultval"; then
2972 if test x"$enablestring" = xdisable; then
2979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2980 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2981 # Check whether --enable-gui was given.
2982 if test "${enable_gui+set}" = set; then
2983 enableval=$enable_gui;
2984 if test "$enableval" = yes; then
2985 wx_cv_use_gui='wxUSE_GUI=yes'
2987 wx_cv_use_gui='wxUSE_GUI=no'
2993 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2998 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3003 eval "$wx_cv_use_gui"
3004 if test "x$cache" = xyes; then
3005 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3008 if test x"$enablestring" = xdisable; then
3009 if test $wxUSE_GUI = yes; then
3018 { echo "$as_me:$LINENO: result: $result" >&5
3019 echo "${ECHO_T}$result" >&6; }
3024 if test -z "$defaultval"; then
3025 if test x"$enablestring" = xdisable; then
3032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3033 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3034 # Check whether --enable-monolithic was given.
3035 if test "${enable_monolithic+set}" = set; then
3036 enableval=$enable_monolithic;
3037 if test "$enableval" = yes; then
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3046 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3056 eval "$wx_cv_use_monolithic"
3057 if test "x$cache" = xyes; then
3058 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_MONOLITHIC = yes; then
3068 result=$wxUSE_MONOLITHIC
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3077 if test -z "$defaultval"; then
3078 if test x"$enablestring" = xdisable; then
3085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3099 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3104 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3109 eval "$wx_cv_use_plugins"
3110 if test "x$cache" = xyes; then
3111 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3114 if test x"$enablestring" = xdisable; then
3115 if test $wxUSE_PLUGINS = yes; then
3121 result=$wxUSE_PLUGINS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3129 defaultval=$wxUSE_ALL_FEATURES
3130 if test -z "$defaultval"; then
3131 if test x"$withstring" = xwithout; then
3137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3138 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3140 # Check whether --with-subdirs was given.
3141 if test "${with_subdirs+set}" = set; then
3142 withval=$with_subdirs;
3143 if test "$withval" = yes; then
3144 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3146 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3152 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x ; then
3154 eval "DEFAULT_$LINE"
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3162 eval "$wx_cv_use_subdirs"
3163 if test "x$cache" != xyes; then
3164 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3167 if test x"$withstring" = xwithout; then
3168 if test $wxWITH_SUBDIRS = yes; then
3174 result=$wxWITH_SUBDIRS
3177 { echo "$as_me:$LINENO: result: $result" >&5
3178 echo "${ECHO_T}$result" >&6; }
3181 # Check whether --with-flavour was given.
3182 if test "${with_flavour+set}" = set; then
3183 withval=$with_flavour; WX_FLAVOUR="$withval"
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3199 # Check whether --enable-official_build was given.
3200 if test "${enable_official_build+set}" = set; then
3201 enableval=$enable_official_build;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3205 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3211 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x ; then
3213 eval "DEFAULT_$LINE"
3216 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3221 eval "$wx_cv_use_official_build"
3222 if test "x$cache" = xyes; then
3223 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3226 if test x"$enablestring" = xdisable; then
3227 if test $wxUSE_OFFICIAL_BUILD = yes; then
3233 result=$wxUSE_OFFICIAL_BUILD
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3239 # Check whether --enable-vendor was given.
3240 if test "${enable_vendor+set}" = set; then
3241 enableval=$enable_vendor; VENDOR="$enableval"
3244 if test "x$VENDOR" = "x"; then
3249 enablestring=disable
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3261 # Check whether --enable-all-features was given.
3262 if test "${enable_all_features+set}" = set; then
3263 enableval=$enable_all_features;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3273 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3283 eval "$wx_cv_use_all_features"
3284 if test "x$cache" = xyes; then
3285 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3288 if test x"$enablestring" = xdisable; then
3289 if test $wxUSE_ALL_FEATURES = yes; then
3295 result=$wxUSE_ALL_FEATURES
3298 { echo "$as_me:$LINENO: result: $result" >&5
3299 echo "${ECHO_T}$result" >&6; }
3303 if test "$wxUSE_GUI" = "yes"; then
3308 if test -z "$defaultval"; then
3309 if test x"$enablestring" = xdisable; then
3316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3317 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3318 # Check whether --enable-universal was given.
3319 if test "${enable_universal+set}" = set; then
3320 enableval=$enable_universal;
3321 if test "$enableval" = yes; then
3322 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3330 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3335 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3340 eval "$wx_cv_use_universal"
3341 if test "x$cache" = xyes; then
3342 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3345 if test x"$enablestring" = xdisable; then
3346 if test $wxUSE_UNIVERSAL = yes; then
3352 result=$wxUSE_UNIVERSAL
3355 { echo "$as_me:$LINENO: result: $result" >&5
3356 echo "${ECHO_T}$result" >&6; }
3358 if test "$wxUSE_UNIVERSAL" = "yes"; then
3360 # Check whether --with-themes was given.
3361 if test "${with_themes+set}" = set; then
3362 withval=$with_themes; wxUNIV_THEMES="$withval"
3368 # Check whether --with-gtk was given.
3369 if test "${with_gtk+set}" = set; then
3370 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-motif was given.
3375 if test "${with_motif+set}" = set; then
3376 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-mac was given.
3381 if test "${with_mac+set}" = set; then
3382 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-cocoa was given.
3387 if test "${with_cocoa+set}" = set; then
3388 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-wine was given.
3393 if test "${with_wine+set}" = set; then
3394 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3398 # Check whether --with-msw was given.
3399 if test "${with_msw+set}" = set; then
3400 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-pm was given.
3405 if test "${with_pm+set}" = set; then
3406 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-mgl was given.
3411 if test "${with_mgl+set}" = set; then
3412 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-directfb was given.
3417 if test "${with_directfb+set}" = set; then
3418 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3422 # Check whether --with-microwin was given.
3423 if test "${with_microwin+set}" = set; then
3424 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-x11 was given.
3429 if test "${with_x11+set}" = set; then
3430 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3436 if test -z "$defaultval"; then
3437 if test x"$enablestring" = xdisable; then
3444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3446 # Check whether --enable-nanox was given.
3447 if test "${enable_nanox+set}" = set; then
3448 enableval=$enable_nanox;
3449 if test "$enableval" = yes; then
3450 wx_cv_use_nanox='wxUSE_NANOX=yes'
3452 wx_cv_use_nanox='wxUSE_NANOX=no'
3458 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3463 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3468 eval "$wx_cv_use_nanox"
3469 if test "x$cache" = xyes; then
3470 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3473 if test x"$enablestring" = xdisable; then
3474 if test $wxUSE_NANOX = yes; then
3483 { echo "$as_me:$LINENO: result: $result" >&5
3484 echo "${ECHO_T}$result" >&6; }
3487 # Check whether --enable-gtk2 was given.
3488 if test "${enable_gtk2+set}" = set; then
3489 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3495 if test -z "$defaultval"; then
3496 if test x"$enablestring" = xdisable; then
3503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3517 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x ; then
3519 eval "DEFAULT_$LINE"
3522 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3527 eval "$wx_cv_use_gpe"
3528 if test "x$cache" = xyes; then
3529 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3532 if test x"$enablestring" = xdisable; then
3533 if test $wxUSE_GPE = yes; then
3542 { echo "$as_me:$LINENO: result: $result" >&5
3543 echo "${ECHO_T}$result" >&6; }
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3571 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x ; then
3573 eval "DEFAULT_$LINE"
3576 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3581 eval "$wx_cv_use_libpng"
3582 if test "x$cache" = xyes; then
3583 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3628 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3638 eval "$wx_cv_use_libjpeg"
3639 if test "x$cache" = xyes; then
3640 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3643 if test "$wxUSE_LIBJPEG" = yes; then
3644 { echo "$as_me:$LINENO: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = no; then
3647 { echo "$as_me:$LINENO: result: no" >&5
3648 echo "${ECHO_T}no" >&6; }
3649 elif test "$wxUSE_LIBJPEG" = sys; then
3650 { echo "$as_me:$LINENO: result: system version" >&5
3651 echo "${ECHO_T}system version" >&6; }
3652 elif test "$wxUSE_LIBJPEG" = builtin; then
3653 { echo "$as_me:$LINENO: result: builtin version" >&5
3654 echo "${ECHO_T}builtin version" >&6; }
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3662 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3663 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3665 # Check whether --with-libtiff was given.
3666 if test "${with_libtiff+set}" = set; then
3667 withval=$with_libtiff;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3670 elif test "$withval" = no; then
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3672 elif test "$withval" = sys; then
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3685 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x ; then
3687 eval "DEFAULT_$LINE"
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3695 eval "$wx_cv_use_libtiff"
3696 if test "x$cache" = xyes; then
3697 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_LIBTIFF" = yes; then
3701 { echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6; }
3703 elif test "$wxUSE_LIBTIFF" = no; then
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3706 elif test "$wxUSE_LIBTIFF" = sys; then
3707 { echo "$as_me:$LINENO: result: system version" >&5
3708 echo "${ECHO_T}system version" >&6; }
3709 elif test "$wxUSE_LIBTIFF" = builtin; then
3710 { echo "$as_me:$LINENO: result: builtin version" >&5
3711 echo "${ECHO_T}builtin version" >&6; }
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3719 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3720 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3722 # Check whether --with-libxpm was given.
3723 if test "${with_libxpm+set}" = set; then
3724 withval=$with_libxpm;
3725 if test "$withval" = yes; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3727 elif test "$withval" = no; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3729 elif test "$withval" = sys; then
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3731 elif test "$withval" = builtin; then
3732 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3742 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3752 eval "$wx_cv_use_libxpm"
3753 if test "x$cache" = xyes; then
3754 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3757 if test "$wxUSE_LIBXPM" = yes; then
3758 { echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6; }
3760 elif test "$wxUSE_LIBXPM" = no; then
3761 { echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6; }
3763 elif test "$wxUSE_LIBXPM" = sys; then
3764 { echo "$as_me:$LINENO: result: system version" >&5
3765 echo "${ECHO_T}system version" >&6; }
3766 elif test "$wxUSE_LIBXPM" = builtin; then
3767 { echo "$as_me:$LINENO: result: builtin version" >&5
3768 echo "${ECHO_T}builtin version" >&6; }
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3777 defaultval=$wxUSE_ALL_FEATURES
3778 if test -z "$defaultval"; then
3779 if test x"$withstring" = xwithout; then
3785 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3786 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3788 # Check whether --with-libmspack was given.
3789 if test "${with_libmspack+set}" = set; then
3790 withval=$with_libmspack;
3791 if test "$withval" = yes; then
3792 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3794 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3800 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3810 eval "$wx_cv_use_libmspack"
3811 if test "x$cache" != xyes; then
3812 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3822 result=$wxUSE_LIBMSPACK
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3841 # Check whether --with-gnomeprint was given.
3842 if test "${with_gnomeprint+set}" = set; then
3843 withval=$with_gnomeprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3847 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3853 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x ; then
3855 eval "DEFAULT_$LINE"
3858 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3863 eval "$wx_cv_use_gnomeprint"
3864 if test "x$cache" != xyes; then
3865 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3868 if test x"$withstring" = xwithout; then
3869 if test $wxUSE_LIBGNOMEPRINT = yes; then
3875 result=$wxUSE_LIBGNOMEPRINT
3878 { echo "$as_me:$LINENO: result: $result" >&5
3879 echo "${ECHO_T}$result" >&6; }
3883 defaultval=$wxUSE_ALL_FEATURES
3884 if test -z "$defaultval"; then
3885 if test x"$withstring" = xwithout; then
3891 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3892 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3894 # Check whether --with-gnomevfs was given.
3895 if test "${with_gnomevfs+set}" = set; then
3896 withval=$with_gnomevfs;
3897 if test "$withval" = yes; then
3898 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3900 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3906 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3911 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3916 eval "$wx_cv_use_gnomevfs"
3917 if test "x$cache" != xyes; then
3918 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3921 if test x"$withstring" = xwithout; then
3922 if test $wxUSE_LIBGNOMEVFS = yes; then
3928 result=$wxUSE_LIBGNOMEVFS
3931 { echo "$as_me:$LINENO: result: $result" >&5
3932 echo "${ECHO_T}$result" >&6; }
3936 defaultval=$wxUSE_ALL_FEATURES
3937 if test -z "$defaultval"; then
3938 if test x"$withstring" = xwithout; then
3944 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3945 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3947 # Check whether --with-hildon was given.
3948 if test "${with_hildon+set}" = set; then
3949 withval=$with_hildon;
3950 if test "$withval" = yes; then
3951 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3953 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3959 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x ; then
3961 eval "DEFAULT_$LINE"
3964 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3969 eval "$wx_cv_use_hildon"
3970 if test "x$cache" != xyes; then
3971 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBHILDON = yes; then
3981 result=$wxUSE_LIBHILDON
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4000 # Check whether --with-opengl was given.
4001 if test "${with_opengl+set}" = set; then
4002 withval=$with_opengl;
4003 if test "$withval" = yes; then
4004 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4006 wx_cv_use_opengl='wxUSE_OPENGL=no'
4012 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x ; then
4014 eval "DEFAULT_$LINE"
4017 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4022 eval "$wx_cv_use_opengl"
4023 if test "x$cache" != xyes; then
4024 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4027 if test x"$withstring" = xwithout; then
4028 if test $wxUSE_OPENGL = yes; then
4034 result=$wxUSE_OPENGL
4037 { echo "$as_me:$LINENO: result: $result" >&5
4038 echo "${ECHO_T}$result" >&6; }
4045 defaultval=$wxUSE_ALL_FEATURES
4046 if test -z "$defaultval"; then
4047 if test x"$withstring" = xwithout; then
4053 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4054 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4056 # Check whether --with-dmalloc was given.
4057 if test "${with_dmalloc+set}" = set; then
4058 withval=$with_dmalloc;
4059 if test "$withval" = yes; then
4060 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4062 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4068 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4078 eval "$wx_cv_use_dmalloc"
4079 if test "x$cache" != xyes; then
4080 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_DMALLOC = yes; then
4090 result=$wxUSE_DMALLOC
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4109 # Check whether --with-sdl was given.
4110 if test "${with_sdl+set}" = set; then
4112 if test "$withval" = yes; then
4113 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4115 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4121 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4126 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4131 eval "$wx_cv_use_sdl"
4132 if test "x$cache" != xyes; then
4133 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4136 if test x"$withstring" = xwithout; then
4137 if test $wxUSE_LIBSDL = yes; then
4143 result=$wxUSE_LIBSDL
4146 { echo "$as_me:$LINENO: result: $result" >&5
4147 echo "${ECHO_T}$result" >&6; }
4150 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4151 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4153 # Check whether --with-regex was given.
4154 if test "${with_regex+set}" = set; then
4155 withval=$with_regex;
4156 if test "$withval" = yes; then
4157 wx_cv_use_regex='wxUSE_REGEX=yes'
4158 elif test "$withval" = no; then
4159 wx_cv_use_regex='wxUSE_REGEX=no'
4160 elif test "$withval" = sys; then
4161 wx_cv_use_regex='wxUSE_REGEX=sys'
4162 elif test "$withval" = builtin; then
4163 wx_cv_use_regex='wxUSE_REGEX=builtin'
4165 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4166 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4167 { (exit 1); exit 1; }; }
4173 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4178 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4183 eval "$wx_cv_use_regex"
4184 if test "x$cache" = xyes; then
4185 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_REGEX" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 elif test "$wxUSE_REGEX" = no; then
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 elif test "$wxUSE_REGEX" = sys; then
4195 { echo "$as_me:$LINENO: result: system version" >&5
4196 echo "${ECHO_T}system version" >&6; }
4197 elif test "$wxUSE_REGEX" = builtin; then
4198 { echo "$as_me:$LINENO: result: builtin version" >&5
4199 echo "${ECHO_T}builtin version" >&6; }
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4207 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4208 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4210 # Check whether --with-zlib was given.
4211 if test "${with_zlib+set}" = set; then
4213 if test "$withval" = yes; then
4214 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4215 elif test "$withval" = no; then
4216 wx_cv_use_zlib='wxUSE_ZLIB=no'
4217 elif test "$withval" = sys; then
4218 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4219 elif test "$withval" = builtin; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4224 { (exit 1); exit 1; }; }
4230 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4231 if test "x$LINE" != x ; then
4232 eval "DEFAULT_$LINE"
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4240 eval "$wx_cv_use_zlib"
4241 if test "x$cache" = xyes; then
4242 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_ZLIB" = yes; then
4246 { echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6; }
4248 elif test "$wxUSE_ZLIB" = no; then
4249 { echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6; }
4251 elif test "$wxUSE_ZLIB" = sys; then
4252 { echo "$as_me:$LINENO: result: system version" >&5
4253 echo "${ECHO_T}system version" >&6; }
4254 elif test "$wxUSE_ZLIB" = builtin; then
4255 { echo "$as_me:$LINENO: result: builtin version" >&5
4256 echo "${ECHO_T}builtin version" >&6; }
4258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4260 { (exit 1); exit 1; }; }
4264 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4267 # Check whether --with-odbc was given.
4268 if test "${with_odbc+set}" = set; then
4270 if test "$withval" = yes; then
4271 wx_cv_use_odbc='wxUSE_ODBC=yes'
4272 elif test "$withval" = no; then
4273 wx_cv_use_odbc='wxUSE_ODBC=no'
4274 elif test "$withval" = sys; then
4275 wx_cv_use_odbc='wxUSE_ODBC=sys'
4276 elif test "$withval" = builtin; then
4277 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4287 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4292 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4297 eval "$wx_cv_use_odbc"
4298 if test "x$cache" = xyes; then
4299 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4302 if test "$wxUSE_ODBC" = yes; then
4303 { echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6; }
4305 elif test "$wxUSE_ODBC" = no; then
4306 { echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6; }
4308 elif test "$wxUSE_ODBC" = sys; then
4309 { echo "$as_me:$LINENO: result: system version" >&5
4310 echo "${ECHO_T}system version" >&6; }
4311 elif test "$wxUSE_ODBC" = builtin; then
4312 { echo "$as_me:$LINENO: result: builtin version" >&5
4313 echo "${ECHO_T}builtin version" >&6; }
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4321 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4322 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4324 # Check whether --with-expat was given.
4325 if test "${with_expat+set}" = set; then
4326 withval=$with_expat;
4327 if test "$withval" = yes; then
4328 wx_cv_use_expat='wxUSE_EXPAT=yes'
4329 elif test "$withval" = no; then
4330 wx_cv_use_expat='wxUSE_EXPAT=no'
4331 elif test "$withval" = sys; then
4332 wx_cv_use_expat='wxUSE_EXPAT=sys'
4333 elif test "$withval" = builtin; then
4334 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4344 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4349 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4354 eval "$wx_cv_use_expat"
4355 if test "x$cache" = xyes; then
4356 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4359 if test "$wxUSE_EXPAT" = yes; then
4360 { echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6; }
4362 elif test "$wxUSE_EXPAT" = no; then
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4365 elif test "$wxUSE_EXPAT" = sys; then
4366 { echo "$as_me:$LINENO: result: system version" >&5
4367 echo "${ECHO_T}system version" >&6; }
4368 elif test "$wxUSE_EXPAT" = builtin; then
4369 { echo "$as_me:$LINENO: result: builtin version" >&5
4370 echo "${ECHO_T}builtin version" >&6; }
4372 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4373 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4374 { (exit 1); exit 1; }; }
4380 enablestring=disable
4382 if test -z "$defaultval"; then
4383 if test x"$enablestring" = xdisable; then
4390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4392 # Check whether --enable-shared was given.
4393 if test "${enable_shared+set}" = set; then
4394 enableval=$enable_shared;
4395 if test "$enableval" = yes; then
4396 wx_cv_use_shared='wxUSE_SHARED=yes'
4398 wx_cv_use_shared='wxUSE_SHARED=no'
4404 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4409 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4414 eval "$wx_cv_use_shared"
4415 if test "x$cache" = xyes; then
4416 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4419 if test x"$enablestring" = xdisable; then
4420 if test $wxUSE_SHARED = yes; then
4426 result=$wxUSE_SHARED
4429 { echo "$as_me:$LINENO: result: $result" >&5
4430 echo "${ECHO_T}$result" >&6; }
4433 enablestring=disable
4435 if test -z "$defaultval"; then
4436 if test x"$enablestring" = xdisable; then
4443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4445 # Check whether --enable-optimise was given.
4446 if test "${enable_optimise+set}" = set; then
4447 enableval=$enable_optimise;
4448 if test "$enableval" = yes; then
4449 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4451 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4457 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4462 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4467 eval "$wx_cv_use_optimise"
4468 if test "x$cache" = xyes; then
4469 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_OPTIMISE = yes; then
4479 result=$wxUSE_OPTIMISE
4482 { echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4498 # Check whether --enable-debug was given.
4499 if test "${enable_debug+set}" = set; then
4500 enableval=$enable_debug;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_debug='wxUSE_DEBUG=yes'
4504 wx_cv_use_debug='wxUSE_DEBUG=no'
4510 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4515 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4520 eval "$wx_cv_use_debug"
4521 if test "x$cache" = xyes; then
4522 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_DEBUG = yes; then
4535 { echo "$as_me:$LINENO: result: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4551 # Check whether --enable-stl was given.
4552 if test "${enable_stl+set}" = set; then
4553 enableval=$enable_stl;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_stl='wxUSE_STL=yes'
4557 wx_cv_use_stl='wxUSE_STL=no'
4563 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4568 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4573 eval "$wx_cv_use_stl"
4574 if test "x$cache" = xyes; then
4575 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4578 if test x"$enablestring" = xdisable; then
4579 if test $wxUSE_STL = yes; then
4588 { echo "$as_me:$LINENO: result: $result" >&5
4589 echo "${ECHO_T}$result" >&6; }
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4604 # Check whether --enable-std_iostreams was given.
4605 if test "${enable_std_iostreams+set}" = set; then
4606 enableval=$enable_std_iostreams;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4610 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4616 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x ; then
4618 eval "DEFAULT_$LINE"
4621 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4626 eval "$wx_cv_use_std_iostreams"
4627 if test "x$cache" = xyes; then
4628 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4631 if test x"$enablestring" = xdisable; then
4632 if test $wxUSE_STD_IOSTREAM = yes; then
4638 result=$wxUSE_STD_IOSTREAM
4641 { echo "$as_me:$LINENO: result: $result" >&5
4642 echo "${ECHO_T}$result" >&6; }
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4657 # Check whether --enable-std_string was given.
4658 if test "${enable_std_string+set}" = set; then
4659 enableval=$enable_std_string;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4663 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4669 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4674 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4679 eval "$wx_cv_use_std_string"
4680 if test "x$cache" = xyes; then
4681 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_STD_STRING = yes; then
4691 result=$wxUSE_STD_STRING
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4698 enablestring=disable
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4710 # Check whether --enable-unicode was given.
4711 if test "${enable_unicode+set}" = set; then
4712 enableval=$enable_unicode;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4716 wx_cv_use_unicode='wxUSE_UNICODE=no'
4722 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x ; then
4724 eval "DEFAULT_$LINE"
4727 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4732 eval "$wx_cv_use_unicode"
4733 if test "x$cache" = xyes; then
4734 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4737 if test x"$enablestring" = xdisable; then
4738 if test $wxUSE_UNICODE = yes; then
4744 result=$wxUSE_UNICODE
4747 { echo "$as_me:$LINENO: result: $result" >&5
4748 echo "${ECHO_T}$result" >&6; }
4753 if test -z "$defaultval"; then
4754 if test x"$enablestring" = xdisable; then
4761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4763 # Check whether --enable-mslu was given.
4764 if test "${enable_mslu+set}" = set; then
4765 enableval=$enable_mslu;
4766 if test "$enableval" = yes; then
4767 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4769 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4775 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4780 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4785 eval "$wx_cv_use_mslu"
4786 if test "x$cache" = xyes; then
4787 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4790 if test x"$enablestring" = xdisable; then
4791 if test $wxUSE_UNICODE_MSLU = yes; then
4797 result=$wxUSE_UNICODE_MSLU
4800 { echo "$as_me:$LINENO: result: $result" >&5
4801 echo "${ECHO_T}$result" >&6; }
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4807 # Check whether --enable-utf8 was given.
4808 if test "${enable_utf8+set}" = set; then
4809 enableval=$enable_utf8;
4810 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4815 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4820 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4825 eval "$wx_cv_use_utf8"
4826 if test "x$cache" = xyes; then
4827 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4830 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4831 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4846 # Check whether --enable-utf8only was given.
4847 if test "${enable_utf8only+set}" = set; then
4848 enableval=$enable_utf8only;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4852 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4858 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4863 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4868 eval "$wx_cv_use_utf8only"
4869 if test "x$cache" = xyes; then
4870 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4873 if test x"$enablestring" = xdisable; then
4874 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4880 result=$wxUSE_UNICODE_UTF8_LOCALE
4883 { echo "$as_me:$LINENO: result: $result" >&5
4884 echo "${ECHO_T}$result" >&6; }
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4899 # Check whether --enable-extended_rtti was given.
4900 if test "${enable_extended_rtti+set}" = set; then
4901 enableval=$enable_extended_rtti;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4905 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4911 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x ; then
4913 eval "DEFAULT_$LINE"
4916 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4921 eval "$wx_cv_use_extended_rtti"
4922 if test "x$cache" = xyes; then
4923 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4926 if test x"$enablestring" = xdisable; then
4927 if test $wxUSE_EXTENDED_RTTI = yes; then
4933 result=$wxUSE_EXTENDED_RTTI
4936 { echo "$as_me:$LINENO: result: $result" >&5
4937 echo "${ECHO_T}$result" >&6; }
4939 if test "$USE_OS2" = "1"; then
4940 DEFAULT_wxUSE_OMF=no
4944 if test -z "$defaultval"; then
4945 if test x"$enablestring" = xdisable; then
4952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4953 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4954 # Check whether --enable-omf was given.
4955 if test "${enable_omf+set}" = set; then
4956 enableval=$enable_omf;
4957 if test "$enableval" = yes; then
4958 wx_cv_use_omf='wxUSE_OMF=yes'
4960 wx_cv_use_omf='wxUSE_OMF=no'
4966 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4971 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4976 eval "$wx_cv_use_omf"
4977 if test "x$cache" = xyes; then
4978 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4981 if test x"$enablestring" = xdisable; then
4982 if test $wxUSE_OMF = yes; then
4991 { echo "$as_me:$LINENO: result: $result" >&5
4992 echo "${ECHO_T}$result" >&6; }
4996 if test "$wxUSE_DEBUG" = "yes"; then
4997 DEFAULT_wxUSE_DEBUG_FLAG=yes
4998 DEFAULT_wxUSE_DEBUG_INFO=yes
5000 elif test "$wxUSE_DEBUG" = "no"; then
5001 DEFAULT_wxUSE_DEBUG_FLAG=no
5002 DEFAULT_wxUSE_DEBUG_INFO=no
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5019 # Check whether --enable-debug_flag was given.
5020 if test "${enable_debug_flag+set}" = set; then
5021 enableval=$enable_debug_flag;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5025 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5031 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5036 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5041 eval "$wx_cv_use_debug_flag"
5042 if test "x$cache" = xyes; then
5043 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_DEBUG_FLAG = yes; then
5053 result=$wxUSE_DEBUG_FLAG
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5072 # Check whether --enable-debug_info was given.
5073 if test "${enable_debug_info+set}" = set; then
5074 enableval=$enable_debug_info;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5078 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5084 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5089 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5094 eval "$wx_cv_use_debug_info"
5095 if test "x$cache" = xyes; then
5096 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_DEBUG_INFO = yes; then
5106 result=$wxUSE_DEBUG_INFO
5109 { echo "$as_me:$LINENO: result: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5125 # Check whether --enable-debug_gdb was given.
5126 if test "${enable_debug_gdb+set}" = set; then
5127 enableval=$enable_debug_gdb;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5131 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5137 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x ; then
5139 eval "DEFAULT_$LINE"
5142 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5147 eval "$wx_cv_use_debug_gdb"
5148 if test "x$cache" = xyes; then
5149 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5152 if test x"$enablestring" = xdisable; then
5153 if test $wxUSE_DEBUG_GDB = yes; then
5159 result=$wxUSE_DEBUG_GDB
5162 { echo "$as_me:$LINENO: result: $result" >&5
5163 echo "${ECHO_T}$result" >&6; }
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5178 # Check whether --enable-debug_cntxt was given.
5179 if test "${enable_debug_cntxt+set}" = set; then
5180 enableval=$enable_debug_cntxt;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5184 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5190 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5195 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5200 eval "$wx_cv_use_debug_cntxt"
5201 if test "x$cache" = xyes; then
5202 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5205 if test x"$enablestring" = xdisable; then
5206 if test $wxUSE_DEBUG_CONTEXT = yes; then
5212 result=$wxUSE_DEBUG_CONTEXT
5215 { echo "$as_me:$LINENO: result: $result" >&5
5216 echo "${ECHO_T}$result" >&6; }
5221 if test -z "$defaultval"; then
5222 if test x"$enablestring" = xdisable; then
5229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5231 # Check whether --enable-mem_tracing was given.
5232 if test "${enable_mem_tracing+set}" = set; then
5233 enableval=$enable_mem_tracing;
5234 if test "$enableval" = yes; then
5235 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5237 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5243 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5248 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5253 eval "$wx_cv_use_mem_tracing"
5254 if test "x$cache" = xyes; then
5255 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5258 if test x"$enablestring" = xdisable; then
5259 if test $wxUSE_MEM_TRACING = yes; then
5265 result=$wxUSE_MEM_TRACING
5268 { echo "$as_me:$LINENO: result: $result" >&5
5269 echo "${ECHO_T}$result" >&6; }
5274 if test -z "$defaultval"; then
5275 if test x"$enablestring" = xdisable; then
5282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5284 # Check whether --enable-profile was given.
5285 if test "${enable_profile+set}" = set; then
5286 enableval=$enable_profile;
5287 if test "$enableval" = yes; then
5288 wx_cv_use_profile='wxUSE_PROFILE=yes'
5290 wx_cv_use_profile='wxUSE_PROFILE=no'
5296 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x ; then
5298 eval "DEFAULT_$LINE"
5301 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5306 eval "$wx_cv_use_profile"
5307 if test "x$cache" = xyes; then
5308 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PROFILE = yes; then
5318 result=$wxUSE_PROFILE
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5337 # Check whether --enable-no_rtti was given.
5338 if test "${enable_no_rtti+set}" = set; then
5339 enableval=$enable_no_rtti;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5343 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5349 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5354 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5359 eval "$wx_cv_use_no_rtti"
5360 if test "x$cache" = xyes; then
5361 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5364 if test x"$enablestring" = xdisable; then
5365 if test $wxUSE_NO_RTTI = yes; then
5371 result=$wxUSE_NO_RTTI
5374 { echo "$as_me:$LINENO: result: $result" >&5
5375 echo "${ECHO_T}$result" >&6; }
5380 if test -z "$defaultval"; then
5381 if test x"$enablestring" = xdisable; then
5388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5390 # Check whether --enable-no_exceptions was given.
5391 if test "${enable_no_exceptions+set}" = set; then
5392 enableval=$enable_no_exceptions;
5393 if test "$enableval" = yes; then
5394 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5396 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5402 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5407 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5412 eval "$wx_cv_use_no_exceptions"
5413 if test "x$cache" = xyes; then
5414 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5417 if test x"$enablestring" = xdisable; then
5418 if test $wxUSE_NO_EXCEPTIONS = yes; then
5424 result=$wxUSE_NO_EXCEPTIONS
5427 { echo "$as_me:$LINENO: result: $result" >&5
5428 echo "${ECHO_T}$result" >&6; }
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5443 # Check whether --enable-permissive was given.
5444 if test "${enable_permissive+set}" = set; then
5445 enableval=$enable_permissive;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5449 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5455 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5460 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5465 eval "$wx_cv_use_permissive"
5466 if test "x$cache" = xyes; then
5467 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5470 if test x"$enablestring" = xdisable; then
5471 if test $wxUSE_PERMISSIVE = yes; then
5477 result=$wxUSE_PERMISSIVE
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5496 # Check whether --enable-no_deps was given.
5497 if test "${enable_no_deps+set}" = set; then
5498 enableval=$enable_no_deps;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5502 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5508 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5513 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5518 eval "$wx_cv_use_no_deps"
5519 if test "x$cache" = xyes; then
5520 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5523 if test x"$enablestring" = xdisable; then
5524 if test $wxUSE_NO_DEPS = yes; then
5530 result=$wxUSE_NO_DEPS
5533 { echo "$as_me:$LINENO: result: $result" >&5
5534 echo "${ECHO_T}$result" >&6; }
5537 enablestring=disable
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5549 # Check whether --enable-vararg_macros was given.
5550 if test "${enable_vararg_macros+set}" = set; then
5551 enableval=$enable_vararg_macros;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5555 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5561 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5566 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5571 eval "$wx_cv_use_vararg_macros"
5572 if test "x$cache" = xyes; then
5573 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5576 if test x"$enablestring" = xdisable; then
5577 if test $wxUSE_VARARG_MACROS = yes; then
5583 result=$wxUSE_VARARG_MACROS
5586 { echo "$as_me:$LINENO: result: $result" >&5
5587 echo "${ECHO_T}$result" >&6; }
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5593 # Check whether --enable-universal_binary was given.
5594 if test "${enable_universal_binary+set}" = set; then
5595 enableval=$enable_universal_binary;
5596 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5601 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5606 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5611 eval "$wx_cv_use_universal_binary"
5612 if test "x$cache" = xyes; then
5613 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5616 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5617 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5633 # Check whether --enable-compat26 was given.
5634 if test "${enable_compat26+set}" = set; then
5635 enableval=$enable_compat26;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5639 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5645 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x ; then
5647 eval "DEFAULT_$LINE"
5650 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5655 eval "$wx_cv_use_compat26"
5656 if test "x$cache" = xyes; then
5657 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5660 if test x"$enablestring" = xdisable; then
5661 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5667 result=$WXWIN_COMPATIBILITY_2_6
5670 { echo "$as_me:$LINENO: result: $result" >&5
5671 echo "${ECHO_T}$result" >&6; }
5674 enablestring=disable
5676 if test -z "$defaultval"; then
5677 if test x"$enablestring" = xdisable; then
5684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5686 # Check whether --enable-compat28 was given.
5687 if test "${enable_compat28+set}" = set; then
5688 enableval=$enable_compat28;
5689 if test "$enableval" = yes; then
5690 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5692 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5698 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5703 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5708 eval "$wx_cv_use_compat28"
5709 if test "x$cache" = xyes; then
5710 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5713 if test x"$enablestring" = xdisable; then
5714 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5720 result=$WXWIN_COMPATIBILITY_2_8
5723 { echo "$as_me:$LINENO: result: $result" >&5
5724 echo "${ECHO_T}$result" >&6; }
5728 enablestring=disable
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5740 # Check whether --enable-rpath was given.
5741 if test "${enable_rpath+set}" = set; then
5742 enableval=$enable_rpath;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_rpath='wxUSE_RPATH=yes'
5746 wx_cv_use_rpath='wxUSE_RPATH=no'
5752 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5757 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5762 eval "$wx_cv_use_rpath"
5763 if test "x$cache" = xyes; then
5764 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5767 if test x"$enablestring" = xdisable; then
5768 if test $wxUSE_RPATH = yes; then
5777 { echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5784 if test -z "$defaultval"; then
5785 if test x"$enablestring" = xdisable; then
5792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5794 # Check whether --enable-objc_uniquifying was given.
5795 if test "${enable_objc_uniquifying+set}" = set; then
5796 enableval=$enable_objc_uniquifying;
5797 if test "$enableval" = yes; then
5798 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5800 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5806 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5811 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5816 eval "$wx_cv_use_objc_uniquifying"
5817 if test "x$cache" = xyes; then
5818 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5828 result=$wxUSE_OBJC_UNIQUIFYING
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5836 enablestring=disable
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5848 # Check whether --enable-visibility was given.
5849 if test "${enable_visibility+set}" = set; then
5850 enableval=$enable_visibility;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5854 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5860 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5865 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5870 eval "$wx_cv_use_visibility"
5871 if test "x$cache" = xyes; then
5872 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_VISIBILITY = yes; then
5882 result=$wxUSE_VISIBILITY
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5892 defaultval=$wxUSE_ALL_FEATURES
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5903 # Check whether --enable-intl was given.
5904 if test "${enable_intl+set}" = set; then
5905 enableval=$enable_intl;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_intl='wxUSE_INTL=yes'
5909 wx_cv_use_intl='wxUSE_INTL=no'
5915 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5920 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5925 eval "$wx_cv_use_intl"
5926 if test "x$cache" = xyes; then
5927 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5930 if test x"$enablestring" = xdisable; then
5931 if test $wxUSE_INTL = yes; then
5940 { echo "$as_me:$LINENO: result: $result" >&5
5941 echo "${ECHO_T}$result" >&6; }
5945 defaultval=$wxUSE_ALL_FEATURES
5946 if test -z "$defaultval"; then
5947 if test x"$enablestring" = xdisable; then
5954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5956 # Check whether --enable-config was given.
5957 if test "${enable_config+set}" = set; then
5958 enableval=$enable_config;
5959 if test "$enableval" = yes; then
5960 wx_cv_use_config='wxUSE_CONFIG=yes'
5962 wx_cv_use_config='wxUSE_CONFIG=no'
5968 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x ; then
5970 eval "DEFAULT_$LINE"
5973 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5978 eval "$wx_cv_use_config"
5979 if test "x$cache" = xyes; then
5980 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5983 if test x"$enablestring" = xdisable; then
5984 if test $wxUSE_CONFIG = yes; then
5990 result=$wxUSE_CONFIG
5993 { echo "$as_me:$LINENO: result: $result" >&5
5994 echo "${ECHO_T}$result" >&6; }
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6010 # Check whether --enable-protocols was given.
6011 if test "${enable_protocols+set}" = set; then
6012 enableval=$enable_protocols;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6016 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6022 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6027 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6032 eval "$wx_cv_use_protocols"
6033 if test "x$cache" = xyes; then
6034 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6037 if test x"$enablestring" = xdisable; then
6038 if test $wxUSE_PROTOCOL = yes; then
6044 result=$wxUSE_PROTOCOL
6047 { echo "$as_me:$LINENO: result: $result" >&5
6048 echo "${ECHO_T}$result" >&6; }
6052 defaultval=$wxUSE_ALL_FEATURES
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6063 # Check whether --enable-ftp was given.
6064 if test "${enable_ftp+set}" = set; then
6065 enableval=$enable_ftp;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6069 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6075 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6080 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6085 eval "$wx_cv_use_ftp"
6086 if test "x$cache" = xyes; then
6087 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_PROTOCOL_FTP = yes; then
6097 result=$wxUSE_PROTOCOL_FTP
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6116 # Check whether --enable-http was given.
6117 if test "${enable_http+set}" = set; then
6118 enableval=$enable_http;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6128 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6133 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6138 eval "$wx_cv_use_http"
6139 if test "x$cache" = xyes; then
6140 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_PROTOCOL_HTTP = yes; then
6150 result=$wxUSE_PROTOCOL_HTTP
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6169 # Check whether --enable-fileproto was given.
6170 if test "${enable_fileproto+set}" = set; then
6171 enableval=$enable_fileproto;
6172 if test "$enableval" = yes; then
6173 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6175 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6181 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6186 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6191 eval "$wx_cv_use_fileproto"
6192 if test "x$cache" = xyes; then
6193 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6196 if test x"$enablestring" = xdisable; then
6197 if test $wxUSE_PROTOCOL_FILE = yes; then
6203 result=$wxUSE_PROTOCOL_FILE
6206 { echo "$as_me:$LINENO: result: $result" >&5
6207 echo "${ECHO_T}$result" >&6; }
6211 defaultval=$wxUSE_ALL_FEATURES
6212 if test -z "$defaultval"; then
6213 if test x"$enablestring" = xdisable; then
6220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6222 # Check whether --enable-sockets was given.
6223 if test "${enable_sockets+set}" = set; then
6224 enableval=$enable_sockets;
6225 if test "$enableval" = yes; then
6226 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6228 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6234 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6239 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6244 eval "$wx_cv_use_sockets"
6245 if test "x$cache" = xyes; then
6246 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6249 if test x"$enablestring" = xdisable; then
6250 if test $wxUSE_SOCKETS = yes; then
6256 result=$wxUSE_SOCKETS
6259 { echo "$as_me:$LINENO: result: $result" >&5
6260 echo "${ECHO_T}$result" >&6; }
6264 defaultval=$wxUSE_ALL_FEATURES
6265 if test -z "$defaultval"; then
6266 if test x"$enablestring" = xdisable; then
6273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6274 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6275 # Check whether --enable-ole was given.
6276 if test "${enable_ole+set}" = set; then
6277 enableval=$enable_ole;
6278 if test "$enableval" = yes; then
6279 wx_cv_use_ole='wxUSE_OLE=yes'
6281 wx_cv_use_ole='wxUSE_OLE=no'
6287 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x ; then
6289 eval "DEFAULT_$LINE"
6292 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6297 eval "$wx_cv_use_ole"
6298 if test "x$cache" = xyes; then
6299 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6302 if test x"$enablestring" = xdisable; then
6303 if test $wxUSE_OLE = yes; then
6312 { echo "$as_me:$LINENO: result: $result" >&5
6313 echo "${ECHO_T}$result" >&6; }
6317 defaultval=$wxUSE_ALL_FEATURES
6318 if test -z "$defaultval"; then
6319 if test x"$enablestring" = xdisable; then
6326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6327 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6328 # Check whether --enable-dataobj was given.
6329 if test "${enable_dataobj+set}" = set; then
6330 enableval=$enable_dataobj;
6331 if test "$enableval" = yes; then
6332 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6334 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6340 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6345 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6350 eval "$wx_cv_use_dataobj"
6351 if test "x$cache" = xyes; then
6352 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6355 if test x"$enablestring" = xdisable; then
6356 if test $wxUSE_DATAOBJ = yes; then
6362 result=$wxUSE_DATAOBJ
6365 { echo "$as_me:$LINENO: result: $result" >&5
6366 echo "${ECHO_T}$result" >&6; }
6371 defaultval=$wxUSE_ALL_FEATURES
6372 if test -z "$defaultval"; then
6373 if test x"$enablestring" = xdisable; then
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6382 # Check whether --enable-ipc was given.
6383 if test "${enable_ipc+set}" = set; then
6384 enableval=$enable_ipc;
6385 if test "$enableval" = yes; then
6386 wx_cv_use_ipc='wxUSE_IPC=yes'
6388 wx_cv_use_ipc='wxUSE_IPC=no'
6394 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6399 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6404 eval "$wx_cv_use_ipc"
6405 if test "x$cache" = xyes; then
6406 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_IPC = yes; then
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6435 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6436 # Check whether --enable-baseevtloop was given.
6437 if test "${enable_baseevtloop+set}" = set; then
6438 enableval=$enable_baseevtloop;
6439 if test "$enableval" = yes; then
6440 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6442 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6448 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6453 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6458 eval "$wx_cv_use_baseevtloop"
6459 if test "x$cache" = xyes; then
6460 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6463 if test x"$enablestring" = xdisable; then
6464 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6470 result=$wxUSE_CONSOLE_EVENTLOOP
6473 { echo "$as_me:$LINENO: result: $result" >&5
6474 echo "${ECHO_T}$result" >&6; }
6478 defaultval=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6489 # Check whether --enable-epoolloop was given.
6490 if test "${enable_epoolloop+set}" = set; then
6491 enableval=$enable_epoolloop;
6492 if test "$enableval" = yes; then
6493 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6495 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6501 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x ; then
6503 eval "DEFAULT_$LINE"
6506 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6511 eval "$wx_cv_use_epoolloop"
6512 if test "x$cache" = xyes; then
6513 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6516 if test x"$enablestring" = xdisable; then
6517 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6523 result=$wxUSE_EPOLL_DISPATCHER
6526 { echo "$as_me:$LINENO: result: $result" >&5
6527 echo "${ECHO_T}$result" >&6; }
6531 defaultval=$wxUSE_ALL_FEATURES
6532 if test -z "$defaultval"; then
6533 if test x"$enablestring" = xdisable; then
6540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6542 # Check whether --enable-selectloop was given.
6543 if test "${enable_selectloop+set}" = set; then
6544 enableval=$enable_selectloop;
6545 if test "$enableval" = yes; then
6546 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6548 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6554 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6559 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6564 eval "$wx_cv_use_selectloop"
6565 if test "x$cache" = xyes; then
6566 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6569 if test x"$enablestring" = xdisable; then
6570 if test $wxUSE_SELECT_DISPATCHER = yes; then
6576 result=$wxUSE_SELECT_DISPATCHER
6579 { echo "$as_me:$LINENO: result: $result" >&5
6580 echo "${ECHO_T}$result" >&6; }
6585 defaultval=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x"$enablestring" = xdisable; then
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6596 # Check whether --enable-apple_ieee was given.
6597 if test "${enable_apple_ieee+set}" = set; then
6598 enableval=$enable_apple_ieee;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6608 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6613 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6618 eval "$wx_cv_use_apple_ieee"
6619 if test "x$cache" = xyes; then
6620 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_APPLE_IEEE = yes; then
6630 result=$wxUSE_APPLE_IEEE
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6649 # Check whether --enable-arcstream was given.
6650 if test "${enable_arcstream+set}" = set; then
6651 enableval=$enable_arcstream;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6655 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6661 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6666 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6671 eval "$wx_cv_use_arcstream"
6672 if test "x$cache" = xyes; then
6673 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6676 if test x"$enablestring" = xdisable; then
6677 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6683 result=$wxUSE_ARCHIVE_STREAMS
6686 { echo "$as_me:$LINENO: result: $result" >&5
6687 echo "${ECHO_T}$result" >&6; }
6691 defaultval=$wxUSE_ALL_FEATURES
6692 if test -z "$defaultval"; then
6693 if test x"$enablestring" = xdisable; then
6700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6701 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6702 # Check whether --enable-base64 was given.
6703 if test "${enable_base64+set}" = set; then
6704 enableval=$enable_base64;
6705 if test "$enableval" = yes; then
6706 wx_cv_use_base64='wxUSE_BASE64=yes'
6708 wx_cv_use_base64='wxUSE_BASE64=no'
6714 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x ; then
6716 eval "DEFAULT_$LINE"
6719 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6724 eval "$wx_cv_use_base64"
6725 if test "x$cache" = xyes; then
6726 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_BASE64 = yes; then
6736 result=$wxUSE_BASE64
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6755 # Check whether --enable-backtrace was given.
6756 if test "${enable_backtrace+set}" = set; then
6757 enableval=$enable_backtrace;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6761 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6767 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6768 if test "x$LINE" != x ; then
6769 eval "DEFAULT_$LINE"
6772 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6777 eval "$wx_cv_use_backtrace"
6778 if test "x$cache" = xyes; then
6779 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_STACKWALKER = yes; then
6789 result=$wxUSE_STACKWALKER
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6808 # Check whether --enable-catch_segvs was given.
6809 if test "${enable_catch_segvs+set}" = set; then
6810 enableval=$enable_catch_segvs;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6814 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6820 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x ; then
6822 eval "DEFAULT_$LINE"
6825 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6830 eval "$wx_cv_use_catch_segvs"
6831 if test "x$cache" = xyes; then
6832 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6842 result=$wxUSE_ON_FATAL_EXCEPTION
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6861 # Check whether --enable-cmdline was given.
6862 if test "${enable_cmdline+set}" = set; then
6863 enableval=$enable_cmdline;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6867 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6873 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6878 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6883 eval "$wx_cv_use_cmdline"
6884 if test "x$cache" = xyes; then
6885 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_CMDLINE_PARSER = yes; then
6895 result=$wxUSE_CMDLINE_PARSER
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6914 # Check whether --enable-datetime was given.
6915 if test "${enable_datetime+set}" = set; then
6916 enableval=$enable_datetime;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6920 wx_cv_use_datetime='wxUSE_DATETIME=no'
6926 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6927 if test "x$LINE" != x ; then
6928 eval "DEFAULT_$LINE"
6931 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6936 eval "$wx_cv_use_datetime"
6937 if test "x$cache" = xyes; then
6938 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6941 if test x"$enablestring" = xdisable; then
6942 if test $wxUSE_DATETIME = yes; then
6948 result=$wxUSE_DATETIME
6951 { echo "$as_me:$LINENO: result: $result" >&5
6952 echo "${ECHO_T}$result" >&6; }
6956 defaultval=$wxUSE_ALL_FEATURES
6957 if test -z "$defaultval"; then
6958 if test x"$enablestring" = xdisable; then
6965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6967 # Check whether --enable-debugreport was given.
6968 if test "${enable_debugreport+set}" = set; then
6969 enableval=$enable_debugreport;
6970 if test "$enableval" = yes; then
6971 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6973 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6979 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x ; then
6981 eval "DEFAULT_$LINE"
6984 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6989 eval "$wx_cv_use_debugreport"
6990 if test "x$cache" = xyes; then
6991 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6994 if test x"$enablestring" = xdisable; then
6995 if test $wxUSE_DEBUGREPORT = yes; then
7001 result=$wxUSE_DEBUGREPORT
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7009 defaultval=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x"$enablestring" = xdisable; then
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7020 # Check whether --enable-dialupman was given.
7021 if test "${enable_dialupman+set}" = set; then
7022 enableval=$enable_dialupman;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7026 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7032 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7037 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7042 eval "$wx_cv_use_dialupman"
7043 if test "x$cache" = xyes; then
7044 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_DIALUP_MANAGER = yes; then
7054 result=$wxUSE_DIALUP_MANAGER
7057 { echo "$as_me:$LINENO: result: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7073 # Check whether --enable-dynlib was given.
7074 if test "${enable_dynlib+set}" = set; then
7075 enableval=$enable_dynlib;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7079 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7085 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7090 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7095 eval "$wx_cv_use_dynlib"
7096 if test "x$cache" = xyes; then
7097 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_DYNLIB_CLASS = yes; then
7107 result=$wxUSE_DYNLIB_CLASS
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7126 # Check whether --enable-dynamicloader was given.
7127 if test "${enable_dynamicloader+set}" = set; then
7128 enableval=$enable_dynamicloader;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7132 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7138 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x ; then
7140 eval "DEFAULT_$LINE"
7143 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7148 eval "$wx_cv_use_dynamicloader"
7149 if test "x$cache" = xyes; then
7150 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_DYNAMIC_LOADER = yes; then
7160 result=$wxUSE_DYNAMIC_LOADER
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7179 # Check whether --enable-exceptions was given.
7180 if test "${enable_exceptions+set}" = set; then
7181 enableval=$enable_exceptions;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7185 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7191 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7196 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7201 eval "$wx_cv_use_exceptions"
7202 if test "x$cache" = xyes; then
7203 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7206 if test x"$enablestring" = xdisable; then
7207 if test $wxUSE_EXCEPTIONS = yes; then
7213 result=$wxUSE_EXCEPTIONS
7216 { echo "$as_me:$LINENO: result: $result" >&5
7217 echo "${ECHO_T}$result" >&6; }
7221 defaultval=$wxUSE_ALL_FEATURES
7222 if test -z "$defaultval"; then
7223 if test x"$enablestring" = xdisable; then
7230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7231 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7232 # Check whether --enable-ffile was given.
7233 if test "${enable_ffile+set}" = set; then
7234 enableval=$enable_ffile;
7235 if test "$enableval" = yes; then
7236 wx_cv_use_ffile='wxUSE_FFILE=yes'
7238 wx_cv_use_ffile='wxUSE_FFILE=no'
7244 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7249 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7254 eval "$wx_cv_use_ffile"
7255 if test "x$cache" = xyes; then
7256 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_FFILE = yes; then
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7285 # Check whether --enable-file was given.
7286 if test "${enable_file+set}" = set; then
7287 enableval=$enable_file;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_file='wxUSE_FILE=yes'
7291 wx_cv_use_file='wxUSE_FILE=no'
7297 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7302 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7307 eval "$wx_cv_use_file"
7308 if test "x$cache" = xyes; then
7309 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7312 if test x"$enablestring" = xdisable; then
7313 if test $wxUSE_FILE = yes; then
7322 { echo "$as_me:$LINENO: result: $result" >&5
7323 echo "${ECHO_T}$result" >&6; }
7327 defaultval=$wxUSE_ALL_FEATURES
7328 if test -z "$defaultval"; then
7329 if test x"$enablestring" = xdisable; then
7336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7338 # Check whether --enable-filesystem was given.
7339 if test "${enable_filesystem+set}" = set; then
7340 enableval=$enable_filesystem;
7341 if test "$enableval" = yes; then
7342 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7344 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7350 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7355 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7360 eval "$wx_cv_use_filesystem"
7361 if test "x$cache" = xyes; then
7362 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_FILESYSTEM = yes; then
7372 result=$wxUSE_FILESYSTEM
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7391 # Check whether --enable-fontenum was given.
7392 if test "${enable_fontenum+set}" = set; then
7393 enableval=$enable_fontenum;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7397 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7403 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7408 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7413 eval "$wx_cv_use_fontenum"
7414 if test "x$cache" = xyes; then
7415 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_FONTENUM = yes; then
7425 result=$wxUSE_FONTENUM
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7444 # Check whether --enable-fontmap was given.
7445 if test "${enable_fontmap+set}" = set; then
7446 enableval=$enable_fontmap;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7450 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7456 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x ; then
7458 eval "DEFAULT_$LINE"
7461 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7466 eval "$wx_cv_use_fontmap"
7467 if test "x$cache" = xyes; then
7468 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7471 if test x"$enablestring" = xdisable; then
7472 if test $wxUSE_FONTMAP = yes; then
7478 result=$wxUSE_FONTMAP
7481 { echo "$as_me:$LINENO: result: $result" >&5
7482 echo "${ECHO_T}$result" >&6; }
7486 defaultval=$wxUSE_ALL_FEATURES
7487 if test -z "$defaultval"; then
7488 if test x"$enablestring" = xdisable; then
7495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7497 # Check whether --enable-fs_archive was given.
7498 if test "${enable_fs_archive+set}" = set; then
7499 enableval=$enable_fs_archive;
7500 if test "$enableval" = yes; then
7501 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7503 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7509 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7510 if test "x$LINE" != x ; then
7511 eval "DEFAULT_$LINE"
7514 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7519 eval "$wx_cv_use_fs_archive"
7520 if test "x$cache" = xyes; then
7521 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7524 if test x"$enablestring" = xdisable; then
7525 if test $wxUSE_FS_ARCHIVE = yes; then
7531 result=$wxUSE_FS_ARCHIVE
7534 { echo "$as_me:$LINENO: result: $result" >&5
7535 echo "${ECHO_T}$result" >&6; }
7539 defaultval=$wxUSE_ALL_FEATURES
7540 if test -z "$defaultval"; then
7541 if test x"$enablestring" = xdisable; then
7548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7550 # Check whether --enable-fs_inet was given.
7551 if test "${enable_fs_inet+set}" = set; then
7552 enableval=$enable_fs_inet;
7553 if test "$enableval" = yes; then
7554 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7556 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7562 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7567 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7572 eval "$wx_cv_use_fs_inet"
7573 if test "x$cache" = xyes; then
7574 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_FS_INET = yes; then
7584 result=$wxUSE_FS_INET
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7603 # Check whether --enable-fs_zip was given.
7604 if test "${enable_fs_zip+set}" = set; then
7605 enableval=$enable_fs_zip;
7606 if test "$enableval" = yes; then
7607 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7609 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7615 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7620 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7625 eval "$wx_cv_use_fs_zip"
7626 if test "x$cache" = xyes; then
7627 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_FS_ZIP = yes; then
7637 result=$wxUSE_FS_ZIP
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7656 # Check whether --enable-geometry was given.
7657 if test "${enable_geometry+set}" = set; then
7658 enableval=$enable_geometry;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7662 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7668 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7669 if test "x$LINE" != x ; then
7670 eval "DEFAULT_$LINE"
7673 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7678 eval "$wx_cv_use_geometry"
7679 if test "x$cache" = xyes; then
7680 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7683 if test x"$enablestring" = xdisable; then
7684 if test $wxUSE_GEOMETRY = yes; then
7690 result=$wxUSE_GEOMETRY
7693 { echo "$as_me:$LINENO: result: $result" >&5
7694 echo "${ECHO_T}$result" >&6; }
7698 defaultval=$wxUSE_ALL_FEATURES
7699 if test -z "$defaultval"; then
7700 if test x"$enablestring" = xdisable; then
7707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7709 # Check whether --enable-log was given.
7710 if test "${enable_log+set}" = set; then
7711 enableval=$enable_log;
7712 if test "$enableval" = yes; then
7713 wx_cv_use_log='wxUSE_LOG=yes'
7715 wx_cv_use_log='wxUSE_LOG=no'
7721 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7726 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7731 eval "$wx_cv_use_log"
7732 if test "x$cache" = xyes; then
7733 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_LOG = yes; then
7746 { echo "$as_me:$LINENO: result: $result" >&5
7747 echo "${ECHO_T}$result" >&6; }
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7762 # Check whether --enable-longlong was given.
7763 if test "${enable_longlong+set}" = set; then
7764 enableval=$enable_longlong;
7765 if test "$enableval" = yes; then
7766 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7768 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7774 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7779 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7784 eval "$wx_cv_use_longlong"
7785 if test "x$cache" = xyes; then
7786 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_LONGLONG = yes; then
7796 result=$wxUSE_LONGLONG
7799 { echo "$as_me:$LINENO: result: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7815 # Check whether --enable-mimetype was given.
7816 if test "${enable_mimetype+set}" = set; then
7817 enableval=$enable_mimetype;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7821 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7827 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7832 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7837 eval "$wx_cv_use_mimetype"
7838 if test "x$cache" = xyes; then
7839 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_MIMETYPE = yes; then
7849 result=$wxUSE_MIMETYPE
7852 { echo "$as_me:$LINENO: result: $result" >&5
7853 echo "${ECHO_T}$result" >&6; }
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7868 # Check whether --enable-snglinst was given.
7869 if test "${enable_snglinst+set}" = set; then
7870 enableval=$enable_snglinst;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7874 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7880 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7885 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7890 eval "$wx_cv_use_snglinst"
7891 if test "x$cache" = xyes; then
7892 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7895 if test x"$enablestring" = xdisable; then
7896 if test $wxUSE_SNGLINST_CHECKER = yes; then
7902 result=$wxUSE_SNGLINST_CHECKER
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7910 defaultval=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x"$enablestring" = xdisable; then
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7921 # Check whether --enable-stdpaths was given.
7922 if test "${enable_stdpaths+set}" = set; then
7923 enableval=$enable_stdpaths;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7927 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7933 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7938 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7943 eval "$wx_cv_use_stdpaths"
7944 if test "x$cache" = xyes; then
7945 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_STDPATHS = yes; then
7955 result=$wxUSE_STDPATHS
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7963 defaultval=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x"$enablestring" = xdisable; then
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7974 # Check whether --enable-stopwatch was given.
7975 if test "${enable_stopwatch+set}" = set; then
7976 enableval=$enable_stopwatch;
7977 if test "$enableval" = yes; then
7978 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7980 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7986 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7991 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7996 eval "$wx_cv_use_stopwatch"
7997 if test "x$cache" = xyes; then
7998 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8001 if test x"$enablestring" = xdisable; then
8002 if test $wxUSE_STOPWATCH = yes; then
8008 result=$wxUSE_STOPWATCH
8011 { echo "$as_me:$LINENO: result: $result" >&5
8012 echo "${ECHO_T}$result" >&6; }
8016 defaultval=$wxUSE_ALL_FEATURES
8017 if test -z "$defaultval"; then
8018 if test x"$enablestring" = xdisable; then
8025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8026 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8027 # Check whether --enable-streams was given.
8028 if test "${enable_streams+set}" = set; then
8029 enableval=$enable_streams;
8030 if test "$enableval" = yes; then
8031 wx_cv_use_streams='wxUSE_STREAMS=yes'
8033 wx_cv_use_streams='wxUSE_STREAMS=no'
8039 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8040 if test "x$LINE" != x ; then
8041 eval "DEFAULT_$LINE"
8044 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8049 eval "$wx_cv_use_streams"
8050 if test "x$cache" = xyes; then
8051 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_STREAMS = yes; then
8061 result=$wxUSE_STREAMS
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8080 # Check whether --enable-system_options was given.
8081 if test "${enable_system_options+set}" = set; then
8082 enableval=$enable_system_options;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8086 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8092 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8097 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8102 eval "$wx_cv_use_system_options"
8103 if test "x$cache" = xyes; then
8104 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8107 if test x"$enablestring" = xdisable; then
8108 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8114 result=$wxUSE_SYSTEM_OPTIONS
8117 { echo "$as_me:$LINENO: result: $result" >&5
8118 echo "${ECHO_T}$result" >&6; }
8122 defaultval=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x"$enablestring" = xdisable; then
8131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8133 # Check whether --enable-tarstream was given.
8134 if test "${enable_tarstream+set}" = set; then
8135 enableval=$enable_tarstream;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8139 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8145 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8150 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8155 eval "$wx_cv_use_tarstream"
8156 if test "x$cache" = xyes; then
8157 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_TARSTREAM = yes; then
8167 result=$wxUSE_TARSTREAM
8170 { echo "$as_me:$LINENO: result: $result" >&5
8171 echo "${ECHO_T}$result" >&6; }
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8186 # Check whether --enable-textbuf was given.
8187 if test "${enable_textbuf+set}" = set; then
8188 enableval=$enable_textbuf;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8192 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8198 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8203 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8208 eval "$wx_cv_use_textbuf"
8209 if test "x$cache" = xyes; then
8210 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_TEXTBUFFER = yes; then
8220 result=$wxUSE_TEXTBUFFER
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8239 # Check whether --enable-textfile was given.
8240 if test "${enable_textfile+set}" = set; then
8241 enableval=$enable_textfile;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8245 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8251 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8256 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8261 eval "$wx_cv_use_textfile"
8262 if test "x$cache" = xyes; then
8263 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8266 if test x"$enablestring" = xdisable; then
8267 if test $wxUSE_TEXTFILE = yes; then
8273 result=$wxUSE_TEXTFILE
8276 { echo "$as_me:$LINENO: result: $result" >&5
8277 echo "${ECHO_T}$result" >&6; }
8281 defaultval=$wxUSE_ALL_FEATURES
8282 if test -z "$defaultval"; then
8283 if test x"$enablestring" = xdisable; then
8290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8292 # Check whether --enable-timer was given.
8293 if test "${enable_timer+set}" = set; then
8294 enableval=$enable_timer;
8295 if test "$enableval" = yes; then
8296 wx_cv_use_timer='wxUSE_TIMER=yes'
8298 wx_cv_use_timer='wxUSE_TIMER=no'
8304 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8305 if test "x$LINE" != x ; then
8306 eval "DEFAULT_$LINE"
8309 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8314 eval "$wx_cv_use_timer"
8315 if test "x$cache" = xyes; then
8316 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8319 if test x"$enablestring" = xdisable; then
8320 if test $wxUSE_TIMER = yes; then
8329 { echo "$as_me:$LINENO: result: $result" >&5
8330 echo "${ECHO_T}$result" >&6; }
8334 defaultval=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x"$enablestring" = xdisable; then
8343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8345 # Check whether --enable-sound was given.
8346 if test "${enable_sound+set}" = set; then
8347 enableval=$enable_sound;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_sound='wxUSE_SOUND=yes'
8351 wx_cv_use_sound='wxUSE_SOUND=no'
8357 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8358 if test "x$LINE" != x ; then
8359 eval "DEFAULT_$LINE"
8362 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8367 eval "$wx_cv_use_sound"
8368 if test "x$cache" = xyes; then
8369 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_SOUND = yes; then
8382 { echo "$as_me:$LINENO: result: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8387 defaultval=$wxUSE_ALL_FEATURES
8388 if test -z "$defaultval"; then
8389 if test x"$enablestring" = xdisable; then
8396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8398 # Check whether --enable-mediactrl was given.
8399 if test "${enable_mediactrl+set}" = set; then
8400 enableval=$enable_mediactrl;
8401 if test "$enableval" = yes; then
8402 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8404 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8410 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8411 if test "x$LINE" != x ; then
8412 eval "DEFAULT_$LINE"
8415 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8420 eval "$wx_cv_use_mediactrl"
8421 if test "x$cache" = xyes; then
8422 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_MEDIACTRL = yes; then
8432 result=$wxUSE_MEDIACTRL
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8451 # Check whether --enable-gstreamer8 was given.
8452 if test "${enable_gstreamer8+set}" = set; then
8453 enableval=$enable_gstreamer8;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8457 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8463 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8468 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8473 eval "$wx_cv_use_gstreamer8"
8474 if test "x$cache" = xyes; then
8475 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_GSTREAMER8 = yes; then
8485 result=$wxUSE_GSTREAMER8
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8504 # Check whether --enable-printfposparam was given.
8505 if test "${enable_printfposparam+set}" = set; then
8506 enableval=$enable_printfposparam;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8510 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8516 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8521 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8526 eval "$wx_cv_use_printfposparam"
8527 if test "x$cache" = xyes; then
8528 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8531 if test x"$enablestring" = xdisable; then
8532 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8538 result=$wxUSE_PRINTF_POS_PARAMS
8541 { echo "$as_me:$LINENO: result: $result" >&5
8542 echo "${ECHO_T}$result" >&6; }
8546 defaultval=$wxUSE_ALL_FEATURES
8547 if test -z "$defaultval"; then
8548 if test x"$enablestring" = xdisable; then
8555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8556 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8557 # Check whether --enable-zipstream was given.
8558 if test "${enable_zipstream+set}" = set; then
8559 enableval=$enable_zipstream;
8560 if test "$enableval" = yes; then
8561 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8563 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8569 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8570 if test "x$LINE" != x ; then
8571 eval "DEFAULT_$LINE"
8574 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8579 eval "$wx_cv_use_zipstream"
8580 if test "x$cache" = xyes; then
8581 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_ZIPSTREAM = yes; then
8591 result=$wxUSE_ZIPSTREAM
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8600 defaultval=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x"$enablestring" = xdisable; then
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8611 # Check whether --enable-url was given.
8612 if test "${enable_url+set}" = set; then
8613 enableval=$enable_url;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_url='wxUSE_URL=yes'
8617 wx_cv_use_url='wxUSE_URL=no'
8623 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8628 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8633 eval "$wx_cv_use_url"
8634 if test "x$cache" = xyes; then
8635 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_URL = yes; then
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8664 # Check whether --enable-variant was given.
8665 if test "${enable_variant+set}" = set; then
8666 enableval=$enable_variant;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_variant='wxUSE_VARIANT=yes'
8670 wx_cv_use_variant='wxUSE_VARIANT=no'
8676 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8681 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8686 eval "$wx_cv_use_variant"
8687 if test "x$cache" = xyes; then
8688 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_VARIANT = yes; then
8698 result=$wxUSE_VARIANT
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8717 # Check whether --enable-protocol was given.
8718 if test "${enable_protocol+set}" = set; then
8719 enableval=$enable_protocol;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8723 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8729 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8734 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8739 eval "$wx_cv_use_protocol"
8740 if test "x$cache" = xyes; then
8741 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_PROTOCOL = yes; then
8751 result=$wxUSE_PROTOCOL
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8770 # Check whether --enable-protocol_http was given.
8771 if test "${enable_protocol_http+set}" = set; then
8772 enableval=$enable_protocol_http;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8776 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8782 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8787 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8792 eval "$wx_cv_use_protocol_http"
8793 if test "x$cache" = xyes; then
8794 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_PROTOCOL_HTTP = yes; then
8804 result=$wxUSE_PROTOCOL_HTTP
8807 { echo "$as_me:$LINENO: result: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8823 # Check whether --enable-protocol_ftp was given.
8824 if test "${enable_protocol_ftp+set}" = set; then
8825 enableval=$enable_protocol_ftp;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8829 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8835 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8840 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8845 eval "$wx_cv_use_protocol_ftp"
8846 if test "x$cache" = xyes; then
8847 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_PROTOCOL_FTP = yes; then
8857 result=$wxUSE_PROTOCOL_FTP
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8876 # Check whether --enable-protocol_file was given.
8877 if test "${enable_protocol_file+set}" = set; then
8878 enableval=$enable_protocol_file;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8882 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8888 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8889 if test "x$LINE" != x ; then
8890 eval "DEFAULT_$LINE"
8893 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8898 eval "$wx_cv_use_protocol_file"
8899 if test "x$cache" = xyes; then
8900 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8903 if test x"$enablestring" = xdisable; then
8904 if test $wxUSE_PROTOCOL_FILE = yes; then
8910 result=$wxUSE_PROTOCOL_FILE
8913 { echo "$as_me:$LINENO: result: $result" >&5
8914 echo "${ECHO_T}$result" >&6; }
8919 defaultval=$wxUSE_ALL_FEATURES
8920 if test -z "$defaultval"; then
8921 if test x"$enablestring" = xdisable; then
8928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8930 # Check whether --enable-threads was given.
8931 if test "${enable_threads+set}" = set; then
8932 enableval=$enable_threads;
8933 if test "$enableval" = yes; then
8934 wx_cv_use_threads='wxUSE_THREADS=yes'
8936 wx_cv_use_threads='wxUSE_THREADS=no'
8942 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8943 if test "x$LINE" != x ; then
8944 eval "DEFAULT_$LINE"
8947 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8952 eval "$wx_cv_use_threads"
8953 if test "x$cache" = xyes; then
8954 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_THREADS = yes; then
8964 result=$wxUSE_THREADS
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8971 if test "$wxUSE_GUI" = "yes"; then
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8987 # Check whether --enable-docview was given.
8988 if test "${enable_docview+set}" = set; then
8989 enableval=$enable_docview;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8993 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8999 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9004 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9009 eval "$wx_cv_use_docview"
9010 if test "x$cache" = xyes; then
9011 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9014 if test x"$enablestring" = xdisable; then
9015 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9021 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9029 defaultval=$wxUSE_ALL_FEATURES
9030 if test -z "$defaultval"; then
9031 if test x"$enablestring" = xdisable; then
9038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9040 # Check whether --enable-help was given.
9041 if test "${enable_help+set}" = set; then
9042 enableval=$enable_help;
9043 if test "$enableval" = yes; then
9044 wx_cv_use_help='wxUSE_HELP=yes'
9046 wx_cv_use_help='wxUSE_HELP=no'
9052 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9053 if test "x$LINE" != x ; then
9054 eval "DEFAULT_$LINE"
9057 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9062 eval "$wx_cv_use_help"
9063 if test "x$cache" = xyes; then
9064 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9067 if test x"$enablestring" = xdisable; then
9068 if test $wxUSE_HELP = yes; then
9077 { echo "$as_me:$LINENO: result: $result" >&5
9078 echo "${ECHO_T}$result" >&6; }
9082 defaultval=$wxUSE_ALL_FEATURES
9083 if test -z "$defaultval"; then
9084 if test x"$enablestring" = xdisable; then
9091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9092 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9093 # Check whether --enable-mshtmlhelp was given.
9094 if test "${enable_mshtmlhelp+set}" = set; then
9095 enableval=$enable_mshtmlhelp;
9096 if test "$enableval" = yes; then
9097 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9099 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9105 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9106 if test "x$LINE" != x ; then
9107 eval "DEFAULT_$LINE"
9110 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9115 eval "$wx_cv_use_mshtmlhelp"
9116 if test "x$cache" = xyes; then
9117 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_MS_HTML_HELP = yes; then
9127 result=$wxUSE_MS_HTML_HELP
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9135 defaultval=$wxUSE_ALL_FEATURES
9136 if test -z "$defaultval"; then
9137 if test x"$enablestring" = xdisable; then
9144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9146 # Check whether --enable-html was given.
9147 if test "${enable_html+set}" = set; then
9148 enableval=$enable_html;
9149 if test "$enableval" = yes; then
9150 wx_cv_use_html='wxUSE_HTML=yes'
9152 wx_cv_use_html='wxUSE_HTML=no'
9158 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x ; then
9160 eval "DEFAULT_$LINE"
9163 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9168 eval "$wx_cv_use_html"
9169 if test "x$cache" = xyes; then
9170 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_HTML = yes; then
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9199 # Check whether --enable-htmlhelp was given.
9200 if test "${enable_htmlhelp+set}" = set; then
9201 enableval=$enable_htmlhelp;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9205 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9211 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9216 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9221 eval "$wx_cv_use_htmlhelp"
9222 if test "x$cache" = xyes; then
9223 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_WXHTML_HELP = yes; then
9233 result=$wxUSE_WXHTML_HELP
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9252 # Check whether --enable-xrc was given.
9253 if test "${enable_xrc+set}" = set; then
9254 enableval=$enable_xrc;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_xrc='wxUSE_XRC=yes'
9258 wx_cv_use_xrc='wxUSE_XRC=no'
9264 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9269 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9274 eval "$wx_cv_use_xrc"
9275 if test "x$cache" = xyes; then
9276 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9279 if test x"$enablestring" = xdisable; then
9280 if test $wxUSE_XRC = yes; then
9289 { echo "$as_me:$LINENO: result: $result" >&5
9290 echo "${ECHO_T}$result" >&6; }
9294 defaultval=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x"$enablestring" = xdisable; then
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9305 # Check whether --enable-aui was given.
9306 if test "${enable_aui+set}" = set; then
9307 enableval=$enable_aui;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_aui='wxUSE_AUI=yes'
9311 wx_cv_use_aui='wxUSE_AUI=no'
9317 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9322 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9327 eval "$wx_cv_use_aui"
9328 if test "x$cache" = xyes; then
9329 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_AUI = yes; then
9342 { echo "$as_me:$LINENO: result: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9358 # Check whether --enable-stc was given.
9359 if test "${enable_stc+set}" = set; then
9360 enableval=$enable_stc;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_stc='wxUSE_STC=yes'
9364 wx_cv_use_stc='wxUSE_STC=no'
9370 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9375 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9380 eval "$wx_cv_use_stc"
9381 if test "x$cache" = xyes; then
9382 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9385 if test x"$enablestring" = xdisable; then
9386 if test $wxUSE_STC = yes; then
9395 { echo "$as_me:$LINENO: result: $result" >&5
9396 echo "${ECHO_T}$result" >&6; }
9400 defaultval=$wxUSE_ALL_FEATURES
9401 if test -z "$defaultval"; then
9402 if test x"$enablestring" = xdisable; then
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9411 # Check whether --enable-constraints was given.
9412 if test "${enable_constraints+set}" = set; then
9413 enableval=$enable_constraints;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9417 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9423 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9428 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9433 eval "$wx_cv_use_constraints"
9434 if test "x$cache" = xyes; then
9435 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9438 if test x"$enablestring" = xdisable; then
9439 if test $wxUSE_CONSTRAINTS = yes; then
9445 result=$wxUSE_CONSTRAINTS
9448 { echo "$as_me:$LINENO: result: $result" >&5
9449 echo "${ECHO_T}$result" >&6; }
9453 defaultval=$wxUSE_ALL_FEATURES
9454 if test -z "$defaultval"; then
9455 if test x"$enablestring" = xdisable; then
9462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9464 # Check whether --enable-printarch was given.
9465 if test "${enable_printarch+set}" = set; then
9466 enableval=$enable_printarch;
9467 if test "$enableval" = yes; then
9468 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9470 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9476 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9481 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9486 eval "$wx_cv_use_printarch"
9487 if test "x$cache" = xyes; then
9488 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9491 if test x"$enablestring" = xdisable; then
9492 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9498 result=$wxUSE_PRINTING_ARCHITECTURE
9501 { echo "$as_me:$LINENO: result: $result" >&5
9502 echo "${ECHO_T}$result" >&6; }
9506 defaultval=$wxUSE_ALL_FEATURES
9507 if test -z "$defaultval"; then
9508 if test x"$enablestring" = xdisable; then
9515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9517 # Check whether --enable-mdi was given.
9518 if test "${enable_mdi+set}" = set; then
9519 enableval=$enable_mdi;
9520 if test "$enableval" = yes; then
9521 wx_cv_use_mdi='wxUSE_MDI=yes'
9523 wx_cv_use_mdi='wxUSE_MDI=no'
9529 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9534 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9539 eval "$wx_cv_use_mdi"
9540 if test "x$cache" = xyes; then
9541 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9544 if test x"$enablestring" = xdisable; then
9545 if test $wxUSE_MDI = yes; then
9554 { echo "$as_me:$LINENO: result: $result" >&5
9555 echo "${ECHO_T}$result" >&6; }
9559 defaultval=$wxUSE_ALL_FEATURES
9560 if test -z "$defaultval"; then
9561 if test x"$enablestring" = xdisable; then
9568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9570 # Check whether --enable-mdidoc was given.
9571 if test "${enable_mdidoc+set}" = set; then
9572 enableval=$enable_mdidoc;
9573 if test "$enableval" = yes; then
9574 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9576 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9582 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9583 if test "x$LINE" != x ; then
9584 eval "DEFAULT_$LINE"
9587 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9592 eval "$wx_cv_use_mdidoc"
9593 if test "x$cache" = xyes; then
9594 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9597 if test x"$enablestring" = xdisable; then
9598 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9604 result=$wxUSE_MDI_ARCHITECTURE
9607 { echo "$as_me:$LINENO: result: $result" >&5
9608 echo "${ECHO_T}$result" >&6; }
9612 defaultval=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x"$enablestring" = xdisable; then
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9623 # Check whether --enable-loggui was given.
9624 if test "${enable_loggui+set}" = set; then
9625 enableval=$enable_loggui;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9629 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9635 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9640 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9645 eval "$wx_cv_use_loggui"
9646 if test "x$cache" = xyes; then
9647 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_LOGGUI = yes; then
9657 result=$wxUSE_LOGGUI
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9676 # Check whether --enable-logwin was given.
9677 if test "${enable_logwin+set}" = set; then
9678 enableval=$enable_logwin;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9682 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9688 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9693 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9698 eval "$wx_cv_use_logwin"
9699 if test "x$cache" = xyes; then
9700 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_LOGWINDOW = yes; then
9710 result=$wxUSE_LOGWINDOW
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9718 defaultval=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x"$enablestring" = xdisable; then
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9729 # Check whether --enable-logdialog was given.
9730 if test "${enable_logdialog+set}" = set; then
9731 enableval=$enable_logdialog;
9732 if test "$enableval" = yes; then
9733 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9735 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9741 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9746 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9751 eval "$wx_cv_use_logdialog"
9752 if test "x$cache" = xyes; then
9753 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_LOGDIALOG = yes; then
9763 result=$wxUSE_LOGDIALOG
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9782 # Check whether --enable-webkit was given.
9783 if test "${enable_webkit+set}" = set; then
9784 enableval=$enable_webkit;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9788 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9794 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9804 eval "$wx_cv_use_webkit"
9805 if test "x$cache" = xyes; then
9806 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_WEBKIT = yes; then
9816 result=$wxUSE_WEBKIT
9819 { echo "$as_me:$LINENO: result: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9835 # Check whether --enable-richtext was given.
9836 if test "${enable_richtext+set}" = set; then
9837 enableval=$enable_richtext;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9841 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9847 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9848 if test "x$LINE" != x ; then
9849 eval "DEFAULT_$LINE"
9852 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9857 eval "$wx_cv_use_richtext"
9858 if test "x$cache" = xyes; then
9859 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_RICHTEXT = yes; then
9869 result=$wxUSE_RICHTEXT
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9888 # Check whether --enable-graphics_ctx was given.
9889 if test "${enable_graphics_ctx+set}" = set; then
9890 enableval=$enable_graphics_ctx;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9894 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9900 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9905 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9910 eval "$wx_cv_use_graphics_ctx"
9911 if test "x$cache" = xyes; then
9912 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9922 result=$wxUSE_GRAPHICS_CONTEXT
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9941 # Check whether --enable-postscript was given.
9942 if test "${enable_postscript+set}" = set; then
9943 enableval=$enable_postscript;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9947 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9953 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x ; then
9955 eval "DEFAULT_$LINE"
9958 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9963 eval "$wx_cv_use_postscript"
9964 if test "x$cache" = xyes; then
9965 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9968 if test x"$enablestring" = xdisable; then
9969 if test $wxUSE_POSTSCRIPT = yes; then
9975 result=$wxUSE_POSTSCRIPT
9978 { echo "$as_me:$LINENO: result: $result" >&5
9979 echo "${ECHO_T}$result" >&6; }
9983 defaultval=$wxUSE_ALL_FEATURES
9984 if test -z "$defaultval"; then
9985 if test x"$enablestring" = xdisable; then
9992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9994 # Check whether --enable-svg was given.
9995 if test "${enable_svg+set}" = set; then
9996 enableval=$enable_svg;
9997 if test "$enableval" = yes; then
9998 wx_cv_use_svg='wxUSE_SVG=yes'
10000 wx_cv_use_svg='wxUSE_SVG=no'
10006 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10011 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10016 eval "$wx_cv_use_svg"
10017 if test "x$cache" = xyes; then
10018 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_SVG = yes; then
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10038 defaultval=$wxUSE_ALL_FEATURES
10039 if test -z "$defaultval"; then
10040 if test x"$enablestring" = xdisable; then
10047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10048 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10049 # Check whether --enable-clipboard was given.
10050 if test "${enable_clipboard+set}" = set; then
10051 enableval=$enable_clipboard;
10052 if test "$enableval" = yes; then
10053 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10055 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10061 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x ; then
10063 eval "DEFAULT_$LINE"
10066 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10071 eval "$wx_cv_use_clipboard"
10072 if test "x$cache" = xyes; then
10073 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10076 if test x"$enablestring" = xdisable; then
10077 if test $wxUSE_CLIPBOARD = yes; then
10083 result=$wxUSE_CLIPBOARD
10086 { echo "$as_me:$LINENO: result: $result" >&5
10087 echo "${ECHO_T}$result" >&6; }
10091 defaultval=$wxUSE_ALL_FEATURES
10092 if test -z "$defaultval"; then
10093 if test x"$enablestring" = xdisable; then
10100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10102 # Check whether --enable-dnd was given.
10103 if test "${enable_dnd+set}" = set; then
10104 enableval=$enable_dnd;
10105 if test "$enableval" = yes; then
10106 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10108 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10114 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10115 if test "x$LINE" != x ; then
10116 eval "DEFAULT_$LINE"
10119 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10124 eval "$wx_cv_use_dnd"
10125 if test "x$cache" = xyes; then
10126 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_DRAG_AND_DROP = yes; then
10136 result=$wxUSE_DRAG_AND_DROP
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10155 # Check whether --enable-metafile was given.
10156 if test "${enable_metafile+set}" = set; then
10157 enableval=$enable_metafile;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10161 wx_cv_use_metafile='wxUSE_METAFILE=no'
10167 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x ; then
10169 eval "DEFAULT_$LINE"
10172 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10177 eval "$wx_cv_use_metafile"
10178 if test "x$cache" = xyes; then
10179 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10182 if test x"$enablestring" = xdisable; then
10183 if test $wxUSE_METAFILE = yes; then
10189 result=$wxUSE_METAFILE
10192 { echo "$as_me:$LINENO: result: $result" >&5
10193 echo "${ECHO_T}$result" >&6; }
10197 DEFAULT_wxUSE_CONTROLS=none
10199 enablestring=disable
10201 if test -z "$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10210 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10211 # Check whether --enable-controls was given.
10212 if test "${enable_controls+set}" = set; then
10213 enableval=$enable_controls;
10214 if test "$enableval" = yes; then
10215 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10217 wx_cv_use_controls='wxUSE_CONTROLS=no'
10223 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10228 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10233 eval "$wx_cv_use_controls"
10234 if test "x$cache" = xyes; then
10235 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10238 if test x"$enablestring" = xdisable; then
10239 if test $wxUSE_CONTROLS = yes; then
10245 result=$wxUSE_CONTROLS
10248 { echo "$as_me:$LINENO: result: $result" >&5
10249 echo "${ECHO_T}$result" >&6; }
10252 if test "$wxUSE_CONTROLS" = "yes"; then
10253 DEFAULT_wxUSE_ACCEL=yes
10254 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10255 DEFAULT_wxUSE_BMPBUTTON=yes
10256 DEFAULT_wxUSE_BUTTON=yes
10257 DEFAULT_wxUSE_CALCTRL=yes
10258 DEFAULT_wxUSE_CARET=yes
10259 DEFAULT_wxUSE_COMBOBOX=yes
10260 DEFAULT_wxUSE_CHECKBOX=yes
10261 DEFAULT_wxUSE_CHECKLISTBOX=yes
10262 DEFAULT_wxUSE_CHOICE=yes
10263 DEFAULT_wxUSE_CHOICEBOOK=yes
10264 DEFAULT_wxUSE_COLLPANE=yes
10265 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10266 DEFAULT_wxUSE_COMBOBOX=yes
10267 DEFAULT_wxUSE_DATEPICKCTRL=yes
10268 DEFAULT_wxUSE_DISPLAY=yes
10269 DEFAULT_wxUSE_DETECT_SM=yes
10270 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10271 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10272 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10273 DEFAULT_wxUSE_GAUGE=yes
10274 DEFAULT_wxUSE_GRID=yes
10275 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10276 DEFAULT_wxUSE_DATAVIEWCTRL=no
10277 DEFAULT_wxUSE_IMAGLIST=yes
10278 DEFAULT_wxUSE_LISTBOOK=yes
10279 DEFAULT_wxUSE_LISTBOX=yes
10280 DEFAULT_wxUSE_LISTCTRL=yes
10281 DEFAULT_wxUSE_NOTEBOOK=yes
10282 DEFAULT_wxUSE_RADIOBOX=yes
10283 DEFAULT_wxUSE_RADIOBTN=yes
10284 DEFAULT_wxUSE_SASH=yes
10285 DEFAULT_wxUSE_SCROLLBAR=yes
10286 DEFAULT_wxUSE_SEARCHCTRL=yes
10287 DEFAULT_wxUSE_SLIDER=yes
10288 DEFAULT_wxUSE_SPINBTN=yes
10289 DEFAULT_wxUSE_SPINCTRL=yes
10290 DEFAULT_wxUSE_SPLITTER=yes
10291 DEFAULT_wxUSE_STATBMP=yes
10292 DEFAULT_wxUSE_STATBOX=yes
10293 DEFAULT_wxUSE_STATLINE=yes
10294 DEFAULT_wxUSE_STATUSBAR=yes
10295 DEFAULT_wxUSE_TAB_DIALOG=yes
10296 DEFAULT_wxUSE_TOGGLEBTN=yes
10297 DEFAULT_wxUSE_TOOLBAR=yes
10298 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10299 DEFAULT_wxUSE_TOOLTIPS=yes
10300 DEFAULT_wxUSE_TREEBOOK=yes
10301 DEFAULT_wxUSE_TOOLBOOK=yes
10302 DEFAULT_wxUSE_TREECTRL=yes
10303 DEFAULT_wxUSE_POPUPWIN=yes
10304 DEFAULT_wxUSE_TIPWINDOW=yes
10305 elif test "$wxUSE_CONTROLS" = "no"; then
10306 DEFAULT_wxUSE_ACCEL=no
10307 DEFAULT_wxUSE_ANIMATIONCTRL=no
10308 DEFAULT_wxUSE_BMPBUTTON=no
10309 DEFAULT_wxUSE_BUTTON=no
10310 DEFAULT_wxUSE_CALCTRL=no
10311 DEFAULT_wxUSE_CARET=no
10312 DEFAULT_wxUSE_COLLPANE=no
10313 DEFAULT_wxUSE_COMBOBOX=no
10314 DEFAULT_wxUSE_CHECKBOX=no
10315 DEFAULT_wxUSE_CHECKLISTBOX=no
10316 DEFAULT_wxUSE_CHOICE=no
10317 DEFAULT_wxUSE_CHOICEBOOK=no
10318 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10319 DEFAULT_wxUSE_COMBOBOX=no
10320 DEFAULT_wxUSE_DATEPICKCTRL=no
10321 DEFAULT_wxUSE_DISPLAY=no
10322 DEFAULT_wxUSE_DETECT_SM=no
10323 DEFAULT_wxUSE_DIRPICKERCTRL=no
10324 DEFAULT_wxUSE_FILEPICKERCTRL=no
10325 DEFAULT_wxUSE_FONTPICKERCTRL=no
10326 DEFAULT_wxUSE_GAUGE=no
10327 DEFAULT_wxUSE_GRID=no
10328 DEFAULT_wxUSE_HYPERLINKCTRL=no
10329 DEFAULT_wxUSE_DATAVIEWCTRL=no
10330 DEFAULT_wxUSE_IMAGLIST=no
10331 DEFAULT_wxUSE_LISTBOOK=no
10332 DEFAULT_wxUSE_LISTBOX=no
10333 DEFAULT_wxUSE_LISTCTRL=no
10334 DEFAULT_wxUSE_NOTEBOOK=no
10335 DEFAULT_wxUSE_RADIOBOX=no
10336 DEFAULT_wxUSE_RADIOBTN=no
10337 DEFAULT_wxUSE_SASH=no
10338 DEFAULT_wxUSE_SCROLLBAR=no
10339 DEFAULT_wxUSE_SEARCHCTRL=no
10340 DEFAULT_wxUSE_SLIDER=no
10341 DEFAULT_wxUSE_SPINBTN=no
10342 DEFAULT_wxUSE_SPINCTRL=no
10343 DEFAULT_wxUSE_SPLITTER=no
10344 DEFAULT_wxUSE_STATBMP=no
10345 DEFAULT_wxUSE_STATBOX=no
10346 DEFAULT_wxUSE_STATLINE=no
10347 DEFAULT_wxUSE_STATUSBAR=no
10348 DEFAULT_wxUSE_TAB_DIALOG=no
10349 DEFAULT_wxUSE_TOGGLEBTN=no
10350 DEFAULT_wxUSE_TOOLBAR=no
10351 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10352 DEFAULT_wxUSE_TOOLTIPS=no
10353 DEFAULT_wxUSE_TREEBOOK=no
10354 DEFAULT_wxUSE_TOOLBOOK=no
10355 DEFAULT_wxUSE_TREECTRL=no
10356 DEFAULT_wxUSE_POPUPWIN=no
10357 DEFAULT_wxUSE_TIPWINDOW=no
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10373 # Check whether --enable-accel was given.
10374 if test "${enable_accel+set}" = set; then
10375 enableval=$enable_accel;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_accel='wxUSE_ACCEL=yes'
10379 wx_cv_use_accel='wxUSE_ACCEL=no'
10385 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10386 if test "x$LINE" != x ; then
10387 eval "DEFAULT_$LINE"
10390 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10395 eval "$wx_cv_use_accel"
10396 if test "x$cache" = xyes; then
10397 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_ACCEL = yes; then
10407 result=$wxUSE_ACCEL
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10426 # Check whether --enable-animatectrl was given.
10427 if test "${enable_animatectrl+set}" = set; then
10428 enableval=$enable_animatectrl;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10432 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10438 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10443 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10448 eval "$wx_cv_use_animatectrl"
10449 if test "x$cache" = xyes; then
10450 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10453 if test x"$enablestring" = xdisable; then
10454 if test $wxUSE_ANIMATIONCTRL = yes; then
10460 result=$wxUSE_ANIMATIONCTRL
10463 { echo "$as_me:$LINENO: result: $result" >&5
10464 echo "${ECHO_T}$result" >&6; }
10468 defaultval=$wxUSE_ALL_FEATURES
10469 if test -z "$defaultval"; then
10470 if test x"$enablestring" = xdisable; then
10477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10479 # Check whether --enable-button was given.
10480 if test "${enable_button+set}" = set; then
10481 enableval=$enable_button;
10482 if test "$enableval" = yes; then
10483 wx_cv_use_button='wxUSE_BUTTON=yes'
10485 wx_cv_use_button='wxUSE_BUTTON=no'
10491 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10492 if test "x$LINE" != x ; then
10493 eval "DEFAULT_$LINE"
10496 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10501 eval "$wx_cv_use_button"
10502 if test "x$cache" = xyes; then
10503 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_BUTTON = yes; then
10513 result=$wxUSE_BUTTON
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10532 # Check whether --enable-bmpbutton was given.
10533 if test "${enable_bmpbutton+set}" = set; then
10534 enableval=$enable_bmpbutton;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10538 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10544 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10545 if test "x$LINE" != x ; then
10546 eval "DEFAULT_$LINE"
10549 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10554 eval "$wx_cv_use_bmpbutton"
10555 if test "x$cache" = xyes; then
10556 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10559 if test x"$enablestring" = xdisable; then
10560 if test $wxUSE_BMPBUTTON = yes; then
10566 result=$wxUSE_BMPBUTTON
10569 { echo "$as_me:$LINENO: result: $result" >&5
10570 echo "${ECHO_T}$result" >&6; }
10574 defaultval=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x"$enablestring" = xdisable; then
10583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10585 # Check whether --enable-bmpcombobox was given.
10586 if test "${enable_bmpcombobox+set}" = set; then
10587 enableval=$enable_bmpcombobox;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10591 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10597 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10602 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10607 eval "$wx_cv_use_bmpcombobox"
10608 if test "x$cache" = xyes; then
10609 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10619 result=$wxUSE_BITMAPCOMBOBOX
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10638 # Check whether --enable-calendar was given.
10639 if test "${enable_calendar+set}" = set; then
10640 enableval=$enable_calendar;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10644 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10650 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10655 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10660 eval "$wx_cv_use_calendar"
10661 if test "x$cache" = xyes; then
10662 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_CALCTRL = yes; then
10672 result=$wxUSE_CALCTRL
10675 { echo "$as_me:$LINENO: result: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10690 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10691 # Check whether --enable-caret was given.
10692 if test "${enable_caret+set}" = set; then
10693 enableval=$enable_caret;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_caret='wxUSE_CARET=yes'
10697 wx_cv_use_caret='wxUSE_CARET=no'
10703 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10704 if test "x$LINE" != x ; then
10705 eval "DEFAULT_$LINE"
10708 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10713 eval "$wx_cv_use_caret"
10714 if test "x$cache" = xyes; then
10715 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10718 if test x"$enablestring" = xdisable; then
10719 if test $wxUSE_CARET = yes; then
10725 result=$wxUSE_CARET
10728 { echo "$as_me:$LINENO: result: $result" >&5
10729 echo "${ECHO_T}$result" >&6; }
10733 defaultval=$wxUSE_ALL_FEATURES
10734 if test -z "$defaultval"; then
10735 if test x"$enablestring" = xdisable; then
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10744 # Check whether --enable-checkbox was given.
10745 if test "${enable_checkbox+set}" = set; then
10746 enableval=$enable_checkbox;
10747 if test "$enableval" = yes; then
10748 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10750 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10756 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10761 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10766 eval "$wx_cv_use_checkbox"
10767 if test "x$cache" = xyes; then
10768 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10771 if test x"$enablestring" = xdisable; then
10772 if test $wxUSE_CHECKBOX = yes; then
10778 result=$wxUSE_CHECKBOX
10781 { echo "$as_me:$LINENO: result: $result" >&5
10782 echo "${ECHO_T}$result" >&6; }
10786 defaultval=$wxUSE_ALL_FEATURES
10787 if test -z "$defaultval"; then
10788 if test x"$enablestring" = xdisable; then
10795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10796 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10797 # Check whether --enable-checklst was given.
10798 if test "${enable_checklst+set}" = set; then
10799 enableval=$enable_checklst;
10800 if test "$enableval" = yes; then
10801 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10803 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10809 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10810 if test "x$LINE" != x ; then
10811 eval "DEFAULT_$LINE"
10814 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10819 eval "$wx_cv_use_checklst"
10820 if test "x$cache" = xyes; then
10821 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10824 if test x"$enablestring" = xdisable; then
10825 if test $wxUSE_CHECKLST = yes; then
10831 result=$wxUSE_CHECKLST
10834 { echo "$as_me:$LINENO: result: $result" >&5
10835 echo "${ECHO_T}$result" >&6; }
10839 defaultval=$wxUSE_ALL_FEATURES
10840 if test -z "$defaultval"; then
10841 if test x"$enablestring" = xdisable; then
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10850 # Check whether --enable-choice was given.
10851 if test "${enable_choice+set}" = set; then
10852 enableval=$enable_choice;
10853 if test "$enableval" = yes; then
10854 wx_cv_use_choice='wxUSE_CHOICE=yes'
10856 wx_cv_use_choice='wxUSE_CHOICE=no'
10862 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10867 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10872 eval "$wx_cv_use_choice"
10873 if test "x$cache" = xyes; then
10874 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_CHOICE = yes; then
10884 result=$wxUSE_CHOICE
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10903 # Check whether --enable-choicebook was given.
10904 if test "${enable_choicebook+set}" = set; then
10905 enableval=$enable_choicebook;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10909 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10915 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10916 if test "x$LINE" != x ; then
10917 eval "DEFAULT_$LINE"
10920 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10925 eval "$wx_cv_use_choicebook"
10926 if test "x$cache" = xyes; then
10927 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10930 if test x"$enablestring" = xdisable; then
10931 if test $wxUSE_CHOICEBOOK = yes; then
10937 result=$wxUSE_CHOICEBOOK
10940 { echo "$as_me:$LINENO: result: $result" >&5
10941 echo "${ECHO_T}$result" >&6; }
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10955 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10956 # Check whether --enable-collpane was given.
10957 if test "${enable_collpane+set}" = set; then
10958 enableval=$enable_collpane;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10962 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10968 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10973 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10978 eval "$wx_cv_use_collpane"
10979 if test "x$cache" = xyes; then
10980 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10983 if test x"$enablestring" = xdisable; then
10984 if test $wxUSE_COLLPANE = yes; then
10990 result=$wxUSE_COLLPANE
10993 { echo "$as_me:$LINENO: result: $result" >&5
10994 echo "${ECHO_T}$result" >&6; }
10998 defaultval=$wxUSE_ALL_FEATURES
10999 if test -z "$defaultval"; then
11000 if test x"$enablestring" = xdisable; then
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11009 # Check whether --enable-colourpicker was given.
11010 if test "${enable_colourpicker+set}" = set; then
11011 enableval=$enable_colourpicker;
11012 if test "$enableval" = yes; then
11013 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11015 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11021 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11026 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11031 eval "$wx_cv_use_colourpicker"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_COLOURPICKERCTRL = yes; then
11043 result=$wxUSE_COLOURPICKERCTRL
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11062 # Check whether --enable-combobox was given.
11063 if test "${enable_combobox+set}" = set; then
11064 enableval=$enable_combobox;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11068 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11074 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11079 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11084 eval "$wx_cv_use_combobox"
11085 if test "x$cache" = xyes; then
11086 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11089 if test x"$enablestring" = xdisable; then
11090 if test $wxUSE_COMBOBOX = yes; then
11096 result=$wxUSE_COMBOBOX
11099 { echo "$as_me:$LINENO: result: $result" >&5
11100 echo "${ECHO_T}$result" >&6; }
11104 defaultval=$wxUSE_ALL_FEATURES
11105 if test -z "$defaultval"; then
11106 if test x"$enablestring" = xdisable; then
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11115 # Check whether --enable-comboctrl was given.
11116 if test "${enable_comboctrl+set}" = set; then
11117 enableval=$enable_comboctrl;
11118 if test "$enableval" = yes; then
11119 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11121 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11127 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11132 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11137 eval "$wx_cv_use_comboctrl"
11138 if test "x$cache" = xyes; then
11139 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_COMBOCTRL = yes; then
11149 result=$wxUSE_COMBOCTRL
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11168 # Check whether --enable-datepick was given.
11169 if test "${enable_datepick+set}" = set; then
11170 enableval=$enable_datepick;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11174 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11180 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x ; then
11182 eval "DEFAULT_$LINE"
11185 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11190 eval "$wx_cv_use_datepick"
11191 if test "x$cache" = xyes; then
11192 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11195 if test x"$enablestring" = xdisable; then
11196 if test $wxUSE_DATEPICKCTRL = yes; then
11202 result=$wxUSE_DATEPICKCTRL
11205 { echo "$as_me:$LINENO: result: $result" >&5
11206 echo "${ECHO_T}$result" >&6; }
11210 defaultval=$wxUSE_ALL_FEATURES
11211 if test -z "$defaultval"; then
11212 if test x"$enablestring" = xdisable; then
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11221 # Check whether --enable-dirpicker was given.
11222 if test "${enable_dirpicker+set}" = set; then
11223 enableval=$enable_dirpicker;
11224 if test "$enableval" = yes; then
11225 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11233 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11238 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11243 eval "$wx_cv_use_dirpicker"
11244 if test "x$cache" = xyes; then
11245 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11248 if test x"$enablestring" = xdisable; then
11249 if test $wxUSE_DIRPICKERCTRL = yes; then
11255 result=$wxUSE_DIRPICKERCTRL
11258 { echo "$as_me:$LINENO: result: $result" >&5
11259 echo "${ECHO_T}$result" >&6; }
11263 defaultval=$wxUSE_ALL_FEATURES
11264 if test -z "$defaultval"; then
11265 if test x"$enablestring" = xdisable; then
11272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11273 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11274 # Check whether --enable-display was given.
11275 if test "${enable_display+set}" = set; then
11276 enableval=$enable_display;
11277 if test "$enableval" = yes; then
11278 wx_cv_use_display='wxUSE_DISPLAY=yes'
11280 wx_cv_use_display='wxUSE_DISPLAY=no'
11286 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11287 if test "x$LINE" != x ; then
11288 eval "DEFAULT_$LINE"
11291 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11296 eval "$wx_cv_use_display"
11297 if test "x$cache" = xyes; then
11298 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11301 if test x"$enablestring" = xdisable; then
11302 if test $wxUSE_DISPLAY = yes; then
11308 result=$wxUSE_DISPLAY
11311 { echo "$as_me:$LINENO: result: $result" >&5
11312 echo "${ECHO_T}$result" >&6; }
11316 defaultval=$wxUSE_ALL_FEATURES
11317 if test -z "$defaultval"; then
11318 if test x"$enablestring" = xdisable; then
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11327 # Check whether --enable-detect_sm was given.
11328 if test "${enable_detect_sm+set}" = set; then
11329 enableval=$enable_detect_sm;
11330 if test "$enableval" = yes; then
11331 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11333 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11339 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11344 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11349 eval "$wx_cv_use_detect_sm"
11350 if test "x$cache" = xyes; then
11351 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_DETECT_SM = yes; then
11361 result=$wxUSE_DETECT_SM
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11380 # Check whether --enable-editablebox was given.
11381 if test "${enable_editablebox+set}" = set; then
11382 enableval=$enable_editablebox;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11386 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11392 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11393 if test "x$LINE" != x ; then
11394 eval "DEFAULT_$LINE"
11397 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11402 eval "$wx_cv_use_editablebox"
11403 if test "x$cache" = xyes; then
11404 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_EDITABLELISTBOX = yes; then
11414 result=$wxUSE_EDITABLELISTBOX
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11433 # Check whether --enable-filepicker was given.
11434 if test "${enable_filepicker+set}" = set; then
11435 enableval=$enable_filepicker;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11439 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11445 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11446 if test "x$LINE" != x ; then
11447 eval "DEFAULT_$LINE"
11450 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11455 eval "$wx_cv_use_filepicker"
11456 if test "x$cache" = xyes; then
11457 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11460 if test x"$enablestring" = xdisable; then
11461 if test $wxUSE_FILEPICKERCTRL = yes; then
11467 result=$wxUSE_FILEPICKERCTRL
11470 { echo "$as_me:$LINENO: result: $result" >&5
11471 echo "${ECHO_T}$result" >&6; }
11475 defaultval=$wxUSE_ALL_FEATURES
11476 if test -z "$defaultval"; then
11477 if test x"$enablestring" = xdisable; then
11484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11485 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11486 # Check whether --enable-fontpicker was given.
11487 if test "${enable_fontpicker+set}" = set; then
11488 enableval=$enable_fontpicker;
11489 if test "$enableval" = yes; then
11490 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11492 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11498 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11503 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11508 eval "$wx_cv_use_fontpicker"
11509 if test "x$cache" = xyes; then
11510 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_FONTPICKERCTRL = yes; then
11520 result=$wxUSE_FONTPICKERCTRL
11523 { echo "$as_me:$LINENO: result: $result" >&5
11524 echo "${ECHO_T}$result" >&6; }
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11538 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11539 # Check whether --enable-gauge was given.
11540 if test "${enable_gauge+set}" = set; then
11541 enableval=$enable_gauge;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11545 wx_cv_use_gauge='wxUSE_GAUGE=no'
11551 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11552 if test "x$LINE" != x ; then
11553 eval "DEFAULT_$LINE"
11556 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11561 eval "$wx_cv_use_gauge"
11562 if test "x$cache" = xyes; then
11563 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11566 if test x"$enablestring" = xdisable; then
11567 if test $wxUSE_GAUGE = yes; then
11573 result=$wxUSE_GAUGE
11576 { echo "$as_me:$LINENO: result: $result" >&5
11577 echo "${ECHO_T}$result" >&6; }
11581 defaultval=$wxUSE_ALL_FEATURES
11582 if test -z "$defaultval"; then
11583 if test x"$enablestring" = xdisable; then
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11592 # Check whether --enable-grid was given.
11593 if test "${enable_grid+set}" = set; then
11594 enableval=$enable_grid;
11595 if test "$enableval" = yes; then
11596 wx_cv_use_grid='wxUSE_GRID=yes'
11598 wx_cv_use_grid='wxUSE_GRID=no'
11604 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11609 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11614 eval "$wx_cv_use_grid"
11615 if test "x$cache" = xyes; then
11616 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_GRID = yes; then
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11645 # Check whether --enable-dataviewctrl was given.
11646 if test "${enable_dataviewctrl+set}" = set; then
11647 enableval=$enable_dataviewctrl;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11651 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11657 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11658 if test "x$LINE" != x ; then
11659 eval "DEFAULT_$LINE"
11662 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11667 eval "$wx_cv_use_dataviewctrl"
11668 if test "x$cache" = xyes; then
11669 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_DATAVIEWCTRL = yes; then
11679 result=$wxUSE_DATAVIEWCTRL
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11698 # Check whether --enable-hyperlink was given.
11699 if test "${enable_hyperlink+set}" = set; then
11700 enableval=$enable_hyperlink;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11704 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11710 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11715 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11720 eval "$wx_cv_use_hyperlink"
11721 if test "x$cache" = xyes; then
11722 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_HYPERLINKCTRL = yes; then
11732 result=$wxUSE_HYPERLINKCTRL
11735 { echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6; }
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z "$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11751 # Check whether --enable-imaglist was given.
11752 if test "${enable_imaglist+set}" = set; then
11753 enableval=$enable_imaglist;
11754 if test "$enableval" = yes; then
11755 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11757 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11763 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11764 if test "x$LINE" != x ; then
11765 eval "DEFAULT_$LINE"
11768 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11773 eval "$wx_cv_use_imaglist"
11774 if test "x$cache" = xyes; then
11775 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11778 if test x"$enablestring" = xdisable; then
11779 if test $wxUSE_IMAGLIST = yes; then
11785 result=$wxUSE_IMAGLIST
11788 { echo "$as_me:$LINENO: result: $result" >&5
11789 echo "${ECHO_T}$result" >&6; }
11793 defaultval=$wxUSE_ALL_FEATURES
11794 if test -z "$defaultval"; then
11795 if test x"$enablestring" = xdisable; then
11802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11803 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11804 # Check whether --enable-listbook was given.
11805 if test "${enable_listbook+set}" = set; then
11806 enableval=$enable_listbook;
11807 if test "$enableval" = yes; then
11808 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11810 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11816 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11817 if test "x$LINE" != x ; then
11818 eval "DEFAULT_$LINE"
11821 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11826 eval "$wx_cv_use_listbook"
11827 if test "x$cache" = xyes; then
11828 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_LISTBOOK = yes; then
11838 result=$wxUSE_LISTBOOK
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11857 # Check whether --enable-listbox was given.
11858 if test "${enable_listbox+set}" = set; then
11859 enableval=$enable_listbox;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11863 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11869 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11870 if test "x$LINE" != x ; then
11871 eval "DEFAULT_$LINE"
11874 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11879 eval "$wx_cv_use_listbox"
11880 if test "x$cache" = xyes; then
11881 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11884 if test x"$enablestring" = xdisable; then
11885 if test $wxUSE_LISTBOX = yes; then
11891 result=$wxUSE_LISTBOX
11894 { echo "$as_me:$LINENO: result: $result" >&5
11895 echo "${ECHO_T}$result" >&6; }
11899 defaultval=$wxUSE_ALL_FEATURES
11900 if test -z "$defaultval"; then
11901 if test x"$enablestring" = xdisable; then
11908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11909 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11910 # Check whether --enable-listctrl was given.
11911 if test "${enable_listctrl+set}" = set; then
11912 enableval=$enable_listctrl;
11913 if test "$enableval" = yes; then
11914 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11916 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11922 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11923 if test "x$LINE" != x ; then
11924 eval "DEFAULT_$LINE"
11927 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11932 eval "$wx_cv_use_listctrl"
11933 if test "x$cache" = xyes; then
11934 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_LISTCTRL = yes; then
11944 result=$wxUSE_LISTCTRL
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11963 # Check whether --enable-notebook was given.
11964 if test "${enable_notebook+set}" = set; then
11965 enableval=$enable_notebook;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11969 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11975 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11980 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11985 eval "$wx_cv_use_notebook"
11986 if test "x$cache" = xyes; then
11987 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11990 if test x"$enablestring" = xdisable; then
11991 if test $wxUSE_NOTEBOOK = yes; then
11997 result=$wxUSE_NOTEBOOK
12000 { echo "$as_me:$LINENO: result: $result" >&5
12001 echo "${ECHO_T}$result" >&6; }
12005 defaultval=$wxUSE_ALL_FEATURES
12006 if test -z "$defaultval"; then
12007 if test x"$enablestring" = xdisable; then
12014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12016 # Check whether --enable-odcombobox was given.
12017 if test "${enable_odcombobox+set}" = set; then
12018 enableval=$enable_odcombobox;
12019 if test "$enableval" = yes; then
12020 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12022 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12028 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12029 if test "x$LINE" != x ; then
12030 eval "DEFAULT_$LINE"
12033 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12038 eval "$wx_cv_use_odcombobox"
12039 if test "x$cache" = xyes; then
12040 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_ODCOMBOBOX = yes; then
12050 result=$wxUSE_ODCOMBOBOX
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12069 # Check whether --enable-radiobox was given.
12070 if test "${enable_radiobox+set}" = set; then
12071 enableval=$enable_radiobox;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12075 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12081 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12086 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12091 eval "$wx_cv_use_radiobox"
12092 if test "x$cache" = xyes; then
12093 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_RADIOBOX = yes; then
12103 result=$wxUSE_RADIOBOX
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12122 # Check whether --enable-radiobtn was given.
12123 if test "${enable_radiobtn+set}" = set; then
12124 enableval=$enable_radiobtn;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12128 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12134 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12135 if test "x$LINE" != x ; then
12136 eval "DEFAULT_$LINE"
12139 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12144 eval "$wx_cv_use_radiobtn"
12145 if test "x$cache" = xyes; then
12146 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_RADIOBTN = yes; then
12156 result=$wxUSE_RADIOBTN
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12175 # Check whether --enable-sash was given.
12176 if test "${enable_sash+set}" = set; then
12177 enableval=$enable_sash;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_sash='wxUSE_SASH=yes'
12181 wx_cv_use_sash='wxUSE_SASH=no'
12187 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12188 if test "x$LINE" != x ; then
12189 eval "DEFAULT_$LINE"
12192 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12197 eval "$wx_cv_use_sash"
12198 if test "x$cache" = xyes; then
12199 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_SASH = yes; then
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12228 # Check whether --enable-scrollbar was given.
12229 if test "${enable_scrollbar+set}" = set; then
12230 enableval=$enable_scrollbar;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12234 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12240 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12241 if test "x$LINE" != x ; then
12242 eval "DEFAULT_$LINE"
12245 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12250 eval "$wx_cv_use_scrollbar"
12251 if test "x$cache" = xyes; then
12252 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12255 if test x"$enablestring" = xdisable; then
12256 if test $wxUSE_SCROLLBAR = yes; then
12262 result=$wxUSE_SCROLLBAR
12265 { echo "$as_me:$LINENO: result: $result" >&5
12266 echo "${ECHO_T}$result" >&6; }
12270 defaultval=$wxUSE_ALL_FEATURES
12271 if test -z "$defaultval"; then
12272 if test x"$enablestring" = xdisable; then
12279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12280 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12281 # Check whether --enable-searchctrl was given.
12282 if test "${enable_searchctrl+set}" = set; then
12283 enableval=$enable_searchctrl;
12284 if test "$enableval" = yes; then
12285 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12287 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12293 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12294 if test "x$LINE" != x ; then
12295 eval "DEFAULT_$LINE"
12298 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12303 eval "$wx_cv_use_searchctrl"
12304 if test "x$cache" = xyes; then
12305 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12308 if test x"$enablestring" = xdisable; then
12309 if test $wxUSE_SEARCHCTRL = yes; then
12315 result=$wxUSE_SEARCHCTRL
12318 { echo "$as_me:$LINENO: result: $result" >&5
12319 echo "${ECHO_T}$result" >&6; }
12323 defaultval=$wxUSE_ALL_FEATURES
12324 if test -z "$defaultval"; then
12325 if test x"$enablestring" = xdisable; then
12332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12333 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12334 # Check whether --enable-slider was given.
12335 if test "${enable_slider+set}" = set; then
12336 enableval=$enable_slider;
12337 if test "$enableval" = yes; then
12338 wx_cv_use_slider='wxUSE_SLIDER=yes'
12340 wx_cv_use_slider='wxUSE_SLIDER=no'
12346 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12347 if test "x$LINE" != x ; then
12348 eval "DEFAULT_$LINE"
12351 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12356 eval "$wx_cv_use_slider"
12357 if test "x$cache" = xyes; then
12358 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_SLIDER = yes; then
12368 result=$wxUSE_SLIDER
12371 { echo "$as_me:$LINENO: result: $result" >&5
12372 echo "${ECHO_T}$result" >&6; }
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12386 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12387 # Check whether --enable-spinbtn was given.
12388 if test "${enable_spinbtn+set}" = set; then
12389 enableval=$enable_spinbtn;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12393 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12399 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12400 if test "x$LINE" != x ; then
12401 eval "DEFAULT_$LINE"
12404 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12409 eval "$wx_cv_use_spinbtn"
12410 if test "x$cache" = xyes; then
12411 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12414 if test x"$enablestring" = xdisable; then
12415 if test $wxUSE_SPINBTN = yes; then
12421 result=$wxUSE_SPINBTN
12424 { echo "$as_me:$LINENO: result: $result" >&5
12425 echo "${ECHO_T}$result" >&6; }
12429 defaultval=$wxUSE_ALL_FEATURES
12430 if test -z "$defaultval"; then
12431 if test x"$enablestring" = xdisable; then
12438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12439 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12440 # Check whether --enable-spinctrl was given.
12441 if test "${enable_spinctrl+set}" = set; then
12442 enableval=$enable_spinctrl;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12446 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12452 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12453 if test "x$LINE" != x ; then
12454 eval "DEFAULT_$LINE"
12457 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12462 eval "$wx_cv_use_spinctrl"
12463 if test "x$cache" = xyes; then
12464 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12467 if test x"$enablestring" = xdisable; then
12468 if test $wxUSE_SPINCTRL = yes; then
12474 result=$wxUSE_SPINCTRL
12477 { echo "$as_me:$LINENO: result: $result" >&5
12478 echo "${ECHO_T}$result" >&6; }
12482 defaultval=$wxUSE_ALL_FEATURES
12483 if test -z "$defaultval"; then
12484 if test x"$enablestring" = xdisable; then
12491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12492 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12493 # Check whether --enable-splitter was given.
12494 if test "${enable_splitter+set}" = set; then
12495 enableval=$enable_splitter;
12496 if test "$enableval" = yes; then
12497 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12499 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12505 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12506 if test "x$LINE" != x ; then
12507 eval "DEFAULT_$LINE"
12510 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12515 eval "$wx_cv_use_splitter"
12516 if test "x$cache" = xyes; then
12517 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12520 if test x"$enablestring" = xdisable; then
12521 if test $wxUSE_SPLITTER = yes; then
12527 result=$wxUSE_SPLITTER
12530 { echo "$as_me:$LINENO: result: $result" >&5
12531 echo "${ECHO_T}$result" >&6; }
12535 defaultval=$wxUSE_ALL_FEATURES
12536 if test -z "$defaultval"; then
12537 if test x"$enablestring" = xdisable; then
12544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12546 # Check whether --enable-statbmp was given.
12547 if test "${enable_statbmp+set}" = set; then
12548 enableval=$enable_statbmp;
12549 if test "$enableval" = yes; then
12550 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12552 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12558 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12559 if test "x$LINE" != x ; then
12560 eval "DEFAULT_$LINE"
12563 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12568 eval "$wx_cv_use_statbmp"
12569 if test "x$cache" = xyes; then
12570 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12573 if test x"$enablestring" = xdisable; then
12574 if test $wxUSE_STATBMP = yes; then
12580 result=$wxUSE_STATBMP
12583 { echo "$as_me:$LINENO: result: $result" >&5
12584 echo "${ECHO_T}$result" >&6; }
12588 defaultval=$wxUSE_ALL_FEATURES
12589 if test -z "$defaultval"; then
12590 if test x"$enablestring" = xdisable; then
12597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12598 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12599 # Check whether --enable-statbox was given.
12600 if test "${enable_statbox+set}" = set; then
12601 enableval=$enable_statbox;
12602 if test "$enableval" = yes; then
12603 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12605 wx_cv_use_statbox='wxUSE_STATBOX=no'
12611 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12612 if test "x$LINE" != x ; then
12613 eval "DEFAULT_$LINE"
12616 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12621 eval "$wx_cv_use_statbox"
12622 if test "x$cache" = xyes; then
12623 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12626 if test x"$enablestring" = xdisable; then
12627 if test $wxUSE_STATBOX = yes; then
12633 result=$wxUSE_STATBOX
12636 { echo "$as_me:$LINENO: result: $result" >&5
12637 echo "${ECHO_T}$result" >&6; }
12641 defaultval=$wxUSE_ALL_FEATURES
12642 if test -z "$defaultval"; then
12643 if test x"$enablestring" = xdisable; then
12650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12651 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12652 # Check whether --enable-statline was given.
12653 if test "${enable_statline+set}" = set; then
12654 enableval=$enable_statline;
12655 if test "$enableval" = yes; then
12656 wx_cv_use_statline='wxUSE_STATLINE=yes'
12658 wx_cv_use_statline='wxUSE_STATLINE=no'
12664 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12665 if test "x$LINE" != x ; then
12666 eval "DEFAULT_$LINE"
12669 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12674 eval "$wx_cv_use_statline"
12675 if test "x$cache" = xyes; then
12676 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_STATLINE = yes; then
12686 result=$wxUSE_STATLINE
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12705 # Check whether --enable-stattext was given.
12706 if test "${enable_stattext+set}" = set; then
12707 enableval=$enable_stattext;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12711 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12717 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12718 if test "x$LINE" != x ; then
12719 eval "DEFAULT_$LINE"
12722 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12727 eval "$wx_cv_use_stattext"
12728 if test "x$cache" = xyes; then
12729 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_STATTEXT = yes; then
12739 result=$wxUSE_STATTEXT
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12758 # Check whether --enable-statusbar was given.
12759 if test "${enable_statusbar+set}" = set; then
12760 enableval=$enable_statusbar;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12764 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12770 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12771 if test "x$LINE" != x ; then
12772 eval "DEFAULT_$LINE"
12775 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12780 eval "$wx_cv_use_statusbar"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_STATUSBAR = yes; then
12792 result=$wxUSE_STATUSBAR
12795 { echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12811 # Check whether --enable-tabdialog was given.
12812 if test "${enable_tabdialog+set}" = set; then
12813 enableval=$enable_tabdialog;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12817 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12823 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12828 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12833 eval "$wx_cv_use_tabdialog"
12834 if test "x$cache" = xyes; then
12835 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12838 if test x"$enablestring" = xdisable; then
12839 if test $wxUSE_TAB_DIALOG = yes; then
12845 result=$wxUSE_TAB_DIALOG
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12853 defaultval=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x"$enablestring" = xdisable; then
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12864 # Check whether --enable-taskbaricon was given.
12865 if test "${enable_taskbaricon+set}" = set; then
12866 enableval=$enable_taskbaricon;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12870 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12876 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12877 if test "x$LINE" != x ; then
12878 eval "DEFAULT_$LINE"
12881 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12886 eval "$wx_cv_use_taskbaricon"
12887 if test "x$cache" = xyes; then
12888 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12891 if test x"$enablestring" = xdisable; then
12892 if test $wxUSE_TASKBARICON = yes; then
12898 result=$wxUSE_TASKBARICON
12901 { echo "$as_me:$LINENO: result: $result" >&5
12902 echo "${ECHO_T}$result" >&6; }
12906 defaultval=$wxUSE_ALL_FEATURES
12907 if test -z "$defaultval"; then
12908 if test x"$enablestring" = xdisable; then
12915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12916 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12917 # Check whether --enable-textctrl was given.
12918 if test "${enable_textctrl+set}" = set; then
12919 enableval=$enable_textctrl;
12920 if test "$enableval" = yes; then
12921 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12923 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12929 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12930 if test "x$LINE" != x ; then
12931 eval "DEFAULT_$LINE"
12934 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12939 eval "$wx_cv_use_textctrl"
12940 if test "x$cache" = xyes; then
12941 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12944 if test x"$enablestring" = xdisable; then
12945 if test $wxUSE_TEXTCTRL = yes; then
12951 result=$wxUSE_TEXTCTRL
12954 { echo "$as_me:$LINENO: result: $result" >&5
12955 echo "${ECHO_T}$result" >&6; }
12959 defaultval=$wxUSE_ALL_FEATURES
12960 if test -z "$defaultval"; then
12961 if test x"$enablestring" = xdisable; then
12968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12969 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12970 # Check whether --enable-togglebtn was given.
12971 if test "${enable_togglebtn+set}" = set; then
12972 enableval=$enable_togglebtn;
12973 if test "$enableval" = yes; then
12974 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12976 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12982 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12983 if test "x$LINE" != x ; then
12984 eval "DEFAULT_$LINE"
12987 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12992 eval "$wx_cv_use_togglebtn"
12993 if test "x$cache" = xyes; then
12994 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_TOGGLEBTN = yes; then
13004 result=$wxUSE_TOGGLEBTN
13007 { echo "$as_me:$LINENO: result: $result" >&5
13008 echo "${ECHO_T}$result" >&6; }
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13022 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13023 # Check whether --enable-toolbar was given.
13024 if test "${enable_toolbar+set}" = set; then
13025 enableval=$enable_toolbar;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13029 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13035 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13036 if test "x$LINE" != x ; then
13037 eval "DEFAULT_$LINE"
13040 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13045 eval "$wx_cv_use_toolbar"
13046 if test "x$cache" = xyes; then
13047 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13050 if test x"$enablestring" = xdisable; then
13051 if test $wxUSE_TOOLBAR = yes; then
13057 result=$wxUSE_TOOLBAR
13060 { echo "$as_me:$LINENO: result: $result" >&5
13061 echo "${ECHO_T}$result" >&6; }
13065 defaultval=$wxUSE_ALL_FEATURES
13066 if test -z "$defaultval"; then
13067 if test x"$enablestring" = xdisable; then
13074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13075 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13076 # Check whether --enable-tbarnative was given.
13077 if test "${enable_tbarnative+set}" = set; then
13078 enableval=$enable_tbarnative;
13079 if test "$enableval" = yes; then
13080 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13082 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13088 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13089 if test "x$LINE" != x ; then
13090 eval "DEFAULT_$LINE"
13093 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13098 eval "$wx_cv_use_tbarnative"
13099 if test "x$cache" = xyes; then
13100 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13110 result=$wxUSE_TOOLBAR_NATIVE
13113 { echo "$as_me:$LINENO: result: $result" >&5
13114 echo "${ECHO_T}$result" >&6; }
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z "$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13128 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13129 # Check whether --enable-treebook was given.
13130 if test "${enable_treebook+set}" = set; then
13131 enableval=$enable_treebook;
13132 if test "$enableval" = yes; then
13133 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13135 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13141 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13142 if test "x$LINE" != x ; then
13143 eval "DEFAULT_$LINE"
13146 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13151 eval "$wx_cv_use_treebook"
13152 if test "x$cache" = xyes; then
13153 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13156 if test x"$enablestring" = xdisable; then
13157 if test $wxUSE_TREEBOOK = yes; then
13163 result=$wxUSE_TREEBOOK
13166 { echo "$as_me:$LINENO: result: $result" >&5
13167 echo "${ECHO_T}$result" >&6; }
13171 defaultval=$wxUSE_ALL_FEATURES
13172 if test -z "$defaultval"; then
13173 if test x"$enablestring" = xdisable; then
13180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13181 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13182 # Check whether --enable-toolbook was given.
13183 if test "${enable_toolbook+set}" = set; then
13184 enableval=$enable_toolbook;
13185 if test "$enableval" = yes; then
13186 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13188 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13194 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13195 if test "x$LINE" != x ; then
13196 eval "DEFAULT_$LINE"
13199 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13204 eval "$wx_cv_use_toolbook"
13205 if test "x$cache" = xyes; then
13206 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_TOOLBOOK = yes; then
13216 result=$wxUSE_TOOLBOOK
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13235 # Check whether --enable-treectrl was given.
13236 if test "${enable_treectrl+set}" = set; then
13237 enableval=$enable_treectrl;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13241 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13247 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13248 if test "x$LINE" != x ; then
13249 eval "DEFAULT_$LINE"
13252 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13257 eval "$wx_cv_use_treectrl"
13258 if test "x$cache" = xyes; then
13259 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_TREECTRL = yes; then
13269 result=$wxUSE_TREECTRL
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13288 # Check whether --enable-tipwindow was given.
13289 if test "${enable_tipwindow+set}" = set; then
13290 enableval=$enable_tipwindow;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13294 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13300 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13301 if test "x$LINE" != x ; then
13302 eval "DEFAULT_$LINE"
13305 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13310 eval "$wx_cv_use_tipwindow"
13311 if test "x$cache" = xyes; then
13312 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13315 if test x"$enablestring" = xdisable; then
13316 if test $wxUSE_TIPWINDOW = yes; then
13322 result=$wxUSE_TIPWINDOW
13325 { echo "$as_me:$LINENO: result: $result" >&5
13326 echo "${ECHO_T}$result" >&6; }
13330 defaultval=$wxUSE_ALL_FEATURES
13331 if test -z "$defaultval"; then
13332 if test x"$enablestring" = xdisable; then
13339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13340 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13341 # Check whether --enable-popupwin was given.
13342 if test "${enable_popupwin+set}" = set; then
13343 enableval=$enable_popupwin;
13344 if test "$enableval" = yes; then
13345 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13347 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13353 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13354 if test "x$LINE" != x ; then
13355 eval "DEFAULT_$LINE"
13358 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13363 eval "$wx_cv_use_popupwin"
13364 if test "x$cache" = xyes; then
13365 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13368 if test x"$enablestring" = xdisable; then
13369 if test $wxUSE_POPUPWIN = yes; then
13375 result=$wxUSE_POPUPWIN
13378 { echo "$as_me:$LINENO: result: $result" >&5
13379 echo "${ECHO_T}$result" >&6; }
13385 defaultval=$wxUSE_ALL_FEATURES
13386 if test -z "$defaultval"; then
13387 if test x"$enablestring" = xdisable; then
13394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13395 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13396 # Check whether --enable-commondlg was given.
13397 if test "${enable_commondlg+set}" = set; then
13398 enableval=$enable_commondlg;
13399 if test "$enableval" = yes; then
13400 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13402 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13408 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13409 if test "x$LINE" != x ; then
13410 eval "DEFAULT_$LINE"
13413 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13418 eval "$wx_cv_use_commondlg"
13419 if test "x$cache" = xyes; then
13420 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_COMMONDLGS = yes; then
13430 result=$wxUSE_COMMONDLGS
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13449 # Check whether --enable-aboutdlg was given.
13450 if test "${enable_aboutdlg+set}" = set; then
13451 enableval=$enable_aboutdlg;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13455 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13461 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13462 if test "x$LINE" != x ; then
13463 eval "DEFAULT_$LINE"
13466 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13471 eval "$wx_cv_use_aboutdlg"
13472 if test "x$cache" = xyes; then
13473 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13476 if test x"$enablestring" = xdisable; then
13477 if test $wxUSE_ABOUTDLG = yes; then
13483 result=$wxUSE_ABOUTDLG
13486 { echo "$as_me:$LINENO: result: $result" >&5
13487 echo "${ECHO_T}$result" >&6; }
13491 defaultval=$wxUSE_ALL_FEATURES
13492 if test -z "$defaultval"; then
13493 if test x"$enablestring" = xdisable; then
13500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13501 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13502 # Check whether --enable-choicedlg was given.
13503 if test "${enable_choicedlg+set}" = set; then
13504 enableval=$enable_choicedlg;
13505 if test "$enableval" = yes; then
13506 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13508 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13514 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13515 if test "x$LINE" != x ; then
13516 eval "DEFAULT_$LINE"
13519 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13524 eval "$wx_cv_use_choicedlg"
13525 if test "x$cache" = xyes; then
13526 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_CHOICEDLG = yes; then
13536 result=$wxUSE_CHOICEDLG
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13555 # Check whether --enable-coldlg was given.
13556 if test "${enable_coldlg+set}" = set; then
13557 enableval=$enable_coldlg;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13561 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13567 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13568 if test "x$LINE" != x ; then
13569 eval "DEFAULT_$LINE"
13572 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13577 eval "$wx_cv_use_coldlg"
13578 if test "x$cache" = xyes; then
13579 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13582 if test x"$enablestring" = xdisable; then
13583 if test $wxUSE_COLOURDLG = yes; then
13589 result=$wxUSE_COLOURDLG
13592 { echo "$as_me:$LINENO: result: $result" >&5
13593 echo "${ECHO_T}$result" >&6; }
13597 defaultval=$wxUSE_ALL_FEATURES
13598 if test -z "$defaultval"; then
13599 if test x"$enablestring" = xdisable; then
13606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13607 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13608 # Check whether --enable-filedlg was given.
13609 if test "${enable_filedlg+set}" = set; then
13610 enableval=$enable_filedlg;
13611 if test "$enableval" = yes; then
13612 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13614 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13620 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13621 if test "x$LINE" != x ; then
13622 eval "DEFAULT_$LINE"
13625 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13630 eval "$wx_cv_use_filedlg"
13631 if test "x$cache" = xyes; then
13632 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13635 if test x"$enablestring" = xdisable; then
13636 if test $wxUSE_FILEDLG = yes; then
13642 result=$wxUSE_FILEDLG
13645 { echo "$as_me:$LINENO: result: $result" >&5
13646 echo "${ECHO_T}$result" >&6; }
13650 defaultval=$wxUSE_ALL_FEATURES
13651 if test -z "$defaultval"; then
13652 if test x"$enablestring" = xdisable; then
13659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13660 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13661 # Check whether --enable-finddlg was given.
13662 if test "${enable_finddlg+set}" = set; then
13663 enableval=$enable_finddlg;
13664 if test "$enableval" = yes; then
13665 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13667 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13673 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13674 if test "x$LINE" != x ; then
13675 eval "DEFAULT_$LINE"
13678 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13683 eval "$wx_cv_use_finddlg"
13684 if test "x$cache" = xyes; then
13685 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13688 if test x"$enablestring" = xdisable; then
13689 if test $wxUSE_FINDREPLDLG = yes; then
13695 result=$wxUSE_FINDREPLDLG
13698 { echo "$as_me:$LINENO: result: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13703 defaultval=$wxUSE_ALL_FEATURES
13704 if test -z "$defaultval"; then
13705 if test x"$enablestring" = xdisable; then
13712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13713 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13714 # Check whether --enable-fontdlg was given.
13715 if test "${enable_fontdlg+set}" = set; then
13716 enableval=$enable_fontdlg;
13717 if test "$enableval" = yes; then
13718 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13720 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13726 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13727 if test "x$LINE" != x ; then
13728 eval "DEFAULT_$LINE"
13731 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13736 eval "$wx_cv_use_fontdlg"
13737 if test "x$cache" = xyes; then
13738 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_FONTDLG = yes; then
13748 result=$wxUSE_FONTDLG
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13767 # Check whether --enable-dirdlg was given.
13768 if test "${enable_dirdlg+set}" = set; then
13769 enableval=$enable_dirdlg;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13773 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13779 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13780 if test "x$LINE" != x ; then
13781 eval "DEFAULT_$LINE"
13784 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13789 eval "$wx_cv_use_dirdlg"
13790 if test "x$cache" = xyes; then
13791 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_DIRDLG = yes; then
13801 result=$wxUSE_DIRDLG
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13820 # Check whether --enable-msgdlg was given.
13821 if test "${enable_msgdlg+set}" = set; then
13822 enableval=$enable_msgdlg;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13826 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13832 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13833 if test "x$LINE" != x ; then
13834 eval "DEFAULT_$LINE"
13837 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13842 eval "$wx_cv_use_msgdlg"
13843 if test "x$cache" = xyes; then
13844 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13847 if test x"$enablestring" = xdisable; then
13848 if test $wxUSE_MSGDLG = yes; then
13854 result=$wxUSE_MSGDLG
13857 { echo "$as_me:$LINENO: result: $result" >&5
13858 echo "${ECHO_T}$result" >&6; }
13862 defaultval=$wxUSE_ALL_FEATURES
13863 if test -z "$defaultval"; then
13864 if test x"$enablestring" = xdisable; then
13871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13872 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13873 # Check whether --enable-numberdlg was given.
13874 if test "${enable_numberdlg+set}" = set; then
13875 enableval=$enable_numberdlg;
13876 if test "$enableval" = yes; then
13877 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13879 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13885 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13886 if test "x$LINE" != x ; then
13887 eval "DEFAULT_$LINE"
13890 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13895 eval "$wx_cv_use_numberdlg"
13896 if test "x$cache" = xyes; then
13897 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_NUMBERDLG = yes; then
13907 result=$wxUSE_NUMBERDLG
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13926 # Check whether --enable-splash was given.
13927 if test "${enable_splash+set}" = set; then
13928 enableval=$enable_splash;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_splash='wxUSE_SPLASH=yes'
13932 wx_cv_use_splash='wxUSE_SPLASH=no'
13938 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13939 if test "x$LINE" != x ; then
13940 eval "DEFAULT_$LINE"
13943 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13948 eval "$wx_cv_use_splash"
13949 if test "x$cache" = xyes; then
13950 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_SPLASH = yes; then
13960 result=$wxUSE_SPLASH
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13979 # Check whether --enable-textdlg was given.
13980 if test "${enable_textdlg+set}" = set; then
13981 enableval=$enable_textdlg;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13985 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13991 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13992 if test "x$LINE" != x ; then
13993 eval "DEFAULT_$LINE"
13996 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14001 eval "$wx_cv_use_textdlg"
14002 if test "x$cache" = xyes; then
14003 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14006 if test x"$enablestring" = xdisable; then
14007 if test $wxUSE_TEXTDLG = yes; then
14013 result=$wxUSE_TEXTDLG
14016 { echo "$as_me:$LINENO: result: $result" >&5
14017 echo "${ECHO_T}$result" >&6; }
14021 defaultval=$wxUSE_ALL_FEATURES
14022 if test -z "$defaultval"; then
14023 if test x"$enablestring" = xdisable; then
14030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14031 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14032 # Check whether --enable-tipdlg was given.
14033 if test "${enable_tipdlg+set}" = set; then
14034 enableval=$enable_tipdlg;
14035 if test "$enableval" = yes; then
14036 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14038 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14044 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14045 if test "x$LINE" != x ; then
14046 eval "DEFAULT_$LINE"
14049 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14054 eval "$wx_cv_use_tipdlg"
14055 if test "x$cache" = xyes; then
14056 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14059 if test x"$enablestring" = xdisable; then
14060 if test $wxUSE_STARTUP_TIPS = yes; then
14066 result=$wxUSE_STARTUP_TIPS
14069 { echo "$as_me:$LINENO: result: $result" >&5
14070 echo "${ECHO_T}$result" >&6; }
14074 defaultval=$wxUSE_ALL_FEATURES
14075 if test -z "$defaultval"; then
14076 if test x"$enablestring" = xdisable; then
14083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14084 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14085 # Check whether --enable-progressdlg was given.
14086 if test "${enable_progressdlg+set}" = set; then
14087 enableval=$enable_progressdlg;
14088 if test "$enableval" = yes; then
14089 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14091 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14097 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14098 if test "x$LINE" != x ; then
14099 eval "DEFAULT_$LINE"
14102 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14107 eval "$wx_cv_use_progressdlg"
14108 if test "x$cache" = xyes; then
14109 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14112 if test x"$enablestring" = xdisable; then
14113 if test $wxUSE_PROGRESSDLG = yes; then
14119 result=$wxUSE_PROGRESSDLG
14122 { echo "$as_me:$LINENO: result: $result" >&5
14123 echo "${ECHO_T}$result" >&6; }
14127 defaultval=$wxUSE_ALL_FEATURES
14128 if test -z "$defaultval"; then
14129 if test x"$enablestring" = xdisable; then
14136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14137 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14138 # Check whether --enable-wizarddlg was given.
14139 if test "${enable_wizarddlg+set}" = set; then
14140 enableval=$enable_wizarddlg;
14141 if test "$enableval" = yes; then
14142 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14144 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14150 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14151 if test "x$LINE" != x ; then
14152 eval "DEFAULT_$LINE"
14155 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14160 eval "$wx_cv_use_wizarddlg"
14161 if test "x$cache" = xyes; then
14162 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14165 if test x"$enablestring" = xdisable; then
14166 if test $wxUSE_WIZARDDLG = yes; then
14172 result=$wxUSE_WIZARDDLG
14175 { echo "$as_me:$LINENO: result: $result" >&5
14176 echo "${ECHO_T}$result" >&6; }
14182 defaultval=$wxUSE_ALL_FEATURES
14183 if test -z "$defaultval"; then
14184 if test x"$enablestring" = xdisable; then
14191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14192 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14193 # Check whether --enable-menus was given.
14194 if test "${enable_menus+set}" = set; then
14195 enableval=$enable_menus;
14196 if test "$enableval" = yes; then
14197 wx_cv_use_menus='wxUSE_MENUS=yes'
14199 wx_cv_use_menus='wxUSE_MENUS=no'
14205 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14206 if test "x$LINE" != x ; then
14207 eval "DEFAULT_$LINE"
14210 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14215 eval "$wx_cv_use_menus"
14216 if test "x$cache" = xyes; then
14217 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14220 if test x"$enablestring" = xdisable; then
14221 if test $wxUSE_MENUS = yes; then
14227 result=$wxUSE_MENUS
14230 { echo "$as_me:$LINENO: result: $result" >&5
14231 echo "${ECHO_T}$result" >&6; }
14235 defaultval=$wxUSE_ALL_FEATURES
14236 if test -z "$defaultval"; then
14237 if test x"$enablestring" = xdisable; then
14244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14245 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14246 # Check whether --enable-miniframe was given.
14247 if test "${enable_miniframe+set}" = set; then
14248 enableval=$enable_miniframe;
14249 if test "$enableval" = yes; then
14250 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14252 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14258 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14259 if test "x$LINE" != x ; then
14260 eval "DEFAULT_$LINE"
14263 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14268 eval "$wx_cv_use_miniframe"
14269 if test "x$cache" = xyes; then
14270 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14273 if test x"$enablestring" = xdisable; then
14274 if test $wxUSE_MINIFRAME = yes; then
14280 result=$wxUSE_MINIFRAME
14283 { echo "$as_me:$LINENO: result: $result" >&5
14284 echo "${ECHO_T}$result" >&6; }
14288 defaultval=$wxUSE_ALL_FEATURES
14289 if test -z "$defaultval"; then
14290 if test x"$enablestring" = xdisable; then
14297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14298 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14299 # Check whether --enable-tooltips was given.
14300 if test "${enable_tooltips+set}" = set; then
14301 enableval=$enable_tooltips;
14302 if test "$enableval" = yes; then
14303 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14305 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14311 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14312 if test "x$LINE" != x ; then
14313 eval "DEFAULT_$LINE"
14316 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14321 eval "$wx_cv_use_tooltips"
14322 if test "x$cache" = xyes; then
14323 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14326 if test x"$enablestring" = xdisable; then
14327 if test $wxUSE_TOOLTIPS = yes; then
14333 result=$wxUSE_TOOLTIPS
14336 { echo "$as_me:$LINENO: result: $result" >&5
14337 echo "${ECHO_T}$result" >&6; }
14341 defaultval=$wxUSE_ALL_FEATURES
14342 if test -z "$defaultval"; then
14343 if test x"$enablestring" = xdisable; then
14350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14351 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14352 # Check whether --enable-splines was given.
14353 if test "${enable_splines+set}" = set; then
14354 enableval=$enable_splines;
14355 if test "$enableval" = yes; then
14356 wx_cv_use_splines='wxUSE_SPLINES=yes'
14358 wx_cv_use_splines='wxUSE_SPLINES=no'
14364 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14365 if test "x$LINE" != x ; then
14366 eval "DEFAULT_$LINE"
14369 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14374 eval "$wx_cv_use_splines"
14375 if test "x$cache" = xyes; then
14376 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14379 if test x"$enablestring" = xdisable; then
14380 if test $wxUSE_SPLINES = yes; then
14386 result=$wxUSE_SPLINES
14389 { echo "$as_me:$LINENO: result: $result" >&5
14390 echo "${ECHO_T}$result" >&6; }
14394 defaultval=$wxUSE_ALL_FEATURES
14395 if test -z "$defaultval"; then
14396 if test x"$enablestring" = xdisable; then
14403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14404 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14405 # Check whether --enable-mousewheel was given.
14406 if test "${enable_mousewheel+set}" = set; then
14407 enableval=$enable_mousewheel;
14408 if test "$enableval" = yes; then
14409 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14411 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14417 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14418 if test "x$LINE" != x ; then
14419 eval "DEFAULT_$LINE"
14422 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14427 eval "$wx_cv_use_mousewheel"
14428 if test "x$cache" = xyes; then
14429 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14432 if test x"$enablestring" = xdisable; then
14433 if test $wxUSE_MOUSEWHEEL = yes; then
14439 result=$wxUSE_MOUSEWHEEL
14442 { echo "$as_me:$LINENO: result: $result" >&5
14443 echo "${ECHO_T}$result" >&6; }
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14457 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14458 # Check whether --enable-validators was given.
14459 if test "${enable_validators+set}" = set; then
14460 enableval=$enable_validators;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14464 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14470 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14471 if test "x$LINE" != x ; then
14472 eval "DEFAULT_$LINE"
14475 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14480 eval "$wx_cv_use_validators"
14481 if test "x$cache" = xyes; then
14482 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_VALIDATORS = yes; then
14492 result=$wxUSE_VALIDATORS
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14511 # Check whether --enable-busyinfo was given.
14512 if test "${enable_busyinfo+set}" = set; then
14513 enableval=$enable_busyinfo;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14517 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14523 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14524 if test "x$LINE" != x ; then
14525 eval "DEFAULT_$LINE"
14528 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14533 eval "$wx_cv_use_busyinfo"
14534 if test "x$cache" = xyes; then
14535 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14538 if test x"$enablestring" = xdisable; then
14539 if test $wxUSE_BUSYINFO = yes; then
14545 result=$wxUSE_BUSYINFO
14548 { echo "$as_me:$LINENO: result: $result" >&5
14549 echo "${ECHO_T}$result" >&6; }
14553 defaultval=$wxUSE_ALL_FEATURES
14554 if test -z "$defaultval"; then
14555 if test x"$enablestring" = xdisable; then
14562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14563 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14564 # Check whether --enable-joystick was given.
14565 if test "${enable_joystick+set}" = set; then
14566 enableval=$enable_joystick;
14567 if test "$enableval" = yes; then
14568 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14570 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14576 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14577 if test "x$LINE" != x ; then
14578 eval "DEFAULT_$LINE"
14581 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14586 eval "$wx_cv_use_joystick"
14587 if test "x$cache" = xyes; then
14588 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14591 if test x"$enablestring" = xdisable; then
14592 if test $wxUSE_JOYSTICK = yes; then
14598 result=$wxUSE_JOYSTICK
14601 { echo "$as_me:$LINENO: result: $result" >&5
14602 echo "${ECHO_T}$result" >&6; }
14606 defaultval=$wxUSE_ALL_FEATURES
14607 if test -z "$defaultval"; then
14608 if test x"$enablestring" = xdisable; then
14615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14616 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14617 # Check whether --enable-metafile was given.
14618 if test "${enable_metafile+set}" = set; then
14619 enableval=$enable_metafile;
14620 if test "$enableval" = yes; then
14621 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14623 wx_cv_use_metafile='wxUSE_METAFILE=no'
14629 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14630 if test "x$LINE" != x ; then
14631 eval "DEFAULT_$LINE"
14634 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14639 eval "$wx_cv_use_metafile"
14640 if test "x$cache" = xyes; then
14641 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14644 if test x"$enablestring" = xdisable; then
14645 if test $wxUSE_METAFILE = yes; then
14651 result=$wxUSE_METAFILE
14654 { echo "$as_me:$LINENO: result: $result" >&5
14655 echo "${ECHO_T}$result" >&6; }
14659 defaultval=$wxUSE_ALL_FEATURES
14660 if test -z "$defaultval"; then
14661 if test x"$enablestring" = xdisable; then
14668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14669 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14670 # Check whether --enable-dragimage was given.
14671 if test "${enable_dragimage+set}" = set; then
14672 enableval=$enable_dragimage;
14673 if test "$enableval" = yes; then
14674 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14676 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14682 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14683 if test "x$LINE" != x ; then
14684 eval "DEFAULT_$LINE"
14687 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14692 eval "$wx_cv_use_dragimage"
14693 if test "x$cache" = xyes; then
14694 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14697 if test x"$enablestring" = xdisable; then
14698 if test $wxUSE_DRAGIMAGE = yes; then
14704 result=$wxUSE_DRAGIMAGE
14707 { echo "$as_me:$LINENO: result: $result" >&5
14708 echo "${ECHO_T}$result" >&6; }
14712 defaultval=$wxUSE_ALL_FEATURES
14713 if test -z "$defaultval"; then
14714 if test x"$enablestring" = xdisable; then
14721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14722 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14723 # Check whether --enable-accessibility was given.
14724 if test "${enable_accessibility+set}" = set; then
14725 enableval=$enable_accessibility;
14726 if test "$enableval" = yes; then
14727 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14729 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14735 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14736 if test "x$LINE" != x ; then
14737 eval "DEFAULT_$LINE"
14740 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14745 eval "$wx_cv_use_accessibility"
14746 if test "x$cache" = xyes; then
14747 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14750 if test x"$enablestring" = xdisable; then
14751 if test $wxUSE_ACCESSIBILITY = yes; then
14757 result=$wxUSE_ACCESSIBILITY
14760 { echo "$as_me:$LINENO: result: $result" >&5
14761 echo "${ECHO_T}$result" >&6; }
14767 defaultval=$wxUSE_ALL_FEATURES
14768 if test -z "$defaultval"; then
14769 if test x"$enablestring" = xdisable; then
14776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14777 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14778 # Check whether --enable-palette was given.
14779 if test "${enable_palette+set}" = set; then
14780 enableval=$enable_palette;
14781 if test "$enableval" = yes; then
14782 wx_cv_use_palette='wxUSE_PALETTE=yes'
14784 wx_cv_use_palette='wxUSE_PALETTE=no'
14790 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14791 if test "x$LINE" != x ; then
14792 eval "DEFAULT_$LINE"
14795 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14800 eval "$wx_cv_use_palette"
14801 if test "x$cache" = xyes; then
14802 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_PALETTE = yes; then
14812 result=$wxUSE_PALETTE
14815 { echo "$as_me:$LINENO: result: $result" >&5
14816 echo "${ECHO_T}$result" >&6; }
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14830 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14831 # Check whether --enable-image was given.
14832 if test "${enable_image+set}" = set; then
14833 enableval=$enable_image;
14834 if test "$enableval" = yes; then
14835 wx_cv_use_image='wxUSE_IMAGE=yes'
14837 wx_cv_use_image='wxUSE_IMAGE=no'
14843 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14844 if test "x$LINE" != x ; then
14845 eval "DEFAULT_$LINE"
14848 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14853 eval "$wx_cv_use_image"
14854 if test "x$cache" = xyes; then
14855 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14858 if test x"$enablestring" = xdisable; then
14859 if test $wxUSE_IMAGE = yes; then
14865 result=$wxUSE_IMAGE
14868 { echo "$as_me:$LINENO: result: $result" >&5
14869 echo "${ECHO_T}$result" >&6; }
14873 defaultval=$wxUSE_ALL_FEATURES
14874 if test -z "$defaultval"; then
14875 if test x"$enablestring" = xdisable; then
14882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14883 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14884 # Check whether --enable-gif was given.
14885 if test "${enable_gif+set}" = set; then
14886 enableval=$enable_gif;
14887 if test "$enableval" = yes; then
14888 wx_cv_use_gif='wxUSE_GIF=yes'
14890 wx_cv_use_gif='wxUSE_GIF=no'
14896 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14897 if test "x$LINE" != x ; then
14898 eval "DEFAULT_$LINE"
14901 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14906 eval "$wx_cv_use_gif"
14907 if test "x$cache" = xyes; then
14908 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14911 if test x"$enablestring" = xdisable; then
14912 if test $wxUSE_GIF = yes; then
14921 { echo "$as_me:$LINENO: result: $result" >&5
14922 echo "${ECHO_T}$result" >&6; }
14926 defaultval=$wxUSE_ALL_FEATURES
14927 if test -z "$defaultval"; then
14928 if test x"$enablestring" = xdisable; then
14935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14936 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14937 # Check whether --enable-pcx was given.
14938 if test "${enable_pcx+set}" = set; then
14939 enableval=$enable_pcx;
14940 if test "$enableval" = yes; then
14941 wx_cv_use_pcx='wxUSE_PCX=yes'
14943 wx_cv_use_pcx='wxUSE_PCX=no'
14949 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14950 if test "x$LINE" != x ; then
14951 eval "DEFAULT_$LINE"
14954 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14959 eval "$wx_cv_use_pcx"
14960 if test "x$cache" = xyes; then
14961 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_PCX = yes; then
14974 { echo "$as_me:$LINENO: result: $result" >&5
14975 echo "${ECHO_T}$result" >&6; }
14979 defaultval=$wxUSE_ALL_FEATURES
14980 if test -z "$defaultval"; then
14981 if test x"$enablestring" = xdisable; then
14988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14989 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14990 # Check whether --enable-tga was given.
14991 if test "${enable_tga+set}" = set; then
14992 enableval=$enable_tga;
14993 if test "$enableval" = yes; then
14994 wx_cv_use_tga='wxUSE_TGA=yes'
14996 wx_cv_use_tga='wxUSE_TGA=no'
15002 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15003 if test "x$LINE" != x ; then
15004 eval "DEFAULT_$LINE"
15007 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15012 eval "$wx_cv_use_tga"
15013 if test "x$cache" = xyes; then
15014 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15017 if test x"$enablestring" = xdisable; then
15018 if test $wxUSE_TGA = yes; then
15027 { echo "$as_me:$LINENO: result: $result" >&5
15028 echo "${ECHO_T}$result" >&6; }
15032 defaultval=$wxUSE_ALL_FEATURES
15033 if test -z "$defaultval"; then
15034 if test x"$enablestring" = xdisable; then
15041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15042 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15043 # Check whether --enable-iff was given.
15044 if test "${enable_iff+set}" = set; then
15045 enableval=$enable_iff;
15046 if test "$enableval" = yes; then
15047 wx_cv_use_iff='wxUSE_IFF=yes'
15049 wx_cv_use_iff='wxUSE_IFF=no'
15055 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15056 if test "x$LINE" != x ; then
15057 eval "DEFAULT_$LINE"
15060 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15065 eval "$wx_cv_use_iff"
15066 if test "x$cache" = xyes; then
15067 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15070 if test x"$enablestring" = xdisable; then
15071 if test $wxUSE_IFF = yes; then
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15085 defaultval=$wxUSE_ALL_FEATURES
15086 if test -z "$defaultval"; then
15087 if test x"$enablestring" = xdisable; then
15094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15095 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15096 # Check whether --enable-pnm was given.
15097 if test "${enable_pnm+set}" = set; then
15098 enableval=$enable_pnm;
15099 if test "$enableval" = yes; then
15100 wx_cv_use_pnm='wxUSE_PNM=yes'
15102 wx_cv_use_pnm='wxUSE_PNM=no'
15108 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15109 if test "x$LINE" != x ; then
15110 eval "DEFAULT_$LINE"
15113 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15118 eval "$wx_cv_use_pnm"
15119 if test "x$cache" = xyes; then
15120 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15123 if test x"$enablestring" = xdisable; then
15124 if test $wxUSE_PNM = yes; then
15133 { echo "$as_me:$LINENO: result: $result" >&5
15134 echo "${ECHO_T}$result" >&6; }
15138 defaultval=$wxUSE_ALL_FEATURES
15139 if test -z "$defaultval"; then
15140 if test x"$enablestring" = xdisable; then
15147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15148 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15149 # Check whether --enable-xpm was given.
15150 if test "${enable_xpm+set}" = set; then
15151 enableval=$enable_xpm;
15152 if test "$enableval" = yes; then
15153 wx_cv_use_xpm='wxUSE_XPM=yes'
15155 wx_cv_use_xpm='wxUSE_XPM=no'
15161 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15162 if test "x$LINE" != x ; then
15163 eval "DEFAULT_$LINE"
15166 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15171 eval "$wx_cv_use_xpm"
15172 if test "x$cache" = xyes; then
15173 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15176 if test x"$enablestring" = xdisable; then
15177 if test $wxUSE_XPM = yes; then
15186 { echo "$as_me:$LINENO: result: $result" >&5
15187 echo "${ECHO_T}$result" >&6; }
15191 defaultval=$wxUSE_ALL_FEATURES
15192 if test -z "$defaultval"; then
15193 if test x"$enablestring" = xdisable; then
15200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15201 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15202 # Check whether --enable-ico_cur was given.
15203 if test "${enable_ico_cur+set}" = set; then
15204 enableval=$enable_ico_cur;
15205 if test "$enableval" = yes; then
15206 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15208 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15214 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15215 if test "x$LINE" != x ; then
15216 eval "DEFAULT_$LINE"
15219 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15224 eval "$wx_cv_use_ico_cur"
15225 if test "x$cache" = xyes; then
15226 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15229 if test x"$enablestring" = xdisable; then
15230 if test $wxUSE_ICO_CUR = yes; then
15236 result=$wxUSE_ICO_CUR
15239 { echo "$as_me:$LINENO: result: $result" >&5
15240 echo "${ECHO_T}$result" >&6; }
15246 defaultval=$wxUSE_ALL_FEATURES
15247 if test -z "$defaultval"; then
15248 if test x"$enablestring" = xdisable; then
15255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15256 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15257 # Check whether --enable-dccache was given.
15258 if test "${enable_dccache+set}" = set; then
15259 enableval=$enable_dccache;
15260 if test "$enableval" = yes; then
15261 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15263 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15269 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15270 if test "x$LINE" != x ; then
15271 eval "DEFAULT_$LINE"
15274 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15279 eval "$wx_cv_use_dccache"
15280 if test "x$cache" = xyes; then
15281 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15284 if test x"$enablestring" = xdisable; then
15285 if test $wxUSE_DC_CACHEING = yes; then
15291 result=$wxUSE_DC_CACHEING
15294 { echo "$as_me:$LINENO: result: $result" >&5
15295 echo "${ECHO_T}$result" >&6; }
15299 defaultval=$wxUSE_ALL_FEATURES
15300 if test -z "$defaultval"; then
15301 if test x"$enablestring" = xdisable; then
15308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15309 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15310 # Check whether --enable-ps-in-msw was given.
15311 if test "${enable_ps_in_msw+set}" = set; then
15312 enableval=$enable_ps_in_msw;
15313 if test "$enableval" = yes; then
15314 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15316 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15322 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15323 if test "x$LINE" != x ; then
15324 eval "DEFAULT_$LINE"
15327 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15332 eval "$wx_cv_use_ps_in_msw"
15333 if test "x$cache" = xyes; then
15334 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15337 if test x"$enablestring" = xdisable; then
15338 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15344 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15347 { echo "$as_me:$LINENO: result: $result" >&5
15348 echo "${ECHO_T}$result" >&6; }
15352 defaultval=$wxUSE_ALL_FEATURES
15353 if test -z "$defaultval"; then
15354 if test x"$enablestring" = xdisable; then
15361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15362 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15363 # Check whether --enable-regkey was given.
15364 if test "${enable_regkey+set}" = set; then
15365 enableval=$enable_regkey;
15366 if test "$enableval" = yes; then
15367 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15369 wx_cv_use_regkey='wxUSE_REGKEY=no'
15375 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15376 if test "x$LINE" != x ; then
15377 eval "DEFAULT_$LINE"
15380 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15385 eval "$wx_cv_use_regkey"
15386 if test "x$cache" = xyes; then
15387 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15390 if test x"$enablestring" = xdisable; then
15391 if test $wxUSE_REGKEY = yes; then
15397 result=$wxUSE_REGKEY
15400 { echo "$as_me:$LINENO: result: $result" >&5
15401 echo "${ECHO_T}$result" >&6; }
15405 defaultval=$wxUSE_ALL_FEATURES
15406 if test -z "$defaultval"; then
15407 if test x"$enablestring" = xdisable; then
15414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15415 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15416 # Check whether --enable-uxtheme was given.
15417 if test "${enable_uxtheme+set}" = set; then
15418 enableval=$enable_uxtheme;
15419 if test "$enableval" = yes; then
15420 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15422 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15428 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15429 if test "x$LINE" != x ; then
15430 eval "DEFAULT_$LINE"
15433 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15438 eval "$wx_cv_use_uxtheme"
15439 if test "x$cache" = xyes; then
15440 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15443 if test x"$enablestring" = xdisable; then
15444 if test $wxUSE_UXTHEME = yes; then
15450 result=$wxUSE_UXTHEME
15453 { echo "$as_me:$LINENO: result: $result" >&5
15454 echo "${ECHO_T}$result" >&6; }
15458 defaultval=$wxUSE_ALL_FEATURES
15459 if test -z "$defaultval"; then
15460 if test x"$enablestring" = xdisable; then
15467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15468 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15469 # Check whether --enable-wxdib was given.
15470 if test "${enable_wxdib+set}" = set; then
15471 enableval=$enable_wxdib;
15472 if test "$enableval" = yes; then
15473 wx_cv_use_wxdib='wxUSE_DIB=yes'
15475 wx_cv_use_wxdib='wxUSE_DIB=no'
15481 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15482 if test "x$LINE" != x ; then
15483 eval "DEFAULT_$LINE"
15486 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15491 eval "$wx_cv_use_wxdib"
15492 if test "x$cache" = xyes; then
15493 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15496 if test x"$enablestring" = xdisable; then
15497 if test $wxUSE_DIB = yes; then
15506 { echo "$as_me:$LINENO: result: $result" >&5
15507 echo "${ECHO_T}$result" >&6; }
15513 echo "saving argument cache $wx_arg_cache_file"
15514 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15518 { echo "$as_me:$LINENO: checking for toolkit" >&5
15519 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15521 # In Wine, we need to default to MSW, not GTK or MOTIF
15522 if test "$wxUSE_WINE" = "yes"; then
15523 DEFAULT_DEFAULT_wxUSE_GTK=0
15524 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15525 DEFAULT_DEFAULT_wxUSE_MSW=1
15528 CXX=${CXX:-wineg++}
15532 if test "$wxUSE_GUI" = "yes"; then
15534 if test "$USE_BEOS" = 1; then
15535 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15536 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15537 { (exit 1); exit 1; }; }
15540 if test "$TOOLKIT_GIVEN" = 1; then
15541 for toolkit in `echo $ALL_TOOLKITS`; do
15543 eval "value=\$${var}"
15544 if test "x$value" = "xno"; then
15546 elif test "x$value" != "x"; then
15550 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15551 eval "wx${toolkit}_VERSION=$value"
15555 for toolkit in `echo $ALL_TOOLKITS`; do
15556 if test "$has_toolkit_in_cache" != 1; then
15557 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15559 var=DEFAULT_wxUSE_$toolkit
15561 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15562 if test "x$version" != "x"; then
15563 eval "wx${toolkit}_VERSION=$version"
15566 eval "wxUSE_$toolkit=\$${var}"
15570 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15571 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15572 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15575 *-pc-os2_emx | *-pc-os2-emx )
15576 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15579 case "$NUM_TOOLKITS" in
15583 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15584 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15585 { (exit 1); exit 1; }; }
15588 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15589 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15590 { (exit 1); exit 1; }; }
15593 # to be removed when --disable-gtk2 isn't needed
15594 if test "x$wxUSE_GTK2" = "xyes"; then
15596 elif test "x$wxUSE_GTK2" = "xno"; then
15600 for toolkit in `echo $ALL_TOOLKITS`; do
15602 eval "value=\$${var}"
15603 if test "x$value" != x; then
15604 cache_var=CACHE_$toolkit
15605 eval "cache=\$${cache_var}"
15606 if test "$cache" = 1; then
15607 echo "$var=$value" >> ${wx_arg_cache_file}
15608 eval "version=\$wx${toolkit}_VERSION"
15609 if test "x$version" != "x"; then
15610 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15613 if test "$value" = 1; then
15614 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15615 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15616 echo "${ECHO_T}$toolkit_echo" >&6; }
15621 if test "x$host_alias" != "x"; then
15622 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15623 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15625 { echo "$as_me:$LINENO: result: base only" >&5
15626 echo "${ECHO_T}base only" >&6; }
15631 cat >confcache <<\_ACEOF
15632 # This file is a shell script that caches the results of configure
15633 # tests run on this system so they can be shared between configure
15634 # scripts and configure runs, see configure's option --config-cache.
15635 # It is not useful on other systems. If it contains results you don't
15636 # want to keep, you may remove or edit it.
15638 # config.status only pays attention to the cache file if you give it
15639 # the --recheck option to rerun configure.
15641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15643 # following values.
15647 # The following way of writing the cache mishandles newlines in values,
15648 # but we know of no workaround that is simple, portable, and efficient.
15649 # So, we kill variables containing newlines.
15650 # Ultrix sh set writes to stderr and can't be redirected directly,
15651 # and sets the high bit in the cache file unless we assign to the vars.
15653 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15654 eval ac_val=\$$ac_var
15658 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15659 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15662 _ | IFS | as_nl) ;; #(
15663 *) $as_unset $ac_var ;;
15669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15670 *${as_nl}ac_space=\ *)
15671 # `set' does not quote correctly, so add quotes (double-quote
15672 # substitution turns \\\\ into \\, and sed turns \\ into \).
15675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15678 # `set' quotes correctly as required by POSIX, so do not add quotes.
15679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15693 if test -w "$cache_file"; then
15694 test "x$cache_file" != "x/dev/null" &&
15695 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15696 echo "$as_me: updating cache $cache_file" >&6;}
15697 cat confcache >$cache_file
15699 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15700 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15710 ac_cpp='$CPP $CPPFLAGS'
15711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 if test -n "$ac_tool_prefix"; then
15715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15719 if test "${ac_cv_prog_CC+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 if test -n "$CC"; then
15723 ac_cv_prog_CC="$CC" # Let the user override the test.
15725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15726 for as_dir in $PATH
15729 test -z "$as_dir" && as_dir=.
15730 for ac_exec_ext in '' $ac_executable_extensions; do
15731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15743 if test -n "$CC"; then
15744 { echo "$as_me:$LINENO: result: $CC" >&5
15745 echo "${ECHO_T}$CC" >&6; }
15747 { echo "$as_me:$LINENO: result: no" >&5
15748 echo "${ECHO_T}no" >&6; }
15753 if test -z "$ac_cv_prog_CC"; then
15755 # Extract the first word of "gcc", so it can be a program name with args.
15756 set dummy gcc; ac_word=$2
15757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15759 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 if test -n "$ac_ct_CC"; then
15763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15766 for as_dir in $PATH
15769 test -z "$as_dir" && as_dir=.
15770 for ac_exec_ext in '' $ac_executable_extensions; do
15771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15772 ac_cv_prog_ac_ct_CC="gcc"
15773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15783 if test -n "$ac_ct_CC"; then
15784 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15785 echo "${ECHO_T}$ac_ct_CC" >&6; }
15787 { echo "$as_me:$LINENO: result: no" >&5
15788 echo "${ECHO_T}no" >&6; }
15791 if test "x$ac_ct_CC" = x; then
15794 case $cross_compiling:$ac_tool_warned in
15796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15797 whose name does not start with the host triplet. If you think this
15798 configuration is useful to you, please write to autoconf@gnu.org." >&5
15799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15800 whose name does not start with the host triplet. If you think this
15801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15802 ac_tool_warned=yes ;;
15807 CC="$ac_cv_prog_CC"
15810 if test -z "$CC"; then
15811 if test -n "$ac_tool_prefix"; then
15812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15813 set dummy ${ac_tool_prefix}cc; ac_word=$2
15814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15816 if test "${ac_cv_prog_CC+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 if test -n "$CC"; then
15820 ac_cv_prog_CC="$CC" # Let the user override the test.
15822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15823 for as_dir in $PATH
15826 test -z "$as_dir" && as_dir=.
15827 for ac_exec_ext in '' $ac_executable_extensions; do
15828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15829 ac_cv_prog_CC="${ac_tool_prefix}cc"
15830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15840 if test -n "$CC"; then
15841 { echo "$as_me:$LINENO: result: $CC" >&5
15842 echo "${ECHO_T}$CC" >&6; }
15844 { echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6; }
15851 if test -z "$CC"; then
15852 # Extract the first word of "cc", so it can be a program name with args.
15853 set dummy cc; ac_word=$2
15854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15856 if test "${ac_cv_prog_CC+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 if test -n "$CC"; then
15860 ac_cv_prog_CC="$CC" # Let the user override the test.
15862 ac_prog_rejected=no
15863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15864 for as_dir in $PATH
15867 test -z "$as_dir" && as_dir=.
15868 for ac_exec_ext in '' $ac_executable_extensions; do
15869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15871 ac_prog_rejected=yes
15875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15882 if test $ac_prog_rejected = yes; then
15883 # We found a bogon in the path, so make sure we never use it.
15884 set dummy $ac_cv_prog_CC
15886 if test $# != 0; then
15887 # We chose a different compiler from the bogus one.
15888 # However, it has the same basename, so the bogon will be chosen
15889 # first if we set CC to just the basename; use the full file name.
15891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15897 if test -n "$CC"; then
15898 { echo "$as_me:$LINENO: result: $CC" >&5
15899 echo "${ECHO_T}$CC" >&6; }
15901 { echo "$as_me:$LINENO: result: no" >&5
15902 echo "${ECHO_T}no" >&6; }
15907 if test -z "$CC"; then
15908 if test -n "$ac_tool_prefix"; then
15909 for ac_prog in cl.exe
15911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15915 if test "${ac_cv_prog_CC+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 if test -n "$CC"; then
15919 ac_cv_prog_CC="$CC" # Let the user override the test.
15921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15922 for as_dir in $PATH
15925 test -z "$as_dir" && as_dir=.
15926 for ac_exec_ext in '' $ac_executable_extensions; do
15927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15939 if test -n "$CC"; then
15940 { echo "$as_me:$LINENO: result: $CC" >&5
15941 echo "${ECHO_T}$CC" >&6; }
15943 { echo "$as_me:$LINENO: result: no" >&5
15944 echo "${ECHO_T}no" >&6; }
15948 test -n "$CC" && break
15951 if test -z "$CC"; then
15953 for ac_prog in cl.exe
15955 # Extract the first word of "$ac_prog", so it can be a program name with args.
15956 set dummy $ac_prog; ac_word=$2
15957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15960 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 if test -n "$ac_ct_CC"; then
15963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH
15969 test -z "$as_dir" && as_dir=.
15970 for ac_exec_ext in '' $ac_executable_extensions; do
15971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15972 ac_cv_prog_ac_ct_CC="$ac_prog"
15973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15983 if test -n "$ac_ct_CC"; then
15984 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15985 echo "${ECHO_T}$ac_ct_CC" >&6; }
15987 { echo "$as_me:$LINENO: result: no" >&5
15988 echo "${ECHO_T}no" >&6; }
15992 test -n "$ac_ct_CC" && break
15995 if test "x$ac_ct_CC" = x; then
15998 case $cross_compiling:$ac_tool_warned in
16000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16001 whose name does not start with the host triplet. If you think this
16002 configuration is useful to you, please write to autoconf@gnu.org." >&5
16003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16004 whose name does not start with the host triplet. If you think this
16005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16006 ac_tool_warned=yes ;;
16015 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16016 See \`config.log' for more details." >&5
16017 echo "$as_me: error: no acceptable C compiler found in \$PATH
16018 See \`config.log' for more details." >&2;}
16019 { (exit 1); exit 1; }; }
16021 # Provide some information about the compiler.
16022 echo "$as_me:$LINENO: checking for C compiler version" >&5
16023 ac_compiler=`set X $ac_compile; echo $2`
16024 { (ac_try="$ac_compiler --version >&5"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_compiler --version >&5") 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }
16034 { (ac_try="$ac_compiler -v >&5"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compiler -v >&5") 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }
16044 { (ac_try="$ac_compiler -V >&5"
16045 case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_compiler -V >&5") 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }
16055 cat >conftest.$ac_ext <<_ACEOF
16058 cat confdefs.h >>conftest.$ac_ext
16059 cat >>conftest.$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16070 ac_clean_files_save=$ac_clean_files
16071 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16072 # Try to create an executable without -o first, disregard a.out.
16073 # It will help us diagnose broken compilers, and finding out an intuition
16075 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16076 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16077 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16079 # List of possible output files, starting from the most likely.
16080 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16081 # only as a last resort. b.out is created by i960 compilers.
16082 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16084 # The IRIX 6 linker writes into existing files which may not be
16085 # executable, retaining their permissions. Remove them first so a
16086 # subsequent execution test works.
16088 for ac_file in $ac_files
16091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16097 if { (ac_try="$ac_link_default"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link_default") 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; then
16107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16110 # so that the user can short-circuit this test for compilers unknown to
16112 for ac_file in $ac_files ''
16114 test -f "$ac_file" || continue
16116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16119 # We found the default executable, but exeext='' is most
16123 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16127 # We set ac_cv_exeext here because the later test for it is not
16128 # safe: cross compilers may not add the suffix if given an `-o'
16129 # argument, so we may need to know it at that point already.
16130 # Even if this section looks crufty: it has the advantage of
16131 # actually working.
16137 test "$ac_cv_exeext" = no && ac_cv_exeext=
16143 { echo "$as_me:$LINENO: result: $ac_file" >&5
16144 echo "${ECHO_T}$ac_file" >&6; }
16145 if test -z "$ac_file"; then
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16150 See \`config.log' for more details." >&5
16151 echo "$as_me: error: C compiler cannot create executables
16152 See \`config.log' for more details." >&2;}
16153 { (exit 77); exit 77; }; }
16156 ac_exeext=$ac_cv_exeext
16158 # Check that the compiler produces executables we can run. If not, either
16159 # the compiler is broken, or we cross compile.
16160 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16161 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16162 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16163 # If not cross compiling, check that we can run a simple program.
16164 if test "$cross_compiling" != yes; then
16165 if { ac_try='./$ac_file'
16166 { (case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_try") 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16177 if test "$cross_compiling" = maybe; then
16178 cross_compiling=yes
16180 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16181 If you meant to cross compile, use \`--host'.
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: cannot run C compiled programs.
16184 If you meant to cross compile, use \`--host'.
16185 See \`config.log' for more details." >&2;}
16186 { (exit 1); exit 1; }; }
16190 { echo "$as_me:$LINENO: result: yes" >&5
16191 echo "${ECHO_T}yes" >&6; }
16193 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16194 ac_clean_files=$ac_clean_files_save
16195 # Check that the compiler produces executables we can run. If not, either
16196 # the compiler is broken, or we cross compile.
16197 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16198 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16199 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16200 echo "${ECHO_T}$cross_compiling" >&6; }
16202 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16203 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16204 if { (ac_try="$ac_link"
16205 case "(($ac_try" in
16206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16207 *) ac_try_echo=$ac_try;;
16209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16210 (eval "$ac_link") 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); }; then
16214 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16215 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16216 # work properly (i.e., refer to `conftest.exe'), while it won't with
16218 for ac_file in conftest.exe conftest conftest.*; do
16219 test -f "$ac_file" || continue
16221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16222 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16228 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16229 See \`config.log' for more details." >&5
16230 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16231 See \`config.log' for more details." >&2;}
16232 { (exit 1); exit 1; }; }
16235 rm -f conftest$ac_cv_exeext
16236 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16237 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16239 rm -f conftest.$ac_ext
16240 EXEEXT=$ac_cv_exeext
16242 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16243 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16244 if test "${ac_cv_objext+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 cat >conftest.$ac_ext <<_ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16262 rm -f conftest.o conftest.obj
16263 if { (ac_try="$ac_compile"
16264 case "(($ac_try" in
16265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16266 *) ac_try_echo=$ac_try;;
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_compile") 2>&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); }; then
16273 for ac_file in conftest.o conftest.obj conftest.*; do
16274 test -f "$ac_file" || continue;
16276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16277 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16286 See \`config.log' for more details." >&5
16287 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16288 See \`config.log' for more details." >&2;}
16289 { (exit 1); exit 1; }; }
16292 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16294 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16295 echo "${ECHO_T}$ac_cv_objext" >&6; }
16296 OBJEXT=$ac_cv_objext
16298 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16299 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16300 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.$ac_ext <<_ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16321 rm -f conftest.$ac_objext
16322 if { (ac_try="$ac_compile"
16323 case "(($ac_try" in
16324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16325 *) ac_try_echo=$ac_try;;
16327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16328 (eval "$ac_compile") 2>conftest.er1
16330 grep -v '^ *+' conftest.er1 >conftest.err
16332 cat conftest.err >&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } && {
16335 test -z "$ac_c_werror_flag" ||
16336 test ! -s conftest.err
16337 } && test -s conftest.$ac_objext; then
16338 ac_compiler_gnu=yes
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.$ac_ext >&5
16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16350 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16351 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16352 GCC=`test $ac_compiler_gnu = yes && echo yes`
16353 ac_test_CFLAGS=${CFLAGS+set}
16354 ac_save_CFLAGS=$CFLAGS
16355 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16356 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16357 if test "${ac_cv_prog_cc_g+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 ac_save_c_werror_flag=$ac_c_werror_flag
16361 ac_c_werror_flag=yes
16364 cat >conftest.$ac_ext <<_ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16379 rm -f conftest.$ac_objext
16380 if { (ac_try="$ac_compile"
16381 case "(($ac_try" in
16382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16383 *) ac_try_echo=$ac_try;;
16385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16386 (eval "$ac_compile") 2>conftest.er1
16388 grep -v '^ *+' conftest.er1 >conftest.err
16390 cat conftest.err >&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } && {
16393 test -z "$ac_c_werror_flag" ||
16394 test ! -s conftest.err
16395 } && test -s conftest.$ac_objext; then
16396 ac_cv_prog_cc_g=yes
16398 echo "$as_me: failed program was:" >&5
16399 sed 's/^/| /' conftest.$ac_ext >&5
16402 cat >conftest.$ac_ext <<_ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16417 rm -f conftest.$ac_objext
16418 if { (ac_try="$ac_compile"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_compile") 2>conftest.er1
16426 grep -v '^ *+' conftest.er1 >conftest.err
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_c_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest.$ac_objext; then
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16439 ac_c_werror_flag=$ac_save_c_werror_flag
16441 cat >conftest.$ac_ext <<_ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16456 rm -f conftest.$ac_objext
16457 if { (ac_try="$ac_compile"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_compile") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1 >conftest.err
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest.$ac_objext; then
16473 ac_cv_prog_cc_g=yes
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.$ac_ext >&5
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_c_werror_flag=$ac_save_c_werror_flag
16490 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16491 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16492 if test "$ac_test_CFLAGS" = set; then
16493 CFLAGS=$ac_save_CFLAGS
16494 elif test $ac_cv_prog_cc_g = yes; then
16495 if test "$GCC" = yes; then
16501 if test "$GCC" = yes; then
16507 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16508 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16509 if test "${ac_cv_prog_cc_c89+set}" = set; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 ac_cv_prog_cc_c89=no
16514 cat >conftest.$ac_ext <<_ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 #include <stdarg.h>
16522 #include <sys/types.h>
16523 #include <sys/stat.h>
16524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16525 struct buf { int x; };
16526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16527 static char *e (p, i)
16533 static char *f (char * (*g) (char **, int), char **p, ...)
16538 s = g (p, va_arg (v,int));
16543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16544 function prototypes and stuff, but not '\xHH' hex character constants.
16545 These don't provoke an error unfortunately, instead are silently treated
16546 as 'x'. The following induces an error, until -std is added to get
16547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16548 array size at least. It's necessary to write '\x00'==0 to get something
16549 that's true only with -std. */
16550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16553 inside strings and character constants. */
16555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16557 int test (int i, double x);
16558 struct s1 {int (*f) (int a);};
16559 struct s2 {int (*f) (double a);};
16560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16574 CC="$ac_save_CC $ac_arg"
16575 rm -f conftest.$ac_objext
16576 if { (ac_try="$ac_compile"
16577 case "(($ac_try" in
16578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16579 *) ac_try_echo=$ac_try;;
16581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 (eval "$ac_compile") 2>conftest.er1
16584 grep -v '^ *+' conftest.er1 >conftest.err
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } && {
16589 test -z "$ac_c_werror_flag" ||
16590 test ! -s conftest.err
16591 } && test -s conftest.$ac_objext; then
16592 ac_cv_prog_cc_c89=$ac_arg
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16600 rm -f core conftest.err conftest.$ac_objext
16601 test "x$ac_cv_prog_cc_c89" != "xno" && break
16603 rm -f conftest.$ac_ext
16608 case "x$ac_cv_prog_cc_c89" in
16610 { echo "$as_me:$LINENO: result: none needed" >&5
16611 echo "${ECHO_T}none needed" >&6; } ;;
16613 { echo "$as_me:$LINENO: result: unsupported" >&5
16614 echo "${ECHO_T}unsupported" >&6; } ;;
16616 CC="$CC $ac_cv_prog_cc_c89"
16617 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16618 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16623 ac_cpp='$CPP $CPPFLAGS'
16624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16637 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 cat >conftest.$ac_ext <<_ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16653 #ifndef __INTEL_COMPILER
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16670 grep -v '^ *+' conftest.er1 >conftest.err
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 bakefile_cv_c_compiler___INTEL_COMPILER=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16693 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 if test "x$GCC" != "xyes"; then
16708 if test "xCC" = "xC"; then
16709 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16710 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16711 if test "${bakefile_cv_c_exto+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 cat >conftest.$ac_ext <<_ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16729 rm -f conftest.$ac_objext conftest.$ac_ext.o
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; then
16735 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16737 conftest.$ac_ext.o)
16738 bakefile_cv_c_exto="-ext o"
16745 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }
16753 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16757 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16758 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16759 if test "c" = "c"; then
16760 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16762 if test "c" = "cxx"; then
16763 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16767 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16768 unset ac_cv_prog_cc_g
16769 ac_test_CFLAGS=${CFLAGS+set}
16770 ac_save_CFLAGS=$CFLAGS
16771 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16772 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16773 if test "${ac_cv_prog_cc_g+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 ac_save_c_werror_flag=$ac_c_werror_flag
16777 ac_c_werror_flag=yes
16780 cat >conftest.$ac_ext <<_ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16795 rm -f conftest.$ac_objext
16796 if { (ac_try="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_c_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cc_g=yes
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16818 cat >conftest.$ac_ext <<_ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16842 grep -v '^ *+' conftest.er1 >conftest.err
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_c_werror_flag=$ac_save_c_werror_flag
16857 cat >conftest.$ac_ext <<_ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16872 rm -f conftest.$ac_objext
16873 if { (ac_try="$ac_compile"
16874 case "(($ac_try" in
16875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879 (eval "$ac_compile") 2>conftest.er1
16881 grep -v '^ *+' conftest.er1 >conftest.err
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && {
16886 test -z "$ac_c_werror_flag" ||
16887 test ! -s conftest.err
16888 } && test -s conftest.$ac_objext; then
16889 ac_cv_prog_cc_g=yes
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_c_werror_flag=$ac_save_c_werror_flag
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16908 if test "$ac_test_CFLAGS" = set; then
16909 CFLAGS=$ac_save_CFLAGS
16910 elif test $ac_cv_prog_cc_g = yes; then
16911 if test "$GCC" = yes; then
16917 if test "$GCC" = yes; then
16931 ac_cpp='$CPP $CPPFLAGS'
16932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16936 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16937 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16938 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 cat >conftest.$ac_ext <<_ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16960 rm -f conftest.$ac_objext
16961 if { (ac_try="$ac_compile"
16962 case "(($ac_try" in
16963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16964 *) ac_try_echo=$ac_try;;
16966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16967 (eval "$ac_compile") 2>conftest.er1
16969 grep -v '^ *+' conftest.er1 >conftest.err
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && {
16974 test -z "$ac_c_werror_flag" ||
16975 test ! -s conftest.err
16976 } && test -s conftest.$ac_objext; then
16977 bakefile_cv_c_compiler___xlC__=yes
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 bakefile_cv_c_compiler___xlC__=no
16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16991 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16992 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16998 ac_cpp='$CPP $CPPFLAGS'
16999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17011 ac_cpp='$CPP $CPPFLAGS'
17012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17016 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17017 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17018 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 cat >conftest.$ac_ext <<_ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17040 rm -f conftest.$ac_objext
17041 if { (ac_try="$ac_compile"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_compile") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } && {
17054 test -z "$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17056 } && test -s conftest.$ac_objext; then
17057 bakefile_cv_c_compiler___MWERKS__=yes
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17062 bakefile_cv_c_compiler___MWERKS__=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17071 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17072 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17078 ac_cpp='$CPP $CPPFLAGS'
17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17093 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17094 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17095 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 cat >conftest.$ac_ext <<_ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17117 rm -f conftest.$ac_objext
17118 if { (ac_try="$ac_compile"
17119 case "(($ac_try" in
17120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17121 *) ac_try_echo=$ac_try;;
17123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17124 (eval "$ac_compile") 2>conftest.er1
17126 grep -v '^ *+' conftest.er1 >conftest.err
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && {
17131 test -z "$ac_c_werror_flag" ||
17132 test ! -s conftest.err
17133 } && test -s conftest.$ac_objext; then
17134 bakefile_cv_c_compiler___xlC__=yes
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 bakefile_cv_c_compiler___xlC__=no
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17148 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17149 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17155 ac_cpp='$CPP $CPPFLAGS'
17156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17168 ac_cpp='$CPP $CPPFLAGS'
17169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17174 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17175 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 cat >conftest.$ac_ext <<_ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17189 #ifndef _SGI_COMPILER_VERSION
17197 rm -f conftest.$ac_objext
17198 if { (ac_try="$ac_compile"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_compile") 2>conftest.er1
17206 grep -v '^ *+' conftest.er1 >conftest.err
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && {
17211 test -z "$ac_c_werror_flag" ||
17212 test ! -s conftest.err
17213 } && test -s conftest.$ac_objext; then
17214 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17228 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17229 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17248 ac_cpp='$CPP $CPPFLAGS'
17249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17253 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17254 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17255 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 cat >conftest.$ac_ext <<_ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17286 grep -v '^ *+' conftest.er1 >conftest.err
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_c_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.$ac_objext; then
17294 bakefile_cv_c_compiler___SUNPRO_C=yes
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17299 bakefile_cv_c_compiler___SUNPRO_C=no
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17307 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17308 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17309 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17333 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17334 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17335 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 cat >conftest.$ac_ext <<_ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17357 rm -f conftest.$ac_objext
17358 if { (ac_try="$ac_compile"
17359 case "(($ac_try" in
17360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17361 *) ac_try_echo=$ac_try;;
17363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17364 (eval "$ac_compile") 2>conftest.er1
17366 grep -v '^ *+' conftest.er1 >conftest.err
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } && {
17371 test -z "$ac_c_werror_flag" ||
17372 test ! -s conftest.err
17373 } && test -s conftest.$ac_objext; then
17374 bakefile_cv_c_compiler___HP_cc=yes
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17379 bakefile_cv_c_compiler___HP_cc=no
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17388 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17389 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17413 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17414 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17415 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 cat >conftest.$ac_ext <<_ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 bakefile_cv_c_compiler___DECC=yes
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17459 bakefile_cv_c_compiler___DECC=no
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17468 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17469 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17475 ac_cpp='$CPP $CPPFLAGS'
17476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17494 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17495 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 cat >conftest.$ac_ext <<_ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17517 rm -f conftest.$ac_objext
17518 if { (ac_try="$ac_compile"
17519 case "(($ac_try" in
17520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17521 *) ac_try_echo=$ac_try;;
17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17524 (eval "$ac_compile") 2>conftest.er1
17526 grep -v '^ *+' conftest.er1 >conftest.err
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } && {
17531 test -z "$ac_c_werror_flag" ||
17532 test ! -s conftest.err
17533 } && test -s conftest.$ac_objext; then
17534 bakefile_cv_c_compiler___SUNPRO_C=yes
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17539 bakefile_cv_c_compiler___SUNPRO_C=no
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17548 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17549 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17573 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17574 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17575 # On Suns, sometimes $CPP names a directory.
17576 if test -n "$CPP" && test -d "$CPP"; then
17579 if test -z "$CPP"; then
17580 if test "${ac_cv_prog_CPP+set}" = set; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17583 # Double quotes because CPP needs to be expanded
17584 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17586 ac_preproc_ok=false
17587 for ac_c_preproc_warn_flag in '' yes
17589 # Use a header file that comes with gcc, so configuring glibc
17590 # with a fresh cross-compiler works.
17591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17592 # <limits.h> exists even on freestanding compilers.
17593 # On the NeXT, cc -E runs the code through the compiler's parser,
17594 # not just through cpp. "Syntax error" is here to catch this case.
17595 cat >conftest.$ac_ext <<_ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17602 # include <limits.h>
17604 # include <assert.h>
17608 if { (ac_try="$ac_cpp conftest.$ac_ext"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17616 grep -v '^ *+' conftest.er1 >conftest.err
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } >/dev/null && {
17621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17629 # Broken: fails on valid input.
17633 rm -f conftest.err conftest.$ac_ext
17635 # OK, works on sane cases. Now check whether nonexistent headers
17636 # can be detected and how.
17637 cat >conftest.$ac_ext <<_ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 #include <ac_nonexistent.h>
17645 if { (ac_try="$ac_cpp conftest.$ac_ext"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17653 grep -v '^ *+' conftest.er1 >conftest.err
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } >/dev/null && {
17658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17661 # Broken: success on invalid input.
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17667 # Passes both tests.
17672 rm -f conftest.err conftest.$ac_ext
17675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17676 rm -f conftest.err conftest.$ac_ext
17677 if $ac_preproc_ok; then
17682 ac_cv_prog_CPP=$CPP
17685 CPP=$ac_cv_prog_CPP
17687 ac_cv_prog_CPP=$CPP
17689 { echo "$as_me:$LINENO: result: $CPP" >&5
17690 echo "${ECHO_T}$CPP" >&6; }
17691 ac_preproc_ok=false
17692 for ac_c_preproc_warn_flag in '' yes
17694 # Use a header file that comes with gcc, so configuring glibc
17695 # with a fresh cross-compiler works.
17696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17697 # <limits.h> exists even on freestanding compilers.
17698 # On the NeXT, cc -E runs the code through the compiler's parser,
17699 # not just through cpp. "Syntax error" is here to catch this case.
17700 cat >conftest.$ac_ext <<_ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17707 # include <limits.h>
17709 # include <assert.h>
17713 if { (ac_try="$ac_cpp conftest.$ac_ext"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17721 grep -v '^ *+' conftest.er1 >conftest.err
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } >/dev/null && {
17726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17727 test ! -s conftest.err
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17734 # Broken: fails on valid input.
17738 rm -f conftest.err conftest.$ac_ext
17740 # OK, works on sane cases. Now check whether nonexistent headers
17741 # can be detected and how.
17742 cat >conftest.$ac_ext <<_ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 #include <ac_nonexistent.h>
17750 if { (ac_try="$ac_cpp conftest.$ac_ext"
17751 case "(($ac_try" in
17752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17753 *) ac_try_echo=$ac_try;;
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17758 grep -v '^ *+' conftest.er1 >conftest.err
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } >/dev/null && {
17763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17764 test ! -s conftest.err
17766 # Broken: success on invalid input.
17769 echo "$as_me: failed program was:" >&5
17770 sed 's/^/| /' conftest.$ac_ext >&5
17772 # Passes both tests.
17777 rm -f conftest.err conftest.$ac_ext
17780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17781 rm -f conftest.err conftest.$ac_ext
17782 if $ac_preproc_ok; then
17785 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17786 See \`config.log' for more details." >&5
17787 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17788 See \`config.log' for more details." >&2;}
17789 { (exit 1); exit 1; }; }
17793 ac_cpp='$CPP $CPPFLAGS'
17794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17800 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17801 if test "${ac_cv_path_GREP+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 # Extract the first word of "grep ggrep" to use in msg output
17805 if test -z "$GREP"; then
17806 set dummy grep ggrep; ac_prog_name=$2
17807 if test "${ac_cv_path_GREP+set}" = set; then
17808 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 ac_path_GREP_found=false
17811 # Loop through the user's path and test for each of PROGNAME-LIST
17812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17816 test -z "$as_dir" && as_dir=.
17817 for ac_prog in grep ggrep; do
17818 for ac_exec_ext in '' $ac_executable_extensions; do
17819 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17820 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17821 # Check for GNU ac_path_GREP and select it if it is found.
17822 # Check for GNU $ac_path_GREP
17823 case `"$ac_path_GREP" --version 2>&1` in
17825 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17828 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17831 cat "conftest.in" "conftest.in" >"conftest.tmp"
17832 mv "conftest.tmp" "conftest.in"
17833 cp "conftest.in" "conftest.nl"
17834 echo 'GREP' >> "conftest.nl"
17835 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17837 ac_count=`expr $ac_count + 1`
17838 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17839 # Best one so far, save it but keep looking for a better one
17840 ac_cv_path_GREP="$ac_path_GREP"
17841 ac_path_GREP_max=$ac_count
17843 # 10*(2^10) chars as input seems more than enough
17844 test $ac_count -gt 10 && break
17846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17850 $ac_path_GREP_found && break 3
17860 GREP="$ac_cv_path_GREP"
17861 if test -z "$GREP"; then
17862 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17863 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17864 { (exit 1); exit 1; }; }
17868 ac_cv_path_GREP=$GREP
17873 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17874 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17875 GREP="$ac_cv_path_GREP"
17878 { echo "$as_me:$LINENO: checking for egrep" >&5
17879 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17880 if test "${ac_cv_path_EGREP+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17884 then ac_cv_path_EGREP="$GREP -E"
17886 # Extract the first word of "egrep" to use in msg output
17887 if test -z "$EGREP"; then
17888 set dummy egrep; ac_prog_name=$2
17889 if test "${ac_cv_path_EGREP+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 ac_path_EGREP_found=false
17893 # Loop through the user's path and test for each of PROGNAME-LIST
17894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17898 test -z "$as_dir" && as_dir=.
17899 for ac_prog in egrep; do
17900 for ac_exec_ext in '' $ac_executable_extensions; do
17901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17903 # Check for GNU ac_path_EGREP and select it if it is found.
17904 # Check for GNU $ac_path_EGREP
17905 case `"$ac_path_EGREP" --version 2>&1` in
17907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17910 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17913 cat "conftest.in" "conftest.in" >"conftest.tmp"
17914 mv "conftest.tmp" "conftest.in"
17915 cp "conftest.in" "conftest.nl"
17916 echo 'EGREP' >> "conftest.nl"
17917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17919 ac_count=`expr $ac_count + 1`
17920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17921 # Best one so far, save it but keep looking for a better one
17922 ac_cv_path_EGREP="$ac_path_EGREP"
17923 ac_path_EGREP_max=$ac_count
17925 # 10*(2^10) chars as input seems more than enough
17926 test $ac_count -gt 10 && break
17928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17932 $ac_path_EGREP_found && break 3
17942 EGREP="$ac_cv_path_EGREP"
17943 if test -z "$EGREP"; then
17944 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17945 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17946 { (exit 1); exit 1; }; }
17950 ac_cv_path_EGREP=$EGREP
17956 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17957 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17958 EGREP="$ac_cv_path_EGREP"
17961 if test $ac_cv_c_compiler_gnu = yes; then
17962 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 ac_pattern="Autoconf.*'x'"
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17978 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17979 ac_cv_prog_gcc_traditional=yes
17981 ac_cv_prog_gcc_traditional=no
17986 if test $ac_cv_prog_gcc_traditional = no; then
17987 cat >conftest.$ac_ext <<_ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 #include <termio.h>
17996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17997 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17998 ac_cv_prog_gcc_traditional=yes
18004 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18006 if test $ac_cv_prog_gcc_traditional = yes; then
18007 CC="$CC -traditional"
18012 CXXFLAGS=${CXXFLAGS:=}
18017 ac_cpp='$CXXCPP $CPPFLAGS'
18018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18021 if test -z "$CXX"; then
18022 if test -n "$CCC"; then
18025 if test -n "$ac_tool_prefix"; then
18026 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18032 if test "${ac_cv_prog_CXX+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18035 if test -n "$CXX"; then
18036 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18039 for as_dir in $PATH
18042 test -z "$as_dir" && as_dir=.
18043 for ac_exec_ext in '' $ac_executable_extensions; do
18044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18045 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18055 CXX=$ac_cv_prog_CXX
18056 if test -n "$CXX"; then
18057 { echo "$as_me:$LINENO: result: $CXX" >&5
18058 echo "${ECHO_T}$CXX" >&6; }
18060 { echo "$as_me:$LINENO: result: no" >&5
18061 echo "${ECHO_T}no" >&6; }
18065 test -n "$CXX" && break
18068 if test -z "$CXX"; then
18070 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18072 # Extract the first word of "$ac_prog", so it can be a program name with args.
18073 set dummy $ac_prog; ac_word=$2
18074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18076 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18079 if test -n "$ac_ct_CXX"; then
18080 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18083 for as_dir in $PATH
18086 test -z "$as_dir" && as_dir=.
18087 for ac_exec_ext in '' $ac_executable_extensions; do
18088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18089 ac_cv_prog_ac_ct_CXX="$ac_prog"
18090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18099 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18100 if test -n "$ac_ct_CXX"; then
18101 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18102 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18104 { echo "$as_me:$LINENO: result: no" >&5
18105 echo "${ECHO_T}no" >&6; }
18109 test -n "$ac_ct_CXX" && break
18112 if test "x$ac_ct_CXX" = x; then
18115 case $cross_compiling:$ac_tool_warned in
18117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18118 whose name does not start with the host triplet. If you think this
18119 configuration is useful to you, please write to autoconf@gnu.org." >&5
18120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18121 whose name does not start with the host triplet. If you think this
18122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18123 ac_tool_warned=yes ;;
18131 # Provide some information about the compiler.
18132 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18133 ac_compiler=`set X $ac_compile; echo $2`
18134 { (ac_try="$ac_compiler --version >&5"
18135 case "(($ac_try" in
18136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18137 *) ac_try_echo=$ac_try;;
18139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18140 (eval "$ac_compiler --version >&5") 2>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }
18144 { (ac_try="$ac_compiler -v >&5"
18145 case "(($ac_try" in
18146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18147 *) ac_try_echo=$ac_try;;
18149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18150 (eval "$ac_compiler -v >&5") 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }
18154 { (ac_try="$ac_compiler -V >&5"
18155 case "(($ac_try" in
18156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18157 *) ac_try_echo=$ac_try;;
18159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18160 (eval "$ac_compiler -V >&5") 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }
18165 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18166 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18167 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 cat >conftest.$ac_ext <<_ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;;
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18197 grep -v '^ *+' conftest.er1 >conftest.err
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_cxx_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.$ac_objext; then
18205 ac_compiler_gnu=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18214 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18217 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18218 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18219 GXX=`test $ac_compiler_gnu = yes && echo yes`
18220 ac_test_CXXFLAGS=${CXXFLAGS+set}
18221 ac_save_CXXFLAGS=$CXXFLAGS
18222 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18223 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18224 if test "${ac_cv_prog_cxx_g+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18228 ac_cxx_werror_flag=yes
18229 ac_cv_prog_cxx_g=no
18231 cat >conftest.$ac_ext <<_ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1 >conftest.err
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_cxx_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest.$ac_objext; then
18263 ac_cv_prog_cxx_g=yes
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18269 cat >conftest.$ac_ext <<_ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18284 rm -f conftest.$ac_objext
18285 if { (ac_try="$ac_compile"
18286 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_compile") 2>conftest.er1
18293 grep -v '^ *+' conftest.er1 >conftest.err
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_cxx_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest.$ac_objext; then
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18308 cat >conftest.$ac_ext <<_ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18332 grep -v '^ *+' conftest.er1 >conftest.err
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_cxx_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_prog_cxx_g=yes
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18357 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18358 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18359 if test "$ac_test_CXXFLAGS" = set; then
18360 CXXFLAGS=$ac_save_CXXFLAGS
18361 elif test $ac_cv_prog_cxx_g = yes; then
18362 if test "$GXX" = yes; then
18368 if test "$GXX" = yes; then
18375 ac_cpp='$CPP $CPPFLAGS'
18376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18389 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18390 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18405 #ifndef __INTEL_COMPILER
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18422 grep -v '^ *+' conftest.er1 >conftest.err
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_cxx_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18444 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18445 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18459 if test "x$GCXX" != "xyes"; then
18460 if test "xCXX" = "xC"; then
18461 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18462 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18463 if test "${bakefile_cv_c_exto+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 cat >conftest.$ac_ext <<_ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18481 rm -f conftest.$ac_objext conftest.$ac_ext.o
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; then
18487 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18489 conftest.$ac_ext.o)
18490 bakefile_cv_c_exto="-ext o"
18497 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18498 See \`config.log' for more details." >&5
18499 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18500 See \`config.log' for more details." >&2;}
18501 { (exit 1); exit 1; }; }
18505 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18508 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18509 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18510 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18511 if test "c" = "c"; then
18512 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18514 if test "c" = "cxx"; then
18515 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18519 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18520 unset ac_cv_prog_cc_g
18521 ac_test_CFLAGS=${CFLAGS+set}
18522 ac_save_CFLAGS=$CFLAGS
18523 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18524 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18525 if test "${ac_cv_prog_cc_g+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 ac_save_c_werror_flag=$ac_c_werror_flag
18529 ac_c_werror_flag=yes
18532 cat >conftest.$ac_ext <<_ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18547 rm -f conftest.$ac_objext
18548 if { (ac_try="$ac_compile"
18549 case "(($ac_try" in
18550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18551 *) ac_try_echo=$ac_try;;
18553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18554 (eval "$ac_compile") 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } && {
18561 test -z "$ac_c_werror_flag" ||
18562 test ! -s conftest.err
18563 } && test -s conftest.$ac_objext; then
18564 ac_cv_prog_cc_g=yes
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18570 cat >conftest.$ac_ext <<_ACEOF
18573 cat confdefs.h >>conftest.$ac_ext
18574 cat >>conftest.$ac_ext <<_ACEOF
18575 /* end confdefs.h. */
18585 rm -f conftest.$ac_objext
18586 if { (ac_try="$ac_compile"
18587 case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_compile") 2>conftest.er1
18594 grep -v '^ *+' conftest.er1 >conftest.err
18596 cat conftest.err >&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } && {
18599 test -z "$ac_c_werror_flag" ||
18600 test ! -s conftest.err
18601 } && test -s conftest.$ac_objext; then
18604 echo "$as_me: failed program was:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18607 ac_c_werror_flag=$ac_save_c_werror_flag
18609 cat >conftest.$ac_ext <<_ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18624 rm -f conftest.$ac_objext
18625 if { (ac_try="$ac_compile"
18626 case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_compile") 2>conftest.er1
18633 grep -v '^ *+' conftest.er1 >conftest.err
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } && {
18638 test -z "$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18640 } && test -s conftest.$ac_objext; then
18641 ac_cv_prog_cc_g=yes
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656 ac_c_werror_flag=$ac_save_c_werror_flag
18658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18659 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18660 if test "$ac_test_CFLAGS" = set; then
18661 CFLAGS=$ac_save_CFLAGS
18662 elif test $ac_cv_prog_cc_g = yes; then
18663 if test "$GCC" = yes; then
18669 if test "$GCC" = yes; then
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18688 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18689 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18690 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 cat >conftest.$ac_ext <<_ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18712 rm -f conftest.$ac_objext
18713 if { (ac_try="$ac_compile"
18714 case "(($ac_try" in
18715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18716 *) ac_try_echo=$ac_try;;
18718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18719 (eval "$ac_compile") 2>conftest.er1
18721 grep -v '^ *+' conftest.er1 >conftest.err
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && {
18726 test -z "$ac_cxx_werror_flag" ||
18727 test ! -s conftest.err
18728 } && test -s conftest.$ac_objext; then
18729 bakefile_cv_cxx_compiler___xlC__=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 bakefile_cv_cxx_compiler___xlC__=no
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18743 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18744 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18750 ac_cpp='$CPP $CPPFLAGS'
18751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18763 ac_cpp='$CXXCPP $CPPFLAGS'
18764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18768 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18769 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18770 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 cat >conftest.$ac_ext <<_ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18792 rm -f conftest.$ac_objext
18793 if { (ac_try="$ac_compile"
18794 case "(($ac_try" in
18795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18796 *) ac_try_echo=$ac_try;;
18798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18799 (eval "$ac_compile") 2>conftest.er1
18801 grep -v '^ *+' conftest.er1 >conftest.err
18803 cat conftest.err >&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && {
18806 test -z "$ac_cxx_werror_flag" ||
18807 test ! -s conftest.err
18808 } && test -s conftest.$ac_objext; then
18809 bakefile_cv_cxx_compiler___MWERKS__=yes
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18814 bakefile_cv_cxx_compiler___MWERKS__=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18823 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18824 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18830 ac_cpp='$CPP $CPPFLAGS'
18831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18840 ac_cpp='$CXXCPP $CPPFLAGS'
18841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18845 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18846 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18847 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 cat >conftest.$ac_ext <<_ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18869 rm -f conftest.$ac_objext
18870 if { (ac_try="$ac_compile"
18871 case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_compile") 2>conftest.er1
18878 grep -v '^ *+' conftest.er1 >conftest.err
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && {
18883 test -z "$ac_cxx_werror_flag" ||
18884 test ! -s conftest.err
18885 } && test -s conftest.$ac_objext; then
18886 bakefile_cv_cxx_compiler___xlC__=yes
18888 echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.$ac_ext >&5
18891 bakefile_cv_cxx_compiler___xlC__=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18901 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18907 ac_cpp='$CPP $CPPFLAGS'
18908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18926 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18927 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 cat >conftest.$ac_ext <<_ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18941 #ifndef _SGI_COMPILER_VERSION
18949 rm -f conftest.$ac_objext
18950 if { (ac_try="$ac_compile"
18951 case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_compile") 2>conftest.er1
18958 grep -v '^ *+' conftest.er1 >conftest.err
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } && {
18963 test -z "$ac_cxx_werror_flag" ||
18964 test ! -s conftest.err
18965 } && test -s conftest.$ac_objext; then
18966 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18980 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18981 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18987 ac_cpp='$CPP $CPPFLAGS'
18988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19000 ac_cpp='$CXXCPP $CPPFLAGS'
19001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19005 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19006 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19007 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 cat >conftest.$ac_ext <<_ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19021 #ifndef __SUNPRO_CC
19029 rm -f conftest.$ac_objext
19030 if { (ac_try="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19038 grep -v '^ *+' conftest.er1 >conftest.err
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_cxx_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19046 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19051 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19061 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19067 ac_cpp='$CPP $CPPFLAGS'
19068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19080 ac_cpp='$CXXCPP $CPPFLAGS'
19081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19085 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19086 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19087 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19109 rm -f conftest.$ac_objext
19110 if { (ac_try="$ac_compile"
19111 case "(($ac_try" in
19112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compile") 2>conftest.er1
19118 grep -v '^ *+' conftest.er1 >conftest.err
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && {
19123 test -z "$ac_cxx_werror_flag" ||
19124 test ! -s conftest.err
19125 } && test -s conftest.$ac_objext; then
19126 bakefile_cv_cxx_compiler___HP_aCC=yes
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19131 bakefile_cv_cxx_compiler___HP_aCC=no
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19140 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19141 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19147 ac_cpp='$CPP $CPPFLAGS'
19148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19160 ac_cpp='$CXXCPP $CPPFLAGS'
19161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19165 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19166 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19167 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19198 grep -v '^ *+' conftest.er1 >conftest.err
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_cxx_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 bakefile_cv_cxx_compiler___DECCXX=yes
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19211 bakefile_cv_cxx_compiler___DECCXX=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19220 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19221 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19227 ac_cpp='$CPP $CPPFLAGS'
19228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19245 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19246 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19247 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 cat >conftest.$ac_ext <<_ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19261 #ifndef __SUNPRO_CC
19269 rm -f conftest.$ac_objext
19270 if { (ac_try="$ac_compile"
19271 case "(($ac_try" in
19272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19273 *) ac_try_echo=$ac_try;;
19275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19276 (eval "$ac_compile") 2>conftest.er1
19278 grep -v '^ *+' conftest.er1 >conftest.err
19280 cat conftest.err >&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } && {
19283 test -z "$ac_cxx_werror_flag" ||
19284 test ! -s conftest.err
19285 } && test -s conftest.$ac_objext; then
19286 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19291 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19299 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19300 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19301 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19307 ac_cpp='$CPP $CPPFLAGS'
19308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19320 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19321 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19322 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19323 { (exit 1); exit 1; }; }
19326 if test -n "$ac_tool_prefix"; then
19327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19328 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19331 if test "${ac_cv_prog_RANLIB+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 if test -n "$RANLIB"; then
19335 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19338 for as_dir in $PATH
19341 test -z "$as_dir" && as_dir=.
19342 for ac_exec_ext in '' $ac_executable_extensions; do
19343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19344 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19354 RANLIB=$ac_cv_prog_RANLIB
19355 if test -n "$RANLIB"; then
19356 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19357 echo "${ECHO_T}$RANLIB" >&6; }
19359 { echo "$as_me:$LINENO: result: no" >&5
19360 echo "${ECHO_T}no" >&6; }
19365 if test -z "$ac_cv_prog_RANLIB"; then
19366 ac_ct_RANLIB=$RANLIB
19367 # Extract the first word of "ranlib", so it can be a program name with args.
19368 set dummy ranlib; ac_word=$2
19369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19371 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 if test -n "$ac_ct_RANLIB"; then
19375 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19378 for as_dir in $PATH
19381 test -z "$as_dir" && as_dir=.
19382 for ac_exec_ext in '' $ac_executable_extensions; do
19383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19384 ac_cv_prog_ac_ct_RANLIB="ranlib"
19385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19394 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19395 if test -n "$ac_ct_RANLIB"; then
19396 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19397 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19399 { echo "$as_me:$LINENO: result: no" >&5
19400 echo "${ECHO_T}no" >&6; }
19403 if test "x$ac_ct_RANLIB" = x; then
19406 case $cross_compiling:$ac_tool_warned in
19408 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19409 whose name does not start with the host triplet. If you think this
19410 configuration is useful to you, please write to autoconf@gnu.org." >&5
19411 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19412 whose name does not start with the host triplet. If you think this
19413 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19414 ac_tool_warned=yes ;;
19416 RANLIB=$ac_ct_RANLIB
19419 RANLIB="$ac_cv_prog_RANLIB"
19423 if test "x$SUNCXX" != xyes; then
19424 if test -n "$ac_tool_prefix"; then
19425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19426 set dummy ${ac_tool_prefix}ar; ac_word=$2
19427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19429 if test "${ac_cv_prog_AR+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 if test -n "$AR"; then
19433 ac_cv_prog_AR="$AR" # Let the user override the test.
19435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19436 for as_dir in $PATH
19439 test -z "$as_dir" && as_dir=.
19440 for ac_exec_ext in '' $ac_executable_extensions; do
19441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19442 ac_cv_prog_AR="${ac_tool_prefix}ar"
19443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19453 if test -n "$AR"; then
19454 { echo "$as_me:$LINENO: result: $AR" >&5
19455 echo "${ECHO_T}$AR" >&6; }
19457 { echo "$as_me:$LINENO: result: no" >&5
19458 echo "${ECHO_T}no" >&6; }
19463 if test -z "$ac_cv_prog_AR"; then
19465 # Extract the first word of "ar", so it can be a program name with args.
19466 set dummy ar; ac_word=$2
19467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 if test -n "$ac_ct_AR"; then
19473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19476 for as_dir in $PATH
19479 test -z "$as_dir" && as_dir=.
19480 for ac_exec_ext in '' $ac_executable_extensions; do
19481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19482 ac_cv_prog_ac_ct_AR="ar"
19483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19493 if test -n "$ac_ct_AR"; then
19494 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19495 echo "${ECHO_T}$ac_ct_AR" >&6; }
19497 { echo "$as_me:$LINENO: result: no" >&5
19498 echo "${ECHO_T}no" >&6; }
19501 if test "x$ac_ct_AR" = x; then
19504 case $cross_compiling:$ac_tool_warned in
19506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19507 whose name does not start with the host triplet. If you think this
19508 configuration is useful to you, please write to autoconf@gnu.org." >&5
19509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19510 whose name does not start with the host triplet. If you think this
19511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19512 ac_tool_warned=yes ;;
19517 AR="$ac_cv_prog_AR"
19520 if test "x$AR" = "x" ; then
19521 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19522 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19523 { (exit 1); exit 1; }; }
19527 # Find a good install program. We prefer a C program (faster),
19528 # so one script is as good as another. But avoid the broken or
19529 # incompatible versions:
19530 # SysV /etc/install, /usr/sbin/install
19531 # SunOS /usr/etc/install
19532 # IRIX /sbin/install
19534 # AmigaOS /C/install, which installs bootblocks on floppy discs
19535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19538 # OS/2's system install, which has a completely different semantic
19539 # ./install, which can be erroneously created by make from ./install.sh.
19540 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19541 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19542 if test -z "$INSTALL"; then
19543 if test "${ac_cv_path_install+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19547 for as_dir in $PATH
19550 test -z "$as_dir" && as_dir=.
19551 # Account for people who put trailing slashes in PATH elements.
19553 ./ | .// | /cC/* | \
19554 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19555 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19558 # OSF1 and SCO ODT 3.0 have their own names for install.
19559 # Don't use installbsd from OSF since it installs stuff as root
19561 for ac_prog in ginstall scoinst install; do
19562 for ac_exec_ext in '' $ac_executable_extensions; do
19563 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19564 if test $ac_prog = install &&
19565 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19566 # AIX install. It has an incompatible calling convention.
19568 elif test $ac_prog = install &&
19569 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19570 # program-specific install script used by HP pwplus--don't use.
19573 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19586 if test "${ac_cv_path_install+set}" = set; then
19587 INSTALL=$ac_cv_path_install
19589 # As a last resort, use the slow shell script. Don't cache a
19590 # value for INSTALL within a source directory, because that will
19591 # break other packages using the cache if that directory is
19592 # removed, or if the value is a relative name.
19593 INSTALL=$ac_install_sh
19596 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19597 echo "${ECHO_T}$INSTALL" >&6; }
19599 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19600 # It thinks the first close brace ends the variable substitution.
19601 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19603 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19605 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19611 ?:* ) # Drive letter, considered as absolute.
19614 INSTALL=`pwd`/${INSTALL} ;;
19621 INSTALL_PROGRAM="cp -fp"
19622 INSTALL_DATA="cp -fp"
19628 if test -n "$ac_tool_prefix"; then
19629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19630 set dummy ${ac_tool_prefix}strip; ac_word=$2
19631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19633 if test "${ac_cv_prog_STRIP+set}" = set; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 if test -n "$STRIP"; then
19637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19640 for as_dir in $PATH
19643 test -z "$as_dir" && as_dir=.
19644 for ac_exec_ext in '' $ac_executable_extensions; do
19645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19656 STRIP=$ac_cv_prog_STRIP
19657 if test -n "$STRIP"; then
19658 { echo "$as_me:$LINENO: result: $STRIP" >&5
19659 echo "${ECHO_T}$STRIP" >&6; }
19661 { echo "$as_me:$LINENO: result: no" >&5
19662 echo "${ECHO_T}no" >&6; }
19667 if test -z "$ac_cv_prog_STRIP"; then
19669 # Extract the first word of "strip", so it can be a program name with args.
19670 set dummy strip; ac_word=$2
19671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19673 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 if test -n "$ac_ct_STRIP"; then
19677 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19680 for as_dir in $PATH
19683 test -z "$as_dir" && as_dir=.
19684 for ac_exec_ext in '' $ac_executable_extensions; do
19685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19686 ac_cv_prog_ac_ct_STRIP="strip"
19687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19696 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19697 if test -n "$ac_ct_STRIP"; then
19698 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19699 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19701 { echo "$as_me:$LINENO: result: no" >&5
19702 echo "${ECHO_T}no" >&6; }
19705 if test "x$ac_ct_STRIP" = x; then
19708 case $cross_compiling:$ac_tool_warned in
19710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19711 whose name does not start with the host triplet. If you think this
19712 configuration is useful to you, please write to autoconf@gnu.org." >&5
19713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19714 whose name does not start with the host triplet. If you think this
19715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19716 ac_tool_warned=yes ;;
19721 STRIP="$ac_cv_prog_STRIP"
19725 if test "$wxUSE_WINE" = "yes"; then
19726 if test -n "$ac_tool_prefix"; then
19727 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19728 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19731 if test "${ac_cv_prog_WINDRES+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 if test -n "$WINDRES"; then
19735 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19738 for as_dir in $PATH
19741 test -z "$as_dir" && as_dir=.
19742 for ac_exec_ext in '' $ac_executable_extensions; do
19743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19744 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19754 WINDRES=$ac_cv_prog_WINDRES
19755 if test -n "$WINDRES"; then
19756 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19757 echo "${ECHO_T}$WINDRES" >&6; }
19759 { echo "$as_me:$LINENO: result: no" >&5
19760 echo "${ECHO_T}no" >&6; }
19765 if test -z "$ac_cv_prog_WINDRES"; then
19766 ac_ct_WINDRES=$WINDRES
19767 # Extract the first word of "wrc", so it can be a program name with args.
19768 set dummy wrc; ac_word=$2
19769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19771 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 if test -n "$ac_ct_WINDRES"; then
19775 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19778 for as_dir in $PATH
19781 test -z "$as_dir" && as_dir=.
19782 for ac_exec_ext in '' $ac_executable_extensions; do
19783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19784 ac_cv_prog_ac_ct_WINDRES="wrc"
19785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19794 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19795 if test -n "$ac_ct_WINDRES"; then
19796 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19797 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19799 { echo "$as_me:$LINENO: result: no" >&5
19800 echo "${ECHO_T}no" >&6; }
19803 if test "x$ac_ct_WINDRES" = x; then
19806 case $cross_compiling:$ac_tool_warned in
19808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19809 whose name does not start with the host triplet. If you think this
19810 configuration is useful to you, please write to autoconf@gnu.org." >&5
19811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19812 whose name does not start with the host triplet. If you think this
19813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19814 ac_tool_warned=yes ;;
19816 WINDRES=$ac_ct_WINDRES
19819 WINDRES="$ac_cv_prog_WINDRES"
19825 *-*-cygwin* | *-*-mingw32* )
19826 if test -n "$ac_tool_prefix"; then
19827 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19828 set dummy ${ac_tool_prefix}windres; ac_word=$2
19829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19831 if test "${ac_cv_prog_WINDRES+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 if test -n "$WINDRES"; then
19835 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19838 for as_dir in $PATH
19841 test -z "$as_dir" && as_dir=.
19842 for ac_exec_ext in '' $ac_executable_extensions; do
19843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19844 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19854 WINDRES=$ac_cv_prog_WINDRES
19855 if test -n "$WINDRES"; then
19856 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19857 echo "${ECHO_T}$WINDRES" >&6; }
19859 { echo "$as_me:$LINENO: result: no" >&5
19860 echo "${ECHO_T}no" >&6; }
19865 if test -z "$ac_cv_prog_WINDRES"; then
19866 ac_ct_WINDRES=$WINDRES
19867 # Extract the first word of "windres", so it can be a program name with args.
19868 set dummy windres; ac_word=$2
19869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19871 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 if test -n "$ac_ct_WINDRES"; then
19875 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19878 for as_dir in $PATH
19881 test -z "$as_dir" && as_dir=.
19882 for ac_exec_ext in '' $ac_executable_extensions; do
19883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19884 ac_cv_prog_ac_ct_WINDRES="windres"
19885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19894 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19895 if test -n "$ac_ct_WINDRES"; then
19896 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19897 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19899 { echo "$as_me:$LINENO: result: no" >&5
19900 echo "${ECHO_T}no" >&6; }
19903 if test "x$ac_ct_WINDRES" = x; then
19906 case $cross_compiling:$ac_tool_warned in
19908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19909 whose name does not start with the host triplet. If you think this
19910 configuration is useful to you, please write to autoconf@gnu.org." >&5
19911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19912 whose name does not start with the host triplet. If you think this
19913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19914 ac_tool_warned=yes ;;
19916 WINDRES=$ac_ct_WINDRES
19919 WINDRES="$ac_cv_prog_WINDRES"
19923 if test -n "$ac_tool_prefix"; then
19924 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19925 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19928 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 if test -n "$DLLTOOL"; then
19932 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19935 for as_dir in $PATH
19938 test -z "$as_dir" && as_dir=.
19939 for ac_exec_ext in '' $ac_executable_extensions; do
19940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19941 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19951 DLLTOOL=$ac_cv_prog_DLLTOOL
19952 if test -n "$DLLTOOL"; then
19953 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19954 echo "${ECHO_T}$DLLTOOL" >&6; }
19956 { echo "$as_me:$LINENO: result: no" >&5
19957 echo "${ECHO_T}no" >&6; }
19962 if test -z "$ac_cv_prog_DLLTOOL"; then
19963 ac_ct_DLLTOOL=$DLLTOOL
19964 # Extract the first word of "dlltool", so it can be a program name with args.
19965 set dummy dlltool; ac_word=$2
19966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19968 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19969 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 if test -n "$ac_ct_DLLTOOL"; then
19972 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19975 for as_dir in $PATH
19978 test -z "$as_dir" && as_dir=.
19979 for ac_exec_ext in '' $ac_executable_extensions; do
19980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19981 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19991 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19992 if test -n "$ac_ct_DLLTOOL"; then
19993 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19994 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19996 { echo "$as_me:$LINENO: result: no" >&5
19997 echo "${ECHO_T}no" >&6; }
20000 if test "x$ac_ct_DLLTOOL" = x; then
20003 case $cross_compiling:$ac_tool_warned in
20005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20006 whose name does not start with the host triplet. If you think this
20007 configuration is useful to you, please write to autoconf@gnu.org." >&5
20008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20009 whose name does not start with the host triplet. If you think this
20010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20011 ac_tool_warned=yes ;;
20013 DLLTOOL=$ac_ct_DLLTOOL
20016 DLLTOOL="$ac_cv_prog_DLLTOOL"
20023 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20024 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20025 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20030 $EGREP -s GNU > /dev/null); then
20031 wx_cv_prog_makeisgnu="yes"
20033 wx_cv_prog_makeisgnu="no"
20037 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20038 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20040 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20048 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20049 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20050 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20051 if test "${wx_cv_prog_makevpath+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20055 cat - << EOF > confMake
20061 if test ! -d sub ; then
20064 echo dummy > sub/file
20065 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20067 rm -f sub/file check final_file confMake
20069 if test "$RESULT" = 0; then
20070 wx_cv_prog_makevpath="yes"
20072 wx_cv_prog_makevpath="no"
20076 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20077 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20079 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20080 { { echo "$as_me:$LINENO: error:
20081 You need a make-utility that is able to use the variable
20083 If your version of make does not support VPATH correctly,
20084 please install GNU-make (possibly as gmake), and start
20085 configure with the following command:
20086 export MAKE=gmake; ./configure for sh-type shells
20087 setenv MAKE gmake; ./configure for csh-type shells
20088 Also please do remember to use gmake in this case every time
20089 you are trying to compile.
20091 echo "$as_me: error:
20092 You need a make-utility that is able to use the variable
20094 If your version of make does not support VPATH correctly,
20095 please install GNU-make (possibly as gmake), and start
20096 configure with the following command:
20097 export MAKE=gmake; ./configure for sh-type shells
20098 setenv MAKE gmake; ./configure for csh-type shells
20099 Also please do remember to use gmake in this case every time
20100 you are trying to compile.
20102 { (exit 1); exit 1; }; }
20104 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20107 if test "$LN_S" = "ln -s"; then
20108 { echo "$as_me:$LINENO: result: yes" >&5
20109 echo "${ECHO_T}yes" >&6; }
20111 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20112 echo "${ECHO_T}no, using $LN_S" >&6; }
20118 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20119 CXXFLAGS="-qunique $CXXFLAGS"
20123 powerpc-*-darwin* )
20124 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20125 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20126 cat >conftest.$ac_ext <<_ACEOF
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20136 #ifndef __POWERPC__
20137 choke me for lack of PowerPC
20144 rm -f conftest.$ac_objext
20145 if { (ac_try="$ac_compile"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_compile") 2>conftest.er1
20153 grep -v '^ *+' conftest.er1 >conftest.err
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && {
20158 test -z "$ac_c_werror_flag" ||
20159 test ! -s conftest.err
20160 } && test -s conftest.$ac_objext; then
20161 { echo "$as_me:$LINENO: result: yes" >&5
20162 echo "${ECHO_T}yes" >&6; }
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 { echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6; }
20169 cat >>confdefs.h <<\_ACEOF
20170 #define __POWERPC__ 1
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20183 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20184 cat >conftest.$ac_ext <<_ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190 #include <CoreFoundation/CFBase.h>
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20209 grep -v '^ *+' conftest.er1 >conftest.err
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 { echo "$as_me:$LINENO: result: yes" >&5
20218 echo "${ECHO_T}yes" >&6; }
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20223 { echo "$as_me:$LINENO: result: no" >&5
20224 echo "${ECHO_T}no" >&6; }
20225 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20226 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #define __CF_USE_FRAMEWORK_INCLUDES__
20234 #include <CoreFoundation/CFBase.h>
20244 rm -f conftest.$ac_objext
20245 if { (ac_try="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20253 grep -v '^ *+' conftest.er1 >conftest.err
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20261 { echo "$as_me:$LINENO: result: yes" >&5
20262 echo "${ECHO_T}yes" >&6; }
20263 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20269 See \`config.log' for more details." >&5
20270 echo "$as_me: error: no. CoreFoundation not available.
20271 See \`config.log' for more details." >&2;}
20272 { (exit 1); exit 1; }; }
20276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20286 doesnt_want_win32=0
20289 if test "$wxUSE_MSW" = 1 ; then
20292 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20293 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20294 if test "${wx_cv_nocygwin+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 cat >conftest.$ac_ext <<_ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20326 grep -v '^ *+' conftest.er1 >conftest.err
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.$ac_objext; then
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20348 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20350 if test "$wx_cv_nocygwin" = "yes"; then
20353 doesnt_want_win32=1
20356 if test "$wants_win32" = 1 ; then
20357 BAKEFILE_FORCE_PLATFORM=win32
20365 if test "$wxUSE_WINE" = "yes"; then
20367 LDFLAGS_GUI="-mwindows"
20370 if test "$wants_win32" = 1 ; then
20373 cat >>confdefs.h <<\_ACEOF
20374 #define __WIN32__ 1
20377 cat >>confdefs.h <<\_ACEOF
20378 #define __WIN95__ 1
20381 cat >>confdefs.h <<\_ACEOF
20382 #define __WINDOWS__ 1
20385 cat >>confdefs.h <<\_ACEOF
20386 #define __GNUWIN32__ 1
20389 cat >>confdefs.h <<\_ACEOF
20394 if test "$doesnt_want_win32" = 1 ; then
20399 if test "$USE_UNIX" = 1 ; then
20401 cat >>confdefs.h <<\_ACEOF
20408 *-pc-os2_emx | *-pc-os2-emx )
20409 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20410 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20411 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20412 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 ac_check_lib_save_LIBS=$LIBS
20416 LIBS="-lcExt $LIBS"
20417 cat >conftest.$ac_ext <<_ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20424 /* Override any GCC internal prototype to avoid an error.
20425 Use char because int might match the return type of a GCC
20426 builtin and then its argument prototype would still apply. */
20439 rm -f conftest.$ac_objext conftest$ac_exeext
20440 if { (ac_try="$ac_link"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_link") 2>conftest.er1
20448 grep -v '^ *+' conftest.er1 >conftest.err
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } && {
20453 test -z "$ac_c_werror_flag" ||
20454 test ! -s conftest.err
20455 } && test -s conftest$ac_exeext &&
20456 $as_test_x conftest$ac_exeext; then
20457 ac_cv_lib_cExt_drand48=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20462 ac_cv_lib_cExt_drand48=no
20465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466 conftest$ac_exeext conftest.$ac_ext
20467 LIBS=$ac_check_lib_save_LIBS
20469 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20470 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20471 if test $ac_cv_lib_cExt_drand48 = yes; then
20472 LIBS="$LIBS -lcExt"
20476 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20478 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20479 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20480 if test "${wx_cv_gccversion+set}" = set; then
20481 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 if test "$cross_compiling" = yes; then
20485 wx_cv_gccversion="EMX2"
20488 cat >conftest.$ac_ext <<_ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20499 FILE *f=fopen("conftestval", "w");
20504 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20506 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20516 rm -f conftest$ac_exeext
20517 if { (ac_try="$ac_link"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_link") 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20527 { (case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_try") 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 wx_cv_gccversion=`cat conftestval`
20538 echo "$as_me: program exited with status $ac_status" >&5
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 ( exit $ac_status )
20543 wx_cv_gccversion="EMX2"
20545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20551 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20552 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20553 if test "$wx_cv_gccversion" = "EMX2"; then
20554 LIBS="$LIBS -lstdcpp"
20555 LDFLAGS="$LDFLAGS -Zsysv-signals"
20557 if test "$wx_cv_gccversion" = "EMX3"; then
20558 LIBS="$LIBS -lstdcxx -lgcc"
20559 LDFLAGS="$LDFLAGS -Zsysv-signals"
20561 LIBS="$LIBS -lstdc++"
20564 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20565 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20566 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20573 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20574 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20575 if test "${ac_cv_string_strcasecmp+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.$ac_ext <<_ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20586 #include <string.h>
20592 strcasecmp("foo", "bar");
20598 rm -f conftest.$ac_objext conftest$ac_exeext
20599 if { (ac_try="$ac_link"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_link") 2>conftest.er1
20607 grep -v '^ *+' conftest.er1 >conftest.err
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest$ac_exeext &&
20615 $as_test_x conftest$ac_exeext; then
20616 ac_cv_string_strcasecmp=yes
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20621 ac_cv_string_strcasecmp=no
20625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20626 conftest$ac_exeext conftest.$ac_ext
20629 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20630 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20632 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20633 cat >>confdefs.h <<\_ACEOF
20634 #define HAVE_STRCASECMP_IN_STRING_H 1
20638 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20639 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20640 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 cat >conftest.$ac_ext <<_ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20651 #include <strings.h>
20657 strcasecmp("foo", "bar");
20663 rm -f conftest.$ac_objext conftest$ac_exeext
20664 if { (ac_try="$ac_link"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_link") 2>conftest.er1
20672 grep -v '^ *+' conftest.er1 >conftest.err
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest$ac_exeext &&
20680 $as_test_x conftest$ac_exeext; then
20681 ac_cv_strings_strcasecmp=yes
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20686 ac_cv_strings_strcasecmp=no
20690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20691 conftest$ac_exeext conftest.$ac_ext
20694 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20695 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20697 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20703 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20704 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20705 { (exit 1); exit 1; }; }
20713 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20714 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20715 if test "${ac_cv_header_stdc+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 cat >conftest.$ac_ext <<_ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 #include <stdlib.h>
20725 #include <stdarg.h>
20726 #include <string.h>
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20746 grep -v '^ *+' conftest.er1 >conftest.err
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_cv_header_stdc=yes
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ac_cv_header_stdc=no
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 if test $ac_cv_header_stdc = yes; then
20765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20766 cat >conftest.$ac_ext <<_ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 #include <string.h>
20775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20776 $EGREP "memchr" >/dev/null 2>&1; then
20779 ac_cv_header_stdc=no
20785 if test $ac_cv_header_stdc = yes; then
20786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20787 cat >conftest.$ac_ext <<_ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 #include <stdlib.h>
20796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20797 $EGREP "free" >/dev/null 2>&1; then
20800 ac_cv_header_stdc=no
20806 if test $ac_cv_header_stdc = yes; then
20807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20808 if test "$cross_compiling" = yes; then
20811 cat >conftest.$ac_ext <<_ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20818 #include <stdlib.h>
20819 #if ((' ' & 0x0FF) == 0x020)
20820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20823 # define ISLOWER(c) \
20824 (('a' <= (c) && (c) <= 'i') \
20825 || ('j' <= (c) && (c) <= 'r') \
20826 || ('s' <= (c) && (c) <= 'z'))
20827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20835 for (i = 0; i < 256; i++)
20836 if (XOR (islower (i), ISLOWER (i))
20837 || toupper (i) != TOUPPER (i))
20842 rm -f conftest$ac_exeext
20843 if { (ac_try="$ac_link"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_link") 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20853 { (case "(($ac_try" in
20854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20855 *) ac_try_echo=$ac_try;;
20857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20858 (eval "$ac_try") 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; }; then
20864 echo "$as_me: program exited with status $ac_status" >&5
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20868 ( exit $ac_status )
20869 ac_cv_header_stdc=no
20871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20877 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20878 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20879 if test $ac_cv_header_stdc = yes; then
20881 cat >>confdefs.h <<\_ACEOF
20882 #define STDC_HEADERS 1
20887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20897 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20898 inttypes.h stdint.h unistd.h
20900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 cat >conftest.$ac_ext <<_ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20914 #include <$ac_header>
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20925 grep -v '^ *+' conftest.er1 >conftest.err
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 eval "$as_ac_Header=yes"
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 eval "$as_ac_Header=no"
20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 ac_res=`eval echo '${'$as_ac_Header'}'`
20944 { echo "$as_me:$LINENO: result: $ac_res" >&5
20945 echo "${ECHO_T}$ac_res" >&6; }
20946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20947 cat >>confdefs.h <<_ACEOF
20948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20962 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20965 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20968 echo $ECHO_N "(cached) $ECHO_C" >&6
20970 cat >conftest.$ac_ext <<_ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20978 #include <$ac_header>
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20989 grep -v '^ *+' conftest.er1 >conftest.err
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20997 eval "$as_ac_Header=yes"
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 eval "$as_ac_Header=no"
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 ac_res=`eval echo '${'$as_ac_Header'}'`
21008 { echo "$as_me:$LINENO: result: $ac_res" >&5
21009 echo "${ECHO_T}$ac_res" >&6; }
21010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21011 cat >>confdefs.h <<_ACEOF
21012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21020 if test "$ac_cv_header_wchar_h" != "yes"; then
21022 for ac_header in wcstr.h
21024 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 cat >conftest.$ac_ext <<_ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 $ac_includes_default
21038 #include <$ac_header>
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21049 grep -v '^ *+' conftest.er1 >conftest.err
21051 cat conftest.err >&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && {
21054 test -z "$ac_c_werror_flag" ||
21055 test ! -s conftest.err
21056 } && test -s conftest.$ac_objext; then
21057 eval "$as_ac_Header=yes"
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21062 eval "$as_ac_Header=no"
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 ac_res=`eval echo '${'$as_ac_Header'}'`
21068 { echo "$as_me:$LINENO: result: $ac_res" >&5
21069 echo "${ECHO_T}$ac_res" >&6; }
21070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21071 cat >>confdefs.h <<_ACEOF
21072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21082 *-pc-os2_emx | *-pc-os2-emx )
21083 if test $ac_cv_header_langinfo_h = "yes" \
21084 -a \( "$wx_cv_gccversion" = "EMX2" \
21085 -o "$wx_cv_gccversion" = "EMX3" \
21086 -o "$wx_cv_gccversion" = "Innotek5" \); then
21087 LIBS="$LIBS -lintl"
21092 if test "$USE_UNIX" = 1 ; then
21094 for ac_header in sys/select.h
21096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 cat >conftest.$ac_ext <<_ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21110 #include <$ac_header>
21112 rm -f conftest.$ac_objext
21113 if { (ac_try="$ac_compile"
21114 case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_compile") 2>conftest.er1
21121 grep -v '^ *+' conftest.er1 >conftest.err
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } && {
21126 test -z "$ac_c_werror_flag" ||
21127 test ! -s conftest.err
21128 } && test -s conftest.$ac_objext; then
21129 eval "$as_ac_Header=yes"
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21134 eval "$as_ac_Header=no"
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21139 ac_res=`eval echo '${'$as_ac_Header'}'`
21140 { echo "$as_me:$LINENO: result: $ac_res" >&5
21141 echo "${ECHO_T}$ac_res" >&6; }
21142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21154 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21155 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21156 if test "${ac_cv_c_const+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21169 /* FIXME: Include the comments suggested by Paul. */
21170 #ifndef __cplusplus
21171 /* Ultrix mips cc rejects this. */
21172 typedef int charset[2];
21174 /* SunOS 4.1.1 cc rejects this. */
21175 char const *const *pcpcc;
21177 /* NEC SVR4.0.2 mips cc rejects this. */
21178 struct point {int x, y;};
21179 static struct point const zero = {0,0};
21180 /* AIX XL C 1.02.0.0 rejects this.
21181 It does not let you subtract one const X* pointer from another in
21182 an arm of an if-expression whose if-part is not a constant
21184 const char *g = "string";
21185 pcpcc = &g + (g ? g-g : 0);
21186 /* HPUX 7.0 cc rejects these. */
21188 ppc = (char**) pcpcc;
21189 pcpcc = (char const *const *) ppc;
21190 { /* SCO 3.2v4 cc rejects this. */
21192 char const *s = 0 ? (char *) 0 : (char const *) 0;
21197 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21198 int x[] = {25, 17};
21199 const int *foo = &x[0];
21202 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21203 typedef const int *iptr;
21207 { /* AIX XL C 1.02.0.0 rejects this saying
21208 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21209 struct s { int j; const int *ap[3]; };
21210 struct s *b; b->j = 5;
21212 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21213 const int foo = 10;
21214 if (!foo) return 0;
21216 return !cs[0] && !zero.x;
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21232 grep -v '^ *+' conftest.er1 >conftest.err
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.$ac_objext; then
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21251 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21252 if test $ac_cv_c_const = no; then
21254 cat >>confdefs.h <<\_ACEOF
21260 { echo "$as_me:$LINENO: checking for inline" >&5
21261 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21262 if test "${ac_cv_c_inline+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 for ac_kw in inline __inline__ __inline; do
21267 cat >conftest.$ac_ext <<_ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #ifndef __cplusplus
21275 static $ac_kw foo_t static_foo () {return 0; }
21276 $ac_kw foo_t foo () {return 0; }
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_cv_c_inline=$ac_kw
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 test "$ac_cv_c_inline" != no && break
21310 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21311 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21314 case $ac_cv_c_inline in
21317 case $ac_cv_c_inline in
21319 *) ac_val=$ac_cv_c_inline;;
21321 cat >>confdefs.h <<_ACEOF
21322 #ifndef __cplusplus
21323 #define inline $ac_val
21330 { echo "$as_me:$LINENO: checking for short" >&5
21331 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21332 if test "${ac_cv_type_short+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 cat >conftest.$ac_ext <<_ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 typedef short ac__type_new_;
21346 if ((ac__type_new_ *) 0)
21348 if (sizeof (ac__type_new_))
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21363 grep -v '^ *+' conftest.er1 >conftest.err
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.$ac_objext; then
21371 ac_cv_type_short=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21376 ac_cv_type_short=no
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21382 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21384 # The cast to long int works around a bug in the HP C Compiler
21385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21387 # This bug is HP SR number 8606223364.
21388 { echo "$as_me:$LINENO: checking size of short" >&5
21389 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21390 if test "${ac_cv_sizeof_short+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 if test "$cross_compiling" = yes; then
21394 # Depending upon the size, compute the lo and hi bounds.
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 typedef short ac__type_sizeof_;
21406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21413 rm -f conftest.$ac_objext
21414 if { (ac_try="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21422 grep -v '^ *+' conftest.er1 >conftest.err
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
21467 ac_hi=$ac_mid; break
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 ac_lo=`expr $ac_mid + 1`
21473 if test $ac_lo -le $ac_mid; then
21477 ac_mid=`expr 2 '*' $ac_mid + 1`
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21486 cat >conftest.$ac_ext <<_ACEOF
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 $ac_includes_default
21493 typedef short ac__type_sizeof_;
21497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21504 rm -f conftest.$ac_objext
21505 if { (ac_try="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_compile") 2>conftest.er1
21513 grep -v '^ *+' conftest.er1 >conftest.err
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && {
21518 test -z "$ac_c_werror_flag" ||
21519 test ! -s conftest.err
21520 } && test -s conftest.$ac_objext; then
21523 cat >conftest.$ac_ext <<_ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21530 typedef short ac__type_sizeof_;
21534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21541 rm -f conftest.$ac_objext
21542 if { (ac_try="$ac_compile"
21543 case "(($ac_try" in
21544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21545 *) ac_try_echo=$ac_try;;
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_compile") 2>conftest.er1
21550 grep -v '^ *+' conftest.er1 >conftest.err
21552 cat conftest.err >&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } && {
21555 test -z "$ac_c_werror_flag" ||
21556 test ! -s conftest.err
21557 } && test -s conftest.$ac_objext; then
21558 ac_lo=$ac_mid; break
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21563 ac_hi=`expr '(' $ac_mid ')' - 1`
21564 if test $ac_mid -le $ac_hi; then
21568 ac_mid=`expr 2 '*' $ac_mid`
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 # Binary search between lo and hi bounds.
21585 while test "x$ac_lo" != "x$ac_hi"; do
21586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21587 cat >conftest.$ac_ext <<_ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21594 typedef short ac__type_sizeof_;
21598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21605 rm -f conftest.$ac_objext
21606 if { (ac_try="$ac_compile"
21607 case "(($ac_try" in
21608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21609 *) ac_try_echo=$ac_try;;
21611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21612 (eval "$ac_compile") 2>conftest.er1
21614 grep -v '^ *+' conftest.er1 >conftest.err
21616 cat conftest.err >&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); } && {
21619 test -z "$ac_c_werror_flag" ||
21620 test ! -s conftest.err
21621 } && test -s conftest.$ac_objext; then
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21627 ac_lo=`expr '(' $ac_mid ')' + 1`
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ?*) ac_cv_sizeof_short=$ac_lo;;
21634 '') if test "$ac_cv_type_short" = yes; then
21635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21636 See \`config.log' for more details." >&5
21637 echo "$as_me: error: cannot compute sizeof (short)
21638 See \`config.log' for more details." >&2;}
21639 { (exit 77); exit 77; }; }
21641 ac_cv_sizeof_short=0
21645 cat >conftest.$ac_ext <<_ACEOF
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21651 $ac_includes_default
21652 typedef short ac__type_sizeof_;
21653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21656 #include <stdlib.h>
21661 FILE *f = fopen ("conftest.val", "w");
21664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21666 long int i = longval ();
21667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21669 fprintf (f, "%ld\n", i);
21673 unsigned long int i = ulongval ();
21674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21676 fprintf (f, "%lu\n", i);
21678 return ferror (f) || fclose (f) != 0;
21684 rm -f conftest$ac_exeext
21685 if { (ac_try="$ac_link"
21686 case "(($ac_try" in
21687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21688 *) ac_try_echo=$ac_try;;
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_link") 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_sizeof_short=`cat conftest.val`
21706 echo "$as_me: program exited with status $ac_status" >&5
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 ( exit $ac_status )
21711 if test "$ac_cv_type_short" = yes; then
21712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21713 See \`config.log' for more details." >&5
21714 echo "$as_me: error: cannot compute sizeof (short)
21715 See \`config.log' for more details." >&2;}
21716 { (exit 77); exit 77; }; }
21718 ac_cv_sizeof_short=0
21721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21726 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21730 cat >>confdefs.h <<_ACEOF
21731 #define SIZEOF_SHORT $ac_cv_sizeof_short
21735 { echo "$as_me:$LINENO: checking for void *" >&5
21736 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21737 if test "${ac_cv_type_void_p+set}" = set; then
21738 echo $ECHO_N "(cached) $ECHO_C" >&6
21740 cat >conftest.$ac_ext <<_ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 typedef void * ac__type_new_;
21751 if ((ac__type_new_ *) 0)
21753 if (sizeof (ac__type_new_))
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21768 grep -v '^ *+' conftest.er1 >conftest.err
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_cv_type_void_p=yes
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21781 ac_cv_type_void_p=no
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21787 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21789 # The cast to long int works around a bug in the HP C Compiler
21790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21792 # This bug is HP SR number 8606223364.
21793 { echo "$as_me:$LINENO: checking size of void *" >&5
21794 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21795 if test "${ac_cv_sizeof_void_p+set}" = set; then
21796 echo $ECHO_N "(cached) $ECHO_C" >&6
21798 if test "$cross_compiling" = yes; then
21799 # Depending upon the size, compute the lo and hi bounds.
21800 cat >conftest.$ac_ext <<_ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef void * ac__type_sizeof_;
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21818 rm -f conftest.$ac_objext
21819 if { (ac_try="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21827 grep -v '^ *+' conftest.er1 >conftest.err
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
21872 ac_hi=$ac_mid; break
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 ac_lo=`expr $ac_mid + 1`
21878 if test $ac_lo -le $ac_mid; then
21882 ac_mid=`expr 2 '*' $ac_mid + 1`
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21891 cat >conftest.$ac_ext <<_ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 $ac_includes_default
21898 typedef void * ac__type_sizeof_;
21902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21909 rm -f conftest.$ac_objext
21910 if { (ac_try="$ac_compile"
21911 case "(($ac_try" in
21912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913 *) ac_try_echo=$ac_try;;
21915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916 (eval "$ac_compile") 2>conftest.er1
21918 grep -v '^ *+' conftest.er1 >conftest.err
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } && {
21923 test -z "$ac_c_werror_flag" ||
21924 test ! -s conftest.err
21925 } && test -s conftest.$ac_objext; then
21928 cat >conftest.$ac_ext <<_ACEOF
21931 cat confdefs.h >>conftest.$ac_ext
21932 cat >>conftest.$ac_ext <<_ACEOF
21933 /* end confdefs.h. */
21934 $ac_includes_default
21935 typedef void * ac__type_sizeof_;
21939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21946 rm -f conftest.$ac_objext
21947 if { (ac_try="$ac_compile"
21948 case "(($ac_try" in
21949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21950 *) ac_try_echo=$ac_try;;
21952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21953 (eval "$ac_compile") 2>conftest.er1
21955 grep -v '^ *+' conftest.er1 >conftest.err
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } && {
21960 test -z "$ac_c_werror_flag" ||
21961 test ! -s conftest.err
21962 } && test -s conftest.$ac_objext; then
21963 ac_lo=$ac_mid; break
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21968 ac_hi=`expr '(' $ac_mid ')' - 1`
21969 if test $ac_mid -le $ac_hi; then
21973 ac_mid=`expr 2 '*' $ac_mid`
21976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 # Binary search between lo and hi bounds.
21990 while test "x$ac_lo" != "x$ac_hi"; do
21991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21992 cat >conftest.$ac_ext <<_ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 $ac_includes_default
21999 typedef void * ac__type_sizeof_;
22003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22010 rm -f conftest.$ac_objext
22011 if { (ac_try="$ac_compile"
22012 case "(($ac_try" in
22013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22014 *) ac_try_echo=$ac_try;;
22016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22017 (eval "$ac_compile") 2>conftest.er1
22019 grep -v '^ *+' conftest.er1 >conftest.err
22021 cat conftest.err >&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } && {
22024 test -z "$ac_c_werror_flag" ||
22025 test ! -s conftest.err
22026 } && test -s conftest.$ac_objext; then
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22032 ac_lo=`expr '(' $ac_mid ')' + 1`
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22038 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22039 '') if test "$ac_cv_type_void_p" = yes; then
22040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22041 See \`config.log' for more details." >&5
22042 echo "$as_me: error: cannot compute sizeof (void *)
22043 See \`config.log' for more details." >&2;}
22044 { (exit 77); exit 77; }; }
22046 ac_cv_sizeof_void_p=0
22050 cat >conftest.$ac_ext <<_ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef void * ac__type_sizeof_;
22058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22061 #include <stdlib.h>
22066 FILE *f = fopen ("conftest.val", "w");
22069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22071 long int i = longval ();
22072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22074 fprintf (f, "%ld\n", i);
22078 unsigned long int i = ulongval ();
22079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22081 fprintf (f, "%lu\n", i);
22083 return ferror (f) || fclose (f) != 0;
22089 rm -f conftest$ac_exeext
22090 if { (ac_try="$ac_link"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093 *) ac_try_echo=$ac_try;;
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_link") 2>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22100 { (case "(($ac_try" in
22101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_try") 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_sizeof_void_p=`cat conftest.val`
22111 echo "$as_me: program exited with status $ac_status" >&5
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22115 ( exit $ac_status )
22116 if test "$ac_cv_type_void_p" = yes; then
22117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22118 See \`config.log' for more details." >&5
22119 echo "$as_me: error: cannot compute sizeof (void *)
22120 See \`config.log' for more details." >&2;}
22121 { (exit 77); exit 77; }; }
22123 ac_cv_sizeof_void_p=0
22126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22131 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22135 cat >>confdefs.h <<_ACEOF
22136 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22140 { echo "$as_me:$LINENO: checking for int" >&5
22141 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22142 if test "${ac_cv_type_int+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22145 cat >conftest.$ac_ext <<_ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 typedef int ac__type_new_;
22156 if ((ac__type_new_ *) 0)
22158 if (sizeof (ac__type_new_))
22164 rm -f conftest.$ac_objext
22165 if { (ac_try="$ac_compile"
22166 case "(($ac_try" in
22167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22168 *) ac_try_echo=$ac_try;;
22170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22171 (eval "$ac_compile") 2>conftest.er1
22173 grep -v '^ *+' conftest.er1 >conftest.err
22175 cat conftest.err >&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); } && {
22178 test -z "$ac_c_werror_flag" ||
22179 test ! -s conftest.err
22180 } && test -s conftest.$ac_objext; then
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22192 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22194 # The cast to long int works around a bug in the HP C Compiler
22195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22197 # This bug is HP SR number 8606223364.
22198 { echo "$as_me:$LINENO: checking size of int" >&5
22199 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22200 if test "${ac_cv_sizeof_int+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 if test "$cross_compiling" = yes; then
22204 # Depending upon the size, compute the lo and hi bounds.
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef int ac__type_sizeof_;
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1 >conftest.err
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22277 ac_hi=$ac_mid; break
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22282 ac_lo=`expr $ac_mid + 1`
22283 if test $ac_lo -le $ac_mid; then
22287 ac_mid=`expr 2 '*' $ac_mid + 1`
22290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22296 cat >conftest.$ac_ext <<_ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22303 typedef int ac__type_sizeof_;
22307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22314 rm -f conftest.$ac_objext
22315 if { (ac_try="$ac_compile"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22323 grep -v '^ *+' conftest.er1 >conftest.err
22325 cat conftest.err >&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.$ac_objext; then
22333 cat >conftest.$ac_ext <<_ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef int ac__type_sizeof_;
22344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22360 grep -v '^ *+' conftest.er1 >conftest.err
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22368 ac_lo=$ac_mid; break
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22373 ac_hi=`expr '(' $ac_mid ')' - 1`
22374 if test $ac_mid -le $ac_hi; then
22378 ac_mid=`expr 2 '*' $ac_mid`
22381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.$ac_ext >&5
22390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 # Binary search between lo and hi bounds.
22395 while test "x$ac_lo" != "x$ac_hi"; do
22396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22397 cat >conftest.$ac_ext <<_ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 $ac_includes_default
22404 typedef int ac__type_sizeof_;
22408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22415 rm -f conftest.$ac_objext
22416 if { (ac_try="$ac_compile"
22417 case "(($ac_try" in
22418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419 *) ac_try_echo=$ac_try;;
22421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422 (eval "$ac_compile") 2>conftest.er1
22424 grep -v '^ *+' conftest.er1 >conftest.err
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } && {
22429 test -z "$ac_c_werror_flag" ||
22430 test ! -s conftest.err
22431 } && test -s conftest.$ac_objext; then
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22437 ac_lo=`expr '(' $ac_mid ')' + 1`
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 ?*) ac_cv_sizeof_int=$ac_lo;;
22444 '') if test "$ac_cv_type_int" = yes; then
22445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22446 See \`config.log' for more details." >&5
22447 echo "$as_me: error: cannot compute sizeof (int)
22448 See \`config.log' for more details." >&2;}
22449 { (exit 77); exit 77; }; }
22455 cat >conftest.$ac_ext <<_ACEOF
22458 cat confdefs.h >>conftest.$ac_ext
22459 cat >>conftest.$ac_ext <<_ACEOF
22460 /* end confdefs.h. */
22461 $ac_includes_default
22462 typedef int ac__type_sizeof_;
22463 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22464 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22466 #include <stdlib.h>
22471 FILE *f = fopen ("conftest.val", "w");
22474 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22476 long int i = longval ();
22477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22479 fprintf (f, "%ld\n", i);
22483 unsigned long int i = ulongval ();
22484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22486 fprintf (f, "%lu\n", i);
22488 return ferror (f) || fclose (f) != 0;
22494 rm -f conftest$ac_exeext
22495 if { (ac_try="$ac_link"
22496 case "(($ac_try" in
22497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22498 *) ac_try_echo=$ac_try;;
22500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22501 (eval "$ac_link") 2>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22505 { (case "(($ac_try" in
22506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22507 *) ac_try_echo=$ac_try;;
22509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22510 (eval "$ac_try") 2>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; }; then
22514 ac_cv_sizeof_int=`cat conftest.val`
22516 echo "$as_me: program exited with status $ac_status" >&5
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.$ac_ext >&5
22520 ( exit $ac_status )
22521 if test "$ac_cv_type_int" = yes; then
22522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22523 See \`config.log' for more details." >&5
22524 echo "$as_me: error: cannot compute sizeof (int)
22525 See \`config.log' for more details." >&2;}
22526 { (exit 77); exit 77; }; }
22531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22535 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22536 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22540 cat >>confdefs.h <<_ACEOF
22541 #define SIZEOF_INT $ac_cv_sizeof_int
22545 { echo "$as_me:$LINENO: checking for long" >&5
22546 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22547 if test "${ac_cv_type_long+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 cat >conftest.$ac_ext <<_ACEOF
22553 cat confdefs.h >>conftest.$ac_ext
22554 cat >>conftest.$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556 $ac_includes_default
22557 typedef long ac__type_new_;
22561 if ((ac__type_new_ *) 0)
22563 if (sizeof (ac__type_new_))
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22578 grep -v '^ *+' conftest.er1 >conftest.err
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } && {
22583 test -z "$ac_c_werror_flag" ||
22584 test ! -s conftest.err
22585 } && test -s conftest.$ac_objext; then
22586 ac_cv_type_long=yes
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22596 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22597 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22599 # The cast to long int works around a bug in the HP C Compiler
22600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22602 # This bug is HP SR number 8606223364.
22603 { echo "$as_me:$LINENO: checking size of long" >&5
22604 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22605 if test "${ac_cv_sizeof_long+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 if test "$cross_compiling" = yes; then
22609 # Depending upon the size, compute the lo and hi bounds.
22610 cat >conftest.$ac_ext <<_ACEOF
22613 cat confdefs.h >>conftest.$ac_ext
22614 cat >>conftest.$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22616 $ac_includes_default
22617 typedef long ac__type_sizeof_;
22621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22628 rm -f conftest.$ac_objext
22629 if { (ac_try="$ac_compile"
22630 case "(($ac_try" in
22631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22632 *) ac_try_echo=$ac_try;;
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_compile") 2>conftest.er1
22637 grep -v '^ *+' conftest.er1 >conftest.err
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } && {
22642 test -z "$ac_c_werror_flag" ||
22643 test ! -s conftest.err
22644 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22682 ac_hi=$ac_mid; break
22684 echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.$ac_ext >&5
22687 ac_lo=`expr $ac_mid + 1`
22688 if test $ac_lo -le $ac_mid; then
22692 ac_mid=`expr 2 '*' $ac_mid + 1`
22695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 cat >conftest.$ac_ext <<_ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 $ac_includes_default
22708 typedef long ac__type_sizeof_;
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;;
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22728 grep -v '^ *+' conftest.er1 >conftest.err
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.$ac_objext; then
22738 cat >conftest.$ac_ext <<_ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long ac__type_sizeof_;
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22765 grep -v '^ *+' conftest.er1 >conftest.err
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_lo=$ac_mid; break
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22778 ac_hi=`expr '(' $ac_mid ')' - 1`
22779 if test $ac_mid -le $ac_hi; then
22783 ac_mid=`expr 2 '*' $ac_mid`
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 # Binary search between lo and hi bounds.
22800 while test "x$ac_lo" != "x$ac_hi"; do
22801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22802 cat >conftest.$ac_ext <<_ACEOF
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22808 $ac_includes_default
22809 typedef long ac__type_sizeof_;
22813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22820 rm -f conftest.$ac_objext
22821 if { (ac_try="$ac_compile"
22822 case "(($ac_try" in
22823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22824 *) ac_try_echo=$ac_try;;
22826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22827 (eval "$ac_compile") 2>conftest.er1
22829 grep -v '^ *+' conftest.er1 >conftest.err
22831 cat conftest.err >&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } && {
22834 test -z "$ac_c_werror_flag" ||
22835 test ! -s conftest.err
22836 } && test -s conftest.$ac_objext; then
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22842 ac_lo=`expr '(' $ac_mid ')' + 1`
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 ?*) ac_cv_sizeof_long=$ac_lo;;
22849 '') if test "$ac_cv_type_long" = yes; then
22850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22851 See \`config.log' for more details." >&5
22852 echo "$as_me: error: cannot compute sizeof (long)
22853 See \`config.log' for more details." >&2;}
22854 { (exit 77); exit 77; }; }
22856 ac_cv_sizeof_long=0
22860 cat >conftest.$ac_ext <<_ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 $ac_includes_default
22867 typedef long ac__type_sizeof_;
22868 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22869 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22871 #include <stdlib.h>
22876 FILE *f = fopen ("conftest.val", "w");
22879 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22881 long int i = longval ();
22882 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22884 fprintf (f, "%ld\n", i);
22888 unsigned long int i = ulongval ();
22889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22891 fprintf (f, "%lu\n", i);
22893 return ferror (f) || fclose (f) != 0;
22899 rm -f conftest$ac_exeext
22900 if { (ac_try="$ac_link"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_link") 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22910 { (case "(($ac_try" in
22911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22912 *) ac_try_echo=$ac_try;;
22914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22915 (eval "$ac_try") 2>&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); }; }; then
22919 ac_cv_sizeof_long=`cat conftest.val`
22921 echo "$as_me: program exited with status $ac_status" >&5
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22925 ( exit $ac_status )
22926 if test "$ac_cv_type_long" = yes; then
22927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22928 See \`config.log' for more details." >&5
22929 echo "$as_me: error: cannot compute sizeof (long)
22930 See \`config.log' for more details." >&2;}
22931 { (exit 77); exit 77; }; }
22933 ac_cv_sizeof_long=0
22936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22940 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22941 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22945 cat >>confdefs.h <<_ACEOF
22946 #define SIZEOF_LONG $ac_cv_sizeof_long
22950 { echo "$as_me:$LINENO: checking for size_t" >&5
22951 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22952 if test "${ac_cv_type_size_t+set}" = set; then
22953 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 cat >conftest.$ac_ext <<_ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 $ac_includes_default
22962 typedef size_t ac__type_new_;
22966 if ((ac__type_new_ *) 0)
22968 if (sizeof (ac__type_new_))
22974 rm -f conftest.$ac_objext
22975 if { (ac_try="$ac_compile"
22976 case "(($ac_try" in
22977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22978 *) ac_try_echo=$ac_try;;
22980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22981 (eval "$ac_compile") 2>conftest.er1
22983 grep -v '^ *+' conftest.er1 >conftest.err
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } && {
22988 test -z "$ac_c_werror_flag" ||
22989 test ! -s conftest.err
22990 } && test -s conftest.$ac_objext; then
22991 ac_cv_type_size_t=yes
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22996 ac_cv_type_size_t=no
22999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23001 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23002 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23004 # The cast to long int works around a bug in the HP C Compiler
23005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23007 # This bug is HP SR number 8606223364.
23008 { echo "$as_me:$LINENO: checking size of size_t" >&5
23009 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23010 if test "${ac_cv_sizeof_size_t+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23013 if test "$cross_compiling" = yes; then
23014 # Depending upon the size, compute the lo and hi bounds.
23015 cat >conftest.$ac_ext <<_ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 typedef size_t ac__type_sizeof_;
23026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23042 grep -v '^ *+' conftest.er1 >conftest.err
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
23087 ac_hi=$ac_mid; break
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23092 ac_lo=`expr $ac_mid + 1`
23093 if test $ac_lo -le $ac_mid; then
23097 ac_mid=`expr 2 '*' $ac_mid + 1`
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23106 cat >conftest.$ac_ext <<_ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef size_t ac__type_sizeof_;
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23124 rm -f conftest.$ac_objext
23125 if { (ac_try="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23128 *) ac_try_echo=$ac_try;;
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23133 grep -v '^ *+' conftest.er1 >conftest.err
23135 cat conftest.err >&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.$ac_objext; then
23143 cat >conftest.$ac_ext <<_ACEOF
23146 cat confdefs.h >>conftest.$ac_ext
23147 cat >>conftest.$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23149 $ac_includes_default
23150 typedef size_t ac__type_sizeof_;
23154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23161 rm -f conftest.$ac_objext
23162 if { (ac_try="$ac_compile"
23163 case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_compile") 2>conftest.er1
23170 grep -v '^ *+' conftest.er1 >conftest.err
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest.$ac_objext; then
23178 ac_lo=$ac_mid; break
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23183 ac_hi=`expr '(' $ac_mid ')' - 1`
23184 if test $ac_mid -le $ac_hi; then
23188 ac_mid=`expr 2 '*' $ac_mid`
23191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 # Binary search between lo and hi bounds.
23205 while test "x$ac_lo" != "x$ac_hi"; do
23206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23207 cat >conftest.$ac_ext <<_ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 $ac_includes_default
23214 typedef size_t ac__type_sizeof_;
23218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23225 rm -f conftest.$ac_objext
23226 if { (ac_try="$ac_compile"
23227 case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_compile") 2>conftest.er1
23234 grep -v '^ *+' conftest.er1 >conftest.err
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } && {
23239 test -z "$ac_c_werror_flag" ||
23240 test ! -s conftest.err
23241 } && test -s conftest.$ac_objext; then
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23247 ac_lo=`expr '(' $ac_mid ')' + 1`
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23254 '') if test "$ac_cv_type_size_t" = yes; then
23255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23256 See \`config.log' for more details." >&5
23257 echo "$as_me: error: cannot compute sizeof (size_t)
23258 See \`config.log' for more details." >&2;}
23259 { (exit 77); exit 77; }; }
23261 ac_cv_sizeof_size_t=0
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 $ac_includes_default
23272 typedef size_t ac__type_sizeof_;
23273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23276 #include <stdlib.h>
23281 FILE *f = fopen ("conftest.val", "w");
23284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23286 long int i = longval ();
23287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23289 fprintf (f, "%ld\n", i);
23293 unsigned long int i = ulongval ();
23294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23296 fprintf (f, "%lu\n", i);
23298 return ferror (f) || fclose (f) != 0;
23304 rm -f conftest$ac_exeext
23305 if { (ac_try="$ac_link"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_link") 2>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23315 { (case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_try") 2>&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; }; then
23324 ac_cv_sizeof_size_t=`cat conftest.val`
23326 echo "$as_me: program exited with status $ac_status" >&5
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23330 ( exit $ac_status )
23331 if test "$ac_cv_type_size_t" = yes; then
23332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23333 See \`config.log' for more details." >&5
23334 echo "$as_me: error: cannot compute sizeof (size_t)
23335 See \`config.log' for more details." >&2;}
23336 { (exit 77); exit 77; }; }
23338 ac_cv_sizeof_size_t=0
23341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23346 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23350 cat >>confdefs.h <<_ACEOF
23351 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23358 { echo "$as_me:$LINENO: checking for long long" >&5
23359 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23360 if test "${ac_cv_type_long_long+set}" = set; then
23361 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 cat >conftest.$ac_ext <<_ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23369 $ac_includes_default
23370 typedef long long ac__type_new_;
23374 if ((ac__type_new_ *) 0)
23376 if (sizeof (ac__type_new_))
23382 rm -f conftest.$ac_objext
23383 if { (ac_try="$ac_compile"
23384 case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23386 *) ac_try_echo=$ac_try;;
23388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23389 (eval "$ac_compile") 2>conftest.er1
23391 grep -v '^ *+' conftest.er1 >conftest.err
23393 cat conftest.err >&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); } && {
23396 test -z "$ac_c_werror_flag" ||
23397 test ! -s conftest.err
23398 } && test -s conftest.$ac_objext; then
23399 ac_cv_type_long_long=yes
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23404 ac_cv_type_long_long=no
23407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23409 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23410 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23412 # The cast to long int works around a bug in the HP C Compiler
23413 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23415 # This bug is HP SR number 8606223364.
23416 { echo "$as_me:$LINENO: checking size of long long" >&5
23417 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23418 if test "${ac_cv_sizeof_long_long+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 if test "$cross_compiling" = yes; then
23422 # Depending upon the size, compute the lo and hi bounds.
23423 cat >conftest.$ac_ext <<_ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23429 $ac_includes_default
23430 typedef long long ac__type_sizeof_;
23434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23441 rm -f conftest.$ac_objext
23442 if { (ac_try="$ac_compile"
23443 case "(($ac_try" in
23444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23445 *) ac_try_echo=$ac_try;;
23447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23448 (eval "$ac_compile") 2>conftest.er1
23450 grep -v '^ *+' conftest.er1 >conftest.err
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } && {
23455 test -z "$ac_c_werror_flag" ||
23456 test ! -s conftest.err
23457 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
23495 ac_hi=$ac_mid; break
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23500 ac_lo=`expr $ac_mid + 1`
23501 if test $ac_lo -le $ac_mid; then
23505 ac_mid=`expr 2 '*' $ac_mid + 1`
23508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1 >conftest.err
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23551 cat >conftest.$ac_ext <<_ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 $ac_includes_default
23558 typedef long long ac__type_sizeof_;
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23578 grep -v '^ *+' conftest.er1 >conftest.err
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23586 ac_lo=$ac_mid; break
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23591 ac_hi=`expr '(' $ac_mid ')' - 1`
23592 if test $ac_mid -le $ac_hi; then
23596 ac_mid=`expr 2 '*' $ac_mid`
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 # Binary search between lo and hi bounds.
23613 while test "x$ac_lo" != "x$ac_hi"; do
23614 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23615 cat >conftest.$ac_ext <<_ACEOF
23618 cat confdefs.h >>conftest.$ac_ext
23619 cat >>conftest.$ac_ext <<_ACEOF
23620 /* end confdefs.h. */
23621 $ac_includes_default
23622 typedef long long ac__type_sizeof_;
23626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23633 rm -f conftest.$ac_objext
23634 if { (ac_try="$ac_compile"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_compile") 2>conftest.er1
23642 grep -v '^ *+' conftest.er1 >conftest.err
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest.$ac_objext; then
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.$ac_ext >&5
23655 ac_lo=`expr '(' $ac_mid ')' + 1`
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23662 '') if test "$ac_cv_type_long_long" = yes; then
23663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23664 See \`config.log' for more details." >&5
23665 echo "$as_me: error: cannot compute sizeof (long long)
23666 See \`config.log' for more details." >&2;}
23667 { (exit 77); exit 77; }; }
23669 ac_cv_sizeof_long_long=0
23673 cat >conftest.$ac_ext <<_ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 $ac_includes_default
23680 typedef long long ac__type_sizeof_;
23681 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23682 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23684 #include <stdlib.h>
23689 FILE *f = fopen ("conftest.val", "w");
23692 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23694 long int i = longval ();
23695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23697 fprintf (f, "%ld\n", i);
23701 unsigned long int i = ulongval ();
23702 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23704 fprintf (f, "%lu\n", i);
23706 return ferror (f) || fclose (f) != 0;
23712 rm -f conftest$ac_exeext
23713 if { (ac_try="$ac_link"
23714 case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_link") 2>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23723 { (case "(($ac_try" in
23724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23725 *) ac_try_echo=$ac_try;;
23727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23728 (eval "$ac_try") 2>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; }; then
23732 ac_cv_sizeof_long_long=`cat conftest.val`
23734 echo "$as_me: program exited with status $ac_status" >&5
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23738 ( exit $ac_status )
23739 if test "$ac_cv_type_long_long" = yes; then
23740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23741 See \`config.log' for more details." >&5
23742 echo "$as_me: error: cannot compute sizeof (long long)
23743 See \`config.log' for more details." >&2;}
23744 { (exit 77); exit 77; }; }
23746 ac_cv_sizeof_long_long=0
23749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23753 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23754 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23758 cat >>confdefs.h <<_ACEOF
23759 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23765 { echo "$as_me:$LINENO: checking for long long" >&5
23766 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23767 if test "${ac_cv_type_long_long+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 cat >conftest.$ac_ext <<_ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 $ac_includes_default
23777 typedef long long ac__type_new_;
23781 if ((ac__type_new_ *) 0)
23783 if (sizeof (ac__type_new_))
23789 rm -f conftest.$ac_objext
23790 if { (ac_try="$ac_compile"
23791 case "(($ac_try" in
23792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23793 *) ac_try_echo=$ac_try;;
23795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796 (eval "$ac_compile") 2>conftest.er1
23798 grep -v '^ *+' conftest.er1 >conftest.err
23800 cat conftest.err >&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } && {
23803 test -z "$ac_c_werror_flag" ||
23804 test ! -s conftest.err
23805 } && test -s conftest.$ac_objext; then
23806 ac_cv_type_long_long=yes
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23811 ac_cv_type_long_long=no
23814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23816 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23817 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23819 # The cast to long int works around a bug in the HP C Compiler
23820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23822 # This bug is HP SR number 8606223364.
23823 { echo "$as_me:$LINENO: checking size of long long" >&5
23824 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23825 if test "${ac_cv_sizeof_long_long+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 if test "$cross_compiling" = yes; then
23829 # Depending upon the size, compute the lo and hi bounds.
23830 cat >conftest.$ac_ext <<_ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23836 $ac_includes_default
23837 typedef long long ac__type_sizeof_;
23841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23848 rm -f conftest.$ac_objext
23849 if { (ac_try="$ac_compile"
23850 case "(($ac_try" in
23851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23852 *) ac_try_echo=$ac_try;;
23854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23855 (eval "$ac_compile") 2>conftest.er1
23857 grep -v '^ *+' conftest.er1 >conftest.err
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } && {
23862 test -z "$ac_c_werror_flag" ||
23863 test ! -s conftest.err
23864 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
23902 ac_hi=$ac_mid; break
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23907 ac_lo=`expr $ac_mid + 1`
23908 if test $ac_lo -le $ac_mid; then
23912 ac_mid=`expr 2 '*' $ac_mid + 1`
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23921 cat >conftest.$ac_ext <<_ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 $ac_includes_default
23928 typedef long long ac__type_sizeof_;
23932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23939 rm -f conftest.$ac_objext
23940 if { (ac_try="$ac_compile"
23941 case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23943 *) ac_try_echo=$ac_try;;
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_compile") 2>conftest.er1
23948 grep -v '^ *+' conftest.er1 >conftest.err
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } && {
23953 test -z "$ac_c_werror_flag" ||
23954 test ! -s conftest.err
23955 } && test -s conftest.$ac_objext; then
23958 cat >conftest.$ac_ext <<_ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 $ac_includes_default
23965 typedef long long ac__type_sizeof_;
23969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23976 rm -f conftest.$ac_objext
23977 if { (ac_try="$ac_compile"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_compile") 2>conftest.er1
23985 grep -v '^ *+' conftest.er1 >conftest.err
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_c_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest.$ac_objext; then
23993 ac_lo=$ac_mid; break
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23998 ac_hi=`expr '(' $ac_mid ')' - 1`
23999 if test $ac_mid -le $ac_hi; then
24003 ac_mid=`expr 2 '*' $ac_mid`
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019 # Binary search between lo and hi bounds.
24020 while test "x$ac_lo" != "x$ac_hi"; do
24021 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24022 cat >conftest.$ac_ext <<_ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 $ac_includes_default
24029 typedef long long ac__type_sizeof_;
24033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24049 grep -v '^ *+' conftest.er1 >conftest.err
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24062 ac_lo=`expr '(' $ac_mid ')' + 1`
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24069 '') if test "$ac_cv_type_long_long" = yes; then
24070 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24071 See \`config.log' for more details." >&5
24072 echo "$as_me: error: cannot compute sizeof (long long)
24073 See \`config.log' for more details." >&2;}
24074 { (exit 77); exit 77; }; }
24076 ac_cv_sizeof_long_long=0
24080 cat >conftest.$ac_ext <<_ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 $ac_includes_default
24087 typedef long long ac__type_sizeof_;
24088 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24089 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24091 #include <stdlib.h>
24096 FILE *f = fopen ("conftest.val", "w");
24099 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24101 long int i = longval ();
24102 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24104 fprintf (f, "%ld\n", i);
24108 unsigned long int i = ulongval ();
24109 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24111 fprintf (f, "%lu\n", i);
24113 return ferror (f) || fclose (f) != 0;
24119 rm -f conftest$ac_exeext
24120 if { (ac_try="$ac_link"
24121 case "(($ac_try" in
24122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24123 *) ac_try_echo=$ac_try;;
24125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24126 (eval "$ac_link") 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24130 { (case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;;
24134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24135 (eval "$ac_try") 2>&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; }; then
24139 ac_cv_sizeof_long_long=`cat conftest.val`
24141 echo "$as_me: program exited with status $ac_status" >&5
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24145 ( exit $ac_status )
24146 if test "$ac_cv_type_long_long" = yes; then
24147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24148 See \`config.log' for more details." >&5
24149 echo "$as_me: error: cannot compute sizeof (long long)
24150 See \`config.log' for more details." >&2;}
24151 { (exit 77); exit 77; }; }
24153 ac_cv_sizeof_long_long=0
24156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24160 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24161 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24165 cat >>confdefs.h <<_ACEOF
24166 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24170 if test "$ac_cv_sizeof_long_long" != "0"; then
24171 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24175 { echo "$as_me:$LINENO: checking for long long" >&5
24176 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24177 if test "${ac_cv_type_long_long+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 cat >conftest.$ac_ext <<_ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186 $ac_includes_default
24187 typedef long long ac__type_new_;
24191 if ((ac__type_new_ *) 0)
24193 if (sizeof (ac__type_new_))
24199 rm -f conftest.$ac_objext
24200 if { (ac_try="$ac_compile"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_compile") 2>conftest.er1
24208 grep -v '^ *+' conftest.er1 >conftest.err
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_c_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest.$ac_objext; then
24216 ac_cv_type_long_long=yes
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.$ac_ext >&5
24221 ac_cv_type_long_long=no
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24227 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24229 # The cast to long int works around a bug in the HP C Compiler
24230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24232 # This bug is HP SR number 8606223364.
24233 { echo "$as_me:$LINENO: checking size of long long" >&5
24234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24235 if test "${ac_cv_sizeof_long_long+set}" = set; then
24236 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 if test "$cross_compiling" = yes; then
24239 # Depending upon the size, compute the lo and hi bounds.
24240 cat >conftest.$ac_ext <<_ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 $ac_includes_default
24247 typedef long long ac__type_sizeof_;
24251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24267 grep -v '^ *+' conftest.er1 >conftest.err
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_c_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
24312 ac_hi=$ac_mid; break
24314 echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.$ac_ext >&5
24317 ac_lo=`expr $ac_mid + 1`
24318 if test $ac_lo -le $ac_mid; then
24322 ac_mid=`expr 2 '*' $ac_mid + 1`
24325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24331 cat >conftest.$ac_ext <<_ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 $ac_includes_default
24338 typedef long long ac__type_sizeof_;
24342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24358 grep -v '^ *+' conftest.er1 >conftest.err
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24368 cat >conftest.$ac_ext <<_ACEOF
24371 cat confdefs.h >>conftest.$ac_ext
24372 cat >>conftest.$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24374 $ac_includes_default
24375 typedef long long ac__type_sizeof_;
24379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24386 rm -f conftest.$ac_objext
24387 if { (ac_try="$ac_compile"
24388 case "(($ac_try" in
24389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24390 *) ac_try_echo=$ac_try;;
24392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24393 (eval "$ac_compile") 2>conftest.er1
24395 grep -v '^ *+' conftest.er1 >conftest.err
24397 cat conftest.err >&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } && {
24400 test -z "$ac_c_werror_flag" ||
24401 test ! -s conftest.err
24402 } && test -s conftest.$ac_objext; then
24403 ac_lo=$ac_mid; break
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.$ac_ext >&5
24408 ac_hi=`expr '(' $ac_mid ')' - 1`
24409 if test $ac_mid -le $ac_hi; then
24413 ac_mid=`expr 2 '*' $ac_mid`
24416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 # Binary search between lo and hi bounds.
24430 while test "x$ac_lo" != "x$ac_hi"; do
24431 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24432 cat >conftest.$ac_ext <<_ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 $ac_includes_default
24439 typedef long long ac__type_sizeof_;
24443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24450 rm -f conftest.$ac_objext
24451 if { (ac_try="$ac_compile"
24452 case "(($ac_try" in
24453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454 *) ac_try_echo=$ac_try;;
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_compile") 2>conftest.er1
24459 grep -v '^ *+' conftest.er1 >conftest.err
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && {
24464 test -z "$ac_c_werror_flag" ||
24465 test ! -s conftest.err
24466 } && test -s conftest.$ac_objext; then
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.$ac_ext >&5
24472 ac_lo=`expr '(' $ac_mid ')' + 1`
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24479 '') if test "$ac_cv_type_long_long" = yes; then
24480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24481 See \`config.log' for more details." >&5
24482 echo "$as_me: error: cannot compute sizeof (long long)
24483 See \`config.log' for more details." >&2;}
24484 { (exit 77); exit 77; }; }
24486 ac_cv_sizeof_long_long=0
24490 cat >conftest.$ac_ext <<_ACEOF
24493 cat confdefs.h >>conftest.$ac_ext
24494 cat >>conftest.$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24496 $ac_includes_default
24497 typedef long long ac__type_sizeof_;
24498 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24499 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24501 #include <stdlib.h>
24506 FILE *f = fopen ("conftest.val", "w");
24509 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24511 long int i = longval ();
24512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24514 fprintf (f, "%ld\n", i);
24518 unsigned long int i = ulongval ();
24519 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24521 fprintf (f, "%lu\n", i);
24523 return ferror (f) || fclose (f) != 0;
24529 rm -f conftest$ac_exeext
24530 if { (ac_try="$ac_link"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_link") 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24540 { (case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_try") 2>&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 ac_cv_sizeof_long_long=`cat conftest.val`
24551 echo "$as_me: program exited with status $ac_status" >&5
24552 echo "$as_me: failed program was:" >&5
24553 sed 's/^/| /' conftest.$ac_ext >&5
24555 ( exit $ac_status )
24556 if test "$ac_cv_type_long_long" = yes; then
24557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24558 See \`config.log' for more details." >&5
24559 echo "$as_me: error: cannot compute sizeof (long long)
24560 See \`config.log' for more details." >&2;}
24561 { (exit 77); exit 77; }; }
24563 ac_cv_sizeof_long_long=0
24566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24570 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24571 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24575 cat >>confdefs.h <<_ACEOF
24576 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24582 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24583 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24584 if test "${ac_cv_type_wchar_t+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 cat >conftest.$ac_ext <<_ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24596 # error "fake wchar_t"
24598 #ifdef HAVE_WCHAR_H
24600 # include <stddef.h>
24602 # include <wchar.h>
24604 #ifdef HAVE_STDLIB_H
24605 # include <stdlib.h>
24611 typedef wchar_t ac__type_new_;
24615 if ((ac__type_new_ *) 0)
24617 if (sizeof (ac__type_new_))
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24632 grep -v '^ *+' conftest.er1 >conftest.err
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_c_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest.$ac_objext; then
24640 ac_cv_type_wchar_t=yes
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24645 ac_cv_type_wchar_t=no
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24651 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24653 # The cast to long int works around a bug in the HP C Compiler
24654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24656 # This bug is HP SR number 8606223364.
24657 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24658 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24659 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 if test "$cross_compiling" = yes; then
24663 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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
24718 cat >conftest.$ac_ext <<_ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24725 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24726 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24727 # error "fake wchar_t"
24729 #ifdef HAVE_WCHAR_H
24731 # include <stddef.h>
24733 # include <wchar.h>
24735 #ifdef HAVE_STDLIB_H
24736 # include <stdlib.h>
24742 typedef wchar_t ac__type_sizeof_;
24746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24753 rm -f conftest.$ac_objext
24754 if { (ac_try="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24762 grep -v '^ *+' conftest.er1 >conftest.err
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24770 ac_hi=$ac_mid; break
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24775 ac_lo=`expr $ac_mid + 1`
24776 if test $ac_lo -le $ac_mid; then
24780 ac_mid=`expr 2 '*' $ac_mid + 1`
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
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_))) < 0)];
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
24843 cat >conftest.$ac_ext <<_ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24850 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24851 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24852 # error "fake wchar_t"
24854 #ifdef HAVE_WCHAR_H
24856 # include <stddef.h>
24858 # include <wchar.h>
24860 #ifdef HAVE_STDLIB_H
24861 # include <stdlib.h>
24867 typedef wchar_t ac__type_sizeof_;
24871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24878 rm -f conftest.$ac_objext
24879 if { (ac_try="$ac_compile"
24880 case "(($ac_try" in
24881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24882 *) ac_try_echo=$ac_try;;
24884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24885 (eval "$ac_compile") 2>conftest.er1
24887 grep -v '^ *+' conftest.er1 >conftest.err
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } && {
24892 test -z "$ac_c_werror_flag" ||
24893 test ! -s conftest.err
24894 } && test -s conftest.$ac_objext; then
24895 ac_lo=$ac_mid; break
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.$ac_ext >&5
24900 ac_hi=`expr '(' $ac_mid ')' - 1`
24901 if test $ac_mid -le $ac_hi; then
24905 ac_mid=`expr 2 '*' $ac_mid`
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.$ac_ext >&5
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 # Binary search between lo and hi bounds.
24922 while test "x$ac_lo" != "x$ac_hi"; do
24923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24924 cat >conftest.$ac_ext <<_ACEOF
24927 cat confdefs.h >>conftest.$ac_ext
24928 cat >>conftest.$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24931 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24932 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24933 # error "fake wchar_t"
24935 #ifdef HAVE_WCHAR_H
24937 # include <stddef.h>
24939 # include <wchar.h>
24941 #ifdef HAVE_STDLIB_H
24942 # include <stdlib.h>
24948 typedef wchar_t ac__type_sizeof_;
24952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24959 rm -f conftest.$ac_objext
24960 if { (ac_try="$ac_compile"
24961 case "(($ac_try" in
24962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963 *) ac_try_echo=$ac_try;;
24965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966 (eval "$ac_compile") 2>conftest.er1
24968 grep -v '^ *+' conftest.er1 >conftest.err
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } && {
24973 test -z "$ac_c_werror_flag" ||
24974 test ! -s conftest.err
24975 } && test -s conftest.$ac_objext; then
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24981 ac_lo=`expr '(' $ac_mid ')' + 1`
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24987 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24988 '') if test "$ac_cv_type_wchar_t" = yes; then
24989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24990 See \`config.log' for more details." >&5
24991 echo "$as_me: error: cannot compute sizeof (wchar_t)
24992 See \`config.log' for more details." >&2;}
24993 { (exit 77); exit 77; }; }
24995 ac_cv_sizeof_wchar_t=0
24999 cat >conftest.$ac_ext <<_ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25006 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25007 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25008 # error "fake wchar_t"
25010 #ifdef HAVE_WCHAR_H
25012 # include <stddef.h>
25014 # include <wchar.h>
25016 #ifdef HAVE_STDLIB_H
25017 # include <stdlib.h>
25023 typedef wchar_t ac__type_sizeof_;
25024 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25025 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25027 #include <stdlib.h>
25032 FILE *f = fopen ("conftest.val", "w");
25035 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25037 long int i = longval ();
25038 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25040 fprintf (f, "%ld\n", i);
25044 unsigned long int i = ulongval ();
25045 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25047 fprintf (f, "%lu\n", i);
25049 return ferror (f) || fclose (f) != 0;
25055 rm -f conftest$ac_exeext
25056 if { (ac_try="$ac_link"
25057 case "(($ac_try" in
25058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25059 *) ac_try_echo=$ac_try;;
25061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25062 (eval "$ac_link") 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25066 { (case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_try") 2>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; }; then
25075 ac_cv_sizeof_wchar_t=`cat conftest.val`
25077 echo "$as_me: program exited with status $ac_status" >&5
25078 echo "$as_me: failed program was:" >&5
25079 sed 's/^/| /' conftest.$ac_ext >&5
25081 ( exit $ac_status )
25082 if test "$ac_cv_type_wchar_t" = yes; then
25083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25084 See \`config.log' for more details." >&5
25085 echo "$as_me: error: cannot compute sizeof (wchar_t)
25086 See \`config.log' for more details." >&2;}
25087 { (exit 77); exit 77; }; }
25089 ac_cv_sizeof_wchar_t=0
25092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25096 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25097 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25101 cat >>confdefs.h <<_ACEOF
25102 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25106 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25112 { echo "$as_me:$LINENO: checking for va_copy" >&5
25113 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25114 if test "${wx_cv_func_va_copy+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25119 ac_cpp='$CXXCPP $CPPFLAGS'
25120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25124 cat >conftest.$ac_ext <<_ACEOF
25126 #include <stdarg.h>
25127 void foo(char *f, ...)
25141 rm -f conftest.$ac_objext conftest$ac_exeext
25142 if { (ac_try="$ac_link"
25143 case "(($ac_try" in
25144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25145 *) ac_try_echo=$ac_try;;
25147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25148 (eval "$ac_link") 2>conftest.er1
25150 grep -v '^ *+' conftest.er1 >conftest.err
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } && {
25155 test -z "$ac_cxx_werror_flag" ||
25156 test ! -s conftest.err
25157 } && test -s conftest$ac_exeext &&
25158 $as_test_x conftest$ac_exeext; then
25159 wx_cv_func_va_copy=yes
25161 echo "$as_me: failed program was:" >&5
25162 sed 's/^/| /' conftest.$ac_ext >&5
25164 wx_cv_func_va_copy=no
25168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25169 conftest$ac_exeext conftest.$ac_ext
25171 ac_cpp='$CPP $CPPFLAGS'
25172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25179 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25180 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25182 if test $wx_cv_func_va_copy = "yes"; then
25183 cat >>confdefs.h <<\_ACEOF
25184 #define HAVE_VA_COPY 1
25188 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25189 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25190 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25191 echo $ECHO_N "(cached) $ECHO_C" >&6
25194 if test "$cross_compiling" = yes; then
25195 wx_cv_type_va_list_lvalue=yes
25198 cat >conftest.$ac_ext <<_ACEOF
25200 #include <stdarg.h>
25201 int foo(char *f, ...)
25206 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25214 return foo("hi", 17);
25217 rm -f conftest$ac_exeext
25218 if { (ac_try="$ac_link"
25219 case "(($ac_try" in
25220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25221 *) ac_try_echo=$ac_try;;
25223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25224 (eval "$ac_link") 2>&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25228 { (case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25230 *) ac_try_echo=$ac_try;;
25232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25233 (eval "$ac_try") 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 wx_cv_type_va_list_lvalue=yes
25239 echo "$as_me: program exited with status $ac_status" >&5
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.$ac_ext >&5
25243 ( exit $ac_status )
25244 wx_cv_type_va_list_lvalue=no
25246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25253 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25254 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25256 if test $wx_cv_type_va_list_lvalue != "yes"; then
25257 cat >>confdefs.h <<\_ACEOF
25258 #define VA_LIST_IS_ARRAY 1
25264 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25266 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25267 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25268 if test "${wx_cv_have_variadic_macros+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 ac_cpp='$CXXCPP $CPPFLAGS'
25274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25278 cat >conftest.$ac_ext <<_ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25286 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25292 test("%s %d %p", "test", 1, 0);
25299 rm -f conftest.$ac_objext
25300 if { (ac_try="$ac_compile"
25301 case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25306 (eval "$ac_compile") 2>conftest.er1
25308 grep -v '^ *+' conftest.er1 >conftest.err
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } && {
25313 test -z "$ac_cxx_werror_flag" ||
25314 test ! -s conftest.err
25315 } && test -s conftest.$ac_objext; then
25316 wx_cv_have_variadic_macros=yes
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25321 wx_cv_have_variadic_macros=no
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25327 ac_cpp='$CPP $CPPFLAGS'
25328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25335 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25336 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25338 if test $wx_cv_have_variadic_macros = "yes"; then
25339 cat >>confdefs.h <<\_ACEOF
25340 #define HAVE_VARIADIC_MACROS 1
25346 # Check whether --enable-largefile was given.
25347 if test "${enable_largefile+set}" = set; then
25348 enableval=$enable_largefile;
25351 if test "$enable_largefile" != no; then
25354 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25355 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25356 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 cat >conftest.$ac_ext <<_ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 #define _FILE_OFFSET_BITS 64
25367 #include <sys/types.h>
25372 unsigned int field: sizeof(off_t) == 8;
25379 rm -f conftest.$ac_objext
25380 if { (ac_try="$ac_compile"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_compile") 2>conftest.er1
25388 grep -v '^ *+' conftest.er1 >conftest.err
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest.$ac_objext; then
25396 ac_cv_sys_file_offset_bits=64
25398 echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25401 ac_cv_sys_file_offset_bits=no
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25408 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25409 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25411 if test "$ac_cv_sys_file_offset_bits" != no; then
25413 cat >>confdefs.h <<_ACEOF
25414 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25419 if test "x$wx_largefile" != "xyes"; then
25421 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25422 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25423 if test "${ac_cv_sys_large_files+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25427 cat >conftest.$ac_ext <<_ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433 #define _LARGE_FILES 1
25434 #include <sys/types.h>
25439 unsigned int field: sizeof(off_t) == 8;
25446 rm -f conftest.$ac_objext
25447 if { (ac_try="$ac_compile"
25448 case "(($ac_try" in
25449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25450 *) ac_try_echo=$ac_try;;
25452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25453 (eval "$ac_compile") 2>conftest.er1
25455 grep -v '^ *+' conftest.er1 >conftest.err
25457 cat conftest.err >&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } && {
25460 test -z "$ac_c_werror_flag" ||
25461 test ! -s conftest.err
25462 } && test -s conftest.$ac_objext; then
25463 ac_cv_sys_large_files=1
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25468 ac_cv_sys_large_files=no
25471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25476 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25478 if test "$ac_cv_sys_large_files" != no; then
25480 cat >>confdefs.h <<_ACEOF
25481 #define _LARGE_FILES $ac_cv_sys_large_files
25488 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25489 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25490 if test "x$wx_largefile" = "xyes"; then
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_LARGEFILE_SUPPORT 1
25496 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25497 echo "${ECHO_T}$wx_largefile" >&6; }
25501 if test "x$wx_largefile" = "xyes"; then
25502 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25503 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25505 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25506 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25507 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25508 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25518 cat >conftest.$ac_ext <<_ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25529 #ifndef __STDC_EXT__
25537 rm -f conftest.$ac_objext
25538 if { (ac_try="$ac_compile"
25539 case "(($ac_try" in
25540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_compile") 2>conftest.er1
25546 grep -v '^ *+' conftest.er1 >conftest.err
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } && {
25551 test -z "$ac_cxx_werror_flag" ||
25552 test ! -s conftest.err
25553 } && test -s conftest.$ac_objext; then
25554 wx_cv_STDC_EXT_required=no
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25559 wx_cv_STDC_EXT_required=yes
25563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25565 ac_cpp='$CPP $CPPFLAGS'
25566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25573 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25574 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25575 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25576 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25582 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25583 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25584 if test "${ac_cv_sys_largefile_source+set}" = set; then
25585 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 cat >conftest.$ac_ext <<_ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594 #include <sys/types.h> /* for off_t */
25599 int (*fp) (FILE *, off_t, int) = fseeko;
25600 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25605 rm -f conftest.$ac_objext conftest$ac_exeext
25606 if { (ac_try="$ac_link"
25607 case "(($ac_try" in
25608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25609 *) ac_try_echo=$ac_try;;
25611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25612 (eval "$ac_link") 2>conftest.er1
25614 grep -v '^ *+' conftest.er1 >conftest.err
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && {
25619 test -z "$ac_c_werror_flag" ||
25620 test ! -s conftest.err
25621 } && test -s conftest$ac_exeext &&
25622 $as_test_x conftest$ac_exeext; then
25623 ac_cv_sys_largefile_source=no; break
25625 echo "$as_me: failed program was:" >&5
25626 sed 's/^/| /' conftest.$ac_ext >&5
25631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25632 conftest$ac_exeext conftest.$ac_ext
25633 cat >conftest.$ac_ext <<_ACEOF
25636 cat confdefs.h >>conftest.$ac_ext
25637 cat >>conftest.$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 #define _LARGEFILE_SOURCE 1
25640 #include <sys/types.h> /* for off_t */
25645 int (*fp) (FILE *, off_t, int) = fseeko;
25646 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25651 rm -f conftest.$ac_objext conftest$ac_exeext
25652 if { (ac_try="$ac_link"
25653 case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25655 *) ac_try_echo=$ac_try;;
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_link") 2>conftest.er1
25660 grep -v '^ *+' conftest.er1 >conftest.err
25662 cat conftest.err >&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && {
25665 test -z "$ac_c_werror_flag" ||
25666 test ! -s conftest.err
25667 } && test -s conftest$ac_exeext &&
25668 $as_test_x conftest$ac_exeext; then
25669 ac_cv_sys_largefile_source=1; break
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25678 conftest$ac_exeext conftest.$ac_ext
25679 ac_cv_sys_largefile_source=unknown
25683 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25684 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25685 case $ac_cv_sys_largefile_source in #(
25688 cat >>confdefs.h <<_ACEOF
25689 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25695 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25696 # in glibc 2.1.3, but that breaks too many other things.
25697 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25698 if test $ac_cv_sys_largefile_source != unknown; then
25700 cat >>confdefs.h <<\_ACEOF
25701 #define HAVE_FSEEKO 1
25706 if test "$ac_cv_sys_largefile_source" != no; then
25707 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25711 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25712 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25713 if test "${ac_cv_c_bigendian+set}" = set; then
25714 echo $ECHO_N "(cached) $ECHO_C" >&6
25716 ac_cv_c_bigendian=unknown
25717 # See if sys/param.h defines the BYTE_ORDER macro.
25718 cat >conftest.$ac_ext <<_ACEOF
25721 cat confdefs.h >>conftest.$ac_ext
25722 cat >>conftest.$ac_ext <<_ACEOF
25723 /* end confdefs.h. */
25724 #include <sys/types.h>
25725 #include <sys/param.h>
25730 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25731 bogus endian macros
25737 rm -f conftest.$ac_objext
25738 if { (ac_try="$ac_compile"
25739 case "(($ac_try" in
25740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25741 *) ac_try_echo=$ac_try;;
25743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25744 (eval "$ac_compile") 2>conftest.er1
25746 grep -v '^ *+' conftest.er1 >conftest.err
25748 cat conftest.err >&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); } && {
25751 test -z "$ac_c_werror_flag" ||
25752 test ! -s conftest.err
25753 } && test -s conftest.$ac_objext; then
25754 # It does; now see whether it defined to BIG_ENDIAN or not.
25755 cat >conftest.$ac_ext <<_ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 #include <sys/types.h>
25762 #include <sys/param.h>
25767 #if BYTE_ORDER != BIG_ENDIAN
25774 rm -f conftest.$ac_objext
25775 if { (ac_try="$ac_compile"
25776 case "(($ac_try" in
25777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25778 *) ac_try_echo=$ac_try;;
25780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25781 (eval "$ac_compile") 2>conftest.er1
25783 grep -v '^ *+' conftest.er1 >conftest.err
25785 cat conftest.err >&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); } && {
25788 test -z "$ac_c_werror_flag" ||
25789 test ! -s conftest.err
25790 } && test -s conftest.$ac_objext; then
25791 ac_cv_c_bigendian=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25796 ac_cv_c_bigendian=no
25799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25808 if test $ac_cv_c_bigendian = unknown; then
25809 if test "$cross_compiling" = yes; then
25810 ac_cv_c_bigendian=unknown
25812 cat >conftest.$ac_ext <<_ACEOF
25815 cat confdefs.h >>conftest.$ac_ext
25816 cat >>conftest.$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25819 /* Are we little or big endian? From Harbison&Steele. */
25823 char c[sizeof (long)];
25826 exit (u.c[sizeof (long) - 1] == 1);
25829 rm -f conftest$ac_exeext
25830 if { (ac_try="$ac_link"
25831 case "(($ac_try" in
25832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25833 *) ac_try_echo=$ac_try;;
25835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25836 (eval "$ac_link") 2>&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25840 { (case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_try") 2>&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; }; then
25849 ac_cv_c_bigendian=no
25851 echo "$as_me: program exited with status $ac_status" >&5
25852 echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.$ac_ext >&5
25855 ( exit $ac_status )
25856 ac_cv_c_bigendian=yes
25858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25864 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25865 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25866 if test $ac_cv_c_bigendian = unknown; then
25867 { 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
25868 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;}
25870 if test $ac_cv_c_bigendian = yes; then
25871 cat >>confdefs.h <<\_ACEOF
25872 #define WORDS_BIGENDIAN 1
25881 ac_cpp='$CXXCPP $CPPFLAGS'
25882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25888 for ac_header in iostream
25890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 cat >conftest.$ac_ext <<_ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25904 #include <$ac_header>
25906 rm -f conftest.$ac_objext
25907 if { (ac_try="$ac_compile"
25908 case "(($ac_try" in
25909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25910 *) ac_try_echo=$ac_try;;
25912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25913 (eval "$ac_compile") 2>conftest.er1
25915 grep -v '^ *+' conftest.er1 >conftest.err
25917 cat conftest.err >&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } && {
25920 test -z "$ac_cxx_werror_flag" ||
25921 test ! -s conftest.err
25922 } && test -s conftest.$ac_objext; then
25923 eval "$as_ac_Header=yes"
25925 echo "$as_me: failed program was:" >&5
25926 sed 's/^/| /' conftest.$ac_ext >&5
25928 eval "$as_ac_Header=no"
25931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25933 ac_res=`eval echo '${'$as_ac_Header'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25937 cat >>confdefs.h <<_ACEOF
25938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25946 if test "$ac_cv_header_iostream" = "yes" ; then
25949 cat >>confdefs.h <<\_ACEOF
25950 #define wxUSE_IOSTREAMH 1
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25965 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25966 if test "${wx_cv_cpp_bool+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25978 cat >conftest.$ac_ext <<_ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25998 rm -f conftest.$ac_objext
25999 if { (ac_try="$ac_compile"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_compile") 2>conftest.er1
26007 grep -v '^ *+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_cxx_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest.$ac_objext; then
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26038 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26039 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26041 if test "$wx_cv_cpp_bool" = "yes"; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define HAVE_BOOL 1
26050 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26051 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26052 if test "${wx_cv_explicit+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26064 cat >conftest.$ac_ext <<_ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26071 class Foo { public: explicit Foo(int) {} };
26083 rm -f conftest.$ac_objext
26084 if { (ac_try="$ac_compile"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_compile") 2>conftest.er1
26092 grep -v '^ *+' conftest.er1 >conftest.err
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_cxx_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest.$ac_objext; then
26101 cat >conftest.$ac_ext <<_ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26108 class Foo { public: explicit Foo(int) {} };
26109 static void TakeFoo(const Foo& foo) { }
26122 rm -f conftest.$ac_objext
26123 if { (ac_try="$ac_compile"
26124 case "(($ac_try" in
26125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26126 *) ac_try_echo=$ac_try;;
26128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26129 (eval "$ac_compile") 2>conftest.er1
26131 grep -v '^ *+' conftest.er1 >conftest.err
26133 cat conftest.err >&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } && {
26136 test -z "$ac_cxx_werror_flag" ||
26137 test ! -s conftest.err
26138 } && test -s conftest.$ac_objext; then
26141 echo "$as_me: failed program was:" >&5
26142 sed 's/^/| /' conftest.$ac_ext >&5
26148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 ac_cpp='$CPP $CPPFLAGS'
26162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26168 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26169 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26171 if test "$wx_cv_explicit" = "yes"; then
26172 cat >>confdefs.h <<\_ACEOF
26173 #define HAVE_EXPLICIT 1
26179 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26180 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26181 if test "${ac_cv_cxx_const_cast+set}" = set; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 ac_cpp='$CXXCPP $CPPFLAGS'
26187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191 cat >conftest.$ac_ext <<_ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26201 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26215 grep -v '^ *+' conftest.er1 >conftest.err
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_cxx_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26223 ac_cv_cxx_const_cast=yes
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26228 ac_cv_cxx_const_cast=no
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 ac_cpp='$CPP $CPPFLAGS'
26234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26240 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26241 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26242 if test "$ac_cv_cxx_const_cast" = yes; then
26244 cat >>confdefs.h <<\_ACEOF
26245 #define HAVE_CONST_CAST
26250 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26251 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26252 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 ac_cpp='$CXXCPP $CPPFLAGS'
26258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26262 cat >conftest.$ac_ext <<_ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 #include <typeinfo>
26269 class Base { public : Base () {} virtual void f () = 0;};
26270 class Derived : public Base { public : Derived () {} virtual void f () {} };
26271 class Unrelated { public : Unrelated () {} };
26272 int g (Unrelated&) { return 0; }
26277 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26282 rm -f conftest.$ac_objext
26283 if { (ac_try="$ac_compile"
26284 case "(($ac_try" in
26285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26286 *) ac_try_echo=$ac_try;;
26288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26289 (eval "$ac_compile") 2>conftest.er1
26291 grep -v '^ *+' conftest.er1 >conftest.err
26293 cat conftest.err >&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); } && {
26296 test -z "$ac_cxx_werror_flag" ||
26297 test ! -s conftest.err
26298 } && test -s conftest.$ac_objext; then
26299 ac_cv_cxx_reinterpret_cast=yes
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.$ac_ext >&5
26304 ac_cv_cxx_reinterpret_cast=no
26307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 ac_cpp='$CPP $CPPFLAGS'
26310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26316 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26317 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26318 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26320 cat >>confdefs.h <<\_ACEOF
26321 #define HAVE_REINTERPRET_CAST
26326 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26327 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26328 if test "${ac_cv_cxx_static_cast+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26333 ac_cpp='$CXXCPP $CPPFLAGS'
26334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26338 cat >conftest.$ac_ext <<_ACEOF
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26344 #include <typeinfo>
26345 class Base { public : Base () {} virtual void f () = 0; };
26346 class Derived : public Base { public : Derived () {} virtual void f () {} };
26347 int g (Derived&) { return 0; }
26352 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26357 rm -f conftest.$ac_objext
26358 if { (ac_try="$ac_compile"
26359 case "(($ac_try" in
26360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26361 *) ac_try_echo=$ac_try;;
26363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26364 (eval "$ac_compile") 2>conftest.er1
26366 grep -v '^ *+' conftest.er1 >conftest.err
26368 cat conftest.err >&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } && {
26371 test -z "$ac_cxx_werror_flag" ||
26372 test ! -s conftest.err
26373 } && test -s conftest.$ac_objext; then
26374 ac_cv_cxx_static_cast=yes
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26379 ac_cv_cxx_static_cast=no
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26392 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26393 if test "$ac_cv_cxx_static_cast" = yes; then
26395 cat >>confdefs.h <<\_ACEOF
26396 #define HAVE_STATIC_CAST
26402 if test "x$SUNCXX" = xyes; then
26403 CXXFLAGS="-features=tmplife $CXXFLAGS"
26406 if test "x$SUNCC" = xyes; then
26407 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26410 if test "x$SGICC" = "xyes"; then
26411 CFLAGS="-woff 3970 $CFLAGS"
26413 if test "x$SGICXX" = "xyes"; then
26414 CXXFLAGS="-woff 3970 $CXXFLAGS"
26417 if test "x$HPCC" = "xyes"; then
26418 CFLAGS="+W 2011,2450 $CFLAGS"
26420 if test "x$HPCXX" = "xyes"; then
26421 CXXFLAGS="+W 2340 $CXXFLAGS"
26424 if test "x$COMPAQCXX" = "xyes"; then
26425 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26429 ac_cpp='$CXXCPP $CPPFLAGS'
26430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26435 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26436 if test "$wxUSE_UNICODE" = "yes"; then
26437 std_string="std::wstring"
26438 char_type="wchar_t"
26440 std_string="std::string"
26444 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26445 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26446 if test "${wx_cv_class_stdstring+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 cat >conftest.$ac_ext <<_ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26465 rm -f conftest.$ac_objext
26466 if { (ac_try="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26469 *) ac_try_echo=$ac_try;;
26471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472 (eval "$ac_compile") 2>conftest.er1
26474 grep -v '^ *+' conftest.er1 >conftest.err
26476 cat conftest.err >&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && {
26479 test -z "$ac_cxx_werror_flag" ||
26480 test ! -s conftest.err
26481 } && test -s conftest.$ac_objext; then
26482 wx_cv_class_stdstring=yes
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26487 wx_cv_class_stdstring=no
26491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26496 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26498 if test "$wx_cv_class_stdstring" = yes; then
26499 if test "$wxUSE_UNICODE" = "yes"; then
26500 cat >>confdefs.h <<\_ACEOF
26501 #define HAVE_STD_WSTRING 1
26506 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26507 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26508 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 cat >conftest.$ac_ext <<_ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26519 #ifdef HAVE_WCHAR_H
26521 # include <stddef.h>
26523 # include <wchar.h>
26525 #ifdef HAVE_STDLIB_H
26526 # include <stdlib.h>
26534 std::basic_string<$char_type> foo;
26535 const $char_type* dummy = foo.c_str();
26540 rm -f conftest.$ac_objext
26541 if { (ac_try="$ac_compile"
26542 case "(($ac_try" in
26543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26544 *) ac_try_echo=$ac_try;;
26546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26547 (eval "$ac_compile") 2>conftest.er1
26549 grep -v '^ *+' conftest.er1 >conftest.err
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } && {
26554 test -z "$ac_cxx_werror_flag" ||
26555 test ! -s conftest.err
26556 } && test -s conftest.$ac_objext; then
26557 wx_cv_class_stdbasicstring=yes
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26562 wx_cv_class_stdbasicstring=no
26566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26570 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26571 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26573 if test "$wx_cv_class_stdbasicstring" != yes; then
26574 if test "$wxUSE_STL" = "yes"; then
26575 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26576 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26577 { (exit 1); exit 1; }; }
26578 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26579 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26580 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26581 { (exit 1); exit 1; }; }
26583 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26584 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26585 wxUSE_STD_STRING=no
26591 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26592 { echo "$as_me:$LINENO: checking for std::istream" >&5
26593 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26594 if test "${ac_cv_type_std__istream+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 cat >conftest.$ac_ext <<_ACEOF
26600 cat confdefs.h >>conftest.$ac_ext
26601 cat >>conftest.$ac_ext <<_ACEOF
26602 /* end confdefs.h. */
26603 #include <iostream>
26605 typedef std::istream ac__type_new_;
26609 if ((ac__type_new_ *) 0)
26611 if (sizeof (ac__type_new_))
26617 rm -f conftest.$ac_objext
26618 if { (ac_try="$ac_compile"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_compile") 2>conftest.er1
26626 grep -v '^ *+' conftest.er1 >conftest.err
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_cxx_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest.$ac_objext; then
26634 ac_cv_type_std__istream=yes
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26639 ac_cv_type_std__istream=no
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26645 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26646 if test $ac_cv_type_std__istream = yes; then
26648 cat >>confdefs.h <<_ACEOF
26649 #define HAVE_STD__ISTREAM 1
26654 wxUSE_STD_IOSTREAM=no
26656 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26657 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26658 if test "${ac_cv_type_std__ostream+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 cat >conftest.$ac_ext <<_ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <iostream>
26669 typedef std::ostream ac__type_new_;
26673 if ((ac__type_new_ *) 0)
26675 if (sizeof (ac__type_new_))
26681 rm -f conftest.$ac_objext
26682 if { (ac_try="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26690 grep -v '^ *+' conftest.er1 >conftest.err
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_cxx_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26698 ac_cv_type_std__ostream=yes
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.$ac_ext >&5
26703 ac_cv_type_std__ostream=no
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26708 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26709 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26710 if test $ac_cv_type_std__ostream = yes; then
26712 cat >>confdefs.h <<_ACEOF
26713 #define HAVE_STD__OSTREAM 1
26718 wxUSE_STD_IOSTREAM=no
26722 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26723 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26724 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26725 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26726 { (exit 1); exit 1; }; }
26728 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26729 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26734 if test "$wxUSE_STL" = "yes"; then
26735 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26736 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26737 if test "${wx_cv_lib_stl+set}" = set; then
26738 echo $ECHO_N "(cached) $ECHO_C" >&6
26740 cat >conftest.$ac_ext <<_ACEOF
26743 cat confdefs.h >>conftest.$ac_ext
26744 cat >>conftest.$ac_ext <<_ACEOF
26745 /* end confdefs.h. */
26747 #include <functional>
26748 #include <algorithm>
26754 std::vector<int> moo;
26755 std::list<int> foo;
26756 std::vector<int>::iterator it =
26757 std::find_if(moo.begin(), moo.end(),
26758 std::bind2nd(std::less<int>(), 3));
26763 rm -f conftest.$ac_objext
26764 if { (ac_try="$ac_compile"
26765 case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_compile") 2>conftest.er1
26772 grep -v '^ *+' conftest.er1 >conftest.err
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } && {
26777 test -z "$ac_cxx_werror_flag" ||
26778 test ! -s conftest.err
26779 } && test -s conftest.$ac_objext; then
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.$ac_ext >&5
26789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26793 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26795 if test "$wx_cv_lib_stl" != yes; then
26796 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26797 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26798 { (exit 1); exit 1; }; }
26801 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26802 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26803 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 cat >conftest.$ac_ext <<_ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26816 std::string foo, bar;
26818 foo.compare(1, 1, bar);
26819 foo.compare(1, 1, bar, 1, 1);
26821 foo.compare(1, 1, "");
26822 foo.compare(1, 1, "", 2);
26827 rm -f conftest.$ac_objext
26828 if { (ac_try="$ac_compile"
26829 case "(($ac_try" in
26830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26831 *) ac_try_echo=$ac_try;;
26833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26834 (eval "$ac_compile") 2>conftest.er1
26836 grep -v '^ *+' conftest.er1 >conftest.err
26838 cat conftest.err >&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); } && {
26841 test -z "$ac_cxx_werror_flag" ||
26842 test ! -s conftest.err
26843 } && test -s conftest.$ac_objext; then
26844 wx_cv_func_stdstring_compare=yes
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26849 wx_cv_func_stdstring_compare=no
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26857 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26859 if test "$wx_cv_func_stdstring_compare" = yes; then
26860 cat >>confdefs.h <<\_ACEOF
26861 #define HAVE_STD_STRING_COMPARE 1
26866 { echo "$as_me:$LINENO: checking for hash_map" >&5
26867 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26868 if test "${ac_cv_header_hash_map+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 cat >conftest.$ac_ext <<_ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26880 #include <hash_map>
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26891 grep -v '^ *+' conftest.er1 >conftest.err
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_cxx_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.$ac_objext; then
26899 ac_cv_header_hash_map=yes
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26904 ac_cv_header_hash_map=no
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26909 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26910 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26911 if test $ac_cv_header_hash_map = yes; then
26912 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26913 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26914 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 cat >conftest.$ac_ext <<_ACEOF
26920 cat confdefs.h >>conftest.$ac_ext
26921 cat >>conftest.$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 #include <hash_map>
26924 #include <hash_set>
26928 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26929 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26934 rm -f conftest.$ac_objext
26935 if { (ac_try="$ac_compile"
26936 case "(($ac_try" in
26937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26938 *) ac_try_echo=$ac_try;;
26940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26943 grep -v '^ *+' conftest.er1 >conftest.err
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_cxx_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 wx_cv_class_stdhashmapset=yes
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26956 wx_cv_class_stdhashmapset=no
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26964 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26969 if test "$wx_cv_class_stdhashmapset" = yes; then
26970 cat >>confdefs.h <<\_ACEOF
26971 #define HAVE_HASH_MAP 1
26974 cat >>confdefs.h <<\_ACEOF
26975 #define HAVE_STD_HASH_MAP 1
26980 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26981 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26982 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 cat >conftest.$ac_ext <<_ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26994 #include <ext/hash_map>
26996 rm -f conftest.$ac_objext
26997 if { (ac_try="$ac_compile"
26998 case "(($ac_try" in
26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_compile") 2>conftest.er1
27005 grep -v '^ *+' conftest.er1 >conftest.err
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_cxx_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest.$ac_objext; then
27013 ac_cv_header_ext_hash_map=yes
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.$ac_ext >&5
27018 ac_cv_header_ext_hash_map=no
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27023 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27024 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27025 if test $ac_cv_header_ext_hash_map = yes; then
27026 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27027 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27028 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27031 cat >conftest.$ac_ext <<_ACEOF
27034 cat confdefs.h >>conftest.$ac_ext
27035 cat >>conftest.$ac_ext <<_ACEOF
27036 /* end confdefs.h. */
27037 #include <ext/hash_map>
27038 #include <ext/hash_set>
27042 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27043 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27048 rm -f conftest.$ac_objext
27049 if { (ac_try="$ac_compile"
27050 case "(($ac_try" in
27051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27052 *) ac_try_echo=$ac_try;;
27054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27055 (eval "$ac_compile") 2>conftest.er1
27057 grep -v '^ *+' conftest.er1 >conftest.err
27059 cat conftest.err >&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } && {
27062 test -z "$ac_cxx_werror_flag" ||
27063 test ! -s conftest.err
27064 } && test -s conftest.$ac_objext; then
27065 wx_cv_class_gnuhashmapset=yes
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.$ac_ext >&5
27070 wx_cv_class_gnuhashmapset=no
27073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27077 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27078 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27083 if test "$wx_cv_class_gnuhashmapset" = yes; then
27084 cat >>confdefs.h <<\_ACEOF
27085 #define HAVE_EXT_HASH_MAP 1
27088 cat >>confdefs.h <<\_ACEOF
27089 #define HAVE_GNU_CXX_HASH_MAP 1
27096 ac_cpp='$CPP $CPPFLAGS'
27097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104 /usr/local/include \
27106 /usr/Motif-2.1/include \
27107 /usr/Motif-1.2/include \
27108 /usr/include/Motif1.2 \
27111 /usr/openwin/include \
27115 /usr/X11R6/include \
27116 /usr/X11R6.4/include \
27117 /usr/X11R5/include \
27118 /usr/X11R4/include \
27120 /usr/include/X11R6 \
27121 /usr/include/X11R5 \
27122 /usr/include/X11R4 \
27124 /usr/local/X11R6/include \
27125 /usr/local/X11R5/include \
27126 /usr/local/X11R4/include \
27128 /usr/local/include/X11R6 \
27129 /usr/local/include/X11R5 \
27130 /usr/local/include/X11R4 \
27134 /usr/local/X11/include \
27135 /usr/local/include/X11 \
27137 /usr/XFree86/include/X11 \
27140 /usr/openwin/share/include"
27142 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27143 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27147 if test "${wx_cv_std_libpath+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27152 for e in a so sl dylib dll.a; do
27154 if test -f $libc; then
27157 cat >conftest.$ac_ext <<_ACEOF
27158 int main() { return 0; }
27160 rm -f conftest.$ac_objext conftest$ac_exeext
27161 if { (ac_try="$ac_link"
27162 case "(($ac_try" in
27163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27164 *) ac_try_echo=$ac_try;;
27166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27167 (eval "$ac_link") 2>conftest.er1
27169 grep -v '^ *+' conftest.er1 >conftest.err
27171 cat conftest.err >&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); } && {
27174 test -z "$ac_c_werror_flag" ||
27175 test ! -s conftest.err
27176 } && test -s conftest$ac_exeext &&
27177 $as_test_x conftest$ac_exeext; then
27178 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.$ac_ext >&5
27186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27187 conftest$ac_exeext conftest.$ac_ext
27189 if test "x$wx_cv_std_libpath" != "x"; then
27195 if test "x$wx_cv_std_libpath" = "x"; then
27196 wx_cv_std_libpath="lib"
27205 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27206 wx_cv_std_libpath="lib/64"
27208 wx_cv_std_libpath="lib"
27213 if test "$ac_cv_sizeof_void_p" = 8 -a \
27214 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27215 wx_cv_std_libpath="lib64"
27217 wx_cv_std_libpath="lib"
27222 wx_cv_std_libpath="lib";
27226 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27227 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27229 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27231 if test "$build" != "$host" -a "$GCC" = yes; then
27232 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27233 cross_root=`dirname $cross_root`
27234 cross_root=`dirname $cross_root`
27236 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27237 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27238 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27240 if test -z "$PKG_CONFIG_PATH"; then
27241 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27242 export PKG_CONFIG_PATH
27245 if test -z "$x_includes" -o "$x_includes" = NONE; then
27248 for ac_dir in $SEARCH_INCLUDE /usr/include;
27250 if test -f "$ac_dir/X11/Intrinsic.h"; then
27251 ac_find_includes=$ac_dir
27256 x_includes=$ac_find_includes
27258 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27261 for ac_dir in $SEARCH_LIB;
27263 for ac_extension in a so sl dylib dll.a; do
27264 if test -f "$ac_dir/libXt.$ac_extension"; then
27265 ac_find_libraries=$ac_dir
27271 x_libraries=$ac_find_libraries
27277 cat >confcache <<\_ACEOF
27278 # This file is a shell script that caches the results of configure
27279 # tests run on this system so they can be shared between configure
27280 # scripts and configure runs, see configure's option --config-cache.
27281 # It is not useful on other systems. If it contains results you don't
27282 # want to keep, you may remove or edit it.
27284 # config.status only pays attention to the cache file if you give it
27285 # the --recheck option to rerun configure.
27287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27289 # following values.
27293 # The following way of writing the cache mishandles newlines in values,
27294 # but we know of no workaround that is simple, portable, and efficient.
27295 # So, we kill variables containing newlines.
27296 # Ultrix sh set writes to stderr and can't be redirected directly,
27297 # and sets the high bit in the cache file unless we assign to the vars.
27299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27300 eval ac_val=\$$ac_var
27304 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27308 _ | IFS | as_nl) ;; #(
27309 *) $as_unset $ac_var ;;
27315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27316 *${as_nl}ac_space=\ *)
27317 # `set' does not quote correctly, so add quotes (double-quote
27318 # substitution turns \\\\ into \\, and sed turns \\ into \).
27321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27324 # `set' quotes correctly as required by POSIX, so do not add quotes.
27325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27339 if test -w "$cache_file"; then
27340 test "x$cache_file" != "x/dev/null" &&
27341 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27342 echo "$as_me: updating cache $cache_file" >&6;}
27343 cat confcache >$cache_file
27345 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27351 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27352 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27353 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27354 if test "${wx_cv_lib_glibc21+set}" = set; then
27355 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 cat >conftest.$ac_ext <<_ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 #include <features.h>
27369 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27377 rm -f conftest.$ac_objext
27378 if { (ac_try="$ac_compile"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_compile") 2>conftest.er1
27386 grep -v '^ *+' conftest.er1 >conftest.err
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest.$ac_objext; then
27395 wx_cv_lib_glibc21=yes
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27402 wx_cv_lib_glibc21=no
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27410 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27411 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27412 if test "$wx_cv_lib_glibc21" = "yes"; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define wxHAVE_GLIBC2 1
27420 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27421 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27422 cat >>confdefs.h <<\_ACEOF
27423 #define _GNU_SOURCE 1
27434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 cat >conftest.$ac_ext <<_ACEOF
27443 cat confdefs.h >>conftest.$ac_ext
27444 cat >>conftest.$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27448 #define $ac_func innocuous_$ac_func
27450 /* System header to define __stub macros and hopefully few prototypes,
27451 which can conflict with char $ac_func (); below.
27452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27453 <limits.h> exists even on freestanding compilers. */
27456 # include <limits.h>
27458 # include <assert.h>
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27470 /* The GNU C library defines this for functions which it implements
27471 to always fail with ENOSYS. Some functions are actually named
27472 something starting with __ and the normal name is an alias. */
27473 #if defined __stub_$ac_func || defined __stub___$ac_func
27480 return $ac_func ();
27485 rm -f conftest.$ac_objext conftest$ac_exeext
27486 if { (ac_try="$ac_link"
27487 case "(($ac_try" in
27488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27489 *) ac_try_echo=$ac_try;;
27491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27492 (eval "$ac_link") 2>conftest.er1
27494 grep -v '^ *+' conftest.er1 >conftest.err
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && {
27499 test -z "$ac_c_werror_flag" ||
27500 test ! -s conftest.err
27501 } && test -s conftest$ac_exeext &&
27502 $as_test_x conftest$ac_exeext; then
27503 eval "$as_ac_var=yes"
27505 echo "$as_me: failed program was:" >&5
27506 sed 's/^/| /' conftest.$ac_ext >&5
27508 eval "$as_ac_var=no"
27511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27512 conftest$ac_exeext conftest.$ac_ext
27514 ac_res=`eval echo '${'$as_ac_var'}'`
27515 { echo "$as_me:$LINENO: result: $ac_res" >&5
27516 echo "${ECHO_T}$ac_res" >&6; }
27517 if test `eval echo '${'$as_ac_var'}'` = yes; then
27518 cat >>confdefs.h <<_ACEOF
27519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27526 for ac_func in floor
27528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27532 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 cat >conftest.$ac_ext <<_ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27542 #define $ac_func innocuous_$ac_func
27544 /* System header to define __stub macros and hopefully few prototypes,
27545 which can conflict with char $ac_func (); below.
27546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27547 <limits.h> exists even on freestanding compilers. */
27550 # include <limits.h>
27552 # include <assert.h>
27557 /* Override any GCC internal prototype to avoid an error.
27558 Use char because int might match the return type of a GCC
27559 builtin and then its argument prototype would still apply. */
27564 /* The GNU C library defines this for functions which it implements
27565 to always fail with ENOSYS. Some functions are actually named
27566 something starting with __ and the normal name is an alias. */
27567 #if defined __stub_$ac_func || defined __stub___$ac_func
27574 return $ac_func ();
27579 rm -f conftest.$ac_objext conftest$ac_exeext
27580 if { (ac_try="$ac_link"
27581 case "(($ac_try" in
27582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583 *) ac_try_echo=$ac_try;;
27585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27586 (eval "$ac_link") 2>conftest.er1
27588 grep -v '^ *+' conftest.er1 >conftest.err
27590 cat conftest.err >&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); } && {
27593 test -z "$ac_c_werror_flag" ||
27594 test ! -s conftest.err
27595 } && test -s conftest$ac_exeext &&
27596 $as_test_x conftest$ac_exeext; then
27597 eval "$as_ac_var=yes"
27599 echo "$as_me: failed program was:" >&5
27600 sed 's/^/| /' conftest.$ac_ext >&5
27602 eval "$as_ac_var=no"
27605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27606 conftest$ac_exeext conftest.$ac_ext
27608 ac_res=`eval echo '${'$as_ac_var'}'`
27609 { echo "$as_me:$LINENO: result: $ac_res" >&5
27610 echo "${ECHO_T}$ac_res" >&6; }
27611 if test `eval echo '${'$as_ac_var'}'` = yes; then
27612 cat >>confdefs.h <<_ACEOF
27613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27619 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27620 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27621 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27622 { echo "$as_me:$LINENO: result: yes" >&5
27623 echo "${ECHO_T}yes" >&6; }
27625 { echo "$as_me:$LINENO: result: no" >&5
27626 echo "${ECHO_T}no" >&6; }
27628 # use different functions to avoid configure caching
27634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27648 #define $ac_func innocuous_$ac_func
27650 /* System header to define __stub macros and hopefully few prototypes,
27651 which can conflict with char $ac_func (); below.
27652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27653 <limits.h> exists even on freestanding compilers. */
27656 # include <limits.h>
27658 # include <assert.h>
27663 /* Override any GCC internal prototype to avoid an error.
27664 Use char because int might match the return type of a GCC
27665 builtin and then its argument prototype would still apply. */
27670 /* The GNU C library defines this for functions which it implements
27671 to always fail with ENOSYS. Some functions are actually named
27672 something starting with __ and the normal name is an alias. */
27673 #if defined __stub_$ac_func || defined __stub___$ac_func
27680 return $ac_func ();
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>conftest.er1
27694 grep -v '^ *+' conftest.er1 >conftest.err
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } && {
27699 test -z "$ac_c_werror_flag" ||
27700 test ! -s conftest.err
27701 } && test -s conftest$ac_exeext &&
27702 $as_test_x conftest$ac_exeext; then
27703 eval "$as_ac_var=yes"
27705 echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27708 eval "$as_ac_var=no"
27711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27712 conftest$ac_exeext conftest.$ac_ext
27714 ac_res=`eval echo '${'$as_ac_var'}'`
27715 { echo "$as_me:$LINENO: result: $ac_res" >&5
27716 echo "${ECHO_T}$ac_res" >&6; }
27717 if test `eval echo '${'$as_ac_var'}'` = yes; then
27718 cat >>confdefs.h <<_ACEOF
27719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27726 for ac_func in ceil
27728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 cat >conftest.$ac_ext <<_ACEOF
27737 cat confdefs.h >>conftest.$ac_ext
27738 cat >>conftest.$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27742 #define $ac_func innocuous_$ac_func
27744 /* System header to define __stub macros and hopefully few prototypes,
27745 which can conflict with char $ac_func (); below.
27746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27747 <limits.h> exists even on freestanding compilers. */
27750 # include <limits.h>
27752 # include <assert.h>
27757 /* Override any GCC internal prototype to avoid an error.
27758 Use char because int might match the return type of a GCC
27759 builtin and then its argument prototype would still apply. */
27764 /* The GNU C library defines this for functions which it implements
27765 to always fail with ENOSYS. Some functions are actually named
27766 something starting with __ and the normal name is an alias. */
27767 #if defined __stub_$ac_func || defined __stub___$ac_func
27774 return $ac_func ();
27779 rm -f conftest.$ac_objext conftest$ac_exeext
27780 if { (ac_try="$ac_link"
27781 case "(($ac_try" in
27782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27783 *) ac_try_echo=$ac_try;;
27785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27786 (eval "$ac_link") 2>conftest.er1
27788 grep -v '^ *+' conftest.er1 >conftest.err
27790 cat conftest.err >&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } && {
27793 test -z "$ac_c_werror_flag" ||
27794 test ! -s conftest.err
27795 } && test -s conftest$ac_exeext &&
27796 $as_test_x conftest$ac_exeext; then
27797 eval "$as_ac_var=yes"
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27802 eval "$as_ac_var=no"
27805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27806 conftest$ac_exeext conftest.$ac_ext
27808 ac_res=`eval echo '${'$as_ac_var'}'`
27809 { echo "$as_me:$LINENO: result: $ac_res" >&5
27810 echo "${ECHO_T}$ac_res" >&6; }
27811 if test `eval echo '${'$as_ac_var'}'` = yes; then
27812 cat >>confdefs.h <<_ACEOF
27813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27819 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27820 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27821 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27822 { echo "$as_me:$LINENO: result: yes" >&5
27823 echo "${ECHO_T}yes" >&6; }
27825 { echo "$as_me:$LINENO: result: no" >&5
27826 echo "${ECHO_T}no" >&6; }
27827 # not sure we should warn the user, crash, etc.
27832 ac_cpp='$CXXCPP $CPPFLAGS'
27833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27837 if test "wxUSE_UNICODE" = "yes"; then
27839 for wx_func in wcstoull
27841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27843 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 cat >conftest.$ac_ext <<_ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27856 $ac_includes_default
27872 rm -f conftest.$ac_objext conftest$ac_exeext
27873 if { (ac_try="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27881 grep -v '^ *+' conftest.er1 >conftest.err
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_cxx_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 eval wx_cv_func_$wx_func=yes
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 eval wx_cv_func_$wx_func=no
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27903 { echo "$as_me:$LINENO: result: $ac_res" >&5
27904 echo "${ECHO_T}$ac_res" >&6; }
27906 if eval test \$wx_cv_func_$wx_func = yes
27908 cat >>confdefs.h <<_ACEOF
27909 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27921 for wx_func in strtoull
27923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 cat >conftest.$ac_ext <<_ACEOF
27933 cat confdefs.h >>conftest.$ac_ext
27934 cat >>conftest.$ac_ext <<_ACEOF
27935 /* end confdefs.h. */
27938 $ac_includes_default
27954 rm -f conftest.$ac_objext conftest$ac_exeext
27955 if { (ac_try="$ac_link"
27956 case "(($ac_try" in
27957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27958 *) ac_try_echo=$ac_try;;
27960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27961 (eval "$ac_link") 2>conftest.er1
27963 grep -v '^ *+' conftest.er1 >conftest.err
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } && {
27968 test -z "$ac_cxx_werror_flag" ||
27969 test ! -s conftest.err
27970 } && test -s conftest$ac_exeext &&
27971 $as_test_x conftest$ac_exeext; then
27972 eval wx_cv_func_$wx_func=yes
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27977 eval wx_cv_func_$wx_func=no
27980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27981 conftest$ac_exeext conftest.$ac_ext
27984 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27985 { echo "$as_me:$LINENO: result: $ac_res" >&5
27986 echo "${ECHO_T}$ac_res" >&6; }
27988 if eval test \$wx_cv_func_$wx_func = yes
27990 cat >>confdefs.h <<_ACEOF
27991 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28003 ac_cpp='$CPP $CPPFLAGS'
28004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28011 if test "$wxUSE_REGEX" != "no"; then
28012 cat >>confdefs.h <<\_ACEOF
28013 #define wxUSE_REGEX 1
28017 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28018 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28019 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28020 wxUSE_REGEX=builtin
28023 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28024 { echo "$as_me:$LINENO: checking for regex.h" >&5
28025 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28026 if test "${ac_cv_header_regex_h+set}" = set; then
28027 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 cat >conftest.$ac_ext <<_ACEOF
28032 cat confdefs.h >>conftest.$ac_ext
28033 cat >>conftest.$ac_ext <<_ACEOF
28034 /* end confdefs.h. */
28039 rm -f conftest.$ac_objext
28040 if { (ac_try="$ac_compile"
28041 case "(($ac_try" in
28042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28043 *) ac_try_echo=$ac_try;;
28045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046 (eval "$ac_compile") 2>conftest.er1
28048 grep -v '^ *+' conftest.er1 >conftest.err
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } && {
28053 test -z "$ac_c_werror_flag" ||
28054 test ! -s conftest.err
28055 } && test -s conftest.$ac_objext; then
28056 ac_cv_header_regex_h=yes
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28061 ac_cv_header_regex_h=no
28064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28066 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28067 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28068 if test $ac_cv_header_regex_h = yes; then
28071 for ac_func in regcomp re_search
28073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 cat >conftest.$ac_ext <<_ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28087 #define $ac_func innocuous_$ac_func
28089 /* System header to define __stub macros and hopefully few prototypes,
28090 which can conflict with char $ac_func (); below.
28091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28092 <limits.h> exists even on freestanding compilers. */
28095 # include <limits.h>
28097 # include <assert.h>
28102 /* Override any GCC internal prototype to avoid an error.
28103 Use char because int might match the return type of a GCC
28104 builtin and then its argument prototype would still apply. */
28109 /* The GNU C library defines this for functions which it implements
28110 to always fail with ENOSYS. Some functions are actually named
28111 something starting with __ and the normal name is an alias. */
28112 #if defined __stub_$ac_func || defined __stub___$ac_func
28119 return $ac_func ();
28124 rm -f conftest.$ac_objext conftest$ac_exeext
28125 if { (ac_try="$ac_link"
28126 case "(($ac_try" in
28127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28128 *) ac_try_echo=$ac_try;;
28130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28131 (eval "$ac_link") 2>conftest.er1
28133 grep -v '^ *+' conftest.er1 >conftest.err
28135 cat conftest.err >&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); } && {
28138 test -z "$ac_c_werror_flag" ||
28139 test ! -s conftest.err
28140 } && test -s conftest$ac_exeext &&
28141 $as_test_x conftest$ac_exeext; then
28142 eval "$as_ac_var=yes"
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28147 eval "$as_ac_var=no"
28150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28151 conftest$ac_exeext conftest.$ac_ext
28153 ac_res=`eval echo '${'$as_ac_var'}'`
28154 { echo "$as_me:$LINENO: result: $ac_res" >&5
28155 echo "${ECHO_T}$ac_res" >&6; }
28156 if test `eval echo '${'$as_ac_var'}'` = yes; then
28157 cat >>confdefs.h <<_ACEOF
28158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28168 if test "x$ac_cv_func_regcomp" != "xyes"; then
28169 if test "$wxUSE_REGEX" = "sys" ; then
28170 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28171 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28172 { (exit 1); exit 1; }; }
28174 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28175 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28176 wxUSE_REGEX=builtin
28180 cat >>confdefs.h <<\_ACEOF
28181 #define WX_NO_REGEX_ADVANCED 1
28190 if test "$wxUSE_ZLIB" != "no" ; then
28191 cat >>confdefs.h <<\_ACEOF
28192 #define wxUSE_ZLIB 1
28196 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28197 if test "$USE_DARWIN" = 1; then
28198 system_zlib_h_ok="yes"
28200 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28201 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28202 if test "${ac_cv_header_zlib_h+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28205 if test "$cross_compiling" = yes; then
28206 unset ac_cv_header_zlib_h
28209 cat >conftest.$ac_ext <<_ACEOF
28212 cat confdefs.h >>conftest.$ac_ext
28213 cat >>conftest.$ac_ext <<_ACEOF
28214 /* end confdefs.h. */
28221 FILE *f=fopen("conftestval", "w");
28224 ZLIB_VERSION[0] == '1' &&
28225 (ZLIB_VERSION[2] > '1' ||
28226 (ZLIB_VERSION[2] == '1' &&
28227 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28232 rm -f conftest$ac_exeext
28233 if { (ac_try="$ac_link"
28234 case "(($ac_try" in
28235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28236 *) ac_try_echo=$ac_try;;
28238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28239 (eval "$ac_link") 2>&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28243 { (case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_try") 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; }; then
28252 ac_cv_header_zlib_h=`cat conftestval`
28254 echo "$as_me: program exited with status $ac_status" >&5
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28258 ( exit $ac_status )
28259 ac_cv_header_zlib_h=no
28261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28267 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28268 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28269 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28270 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28271 if test "${ac_cv_header_zlib_h+set}" = set; then
28272 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 cat >conftest.$ac_ext <<_ACEOF
28277 cat confdefs.h >>conftest.$ac_ext
28278 cat >>conftest.$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28293 grep -v '^ *+' conftest.er1 >conftest.err
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 ac_cv_header_zlib_h=yes
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28306 ac_cv_header_zlib_h=no
28309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28311 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28312 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28316 system_zlib_h_ok=$ac_cv_header_zlib_h
28319 if test "$system_zlib_h_ok" = "yes"; then
28320 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28321 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28322 if test "${ac_cv_lib_z_deflate+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28325 ac_check_lib_save_LIBS=$LIBS
28327 cat >conftest.$ac_ext <<_ACEOF
28330 cat confdefs.h >>conftest.$ac_ext
28331 cat >>conftest.$ac_ext <<_ACEOF
28332 /* end confdefs.h. */
28334 /* Override any GCC internal prototype to avoid an error.
28335 Use char because int might match the return type of a GCC
28336 builtin and then its argument prototype would still apply. */
28349 rm -f conftest.$ac_objext conftest$ac_exeext
28350 if { (ac_try="$ac_link"
28351 case "(($ac_try" in
28352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28353 *) ac_try_echo=$ac_try;;
28355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28356 (eval "$ac_link") 2>conftest.er1
28358 grep -v '^ *+' conftest.er1 >conftest.err
28360 cat conftest.err >&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); } && {
28363 test -z "$ac_c_werror_flag" ||
28364 test ! -s conftest.err
28365 } && test -s conftest$ac_exeext &&
28366 $as_test_x conftest$ac_exeext; then
28367 ac_cv_lib_z_deflate=yes
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.$ac_ext >&5
28372 ac_cv_lib_z_deflate=no
28375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28376 conftest$ac_exeext conftest.$ac_ext
28377 LIBS=$ac_check_lib_save_LIBS
28379 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28380 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28381 if test $ac_cv_lib_z_deflate = yes; then
28387 if test "x$ZLIB_LINK" = "x" ; then
28388 if test "$wxUSE_ZLIB" = "sys" ; then
28389 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28390 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28391 { (exit 1); exit 1; }; }
28393 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28394 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28405 if test "$wxUSE_LIBPNG" != "no" ; then
28406 cat >>confdefs.h <<\_ACEOF
28407 #define wxUSE_LIBPNG 1
28411 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28412 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28413 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28417 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28418 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28419 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28420 wxUSE_LIBPNG=builtin
28423 if test "$wxUSE_MGL" != 1 ; then
28424 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28425 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28426 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28427 if test "${ac_cv_header_png_h+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 if test "$cross_compiling" = yes; then
28431 unset ac_cv_header_png_h
28434 cat >conftest.$ac_ext <<_ACEOF
28437 cat confdefs.h >>conftest.$ac_ext
28438 cat >>conftest.$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28446 FILE *f=fopen("conftestval", "w");
28449 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28454 rm -f conftest$ac_exeext
28455 if { (ac_try="$ac_link"
28456 case "(($ac_try" in
28457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28458 *) ac_try_echo=$ac_try;;
28460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28461 (eval "$ac_link") 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28465 { (case "(($ac_try" in
28466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28467 *) ac_try_echo=$ac_try;;
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 (eval "$ac_try") 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 ac_cv_header_png_h=`cat conftestval`
28476 echo "$as_me: program exited with status $ac_status" >&5
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28480 ( exit $ac_status )
28481 ac_cv_header_png_h=no
28483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28489 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28490 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28491 { echo "$as_me:$LINENO: checking for png.h" >&5
28492 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28493 if test "${ac_cv_header_png_h+set}" = set; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 cat >conftest.$ac_ext <<_ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28506 rm -f conftest.$ac_objext
28507 if { (ac_try="$ac_compile"
28508 case "(($ac_try" in
28509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 *) ac_try_echo=$ac_try;;
28512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 (eval "$ac_compile") 2>conftest.er1
28515 grep -v '^ *+' conftest.er1 >conftest.err
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } && {
28520 test -z "$ac_c_werror_flag" ||
28521 test ! -s conftest.err
28522 } && test -s conftest.$ac_objext; then
28523 ac_cv_header_png_h=yes
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28528 ac_cv_header_png_h=no
28531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28534 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28538 if test "$ac_cv_header_png_h" = "yes"; then
28539 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28540 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28541 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 ac_check_lib_save_LIBS=$LIBS
28545 LIBS="-lpng -lz -lm $LIBS"
28546 cat >conftest.$ac_ext <<_ACEOF
28549 cat confdefs.h >>conftest.$ac_ext
28550 cat >>conftest.$ac_ext <<_ACEOF
28551 /* end confdefs.h. */
28553 /* Override any GCC internal prototype to avoid an error.
28554 Use char because int might match the return type of a GCC
28555 builtin and then its argument prototype would still apply. */
28559 char png_check_sig ();
28563 return png_check_sig ();
28568 rm -f conftest.$ac_objext conftest$ac_exeext
28569 if { (ac_try="$ac_link"
28570 case "(($ac_try" in
28571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28572 *) ac_try_echo=$ac_try;;
28574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28575 (eval "$ac_link") 2>conftest.er1
28577 grep -v '^ *+' conftest.er1 >conftest.err
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } && {
28582 test -z "$ac_c_werror_flag" ||
28583 test ! -s conftest.err
28584 } && test -s conftest$ac_exeext &&
28585 $as_test_x conftest$ac_exeext; then
28586 ac_cv_lib_png_png_check_sig=yes
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.$ac_ext >&5
28591 ac_cv_lib_png_png_check_sig=no
28594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28595 conftest$ac_exeext conftest.$ac_ext
28596 LIBS=$ac_check_lib_save_LIBS
28598 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28599 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28600 if test $ac_cv_lib_png_png_check_sig = yes; then
28601 PNG_LINK=" -lpng -lz"
28606 if test "x$PNG_LINK" = "x" ; then
28607 if test "$wxUSE_LIBPNG" = "sys" ; then
28608 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28609 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28610 { (exit 1); exit 1; }; }
28612 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28613 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28614 wxUSE_LIBPNG=builtin
28622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28627 if test "$wxUSE_LIBJPEG" != "no" ; then
28628 cat >>confdefs.h <<\_ACEOF
28629 #define wxUSE_LIBJPEG 1
28633 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28634 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28635 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28639 if test "$wxUSE_MGL" != 1 ; then
28640 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28641 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28642 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28643 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 cat >conftest.$ac_ext <<_ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28653 #undef HAVE_STDLIB_H
28655 #include <jpeglib.h>
28666 rm -f conftest.$ac_objext
28667 if { (ac_try="$ac_compile"
28668 case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_compile") 2>conftest.er1
28675 grep -v '^ *+' conftest.er1 >conftest.err
28677 cat conftest.err >&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } && {
28680 test -z "$ac_c_werror_flag" ||
28681 test ! -s conftest.err
28682 } && test -s conftest.$ac_objext; then
28683 ac_cv_header_jpeglib_h=yes
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 ac_cv_header_jpeglib_h=no
28692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28697 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28699 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28700 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28701 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28702 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 ac_check_lib_save_LIBS=$LIBS
28706 LIBS="-ljpeg $LIBS"
28707 cat >conftest.$ac_ext <<_ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28714 /* Override any GCC internal prototype to avoid an error.
28715 Use char because int might match the return type of a GCC
28716 builtin and then its argument prototype would still apply. */
28720 char jpeg_read_header ();
28724 return jpeg_read_header ();
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (ac_try="$ac_link"
28731 case "(($ac_try" in
28732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28733 *) ac_try_echo=$ac_try;;
28735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28736 (eval "$ac_link") 2>conftest.er1
28738 grep -v '^ *+' conftest.er1 >conftest.err
28740 cat conftest.err >&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } && {
28743 test -z "$ac_c_werror_flag" ||
28744 test ! -s conftest.err
28745 } && test -s conftest$ac_exeext &&
28746 $as_test_x conftest$ac_exeext; then
28747 ac_cv_lib_jpeg_jpeg_read_header=yes
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28752 ac_cv_lib_jpeg_jpeg_read_header=no
28755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28756 conftest$ac_exeext conftest.$ac_ext
28757 LIBS=$ac_check_lib_save_LIBS
28759 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28760 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28761 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28762 JPEG_LINK=" -ljpeg"
28767 if test "x$JPEG_LINK" = "x" ; then
28768 if test "$wxUSE_LIBJPEG" = "sys" ; then
28769 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28770 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28771 { (exit 1); exit 1; }; }
28773 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28774 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28775 wxUSE_LIBJPEG=builtin
28780 if test "$wxUSE_MSW" = 1; then
28781 { echo "$as_me:$LINENO: checking for boolean" >&5
28782 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28783 if test "${ac_cv_type_boolean+set}" = set; then
28784 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 cat >conftest.$ac_ext <<_ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28792 #include <windows.h>
28794 typedef boolean ac__type_new_;
28798 if ((ac__type_new_ *) 0)
28800 if (sizeof (ac__type_new_))
28806 rm -f conftest.$ac_objext
28807 if { (ac_try="$ac_compile"
28808 case "(($ac_try" in
28809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28810 *) ac_try_echo=$ac_try;;
28812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28813 (eval "$ac_compile") 2>conftest.er1
28815 grep -v '^ *+' conftest.er1 >conftest.err
28817 cat conftest.err >&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); } && {
28820 test -z "$ac_c_werror_flag" ||
28821 test ! -s conftest.err
28822 } && test -s conftest.$ac_objext; then
28823 ac_cv_type_boolean=yes
28825 echo "$as_me: failed program was:" >&5
28826 sed 's/^/| /' conftest.$ac_ext >&5
28828 ac_cv_type_boolean=no
28831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28833 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28834 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28835 if test $ac_cv_type_boolean = yes; then
28837 cat >>confdefs.h <<_ACEOF
28838 #define HAVE_BOOLEAN 1
28842 { echo "$as_me:$LINENO: checking for boolean" >&5
28843 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28844 if test "${ac_cv_type_boolean+set}" = set; then
28845 echo $ECHO_N "(cached) $ECHO_C" >&6
28847 cat >conftest.$ac_ext <<_ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28854 #undef HAVE_BOOLEAN
28856 #include <jpeglib.h>
28859 typedef boolean ac__type_new_;
28863 if ((ac__type_new_ *) 0)
28865 if (sizeof (ac__type_new_))
28871 rm -f conftest.$ac_objext
28872 if { (ac_try="$ac_compile"
28873 case "(($ac_try" in
28874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28875 *) ac_try_echo=$ac_try;;
28877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28878 (eval "$ac_compile") 2>conftest.er1
28880 grep -v '^ *+' conftest.er1 >conftest.err
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } && {
28885 test -z "$ac_c_werror_flag" ||
28886 test ! -s conftest.err
28887 } && test -s conftest.$ac_objext; then
28888 ac_cv_type_boolean=yes
28890 echo "$as_me: failed program was:" >&5
28891 sed 's/^/| /' conftest.$ac_ext >&5
28893 ac_cv_type_boolean=no
28896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28898 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28899 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28901 # The cast to long int works around a bug in the HP C Compiler
28902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28904 # This bug is HP SR number 8606223364.
28905 { echo "$as_me:$LINENO: checking size of boolean" >&5
28906 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28907 if test "${ac_cv_sizeof_boolean+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 if test "$cross_compiling" = yes; then
28911 # Depending upon the size, compute the lo and hi bounds.
28912 cat >conftest.$ac_ext <<_ACEOF
28915 cat confdefs.h >>conftest.$ac_ext
28916 cat >>conftest.$ac_ext <<_ACEOF
28917 /* end confdefs.h. */
28919 #undef HAVE_BOOLEAN
28921 #include <jpeglib.h>
28924 typedef boolean ac__type_sizeof_;
28928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28935 rm -f conftest.$ac_objext
28936 if { (ac_try="$ac_compile"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_compile") 2>conftest.er1
28944 grep -v '^ *+' conftest.er1 >conftest.err
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest.$ac_objext; then
28954 cat >conftest.$ac_ext <<_ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28961 #undef HAVE_BOOLEAN
28963 #include <jpeglib.h>
28966 typedef boolean ac__type_sizeof_;
28970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28977 rm -f conftest.$ac_objext
28978 if { (ac_try="$ac_compile"
28979 case "(($ac_try" in
28980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28981 *) ac_try_echo=$ac_try;;
28983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28984 (eval "$ac_compile") 2>conftest.er1
28986 grep -v '^ *+' conftest.er1 >conftest.err
28988 cat conftest.err >&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } && {
28991 test -z "$ac_c_werror_flag" ||
28992 test ! -s conftest.err
28993 } && test -s conftest.$ac_objext; then
28994 ac_hi=$ac_mid; break
28996 echo "$as_me: failed program was:" >&5
28997 sed 's/^/| /' conftest.$ac_ext >&5
28999 ac_lo=`expr $ac_mid + 1`
29000 if test $ac_lo -le $ac_mid; then
29004 ac_mid=`expr 2 '*' $ac_mid + 1`
29007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29010 echo "$as_me: failed program was:" >&5
29011 sed 's/^/| /' conftest.$ac_ext >&5
29013 cat >conftest.$ac_ext <<_ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 #undef HAVE_BOOLEAN
29022 #include <jpeglib.h>
29025 typedef boolean ac__type_sizeof_;
29029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29036 rm -f conftest.$ac_objext
29037 if { (ac_try="$ac_compile"
29038 case "(($ac_try" in
29039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29040 *) ac_try_echo=$ac_try;;
29042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29043 (eval "$ac_compile") 2>conftest.er1
29045 grep -v '^ *+' conftest.er1 >conftest.err
29047 cat conftest.err >&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); } && {
29050 test -z "$ac_c_werror_flag" ||
29051 test ! -s conftest.err
29052 } && test -s conftest.$ac_objext; then
29055 cat >conftest.$ac_ext <<_ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29062 #undef HAVE_BOOLEAN
29064 #include <jpeglib.h>
29067 typedef boolean ac__type_sizeof_;
29071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29078 rm -f conftest.$ac_objext
29079 if { (ac_try="$ac_compile"
29080 case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082 *) ac_try_echo=$ac_try;;
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_compile") 2>conftest.er1
29087 grep -v '^ *+' conftest.er1 >conftest.err
29089 cat conftest.err >&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); } && {
29092 test -z "$ac_c_werror_flag" ||
29093 test ! -s conftest.err
29094 } && test -s conftest.$ac_objext; then
29095 ac_lo=$ac_mid; break
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29100 ac_hi=`expr '(' $ac_mid ')' - 1`
29101 if test $ac_mid -le $ac_hi; then
29105 ac_mid=`expr 2 '*' $ac_mid`
29108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 # Binary search between lo and hi bounds.
29122 while test "x$ac_lo" != "x$ac_hi"; do
29123 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29124 cat >conftest.$ac_ext <<_ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29131 #undef HAVE_BOOLEAN
29133 #include <jpeglib.h>
29136 typedef boolean ac__type_sizeof_;
29140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29147 rm -f conftest.$ac_objext
29148 if { (ac_try="$ac_compile"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_compile") 2>conftest.er1
29156 grep -v '^ *+' conftest.er1 >conftest.err
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } && {
29161 test -z "$ac_c_werror_flag" ||
29162 test ! -s conftest.err
29163 } && test -s conftest.$ac_objext; then
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29169 ac_lo=`expr '(' $ac_mid ')' + 1`
29172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29176 '') if test "$ac_cv_type_boolean" = yes; then
29177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29178 See \`config.log' for more details." >&5
29179 echo "$as_me: error: cannot compute sizeof (boolean)
29180 See \`config.log' for more details." >&2;}
29181 { (exit 77); exit 77; }; }
29183 ac_cv_sizeof_boolean=0
29187 cat >conftest.$ac_ext <<_ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29194 #undef HAVE_BOOLEAN
29196 #include <jpeglib.h>
29199 typedef boolean ac__type_sizeof_;
29200 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29201 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29203 #include <stdlib.h>
29208 FILE *f = fopen ("conftest.val", "w");
29211 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29213 long int i = longval ();
29214 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29216 fprintf (f, "%ld\n", i);
29220 unsigned long int i = ulongval ();
29221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29223 fprintf (f, "%lu\n", i);
29225 return ferror (f) || fclose (f) != 0;
29231 rm -f conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29242 { (case "(($ac_try" in
29243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29244 *) ac_try_echo=$ac_try;;
29246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29247 (eval "$ac_try") 2>&5
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251 ac_cv_sizeof_boolean=`cat conftest.val`
29253 echo "$as_me: program exited with status $ac_status" >&5
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.$ac_ext >&5
29257 ( exit $ac_status )
29258 if test "$ac_cv_type_boolean" = yes; then
29259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29260 See \`config.log' for more details." >&5
29261 echo "$as_me: error: cannot compute sizeof (boolean)
29262 See \`config.log' for more details." >&2;}
29263 { (exit 77); exit 77; }; }
29265 ac_cv_sizeof_boolean=0
29268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29272 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29273 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29277 cat >>confdefs.h <<_ACEOF
29278 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29282 cat >>confdefs.h <<_ACEOF
29283 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29297 TIFF_PREREQ_LINKS=-lm
29298 if test "$wxUSE_LIBTIFF" != "no" ; then
29299 cat >>confdefs.h <<\_ACEOF
29300 #define wxUSE_LIBTIFF 1
29304 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29305 if test "$wxUSE_LIBJPEG" = "sys"; then
29306 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29308 if test "$wxUSE_ZLIB" = "sys"; then
29309 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29311 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29312 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29313 if test "${ac_cv_header_tiffio_h+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29316 cat >conftest.$ac_ext <<_ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29325 #include <tiffio.h>
29327 rm -f conftest.$ac_objext
29328 if { (ac_try="$ac_compile"
29329 case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_compile") 2>conftest.er1
29336 grep -v '^ *+' conftest.er1 >conftest.err
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } && {
29341 test -z "$ac_c_werror_flag" ||
29342 test ! -s conftest.err
29343 } && test -s conftest.$ac_objext; then
29344 ac_cv_header_tiffio_h=yes
29346 echo "$as_me: failed program was:" >&5
29347 sed 's/^/| /' conftest.$ac_ext >&5
29349 ac_cv_header_tiffio_h=no
29352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29354 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29355 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29356 if test $ac_cv_header_tiffio_h = yes; then
29358 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29359 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29360 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 ac_check_lib_save_LIBS=$LIBS
29364 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29365 cat >conftest.$ac_ext <<_ACEOF
29368 cat confdefs.h >>conftest.$ac_ext
29369 cat >>conftest.$ac_ext <<_ACEOF
29370 /* end confdefs.h. */
29372 /* Override any GCC internal prototype to avoid an error.
29373 Use char because int might match the return type of a GCC
29374 builtin and then its argument prototype would still apply. */
29382 return TIFFError ();
29387 rm -f conftest.$ac_objext conftest$ac_exeext
29388 if { (ac_try="$ac_link"
29389 case "(($ac_try" in
29390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29391 *) ac_try_echo=$ac_try;;
29393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29394 (eval "$ac_link") 2>conftest.er1
29396 grep -v '^ *+' conftest.er1 >conftest.err
29398 cat conftest.err >&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); } && {
29401 test -z "$ac_c_werror_flag" ||
29402 test ! -s conftest.err
29403 } && test -s conftest$ac_exeext &&
29404 $as_test_x conftest$ac_exeext; then
29405 ac_cv_lib_tiff_TIFFError=yes
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29410 ac_cv_lib_tiff_TIFFError=no
29413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29414 conftest$ac_exeext conftest.$ac_ext
29415 LIBS=$ac_check_lib_save_LIBS
29417 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29418 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29419 if test $ac_cv_lib_tiff_TIFFError = yes; then
29420 TIFF_LINK=" -ltiff"
29428 if test "x$TIFF_LINK" = "x" ; then
29429 if test "$wxUSE_LIBTIFF" = "sys" ; then
29430 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29431 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29432 { (exit 1); exit 1; }; }
29434 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29435 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29436 wxUSE_LIBTIFF=builtin
29445 if test "$wxUSE_WCHAR_T" != "yes"; then
29446 if test "$wxUSE_EXPAT" != "no"; then
29447 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29448 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29451 if test "$wxUSE_XML" != "no"; then
29452 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29453 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29458 if test "$wxUSE_EXPAT" != "no"; then
29460 cat >>confdefs.h <<\_ACEOF
29461 #define wxUSE_EXPAT 1
29464 cat >>confdefs.h <<\_ACEOF
29465 #define wxUSE_XML 1
29469 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29470 { echo "$as_me:$LINENO: checking for expat.h" >&5
29471 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29472 if test "${ac_cv_header_expat_h+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 cat >conftest.$ac_ext <<_ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29485 rm -f conftest.$ac_objext
29486 if { (ac_try="$ac_compile"
29487 case "(($ac_try" in
29488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29489 *) ac_try_echo=$ac_try;;
29491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29492 (eval "$ac_compile") 2>conftest.er1
29494 grep -v '^ *+' conftest.er1 >conftest.err
29496 cat conftest.err >&5
29497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498 (exit $ac_status); } && {
29499 test -z "$ac_c_werror_flag" ||
29500 test ! -s conftest.err
29501 } && test -s conftest.$ac_objext; then
29502 ac_cv_header_expat_h=yes
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.$ac_ext >&5
29507 ac_cv_header_expat_h=no
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29512 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29513 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29514 if test $ac_cv_header_expat_h = yes; then
29519 if test "x$found_expat_h" = "x1"; then
29520 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29521 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29522 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 ac_cpp='$CXXCPP $CPPFLAGS'
29528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29532 cat >conftest.$ac_ext <<_ACEOF
29535 cat confdefs.h >>conftest.$ac_ext
29536 cat >>conftest.$ac_ext <<_ACEOF
29537 /* end confdefs.h. */
29547 rm -f conftest.$ac_objext
29548 if { (ac_try="$ac_compile"
29549 case "(($ac_try" in
29550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29551 *) ac_try_echo=$ac_try;;
29553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29554 (eval "$ac_compile") 2>conftest.er1
29556 grep -v '^ *+' conftest.er1 >conftest.err
29558 cat conftest.err >&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); } && {
29561 test -z "$ac_cxx_werror_flag" ||
29562 test ! -s conftest.err
29563 } && test -s conftest.$ac_objext; then
29564 wx_cv_expat_is_not_broken=yes
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29569 wx_cv_expat_is_not_broken=no
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29583 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29584 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29585 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29586 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29587 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29588 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 ac_check_lib_save_LIBS=$LIBS
29592 LIBS="-lexpat $LIBS"
29593 cat >conftest.$ac_ext <<_ACEOF
29596 cat confdefs.h >>conftest.$ac_ext
29597 cat >>conftest.$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29600 /* Override any GCC internal prototype to avoid an error.
29601 Use char because int might match the return type of a GCC
29602 builtin and then its argument prototype would still apply. */
29606 char XML_ParserCreate ();
29610 return XML_ParserCreate ();
29615 rm -f conftest.$ac_objext conftest$ac_exeext
29616 if { (ac_try="$ac_link"
29617 case "(($ac_try" in
29618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29619 *) ac_try_echo=$ac_try;;
29621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29622 (eval "$ac_link") 2>conftest.er1
29624 grep -v '^ *+' conftest.er1 >conftest.err
29626 cat conftest.err >&5
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); } && {
29629 test -z "$ac_c_werror_flag" ||
29630 test ! -s conftest.err
29631 } && test -s conftest$ac_exeext &&
29632 $as_test_x conftest$ac_exeext; then
29633 ac_cv_lib_expat_XML_ParserCreate=yes
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.$ac_ext >&5
29638 ac_cv_lib_expat_XML_ParserCreate=no
29641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29642 conftest$ac_exeext conftest.$ac_ext
29643 LIBS=$ac_check_lib_save_LIBS
29645 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29646 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29647 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29648 EXPAT_LINK=" -lexpat"
29653 if test "x$EXPAT_LINK" = "x" ; then
29654 if test "$wxUSE_EXPAT" = "sys" ; then
29655 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29656 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29657 { (exit 1); exit 1; }; }
29659 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29660 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29661 wxUSE_EXPAT=builtin
29667 if test "$wxUSE_EXPAT" = "builtin" ; then
29668 subdirs="$subdirs src/expat"
29675 if test "$wxUSE_LIBMSPACK" != "no"; then
29676 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29677 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29678 if test "${ac_cv_header_mspack_h+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29681 cat >conftest.$ac_ext <<_ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29689 #include <mspack.h>
29691 rm -f conftest.$ac_objext
29692 if { (ac_try="$ac_compile"
29693 case "(($ac_try" in
29694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29695 *) ac_try_echo=$ac_try;;
29697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29698 (eval "$ac_compile") 2>conftest.er1
29700 grep -v '^ *+' conftest.er1 >conftest.err
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } && {
29705 test -z "$ac_c_werror_flag" ||
29706 test ! -s conftest.err
29707 } && test -s conftest.$ac_objext; then
29708 ac_cv_header_mspack_h=yes
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29713 ac_cv_header_mspack_h=no
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29718 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29719 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29720 if test $ac_cv_header_mspack_h = yes; then
29725 if test "x$found_mspack_h" = "x1"; then
29726 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29727 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29728 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 ac_check_lib_save_LIBS=$LIBS
29732 LIBS="-lmspack $LIBS"
29733 cat >conftest.$ac_ext <<_ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29740 /* Override any GCC internal prototype to avoid an error.
29741 Use char because int might match the return type of a GCC
29742 builtin and then its argument prototype would still apply. */
29746 char mspack_create_chm_decompressor ();
29750 return mspack_create_chm_decompressor ();
29755 rm -f conftest.$ac_objext conftest$ac_exeext
29756 if { (ac_try="$ac_link"
29757 case "(($ac_try" in
29758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29759 *) ac_try_echo=$ac_try;;
29761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29762 (eval "$ac_link") 2>conftest.er1
29764 grep -v '^ *+' conftest.er1 >conftest.err
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } && {
29769 test -z "$ac_c_werror_flag" ||
29770 test ! -s conftest.err
29771 } && test -s conftest$ac_exeext &&
29772 $as_test_x conftest$ac_exeext; then
29773 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29778 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29785 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29786 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29787 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29788 MSPACK_LINK=" -lmspack"
29792 if test "x$MSPACK_LINK" = "x" ; then
29797 if test "$wxUSE_LIBMSPACK" != "no"; then
29798 cat >>confdefs.h <<\_ACEOF
29799 #define wxUSE_LIBMSPACK 1
29813 if test "$USE_WIN32" = 1 ; then
29815 for ac_header in w32api.h
29817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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 <$ac_header>
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 eval "$as_ac_Header=yes"
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29855 eval "$as_ac_Header=no"
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 ac_res=`eval echo '${'$as_ac_Header'}'`
29861 { echo "$as_me:$LINENO: result: $ac_res" >&5
29862 echo "${ECHO_T}$ac_res" >&6; }
29863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29864 cat >>confdefs.h <<_ACEOF
29865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29872 { echo "$as_me:$LINENO: checking for windows.h" >&5
29873 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29874 if test "${ac_cv_header_windows_h+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 cat >conftest.$ac_ext <<_ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29885 #include <windows.h>
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29896 grep -v '^ *+' conftest.er1 >conftest.err
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 ac_cv_header_windows_h=yes
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 ac_cv_header_windows_h=no
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29914 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29916 if test $ac_cv_header_windows_h = yes; then
29920 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29921 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29922 { (exit 1); exit 1; }; }
29928 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29930 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29931 LIBS="$LIBS -loleacc"
29936 LIBS="$LIBS -lkernel32 -luser32"
29939 if test "$wxUSE_ODBC" = "sys" ; then
29942 if test "$wxUSE_ODBC" = "yes" ; then
29943 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29944 cat >>confdefs.h <<\_ACEOF
29945 #define wxUSE_ODBC 1
29950 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29951 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29953 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29955 WIN32INSTALL=win32install
29957 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29958 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29959 if test "${ac_cv_header_pbt_h+set}" = set; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29962 cat >conftest.$ac_ext <<_ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29972 rm -f conftest.$ac_objext
29973 if { (ac_try="$ac_compile"
29974 case "(($ac_try" in
29975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29976 *) ac_try_echo=$ac_try;;
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979 (eval "$ac_compile") 2>conftest.er1
29981 grep -v '^ *+' conftest.er1 >conftest.err
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } && {
29986 test -z "$ac_c_werror_flag" ||
29987 test ! -s conftest.err
29988 } && test -s conftest.$ac_objext; then
29989 ac_cv_header_pbt_h=yes
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29994 ac_cv_header_pbt_h=no
29997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29999 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30000 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30001 if test $ac_cv_header_pbt_h = yes; then
30004 cat >>confdefs.h <<\_ACEOF
30005 #define NEED_PBT_H 1
30013 if test "$wxUSE_GUI" = "yes"; then
30023 if test "$wxUSE_COCOA" = 1 ; then
30024 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30025 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30026 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30027 wxUSE_PRINTING_ARCHITECTURE=no
30029 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30030 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30031 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30032 wxUSE_DRAG_AND_DROP=no
30034 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30035 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30036 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30041 if test "$wxUSE_MSW" = 1 ; then
30047 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30051 if test "$wxUSE_GTK" = 1; then
30052 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30053 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30055 gtk_version_cached=1
30056 if test "${wx_cv_lib_gtk+set}" = set; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30060 gtk_version_cached=0
30061 { echo "$as_me:$LINENO: result: " >&5
30062 echo "${ECHO_T}" >&6; }
30065 if test "$wxUSE_THREADS" = "yes"; then
30066 GTK_MODULES=gthread
30070 if test "x$wxGTK_VERSION" != "x1"
30074 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30079 # Check whether --enable-gtktest was given.
30080 if test "${enable_gtktest+set}" = set; then
30081 enableval=$enable_gtktest;
30087 pkg_config_args=gtk+-2.0
30088 for module in . $GTK_MODULES
30092 pkg_config_args="$pkg_config_args gthread-2.0"
30099 # Extract the first word of "pkg-config", so it can be a program name with args.
30100 set dummy pkg-config; ac_word=$2
30101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30103 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30104 echo $ECHO_N "(cached) $ECHO_C" >&6
30106 case $PKG_CONFIG in
30108 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30112 for as_dir in $PATH
30115 test -z "$as_dir" && as_dir=.
30116 for ac_exec_ext in '' $ac_executable_extensions; do
30117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30118 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30126 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30130 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30131 if test -n "$PKG_CONFIG"; then
30132 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30133 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30135 { echo "$as_me:$LINENO: result: no" >&5
30136 echo "${ECHO_T}no" >&6; }
30141 if test x$PKG_CONFIG != xno ; then
30142 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30145 echo "*** pkg-config too old; version 0.7 or better required."
30153 min_gtk_version=2.0.0
30154 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30155 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30157 if test x$PKG_CONFIG != xno ; then
30158 ## don't try to run the test against uninstalled libtool libs
30159 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30160 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30164 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30171 if test x"$no_gtk" = x ; then
30172 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30173 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30174 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30176 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30178 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30180 if test "x$enable_gtktest" = "xyes" ; then
30181 ac_save_CFLAGS="$CFLAGS"
30182 ac_save_LIBS="$LIBS"
30183 CFLAGS="$CFLAGS $GTK_CFLAGS"
30184 LIBS="$GTK_LIBS $LIBS"
30186 if test "$cross_compiling" = yes; then
30187 echo $ac_n "cross compiling; assumed OK... $ac_c"
30189 cat >conftest.$ac_ext <<_ACEOF
30192 cat confdefs.h >>conftest.$ac_ext
30193 cat >>conftest.$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30196 #include <gtk/gtk.h>
30198 #include <stdlib.h>
30203 int major, minor, micro;
30206 system ("touch conf.gtktest");
30208 /* HP/UX 9 (%@#!) writes to sscanf strings */
30209 tmp_version = g_strdup("$min_gtk_version");
30210 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30211 printf("%s, bad version string\n", "$min_gtk_version");
30215 if ((gtk_major_version != $gtk_config_major_version) ||
30216 (gtk_minor_version != $gtk_config_minor_version) ||
30217 (gtk_micro_version != $gtk_config_micro_version))
30219 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30220 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30221 gtk_major_version, gtk_minor_version, gtk_micro_version);
30222 printf ("*** was found! If pkg-config was correct, then it is best\n");
30223 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30224 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30225 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30226 printf("*** required on your system.\n");
30227 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30228 printf("*** to point to the correct configuration files\n");
30230 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30231 (gtk_minor_version != GTK_MINOR_VERSION) ||
30232 (gtk_micro_version != GTK_MICRO_VERSION))
30234 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30235 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30236 printf("*** library (version %d.%d.%d)\n",
30237 gtk_major_version, gtk_minor_version, gtk_micro_version);
30241 if ((gtk_major_version > major) ||
30242 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30243 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30249 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30250 gtk_major_version, gtk_minor_version, gtk_micro_version);
30251 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30252 major, minor, micro);
30253 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30255 printf("*** If you have already installed a sufficiently new version, this error\n");
30256 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30257 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30258 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30259 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30260 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30261 printf("*** so that the correct libraries are found at run-time))\n");
30268 rm -f conftest$ac_exeext
30269 if { (ac_try="$ac_link"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_link") 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30279 { (case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30281 *) ac_try_echo=$ac_try;;
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_try") 2>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; }; then
30290 echo "$as_me: program exited with status $ac_status" >&5
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30294 ( exit $ac_status )
30297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30301 CFLAGS="$ac_save_CFLAGS"
30302 LIBS="$ac_save_LIBS"
30305 if test "x$no_gtk" = x ; then
30306 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30307 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30310 { echo "$as_me:$LINENO: result: no" >&5
30311 echo "${ECHO_T}no" >&6; }
30312 if test "$PKG_CONFIG" = "no" ; then
30313 echo "*** A new enough version of pkg-config was not found."
30314 echo "*** See http://pkgconfig.sourceforge.net"
30316 if test -f conf.gtktest ; then
30319 echo "*** Could not run GTK+ test program, checking why..."
30320 ac_save_CFLAGS="$CFLAGS"
30321 ac_save_LIBS="$LIBS"
30322 CFLAGS="$CFLAGS $GTK_CFLAGS"
30323 LIBS="$LIBS $GTK_LIBS"
30324 cat >conftest.$ac_ext <<_ACEOF
30327 cat confdefs.h >>conftest.$ac_ext
30328 cat >>conftest.$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30331 #include <gtk/gtk.h>
30337 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30342 rm -f conftest.$ac_objext conftest$ac_exeext
30343 if { (ac_try="$ac_link"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_link") 2>conftest.er1
30351 grep -v '^ *+' conftest.er1 >conftest.err
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } && {
30356 test -z "$ac_c_werror_flag" ||
30357 test ! -s conftest.err
30358 } && test -s conftest$ac_exeext &&
30359 $as_test_x conftest$ac_exeext; then
30360 echo "*** The test program compiled, but did not run. This usually means"
30361 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30362 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30363 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30364 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30365 echo "*** is required on your system"
30367 echo "*** If you have an old version installed, it is best to remove it, although"
30368 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.$ac_ext >&5
30373 echo "*** The test program failed to compile or link. See the file config.log for the"
30374 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30378 conftest$ac_exeext conftest.$ac_ext
30379 CFLAGS="$ac_save_CFLAGS"
30380 LIBS="$ac_save_LIBS"
30394 if test "$wxUSE_SHARED" != "yes"; then
30395 GTK_LIBS="$GTK_LIBS -lX11"
30400 if test -z "$wx_cv_lib_gtk"; then
30401 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30403 # Check whether --with-gtk-prefix was given.
30404 if test "${with_gtk_prefix+set}" = set; then
30405 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30407 gtk_config_prefix=""
30411 # Check whether --with-gtk-exec-prefix was given.
30412 if test "${with_gtk_exec_prefix+set}" = set; then
30413 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30415 gtk_config_exec_prefix=""
30418 # Check whether --enable-gtktest was given.
30419 if test "${enable_gtktest+set}" = set; then
30420 enableval=$enable_gtktest;
30426 for module in . $GTK_MODULES
30430 gtk_config_args="$gtk_config_args gthread"
30435 if test x$gtk_config_exec_prefix != x ; then
30436 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30437 if test x${GTK_CONFIG+set} != xset ; then
30438 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30441 if test x$gtk_config_prefix != x ; then
30442 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30443 if test x${GTK_CONFIG+set} != xset ; then
30444 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30448 # Extract the first word of "gtk-config", so it can be a program name with args.
30449 set dummy gtk-config; ac_word=$2
30450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30452 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 case $GTK_CONFIG in
30457 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30461 for as_dir in $PATH
30464 test -z "$as_dir" && as_dir=.
30465 for ac_exec_ext in '' $ac_executable_extensions; do
30466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30467 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30475 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30479 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30480 if test -n "$GTK_CONFIG"; then
30481 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30482 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30484 { echo "$as_me:$LINENO: result: no" >&5
30485 echo "${ECHO_T}no" >&6; }
30489 min_gtk_version=1.2.7
30490 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30491 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30493 if test "$GTK_CONFIG" = "no" ; then
30496 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30497 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30498 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30500 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30502 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30504 if test "x$enable_gtktest" = "xyes" ; then
30505 ac_save_CFLAGS="$CFLAGS"
30506 ac_save_LIBS="$LIBS"
30507 CFLAGS="$CFLAGS $GTK_CFLAGS"
30508 LIBS="$GTK_LIBS $LIBS"
30510 if test "$cross_compiling" = yes; then
30511 echo $ac_n "cross compiling; assumed OK... $ac_c"
30513 cat >conftest.$ac_ext <<_ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30520 #include <gtk/gtk.h>
30522 #include <stdlib.h>
30527 int major, minor, micro;
30530 system ("touch conf.gtktest");
30532 /* HP/UX 9 (%@#!) writes to sscanf strings */
30533 tmp_version = g_strdup("$min_gtk_version");
30534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30535 printf("%s, bad version string\n", "$min_gtk_version");
30539 if ((gtk_major_version != $gtk_config_major_version) ||
30540 (gtk_minor_version != $gtk_config_minor_version) ||
30541 (gtk_micro_version != $gtk_config_micro_version))
30543 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30545 gtk_major_version, gtk_minor_version, gtk_micro_version);
30546 printf ("*** was found! If gtk-config was correct, then it is best\n");
30547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30550 printf("*** required on your system.\n");
30551 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30552 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30553 printf("*** before re-running configure\n");
30555 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30557 (gtk_minor_version != GTK_MINOR_VERSION) ||
30558 (gtk_micro_version != GTK_MICRO_VERSION))
30560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30562 printf("*** library (version %d.%d.%d)\n",
30563 gtk_major_version, gtk_minor_version, gtk_micro_version);
30565 #endif /* defined (GTK_MAJOR_VERSION) ... */
30568 if ((gtk_major_version > major) ||
30569 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30570 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30576 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30577 gtk_major_version, gtk_minor_version, gtk_micro_version);
30578 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30579 major, minor, micro);
30580 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30582 printf("*** If you have already installed a sufficiently new version, this error\n");
30583 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30584 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30585 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30586 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30587 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30588 printf("*** so that the correct libraries are found at run-time))\n");
30595 rm -f conftest$ac_exeext
30596 if { (ac_try="$ac_link"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_link") 2>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30606 { (case "(($ac_try" in
30607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30608 *) ac_try_echo=$ac_try;;
30610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30611 (eval "$ac_try") 2>&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); }; }; then
30617 echo "$as_me: program exited with status $ac_status" >&5
30618 echo "$as_me: failed program was:" >&5
30619 sed 's/^/| /' conftest.$ac_ext >&5
30621 ( exit $ac_status )
30624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30628 CFLAGS="$ac_save_CFLAGS"
30629 LIBS="$ac_save_LIBS"
30632 if test "x$no_gtk" = x ; then
30633 { echo "$as_me:$LINENO: result: yes" >&5
30634 echo "${ECHO_T}yes" >&6; }
30635 wx_cv_lib_gtk=1.2.7
30637 { echo "$as_me:$LINENO: result: no" >&5
30638 echo "${ECHO_T}no" >&6; }
30639 if test "$GTK_CONFIG" = "no" ; then
30640 echo "*** The gtk-config script installed by GTK could not be found"
30641 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30642 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30643 echo "*** full path to gtk-config."
30645 if test -f conf.gtktest ; then
30648 echo "*** Could not run GTK test program, checking why..."
30649 CFLAGS="$CFLAGS $GTK_CFLAGS"
30650 LIBS="$LIBS $GTK_LIBS"
30651 cat >conftest.$ac_ext <<_ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30658 #include <gtk/gtk.h>
30664 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30673 *) ac_try_echo=$ac_try;;
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30678 grep -v '^ *+' conftest.er1 >conftest.err
30680 cat conftest.err >&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest$ac_exeext &&
30686 $as_test_x conftest$ac_exeext; then
30687 echo "*** The test program compiled, but did not run. This usually means"
30688 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30689 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30690 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30691 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30692 echo "*** is required on your system"
30694 echo "*** If you have an old version installed, it is best to remove it, although"
30695 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30697 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30698 echo "*** came with the system with the command"
30700 echo "*** rpm --erase --nodeps gtk gtk-devel"
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.$ac_ext >&5
30705 echo "*** The test program failed to compile or link. See the file config.log for the"
30706 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30707 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30708 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30712 conftest$ac_exeext conftest.$ac_ext
30713 CFLAGS="$ac_save_CFLAGS"
30714 LIBS="$ac_save_LIBS"
30726 if test -z "$wx_cv_lib_gtk"; then
30728 # Check whether --with-gtk-prefix was given.
30729 if test "${with_gtk_prefix+set}" = set; then
30730 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30732 gtk_config_prefix=""
30736 # Check whether --with-gtk-exec-prefix was given.
30737 if test "${with_gtk_exec_prefix+set}" = set; then
30738 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30740 gtk_config_exec_prefix=""
30743 # Check whether --enable-gtktest was given.
30744 if test "${enable_gtktest+set}" = set; then
30745 enableval=$enable_gtktest;
30751 for module in . $GTK_MODULES
30755 gtk_config_args="$gtk_config_args gthread"
30760 if test x$gtk_config_exec_prefix != x ; then
30761 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30762 if test x${GTK_CONFIG+set} != xset ; then
30763 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30766 if test x$gtk_config_prefix != x ; then
30767 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30768 if test x${GTK_CONFIG+set} != xset ; then
30769 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30773 # Extract the first word of "gtk-config", so it can be a program name with args.
30774 set dummy gtk-config; ac_word=$2
30775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30777 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 case $GTK_CONFIG in
30782 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30786 for as_dir in $PATH
30789 test -z "$as_dir" && as_dir=.
30790 for ac_exec_ext in '' $ac_executable_extensions; do
30791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30792 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30800 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30804 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30805 if test -n "$GTK_CONFIG"; then
30806 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30807 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30809 { echo "$as_me:$LINENO: result: no" >&5
30810 echo "${ECHO_T}no" >&6; }
30814 min_gtk_version=1.2.3
30815 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30816 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30818 if test "$GTK_CONFIG" = "no" ; then
30821 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30822 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30823 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30825 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30827 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30829 if test "x$enable_gtktest" = "xyes" ; then
30830 ac_save_CFLAGS="$CFLAGS"
30831 ac_save_LIBS="$LIBS"
30832 CFLAGS="$CFLAGS $GTK_CFLAGS"
30833 LIBS="$GTK_LIBS $LIBS"
30835 if test "$cross_compiling" = yes; then
30836 echo $ac_n "cross compiling; assumed OK... $ac_c"
30838 cat >conftest.$ac_ext <<_ACEOF
30841 cat confdefs.h >>conftest.$ac_ext
30842 cat >>conftest.$ac_ext <<_ACEOF
30843 /* end confdefs.h. */
30845 #include <gtk/gtk.h>
30847 #include <stdlib.h>
30852 int major, minor, micro;
30855 system ("touch conf.gtktest");
30857 /* HP/UX 9 (%@#!) writes to sscanf strings */
30858 tmp_version = g_strdup("$min_gtk_version");
30859 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30860 printf("%s, bad version string\n", "$min_gtk_version");
30864 if ((gtk_major_version != $gtk_config_major_version) ||
30865 (gtk_minor_version != $gtk_config_minor_version) ||
30866 (gtk_micro_version != $gtk_config_micro_version))
30868 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30869 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30870 gtk_major_version, gtk_minor_version, gtk_micro_version);
30871 printf ("*** was found! If gtk-config was correct, then it is best\n");
30872 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30873 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30874 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30875 printf("*** required on your system.\n");
30876 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30877 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30878 printf("*** before re-running configure\n");
30880 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30881 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30882 (gtk_minor_version != GTK_MINOR_VERSION) ||
30883 (gtk_micro_version != GTK_MICRO_VERSION))
30885 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30886 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30887 printf("*** library (version %d.%d.%d)\n",
30888 gtk_major_version, gtk_minor_version, gtk_micro_version);
30890 #endif /* defined (GTK_MAJOR_VERSION) ... */
30893 if ((gtk_major_version > major) ||
30894 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30895 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30901 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30902 gtk_major_version, gtk_minor_version, gtk_micro_version);
30903 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30904 major, minor, micro);
30905 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30907 printf("*** If you have already installed a sufficiently new version, this error\n");
30908 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30909 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30910 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30911 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30912 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30913 printf("*** so that the correct libraries are found at run-time))\n");
30920 rm -f conftest$ac_exeext
30921 if { (ac_try="$ac_link"
30922 case "(($ac_try" in
30923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30924 *) ac_try_echo=$ac_try;;
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_link") 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30931 { (case "(($ac_try" in
30932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30933 *) ac_try_echo=$ac_try;;
30935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30936 (eval "$ac_try") 2>&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30942 echo "$as_me: program exited with status $ac_status" >&5
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30946 ( exit $ac_status )
30949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30953 CFLAGS="$ac_save_CFLAGS"
30954 LIBS="$ac_save_LIBS"
30957 if test "x$no_gtk" = x ; then
30958 { echo "$as_me:$LINENO: result: yes" >&5
30959 echo "${ECHO_T}yes" >&6; }
30960 wx_cv_lib_gtk=1.2.3
30962 { echo "$as_me:$LINENO: result: no" >&5
30963 echo "${ECHO_T}no" >&6; }
30964 if test "$GTK_CONFIG" = "no" ; then
30965 echo "*** The gtk-config script installed by GTK could not be found"
30966 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30967 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30968 echo "*** full path to gtk-config."
30970 if test -f conf.gtktest ; then
30973 echo "*** Could not run GTK test program, checking why..."
30974 CFLAGS="$CFLAGS $GTK_CFLAGS"
30975 LIBS="$LIBS $GTK_LIBS"
30976 cat >conftest.$ac_ext <<_ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30983 #include <gtk/gtk.h>
30989 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (ac_try="$ac_link"
30996 case "(($ac_try" in
30997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30998 *) ac_try_echo=$ac_try;;
31000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31001 (eval "$ac_link") 2>conftest.er1
31003 grep -v '^ *+' conftest.er1 >conftest.err
31005 cat conftest.err >&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } && {
31008 test -z "$ac_c_werror_flag" ||
31009 test ! -s conftest.err
31010 } && test -s conftest$ac_exeext &&
31011 $as_test_x conftest$ac_exeext; then
31012 echo "*** The test program compiled, but did not run. This usually means"
31013 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31014 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31017 echo "*** is required on your system"
31019 echo "*** If you have an old version installed, it is best to remove it, although"
31020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31022 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31023 echo "*** came with the system with the command"
31025 echo "*** rpm --erase --nodeps gtk gtk-devel"
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.$ac_ext >&5
31030 echo "*** The test program failed to compile or link. See the file config.log for the"
31031 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31032 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31033 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31037 conftest$ac_exeext conftest.$ac_ext
31038 CFLAGS="$ac_save_CFLAGS"
31039 LIBS="$ac_save_LIBS"
31054 if test -z "$wx_cv_lib_gtk"; then
31057 wx_cv_cflags_gtk=$GTK_CFLAGS
31058 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31065 if test "$gtk_version_cached" = 1; then
31066 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31067 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31070 case "$wx_cv_lib_gtk" in
31079 *) { { echo "$as_me:$LINENO: error:
31080 The development files for GTK+ were not found. For GTK+ 2, please
31081 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31082 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31083 and that the version is 1.2.3 or above. Also check that the
31084 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31085 --libs' are in the LD_LIBRARY_PATH or equivalent.
31087 echo "$as_me: error:
31088 The development files for GTK+ were not found. For GTK+ 2, please
31089 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31090 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31091 and that the version is 1.2.3 or above. Also check that the
31092 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31093 --libs' are in the LD_LIBRARY_PATH or equivalent.
31095 { (exit 1); exit 1; }; }
31099 if test "$WXGTK20" = 1; then
31100 save_CFLAGS="$CFLAGS"
31102 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31103 LIBS="$LIBS $wx_cv_libs_gtk"
31105 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31106 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31107 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31108 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 cat >conftest.$ac_ext <<_ACEOF
31113 cat confdefs.h >>conftest.$ac_ext
31114 cat >>conftest.$ac_ext <<_ACEOF
31115 /* end confdefs.h. */
31116 #include <gtk/gtk.h>
31121 #ifndef gtk_icon_size_lookup
31122 (void) gtk_icon_size_lookup;
31129 rm -f conftest.$ac_objext
31130 if { (ac_try="$ac_compile"
31131 case "(($ac_try" in
31132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31133 *) ac_try_echo=$ac_try;;
31135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31136 (eval "$ac_compile") 2>conftest.er1
31138 grep -v '^ *+' conftest.er1 >conftest.err
31140 cat conftest.err >&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } && {
31143 test -z "$ac_c_werror_flag" ||
31144 test ! -s conftest.err
31145 } && test -s conftest.$ac_objext; then
31146 ac_cv_have_decl_gtk_icon_size_lookup=yes
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.$ac_ext >&5
31151 ac_cv_have_decl_gtk_icon_size_lookup=no
31154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31157 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31158 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31160 cat >>confdefs.h <<_ACEOF
31161 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31166 cat >>confdefs.h <<_ACEOF
31167 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31170 cat >>confdefs.h <<\_ACEOF
31171 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31179 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31180 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31181 cat >conftest.$ac_ext <<_ACEOF
31184 cat confdefs.h >>conftest.$ac_ext
31185 cat >>conftest.$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31188 #include <gtk/gtk.h>
31194 #if !GTK_CHECK_VERSION(2,10,0)
31202 rm -f conftest.$ac_objext
31203 if { (ac_try="$ac_compile"
31204 case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_compile") 2>conftest.er1
31211 grep -v '^ *+' conftest.er1 >conftest.err
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest.$ac_objext; then
31220 cat >>confdefs.h <<\_ACEOF
31221 #define __WXGTK210__ 1
31224 cat >>confdefs.h <<\_ACEOF
31225 #define __WXGTK26__ 1
31228 cat >>confdefs.h <<\_ACEOF
31229 #define __WXGTK24__ 1
31232 { echo "$as_me:$LINENO: result: yes" >&5
31233 echo "${ECHO_T}yes" >&6; }
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31241 { echo "$as_me:$LINENO: result: no" >&5
31242 echo "${ECHO_T}no" >&6; }
31247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31249 if test "$ac_wxgtk210" = 0; then
31250 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31251 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31252 cat >conftest.$ac_ext <<_ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31259 #include <gtk/gtk.h>
31265 #if !GTK_CHECK_VERSION(2,6,0)
31273 rm -f conftest.$ac_objext
31274 if { (ac_try="$ac_compile"
31275 case "(($ac_try" in
31276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31277 *) ac_try_echo=$ac_try;;
31279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31280 (eval "$ac_compile") 2>conftest.er1
31282 grep -v '^ *+' conftest.er1 >conftest.err
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } && {
31287 test -z "$ac_c_werror_flag" ||
31288 test ! -s conftest.err
31289 } && test -s conftest.$ac_objext; then
31291 cat >>confdefs.h <<\_ACEOF
31292 #define __WXGTK26__ 1
31295 cat >>confdefs.h <<\_ACEOF
31296 #define __WXGTK24__ 1
31299 { echo "$as_me:$LINENO: result: yes" >&5
31300 echo "${ECHO_T}yes" >&6; }
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31308 { echo "$as_me:$LINENO: result: no" >&5
31309 echo "${ECHO_T}no" >&6; }
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 if test "$ac_wxgtk26" = 0; then
31318 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31319 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31320 cat >conftest.$ac_ext <<_ACEOF
31323 cat confdefs.h >>conftest.$ac_ext
31324 cat >>conftest.$ac_ext <<_ACEOF
31325 /* end confdefs.h. */
31327 #include <gtk/gtk.h>
31333 #if !GTK_CHECK_VERSION(2,4,0)
31341 rm -f conftest.$ac_objext
31342 if { (ac_try="$ac_compile"
31343 case "(($ac_try" in
31344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31345 *) ac_try_echo=$ac_try;;
31347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31348 (eval "$ac_compile") 2>conftest.er1
31350 grep -v '^ *+' conftest.er1 >conftest.err
31352 cat conftest.err >&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } && {
31355 test -z "$ac_c_werror_flag" ||
31356 test ! -s conftest.err
31357 } && test -s conftest.$ac_objext; then
31359 cat >>confdefs.h <<\_ACEOF
31360 #define __WXGTK24__ 1
31363 { echo "$as_me:$LINENO: result: yes" >&5
31364 echo "${ECHO_T}yes" >&6; }
31367 echo "$as_me: failed program was:" >&5
31368 sed 's/^/| /' conftest.$ac_ext >&5
31371 { echo "$as_me:$LINENO: result: no" >&5
31372 echo "${ECHO_T}no" >&6; }
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31379 CFLAGS="$save_CFLAGS"
31382 if test "$wxUSE_UNICODE" = "yes"; then
31383 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31384 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31388 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31389 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31390 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31393 ac_check_lib_save_LIBS=$LIBS
31395 cat >conftest.$ac_ext <<_ACEOF
31398 cat confdefs.h >>conftest.$ac_ext
31399 cat >>conftest.$ac_ext <<_ACEOF
31400 /* end confdefs.h. */
31402 /* Override any GCC internal prototype to avoid an error.
31403 Use char because int might match the return type of a GCC
31404 builtin and then its argument prototype would still apply. */
31408 char gdk_im_open ();
31412 return gdk_im_open ();
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (ac_try="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31426 grep -v '^ *+' conftest.er1 >conftest.err
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 ac_cv_lib_gdk_gdk_im_open=yes
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31440 ac_cv_lib_gdk_gdk_im_open=no
31443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31444 conftest$ac_exeext conftest.$ac_ext
31445 LIBS=$ac_check_lib_save_LIBS
31447 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31448 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31449 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31450 cat >>confdefs.h <<\_ACEOF
31457 if test "$USE_DARWIN" != 1; then
31459 for ac_func in poll
31461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 cat >conftest.$ac_ext <<_ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31475 #define $ac_func innocuous_$ac_func
31477 /* System header to define __stub macros and hopefully few prototypes,
31478 which can conflict with char $ac_func (); below.
31479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31480 <limits.h> exists even on freestanding compilers. */
31483 # include <limits.h>
31485 # include <assert.h>
31490 /* Override any GCC internal prototype to avoid an error.
31491 Use char because int might match the return type of a GCC
31492 builtin and then its argument prototype would still apply. */
31497 /* The GNU C library defines this for functions which it implements
31498 to always fail with ENOSYS. Some functions are actually named
31499 something starting with __ and the normal name is an alias. */
31500 #if defined __stub_$ac_func || defined __stub___$ac_func
31507 return $ac_func ();
31512 rm -f conftest.$ac_objext conftest$ac_exeext
31513 if { (ac_try="$ac_link"
31514 case "(($ac_try" in
31515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31516 *) ac_try_echo=$ac_try;;
31518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31519 (eval "$ac_link") 2>conftest.er1
31521 grep -v '^ *+' conftest.er1 >conftest.err
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } && {
31526 test -z "$ac_c_werror_flag" ||
31527 test ! -s conftest.err
31528 } && test -s conftest$ac_exeext &&
31529 $as_test_x conftest$ac_exeext; then
31530 eval "$as_ac_var=yes"
31532 echo "$as_me: failed program was:" >&5
31533 sed 's/^/| /' conftest.$ac_ext >&5
31535 eval "$as_ac_var=no"
31538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31539 conftest$ac_exeext conftest.$ac_ext
31541 ac_res=`eval echo '${'$as_ac_var'}'`
31542 { echo "$as_me:$LINENO: result: $ac_res" >&5
31543 echo "${ECHO_T}$ac_res" >&6; }
31544 if test `eval echo '${'$as_ac_var'}'` = yes; then
31545 cat >>confdefs.h <<_ACEOF
31546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31555 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31556 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31558 AFMINSTALL=afminstall
31562 if test "$wxUSE_GPE" = "yes"; then
31563 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31564 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31567 for ac_dir in $SEARCH_LIB;
31569 for ac_extension in a so sl dylib dll.a; do
31570 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31571 ac_find_libraries=$ac_dir
31577 if test "$ac_find_libraries" != "" ; then
31579 if test "$ac_find_libraries" = "default location"; then
31582 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31584 if test $result = 0; then
31587 ac_path_to_link=" -L$ac_find_libraries"
31591 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31593 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31594 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31596 { echo "$as_me:$LINENO: result: not found" >&5
31597 echo "${ECHO_T}not found" >&6; }
31603 if test "$wxUSE_MGL" = 1; then
31604 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31605 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31606 if test "x$MGL_ROOT" = x ; then
31607 { echo "$as_me:$LINENO: result: not found" >&5
31608 echo "${ECHO_T}not found" >&6; }
31609 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31610 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31611 { (exit 1); exit 1; }; }
31613 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31614 echo "${ECHO_T}$MGL_ROOT" >&6; }
31617 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31618 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31621 if test "x$wxUSE_SHARED" = xyes ; then
31622 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31624 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31628 mgl_os_candidates="dos32/dj2"
31631 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31632 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31633 { (exit 1); exit 1; }; }
31639 for mgl_os_i in $mgl_os_candidates ; do
31640 if test "x$mgl_os" = x ; then
31641 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31642 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31643 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31648 if test "x$mgl_lib_type" = x ; then
31649 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31650 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31651 mgl_lib_type=release
31658 if test "x$mgl_os" = x ; then
31659 { echo "$as_me:$LINENO: result: not found" >&5
31660 echo "${ECHO_T}not found" >&6; }
31661 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31662 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31663 { (exit 1); exit 1; }; }
31665 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31666 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31668 wxUSE_UNIVERSAL="yes"
31670 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31671 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31673 AFMINSTALL=afminstall
31678 if test "$wxUSE_DFB" = 1; then
31681 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31682 if test -n "$ac_tool_prefix"; then
31683 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31684 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31687 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31688 echo $ECHO_N "(cached) $ECHO_C" >&6
31690 case $PKG_CONFIG in
31692 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31696 for as_dir in $PATH
31699 test -z "$as_dir" && as_dir=.
31700 for ac_exec_ext in '' $ac_executable_extensions; do
31701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31702 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31713 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31714 if test -n "$PKG_CONFIG"; then
31715 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31716 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31718 { echo "$as_me:$LINENO: result: no" >&5
31719 echo "${ECHO_T}no" >&6; }
31724 if test -z "$ac_cv_path_PKG_CONFIG"; then
31725 ac_pt_PKG_CONFIG=$PKG_CONFIG
31726 # Extract the first word of "pkg-config", so it can be a program name with args.
31727 set dummy pkg-config; ac_word=$2
31728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31730 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 case $ac_pt_PKG_CONFIG in
31735 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31739 for as_dir in $PATH
31742 test -z "$as_dir" && as_dir=.
31743 for ac_exec_ext in '' $ac_executable_extensions; do
31744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31745 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31756 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31757 if test -n "$ac_pt_PKG_CONFIG"; then
31758 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31759 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31761 { echo "$as_me:$LINENO: result: no" >&5
31762 echo "${ECHO_T}no" >&6; }
31765 if test "x$ac_pt_PKG_CONFIG" = x; then
31768 case $cross_compiling:$ac_tool_warned in
31770 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31771 whose name does not start with the host triplet. If you think this
31772 configuration is useful to you, please write to autoconf@gnu.org." >&5
31773 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31774 whose name does not start with the host triplet. If you think this
31775 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31776 ac_tool_warned=yes ;;
31778 PKG_CONFIG=$ac_pt_PKG_CONFIG
31781 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31785 if test -n "$PKG_CONFIG"; then
31786 _pkg_min_version=0.9.0
31787 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31788 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31789 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31790 { echo "$as_me:$LINENO: result: yes" >&5
31791 echo "${ECHO_T}yes" >&6; }
31793 { echo "$as_me:$LINENO: result: no" >&5
31794 echo "${ECHO_T}no" >&6; }
31802 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31803 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31805 if test -n "$PKG_CONFIG"; then
31806 if test -n "$DIRECTFB_CFLAGS"; then
31807 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31809 if test -n "$PKG_CONFIG" && \
31810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31811 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; then
31815 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31823 if test -n "$PKG_CONFIG"; then
31824 if test -n "$DIRECTFB_LIBS"; then
31825 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31827 if test -n "$PKG_CONFIG" && \
31828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31829 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; then
31833 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31844 if test $pkg_failed = yes; then
31846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31847 _pkg_short_errors_supported=yes
31849 _pkg_short_errors_supported=no
31851 if test $_pkg_short_errors_supported = yes; then
31852 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31854 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31856 # Put the nasty error message in config.log where it belongs
31857 echo "$DIRECTFB_PKG_ERRORS" >&5
31860 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31861 echo "$as_me: error: DirectFB not found." >&2;}
31862 { (exit 1); exit 1; }; }
31865 elif test $pkg_failed = untried; then
31867 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31868 echo "$as_me: error: DirectFB not found." >&2;}
31869 { (exit 1); exit 1; }; }
31873 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31874 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31875 { echo "$as_me:$LINENO: result: yes" >&5
31876 echo "${ECHO_T}yes" >&6; }
31878 wxUSE_UNIVERSAL="yes"
31879 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31880 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31887 if test "$wxUSE_MICROWIN" = 1; then
31888 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31889 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31890 if test "x$MICROWINDOWS" = x ; then
31891 { echo "$as_me:$LINENO: result: not found" >&5
31892 echo "${ECHO_T}not found" >&6; }
31893 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31894 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31895 { (exit 1); exit 1; }; }
31897 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31898 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31901 if test -f $MICROWINDOWS/lib/libmwin.a; then
31902 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31903 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31905 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31906 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31907 { (exit 1); exit 1; }; }
31910 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31911 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31913 wxUSE_UNIVERSAL="yes"
31915 AFMINSTALL=afminstall
31917 GUIDIST=MICROWIN_DIST
31919 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31922 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31923 { echo "$as_me:$LINENO: checking for X" >&5
31924 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31927 # Check whether --with-x was given.
31928 if test "${with_x+set}" = set; then
31932 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31933 if test "x$with_x" = xno; then
31934 # The user explicitly disabled X.
31937 case $x_includes,$x_libraries in #(
31938 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31939 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31940 { (exit 1); exit 1; }; };; #(
31941 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31942 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 # One or both of the vars are not set, and there is no cached value.
31945 ac_x_includes=no ac_x_libraries=no
31946 rm -f -r conftest.dir
31947 if mkdir conftest.dir; then
31949 cat >Imakefile <<'_ACEOF'
31951 @echo incroot='${INCROOT}'
31953 @echo usrlibdir='${USRLIBDIR}'
31955 @echo libdir='${LIBDIR}'
31957 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31958 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31959 for ac_var in incroot usrlibdir libdir; do
31960 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31962 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31963 for ac_extension in a so sl; do
31964 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31965 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31966 ac_im_usrlibdir=$ac_im_libdir; break
31969 # Screen out bogus values from the imake configuration. They are
31970 # bogus both because they are the default anyway, and because
31971 # using them would break gcc on systems where it needs fixed includes.
31972 case $ac_im_incroot in
31973 /usr/include) ac_x_includes= ;;
31974 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31976 case $ac_im_usrlibdir in
31977 /usr/lib | /lib) ;;
31978 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31982 rm -f -r conftest.dir
31985 # Standard set of common directories for X headers.
31986 # Check X11 before X11Rn because it is often a symlink to the current release.
31998 /usr/local/X11/include
31999 /usr/local/X11R6/include
32000 /usr/local/X11R5/include
32001 /usr/local/X11R4/include
32003 /usr/local/include/X11
32004 /usr/local/include/X11R6
32005 /usr/local/include/X11R5
32006 /usr/local/include/X11R4
32010 /usr/XFree86/include/X11
32014 /usr/unsupported/include
32015 /usr/athena/include
32016 /usr/local/x11r5/include
32017 /usr/lpp/Xamples/include
32019 /usr/openwin/include
32020 /usr/openwin/share/include'
32022 if test "$ac_x_includes" = no; then
32023 # Guess where to find include files, by looking for Xlib.h.
32024 # First, try using that file with no special directory specified.
32025 cat >conftest.$ac_ext <<_ACEOF
32028 cat confdefs.h >>conftest.$ac_ext
32029 cat >>conftest.$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031 #include <X11/Xlib.h>
32033 if { (ac_try="$ac_cpp conftest.$ac_ext"
32034 case "(($ac_try" in
32035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32036 *) ac_try_echo=$ac_try;;
32038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32041 grep -v '^ *+' conftest.er1 >conftest.err
32043 cat conftest.err >&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } >/dev/null && {
32046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32047 test ! -s conftest.err
32049 # We can compile using X headers with no special include directory.
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.$ac_ext >&5
32055 for ac_dir in $ac_x_header_dirs; do
32056 if test -r "$ac_dir/X11/Xlib.h"; then
32057 ac_x_includes=$ac_dir
32063 rm -f conftest.err conftest.$ac_ext
32064 fi # $ac_x_includes = no
32066 if test "$ac_x_libraries" = no; then
32067 # Check for the libraries.
32068 # See if we find them without any special options.
32069 # Don't add to $LIBS permanently.
32072 cat >conftest.$ac_ext <<_ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32078 #include <X11/Xlib.h>
32087 rm -f conftest.$ac_objext conftest$ac_exeext
32088 if { (ac_try="$ac_link"
32089 case "(($ac_try" in
32090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32091 *) ac_try_echo=$ac_try;;
32093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32094 (eval "$ac_link") 2>conftest.er1
32096 grep -v '^ *+' conftest.er1 >conftest.err
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } && {
32101 test -z "$ac_c_werror_flag" ||
32102 test ! -s conftest.err
32103 } && test -s conftest$ac_exeext &&
32104 $as_test_x conftest$ac_exeext; then
32106 # We can link X programs with no special library path.
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32113 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32115 # Don't even attempt the hair of trying to link an X program!
32116 for ac_extension in a so sl; do
32117 if test -r "$ac_dir/libX11.$ac_extension"; then
32118 ac_x_libraries=$ac_dir
32125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32126 conftest$ac_exeext conftest.$ac_ext
32127 fi # $ac_x_libraries = no
32129 case $ac_x_includes,$ac_x_libraries in #(
32130 no,* | *,no | *\'*)
32131 # Didn't find X, or a directory has "'" in its name.
32132 ac_cv_have_x="have_x=no";; #(
32134 # Record where we found X for the cache.
32135 ac_cv_have_x="have_x=yes\
32136 ac_x_includes='$ac_x_includes'\
32137 ac_x_libraries='$ac_x_libraries'"
32143 eval "$ac_cv_have_x"
32146 if test "$have_x" != yes; then
32147 { echo "$as_me:$LINENO: result: $have_x" >&5
32148 echo "${ECHO_T}$have_x" >&6; }
32151 # If each of the values was on the command line, it overrides each guess.
32152 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32153 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32154 # Update the cache value to reflect the command line values.
32155 ac_cv_have_x="have_x=yes\
32156 ac_x_includes='$x_includes'\
32157 ac_x_libraries='$x_libraries'"
32158 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32159 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32162 if test "$no_x" = yes; then
32163 # Not all programs may use this symbol, but it does not hurt to define it.
32165 cat >>confdefs.h <<\_ACEOF
32166 #define X_DISPLAY_MISSING 1
32169 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32171 if test -n "$x_includes"; then
32172 X_CFLAGS="$X_CFLAGS -I$x_includes"
32175 # It would also be nice to do this for all -L options, not just this one.
32176 if test -n "$x_libraries"; then
32177 X_LIBS="$X_LIBS -L$x_libraries"
32178 # For Solaris; some versions of Sun CC require a space after -R and
32179 # others require no space. Words are not sufficient . . . .
32180 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32181 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32182 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32183 ac_xsave_c_werror_flag=$ac_c_werror_flag
32184 ac_c_werror_flag=yes
32185 cat >conftest.$ac_ext <<_ACEOF
32188 cat confdefs.h >>conftest.$ac_ext
32189 cat >>conftest.$ac_ext <<_ACEOF
32190 /* end confdefs.h. */
32200 rm -f conftest.$ac_objext conftest$ac_exeext
32201 if { (ac_try="$ac_link"
32202 case "(($ac_try" in
32203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32204 *) ac_try_echo=$ac_try;;
32206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32207 (eval "$ac_link") 2>conftest.er1
32209 grep -v '^ *+' conftest.er1 >conftest.err
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } && {
32214 test -z "$ac_c_werror_flag" ||
32215 test ! -s conftest.err
32216 } && test -s conftest$ac_exeext &&
32217 $as_test_x conftest$ac_exeext; then
32218 { echo "$as_me:$LINENO: result: no" >&5
32219 echo "${ECHO_T}no" >&6; }
32220 X_LIBS="$X_LIBS -R$x_libraries"
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.$ac_ext >&5
32225 LIBS="$ac_xsave_LIBS -R $x_libraries"
32226 cat >conftest.$ac_ext <<_ACEOF
32229 cat confdefs.h >>conftest.$ac_ext
32230 cat >>conftest.$ac_ext <<_ACEOF
32231 /* end confdefs.h. */
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32245 *) ac_try_echo=$ac_try;;
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32250 grep -v '^ *+' conftest.er1 >conftest.err
32252 cat conftest.err >&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest$ac_exeext &&
32258 $as_test_x conftest$ac_exeext; then
32259 { echo "$as_me:$LINENO: result: yes" >&5
32260 echo "${ECHO_T}yes" >&6; }
32261 X_LIBS="$X_LIBS -R $x_libraries"
32263 echo "$as_me: failed program was:" >&5
32264 sed 's/^/| /' conftest.$ac_ext >&5
32266 { echo "$as_me:$LINENO: result: neither works" >&5
32267 echo "${ECHO_T}neither works" >&6; }
32270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32271 conftest$ac_exeext conftest.$ac_ext
32274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32275 conftest$ac_exeext conftest.$ac_ext
32276 ac_c_werror_flag=$ac_xsave_c_werror_flag
32277 LIBS=$ac_xsave_LIBS
32280 # Check for system-dependent libraries X programs must link with.
32281 # Do this before checking for the system-independent R6 libraries
32282 # (-lICE), since we may need -lsocket or whatever for X linking.
32284 if test "$ISC" = yes; then
32285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32287 # Martyn Johnson says this is needed for Ultrix, if the X
32288 # libraries were built with DECnet support. And Karl Berry says
32289 # the Alpha needs dnet_stub (dnet does not exist).
32290 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32291 cat >conftest.$ac_ext <<_ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32298 /* Override any GCC internal prototype to avoid an error.
32299 Use char because int might match the return type of a GCC
32300 builtin and then its argument prototype would still apply. */
32304 char XOpenDisplay ();
32308 return XOpenDisplay ();
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (ac_try="$ac_link"
32315 case "(($ac_try" in
32316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32317 *) ac_try_echo=$ac_try;;
32319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32320 (eval "$ac_link") 2>conftest.er1
32322 grep -v '^ *+' conftest.er1 >conftest.err
32324 cat conftest.err >&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } && {
32327 test -z "$ac_c_werror_flag" ||
32328 test ! -s conftest.err
32329 } && test -s conftest$ac_exeext &&
32330 $as_test_x conftest$ac_exeext; then
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.$ac_ext >&5
32336 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32337 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32338 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32341 ac_check_lib_save_LIBS=$LIBS
32342 LIBS="-ldnet $LIBS"
32343 cat >conftest.$ac_ext <<_ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32350 /* Override any GCC internal prototype to avoid an error.
32351 Use char because int might match the return type of a GCC
32352 builtin and then its argument prototype would still apply. */
32360 return dnet_ntoa ();
32365 rm -f conftest.$ac_objext conftest$ac_exeext
32366 if { (ac_try="$ac_link"
32367 case "(($ac_try" in
32368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32369 *) ac_try_echo=$ac_try;;
32371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32372 (eval "$ac_link") 2>conftest.er1
32374 grep -v '^ *+' conftest.er1 >conftest.err
32376 cat conftest.err >&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } && {
32379 test -z "$ac_c_werror_flag" ||
32380 test ! -s conftest.err
32381 } && test -s conftest$ac_exeext &&
32382 $as_test_x conftest$ac_exeext; then
32383 ac_cv_lib_dnet_dnet_ntoa=yes
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32388 ac_cv_lib_dnet_dnet_ntoa=no
32391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32392 conftest$ac_exeext conftest.$ac_ext
32393 LIBS=$ac_check_lib_save_LIBS
32395 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32396 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32397 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32398 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32401 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32402 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32403 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32404 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 ac_check_lib_save_LIBS=$LIBS
32408 LIBS="-ldnet_stub $LIBS"
32409 cat >conftest.$ac_ext <<_ACEOF
32412 cat confdefs.h >>conftest.$ac_ext
32413 cat >>conftest.$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32416 /* Override any GCC internal prototype to avoid an error.
32417 Use char because int might match the return type of a GCC
32418 builtin and then its argument prototype would still apply. */
32426 return dnet_ntoa ();
32431 rm -f conftest.$ac_objext conftest$ac_exeext
32432 if { (ac_try="$ac_link"
32433 case "(($ac_try" in
32434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32435 *) ac_try_echo=$ac_try;;
32437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32438 (eval "$ac_link") 2>conftest.er1
32440 grep -v '^ *+' conftest.er1 >conftest.err
32442 cat conftest.err >&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); } && {
32445 test -z "$ac_c_werror_flag" ||
32446 test ! -s conftest.err
32447 } && test -s conftest$ac_exeext &&
32448 $as_test_x conftest$ac_exeext; then
32449 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32451 echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32454 ac_cv_lib_dnet_stub_dnet_ntoa=no
32457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32458 conftest$ac_exeext conftest.$ac_ext
32459 LIBS=$ac_check_lib_save_LIBS
32461 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32462 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32463 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32464 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32471 conftest$ac_exeext conftest.$ac_ext
32472 LIBS="$ac_xsave_LIBS"
32474 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32475 # to get the SysV transport functions.
32476 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32478 # The nsl library prevents programs from opening the X display
32479 # on Irix 5.2, according to T.E. Dickey.
32480 # The functions gethostbyname, getservbyname, and inet_addr are
32481 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32482 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32483 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32484 if test "${ac_cv_func_gethostbyname+set}" = set; then
32485 echo $ECHO_N "(cached) $ECHO_C" >&6
32487 cat >conftest.$ac_ext <<_ACEOF
32490 cat confdefs.h >>conftest.$ac_ext
32491 cat >>conftest.$ac_ext <<_ACEOF
32492 /* end confdefs.h. */
32493 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32495 #define gethostbyname innocuous_gethostbyname
32497 /* System header to define __stub macros and hopefully few prototypes,
32498 which can conflict with char gethostbyname (); below.
32499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32500 <limits.h> exists even on freestanding compilers. */
32503 # include <limits.h>
32505 # include <assert.h>
32508 #undef gethostbyname
32510 /* Override any GCC internal prototype to avoid an error.
32511 Use char because int might match the return type of a GCC
32512 builtin and then its argument prototype would still apply. */
32516 char gethostbyname ();
32517 /* The GNU C library defines this for functions which it implements
32518 to always fail with ENOSYS. Some functions are actually named
32519 something starting with __ and the normal name is an alias. */
32520 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32527 return gethostbyname ();
32532 rm -f conftest.$ac_objext conftest$ac_exeext
32533 if { (ac_try="$ac_link"
32534 case "(($ac_try" in
32535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32536 *) ac_try_echo=$ac_try;;
32538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32539 (eval "$ac_link") 2>conftest.er1
32541 grep -v '^ *+' conftest.er1 >conftest.err
32543 cat conftest.err >&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } && {
32546 test -z "$ac_c_werror_flag" ||
32547 test ! -s conftest.err
32548 } && test -s conftest$ac_exeext &&
32549 $as_test_x conftest$ac_exeext; then
32550 ac_cv_func_gethostbyname=yes
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32555 ac_cv_func_gethostbyname=no
32558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32559 conftest$ac_exeext conftest.$ac_ext
32561 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32562 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32564 if test $ac_cv_func_gethostbyname = no; then
32565 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32566 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32567 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32568 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 ac_check_lib_save_LIBS=$LIBS
32572 cat >conftest.$ac_ext <<_ACEOF
32575 cat confdefs.h >>conftest.$ac_ext
32576 cat >>conftest.$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32579 /* Override any GCC internal prototype to avoid an error.
32580 Use char because int might match the return type of a GCC
32581 builtin and then its argument prototype would still apply. */
32585 char gethostbyname ();
32589 return gethostbyname ();
32594 rm -f conftest.$ac_objext conftest$ac_exeext
32595 if { (ac_try="$ac_link"
32596 case "(($ac_try" in
32597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32598 *) ac_try_echo=$ac_try;;
32600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32601 (eval "$ac_link") 2>conftest.er1
32603 grep -v '^ *+' conftest.er1 >conftest.err
32605 cat conftest.err >&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } && {
32608 test -z "$ac_c_werror_flag" ||
32609 test ! -s conftest.err
32610 } && test -s conftest$ac_exeext &&
32611 $as_test_x conftest$ac_exeext; then
32612 ac_cv_lib_nsl_gethostbyname=yes
32614 echo "$as_me: failed program was:" >&5
32615 sed 's/^/| /' conftest.$ac_ext >&5
32617 ac_cv_lib_nsl_gethostbyname=no
32620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32621 conftest$ac_exeext conftest.$ac_ext
32622 LIBS=$ac_check_lib_save_LIBS
32624 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32625 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32626 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32630 if test $ac_cv_lib_nsl_gethostbyname = no; then
32631 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32632 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32633 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 ac_check_lib_save_LIBS=$LIBS
32638 cat >conftest.$ac_ext <<_ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32645 /* Override any GCC internal prototype to avoid an error.
32646 Use char because int might match the return type of a GCC
32647 builtin and then its argument prototype would still apply. */
32651 char gethostbyname ();
32655 return gethostbyname ();
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (ac_try="$ac_link"
32662 case "(($ac_try" in
32663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32664 *) ac_try_echo=$ac_try;;
32666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32667 (eval "$ac_link") 2>conftest.er1
32669 grep -v '^ *+' conftest.er1 >conftest.err
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } && {
32674 test -z "$ac_c_werror_flag" ||
32675 test ! -s conftest.err
32676 } && test -s conftest$ac_exeext &&
32677 $as_test_x conftest$ac_exeext; then
32678 ac_cv_lib_bsd_gethostbyname=yes
32680 echo "$as_me: failed program was:" >&5
32681 sed 's/^/| /' conftest.$ac_ext >&5
32683 ac_cv_lib_bsd_gethostbyname=no
32686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32687 conftest$ac_exeext conftest.$ac_ext
32688 LIBS=$ac_check_lib_save_LIBS
32690 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32691 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32692 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32693 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32699 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32700 # socket/setsockopt and other routines are undefined under SCO ODT
32701 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32702 # on later versions), says Simon Leinen: it contains gethostby*
32703 # variants that don't use the name server (or something). -lsocket
32704 # must be given before -lnsl if both are needed. We assume that
32705 # if connect needs -lnsl, so does gethostbyname.
32706 { echo "$as_me:$LINENO: checking for connect" >&5
32707 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32708 if test "${ac_cv_func_connect+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 cat >conftest.$ac_ext <<_ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32717 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32719 #define connect innocuous_connect
32721 /* System header to define __stub macros and hopefully few prototypes,
32722 which can conflict with char connect (); below.
32723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32724 <limits.h> exists even on freestanding compilers. */
32727 # include <limits.h>
32729 # include <assert.h>
32734 /* Override any GCC internal prototype to avoid an error.
32735 Use char because int might match the return type of a GCC
32736 builtin and then its argument prototype would still apply. */
32741 /* The GNU C library defines this for functions which it implements
32742 to always fail with ENOSYS. Some functions are actually named
32743 something starting with __ and the normal name is an alias. */
32744 #if defined __stub_connect || defined __stub___connect
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (ac_try="$ac_link"
32758 case "(($ac_try" in
32759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32760 *) ac_try_echo=$ac_try;;
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_link") 2>conftest.er1
32765 grep -v '^ *+' conftest.er1 >conftest.err
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } && {
32770 test -z "$ac_c_werror_flag" ||
32771 test ! -s conftest.err
32772 } && test -s conftest$ac_exeext &&
32773 $as_test_x conftest$ac_exeext; then
32774 ac_cv_func_connect=yes
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 ac_cv_func_connect=no
32782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32783 conftest$ac_exeext conftest.$ac_ext
32785 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32786 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32788 if test $ac_cv_func_connect = no; then
32789 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32790 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32791 if test "${ac_cv_lib_socket_connect+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 ac_check_lib_save_LIBS=$LIBS
32795 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32796 cat >conftest.$ac_ext <<_ACEOF
32799 cat confdefs.h >>conftest.$ac_ext
32800 cat >>conftest.$ac_ext <<_ACEOF
32801 /* end confdefs.h. */
32803 /* Override any GCC internal prototype to avoid an error.
32804 Use char because int might match the return type of a GCC
32805 builtin and then its argument prototype would still apply. */
32818 rm -f conftest.$ac_objext conftest$ac_exeext
32819 if { (ac_try="$ac_link"
32820 case "(($ac_try" in
32821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_link") 2>conftest.er1
32827 grep -v '^ *+' conftest.er1 >conftest.err
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest$ac_exeext &&
32835 $as_test_x conftest$ac_exeext; then
32836 ac_cv_lib_socket_connect=yes
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.$ac_ext >&5
32841 ac_cv_lib_socket_connect=no
32844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32845 conftest$ac_exeext conftest.$ac_ext
32846 LIBS=$ac_check_lib_save_LIBS
32848 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32849 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32850 if test $ac_cv_lib_socket_connect = yes; then
32851 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32856 # Guillermo Gomez says -lposix is necessary on A/UX.
32857 { echo "$as_me:$LINENO: checking for remove" >&5
32858 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32859 if test "${ac_cv_func_remove+set}" = set; then
32860 echo $ECHO_N "(cached) $ECHO_C" >&6
32862 cat >conftest.$ac_ext <<_ACEOF
32865 cat confdefs.h >>conftest.$ac_ext
32866 cat >>conftest.$ac_ext <<_ACEOF
32867 /* end confdefs.h. */
32868 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32870 #define remove innocuous_remove
32872 /* System header to define __stub macros and hopefully few prototypes,
32873 which can conflict with char remove (); below.
32874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32875 <limits.h> exists even on freestanding compilers. */
32878 # include <limits.h>
32880 # include <assert.h>
32885 /* Override any GCC internal prototype to avoid an error.
32886 Use char because int might match the return type of a GCC
32887 builtin and then its argument prototype would still apply. */
32892 /* The GNU C library defines this for functions which it implements
32893 to always fail with ENOSYS. Some functions are actually named
32894 something starting with __ and the normal name is an alias. */
32895 #if defined __stub_remove || defined __stub___remove
32907 rm -f conftest.$ac_objext conftest$ac_exeext
32908 if { (ac_try="$ac_link"
32909 case "(($ac_try" in
32910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32911 *) ac_try_echo=$ac_try;;
32913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32914 (eval "$ac_link") 2>conftest.er1
32916 grep -v '^ *+' conftest.er1 >conftest.err
32918 cat conftest.err >&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); } && {
32921 test -z "$ac_c_werror_flag" ||
32922 test ! -s conftest.err
32923 } && test -s conftest$ac_exeext &&
32924 $as_test_x conftest$ac_exeext; then
32925 ac_cv_func_remove=yes
32927 echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.$ac_ext >&5
32930 ac_cv_func_remove=no
32933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32934 conftest$ac_exeext conftest.$ac_ext
32936 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32937 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32939 if test $ac_cv_func_remove = no; then
32940 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32941 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32942 if test "${ac_cv_lib_posix_remove+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32945 ac_check_lib_save_LIBS=$LIBS
32946 LIBS="-lposix $LIBS"
32947 cat >conftest.$ac_ext <<_ACEOF
32950 cat confdefs.h >>conftest.$ac_ext
32951 cat >>conftest.$ac_ext <<_ACEOF
32952 /* end confdefs.h. */
32954 /* Override any GCC internal prototype to avoid an error.
32955 Use char because int might match the return type of a GCC
32956 builtin and then its argument prototype would still apply. */
32969 rm -f conftest.$ac_objext conftest$ac_exeext
32970 if { (ac_try="$ac_link"
32971 case "(($ac_try" in
32972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_link") 2>conftest.er1
32978 grep -v '^ *+' conftest.er1 >conftest.err
32980 cat conftest.err >&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } && {
32983 test -z "$ac_c_werror_flag" ||
32984 test ! -s conftest.err
32985 } && test -s conftest$ac_exeext &&
32986 $as_test_x conftest$ac_exeext; then
32987 ac_cv_lib_posix_remove=yes
32989 echo "$as_me: failed program was:" >&5
32990 sed 's/^/| /' conftest.$ac_ext >&5
32992 ac_cv_lib_posix_remove=no
32995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32996 conftest$ac_exeext conftest.$ac_ext
32997 LIBS=$ac_check_lib_save_LIBS
32999 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33000 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33001 if test $ac_cv_lib_posix_remove = yes; then
33002 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33008 { echo "$as_me:$LINENO: checking for shmat" >&5
33009 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33010 if test "${ac_cv_func_shmat+set}" = set; then
33011 echo $ECHO_N "(cached) $ECHO_C" >&6
33013 cat >conftest.$ac_ext <<_ACEOF
33016 cat confdefs.h >>conftest.$ac_ext
33017 cat >>conftest.$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33021 #define shmat innocuous_shmat
33023 /* System header to define __stub macros and hopefully few prototypes,
33024 which can conflict with char shmat (); below.
33025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33026 <limits.h> exists even on freestanding compilers. */
33029 # include <limits.h>
33031 # include <assert.h>
33036 /* Override any GCC internal prototype to avoid an error.
33037 Use char because int might match the return type of a GCC
33038 builtin and then its argument prototype would still apply. */
33043 /* The GNU C library defines this for functions which it implements
33044 to always fail with ENOSYS. Some functions are actually named
33045 something starting with __ and the normal name is an alias. */
33046 #if defined __stub_shmat || defined __stub___shmat
33058 rm -f conftest.$ac_objext conftest$ac_exeext
33059 if { (ac_try="$ac_link"
33060 case "(($ac_try" in
33061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33062 *) ac_try_echo=$ac_try;;
33064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33065 (eval "$ac_link") 2>conftest.er1
33067 grep -v '^ *+' conftest.er1 >conftest.err
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } && {
33072 test -z "$ac_c_werror_flag" ||
33073 test ! -s conftest.err
33074 } && test -s conftest$ac_exeext &&
33075 $as_test_x conftest$ac_exeext; then
33076 ac_cv_func_shmat=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33081 ac_cv_func_shmat=no
33084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33085 conftest$ac_exeext conftest.$ac_ext
33087 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33088 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33090 if test $ac_cv_func_shmat = no; then
33091 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33092 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33093 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 ac_check_lib_save_LIBS=$LIBS
33098 cat >conftest.$ac_ext <<_ACEOF
33101 cat confdefs.h >>conftest.$ac_ext
33102 cat >>conftest.$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33105 /* Override any GCC internal prototype to avoid an error.
33106 Use char because int might match the return type of a GCC
33107 builtin and then its argument prototype would still apply. */
33120 rm -f conftest.$ac_objext conftest$ac_exeext
33121 if { (ac_try="$ac_link"
33122 case "(($ac_try" in
33123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33124 *) ac_try_echo=$ac_try;;
33126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33127 (eval "$ac_link") 2>conftest.er1
33129 grep -v '^ *+' conftest.er1 >conftest.err
33131 cat conftest.err >&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } && {
33134 test -z "$ac_c_werror_flag" ||
33135 test ! -s conftest.err
33136 } && test -s conftest$ac_exeext &&
33137 $as_test_x conftest$ac_exeext; then
33138 ac_cv_lib_ipc_shmat=yes
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33143 ac_cv_lib_ipc_shmat=no
33146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33147 conftest$ac_exeext conftest.$ac_ext
33148 LIBS=$ac_check_lib_save_LIBS
33150 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33151 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33152 if test $ac_cv_lib_ipc_shmat = yes; then
33153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33159 # Check for libraries that X11R6 Xt/Xaw programs need.
33160 ac_save_LDFLAGS=$LDFLAGS
33161 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33162 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33163 # check for ICE first), but we must link in the order -lSM -lICE or
33164 # we get undefined symbols. So assume we have SM if we have ICE.
33165 # These have to be linked with before -lX11, unlike the other
33166 # libraries we check for below, so use a different variable.
33167 # John Interrante, Karl Berry
33168 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33169 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33170 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33171 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 ac_check_lib_save_LIBS=$LIBS
33174 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33175 cat >conftest.$ac_ext <<_ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33182 /* Override any GCC internal prototype to avoid an error.
33183 Use char because int might match the return type of a GCC
33184 builtin and then its argument prototype would still apply. */
33188 char IceConnectionNumber ();
33192 return IceConnectionNumber ();
33197 rm -f conftest.$ac_objext conftest$ac_exeext
33198 if { (ac_try="$ac_link"
33199 case "(($ac_try" in
33200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33201 *) ac_try_echo=$ac_try;;
33203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33204 (eval "$ac_link") 2>conftest.er1
33206 grep -v '^ *+' conftest.er1 >conftest.err
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } && {
33211 test -z "$ac_c_werror_flag" ||
33212 test ! -s conftest.err
33213 } && test -s conftest$ac_exeext &&
33214 $as_test_x conftest$ac_exeext; then
33215 ac_cv_lib_ICE_IceConnectionNumber=yes
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33220 ac_cv_lib_ICE_IceConnectionNumber=no
33223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33224 conftest$ac_exeext conftest.$ac_ext
33225 LIBS=$ac_check_lib_save_LIBS
33227 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33228 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33229 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33230 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33233 LDFLAGS=$ac_save_LDFLAGS
33238 if test "$no_x" = "yes"; then
33239 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33240 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33241 { (exit 1); exit 1; }; }
33244 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33245 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33246 AFMINSTALL=afminstall
33247 COMPILED_X_PROGRAM=0
33251 if test "$wxUSE_X11" = 1; then
33252 if test "$wxUSE_NANOX" = "yes"; then
33253 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33254 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33255 if test "x$MICROWIN" = x ; then
33256 { echo "$as_me:$LINENO: result: not found" >&5
33257 echo "${ECHO_T}not found" >&6; }
33258 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33259 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33260 { (exit 1); exit 1; }; }
33262 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33263 echo "${ECHO_T}$MICROWIN" >&6; }
33264 cat >>confdefs.h <<\_ACEOF
33265 #define wxUSE_NANOX 1
33271 if test "$wxUSE_UNICODE" = "yes"; then
33274 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33275 if test -n "$ac_tool_prefix"; then
33276 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33277 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33281 echo $ECHO_N "(cached) $ECHO_C" >&6
33283 case $PKG_CONFIG in
33285 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33289 for as_dir in $PATH
33292 test -z "$as_dir" && as_dir=.
33293 for ac_exec_ext in '' $ac_executable_extensions; do
33294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33295 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33306 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33307 if test -n "$PKG_CONFIG"; then
33308 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33309 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33311 { echo "$as_me:$LINENO: result: no" >&5
33312 echo "${ECHO_T}no" >&6; }
33317 if test -z "$ac_cv_path_PKG_CONFIG"; then
33318 ac_pt_PKG_CONFIG=$PKG_CONFIG
33319 # Extract the first word of "pkg-config", so it can be a program name with args.
33320 set dummy pkg-config; ac_word=$2
33321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33323 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33324 echo $ECHO_N "(cached) $ECHO_C" >&6
33326 case $ac_pt_PKG_CONFIG in
33328 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33332 for as_dir in $PATH
33335 test -z "$as_dir" && as_dir=.
33336 for ac_exec_ext in '' $ac_executable_extensions; do
33337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33338 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33349 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33350 if test -n "$ac_pt_PKG_CONFIG"; then
33351 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33352 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33354 { echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6; }
33358 if test "x$ac_pt_PKG_CONFIG" = x; then
33361 case $cross_compiling:$ac_tool_warned in
33363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33364 whose name does not start with the host triplet. If you think this
33365 configuration is useful to you, please write to autoconf@gnu.org." >&5
33366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33367 whose name does not start with the host triplet. If you think this
33368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33369 ac_tool_warned=yes ;;
33371 PKG_CONFIG=$ac_pt_PKG_CONFIG
33374 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33378 if test -n "$PKG_CONFIG"; then
33379 _pkg_min_version=0.9.0
33380 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33381 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33382 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33383 { echo "$as_me:$LINENO: result: yes" >&5
33384 echo "${ECHO_T}yes" >&6; }
33386 { echo "$as_me:$LINENO: result: no" >&5
33387 echo "${ECHO_T}no" >&6; }
33395 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33396 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33398 if test -n "$PKG_CONFIG"; then
33399 if test -n "$PANGOX_CFLAGS"; then
33400 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33402 if test -n "$PKG_CONFIG" && \
33403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33404 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; then
33408 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33416 if test -n "$PKG_CONFIG"; then
33417 if test -n "$PANGOX_LIBS"; then
33418 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33420 if test -n "$PKG_CONFIG" && \
33421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33422 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; then
33426 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33437 if test $pkg_failed = yes; then
33439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33440 _pkg_short_errors_supported=yes
33442 _pkg_short_errors_supported=no
33444 if test $_pkg_short_errors_supported = yes; then
33445 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33447 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33449 # Put the nasty error message in config.log where it belongs
33450 echo "$PANGOX_PKG_ERRORS" >&5
33453 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33454 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33455 { (exit 1); exit 1; }; }
33458 elif test $pkg_failed = untried; then
33460 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33461 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33462 { (exit 1); exit 1; }; }
33466 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33467 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33468 { echo "$as_me:$LINENO: result: yes" >&5
33469 echo "${ECHO_T}yes" >&6; }
33471 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33472 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33478 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33479 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33481 if test -n "$PKG_CONFIG"; then
33482 if test -n "$PANGOFT2_CFLAGS"; then
33483 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33485 if test -n "$PKG_CONFIG" && \
33486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33487 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; then
33491 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33499 if test -n "$PKG_CONFIG"; then
33500 if test -n "$PANGOFT2_LIBS"; then
33501 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33503 if test -n "$PKG_CONFIG" && \
33504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33505 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; then
33509 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33520 if test $pkg_failed = yes; then
33522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33523 _pkg_short_errors_supported=yes
33525 _pkg_short_errors_supported=no
33527 if test $_pkg_short_errors_supported = yes; then
33528 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33530 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33532 # Put the nasty error message in config.log where it belongs
33533 echo "$PANGOFT2_PKG_ERRORS" >&5
33536 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33537 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33538 wxUSE_PRINTING_ARCHITECTURE="no"
33541 elif test $pkg_failed = untried; then
33543 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33544 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33545 wxUSE_PRINTING_ARCHITECTURE="no"
33549 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33550 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33551 { echo "$as_me:$LINENO: result: yes" >&5
33552 echo "${ECHO_T}yes" >&6; }
33554 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33555 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33556 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33561 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33562 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33564 if test -n "$PKG_CONFIG"; then
33565 if test -n "$PANGOXFT_CFLAGS"; then
33566 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33568 if test -n "$PKG_CONFIG" && \
33569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33570 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; then
33574 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33582 if test -n "$PKG_CONFIG"; then
33583 if test -n "$PANGOXFT_LIBS"; then
33584 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33586 if test -n "$PKG_CONFIG" && \
33587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33588 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; then
33592 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33603 if test $pkg_failed = yes; then
33605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33606 _pkg_short_errors_supported=yes
33608 _pkg_short_errors_supported=no
33610 if test $_pkg_short_errors_supported = yes; then
33611 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33613 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33615 # Put the nasty error message in config.log where it belongs
33616 echo "$PANGOXFT_PKG_ERRORS" >&5
33619 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33620 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33623 elif test $pkg_failed = untried; then
33625 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33626 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33630 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33631 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33632 { echo "$as_me:$LINENO: result: yes" >&5
33633 echo "${ECHO_T}yes" >&6; }
33635 cat >>confdefs.h <<\_ACEOF
33636 #define HAVE_PANGO_XFT 1
33639 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33640 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33645 LIBS="$LIBS $PANGOX_LIBS"
33647 for ac_func in pango_font_family_is_monospace
33649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33652 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33655 cat >conftest.$ac_ext <<_ACEOF
33658 cat confdefs.h >>conftest.$ac_ext
33659 cat >>conftest.$ac_ext <<_ACEOF
33660 /* end confdefs.h. */
33661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33663 #define $ac_func innocuous_$ac_func
33665 /* System header to define __stub macros and hopefully few prototypes,
33666 which can conflict with char $ac_func (); below.
33667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33668 <limits.h> exists even on freestanding compilers. */
33671 # include <limits.h>
33673 # include <assert.h>
33678 /* Override any GCC internal prototype to avoid an error.
33679 Use char because int might match the return type of a GCC
33680 builtin and then its argument prototype would still apply. */
33685 /* The GNU C library defines this for functions which it implements
33686 to always fail with ENOSYS. Some functions are actually named
33687 something starting with __ and the normal name is an alias. */
33688 #if defined __stub_$ac_func || defined __stub___$ac_func
33695 return $ac_func ();
33700 rm -f conftest.$ac_objext conftest$ac_exeext
33701 if { (ac_try="$ac_link"
33702 case "(($ac_try" in
33703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33704 *) ac_try_echo=$ac_try;;
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707 (eval "$ac_link") 2>conftest.er1
33709 grep -v '^ *+' conftest.er1 >conftest.err
33711 cat conftest.err >&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } && {
33714 test -z "$ac_c_werror_flag" ||
33715 test ! -s conftest.err
33716 } && test -s conftest$ac_exeext &&
33717 $as_test_x conftest$ac_exeext; then
33718 eval "$as_ac_var=yes"
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.$ac_ext >&5
33723 eval "$as_ac_var=no"
33726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33727 conftest$ac_exeext conftest.$ac_ext
33729 ac_res=`eval echo '${'$as_ac_var'}'`
33730 { echo "$as_me:$LINENO: result: $ac_res" >&5
33731 echo "${ECHO_T}$ac_res" >&6; }
33732 if test `eval echo '${'$as_ac_var'}'` = yes; then
33733 cat >>confdefs.h <<_ACEOF
33734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33743 wxUSE_UNIVERSAL="yes"
33745 if test "$wxUSE_NANOX" = "yes"; then
33746 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33747 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"
33748 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33750 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33757 if test "$wxUSE_MOTIF" = 1; then
33758 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33759 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33762 for ac_dir in $SEARCH_INCLUDE /usr/include;
33764 if test -f "$ac_dir/Xm/Xm.h"; then
33765 ac_find_includes=$ac_dir
33770 if test "$ac_find_includes" != "" ; then
33771 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33772 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33774 if test "x$ac_find_includes" = "x/usr/include"; then
33775 ac_path_to_include=""
33777 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33779 if test $result = 0; then
33780 ac_path_to_include=""
33782 ac_path_to_include=" -I$ac_find_includes"
33786 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33788 save_CFLAGS=$CFLAGS
33789 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33791 cat >conftest.$ac_ext <<_ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33805 version = xmUseVersion;
33811 rm -f conftest.$ac_objext
33812 if { (ac_try="$ac_compile"
33813 case "(($ac_try" in
33814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33815 *) ac_try_echo=$ac_try;;
33817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33818 (eval "$ac_compile") 2>conftest.er1
33820 grep -v '^ *+' conftest.er1 >conftest.err
33822 cat conftest.err >&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); } && {
33825 test -z "$ac_c_werror_flag" ||
33826 test ! -s conftest.err
33827 } && test -s conftest.$ac_objext; then
33829 { echo "$as_me:$LINENO: result: found in default search path" >&5
33830 echo "${ECHO_T}found in default search path" >&6; }
33831 COMPILED_X_PROGRAM=1
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33838 { echo "$as_me:$LINENO: result: no" >&5
33839 echo "${ECHO_T}no" >&6; }
33840 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33841 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33842 { (exit 1); exit 1; }; }
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 CFLAGS=$save_CFLAGS
33853 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33854 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33857 for ac_dir in $SEARCH_LIB;
33859 for ac_extension in a so sl dylib dll.a; do
33860 if test -f "$ac_dir/libXm.$ac_extension"; then
33861 ac_find_libraries=$ac_dir
33868 if test "x$ac_find_libraries" != "x" ; then
33869 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33870 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33873 if test "$ac_find_libraries" = "default location"; then
33876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33878 if test $result = 0; then
33881 ac_path_to_link=" -L$ac_find_libraries"
33885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33887 save_CFLAGS=$CFLAGS
33888 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33890 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33892 cat >conftest.$ac_ext <<_ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33906 version = xmUseVersion;
33912 rm -f conftest.$ac_objext conftest$ac_exeext
33913 if { (ac_try="$ac_link"
33914 case "(($ac_try" in
33915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_link") 2>conftest.er1
33921 grep -v '^ *+' conftest.er1 >conftest.err
33923 cat conftest.err >&5
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); } && {
33926 test -z "$ac_c_werror_flag" ||
33927 test ! -s conftest.err
33928 } && test -s conftest$ac_exeext &&
33929 $as_test_x conftest$ac_exeext; then
33931 { echo "$as_me:$LINENO: result: found in default search path" >&5
33932 echo "${ECHO_T}found in default search path" >&6; }
33933 COMPILED_X_PROGRAM=1
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33940 { echo "$as_me:$LINENO: result: no" >&5
33941 echo "${ECHO_T}no" >&6; }
33942 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33943 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33944 { (exit 1); exit 1; }; }
33949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33950 conftest$ac_exeext conftest.$ac_ext
33952 CFLAGS=$save_CFLAGS
33956 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33957 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33961 for libp in "" " -lXp"; do
33962 if test "$libs_found" = "0"; then
33963 for libsm_ice in "" " -lSM -lICE"; do
33964 if test "$libs_found" = "0"; then
33966 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33967 save_CFLAGS=$CFLAGS
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33970 cat >conftest.$ac_ext <<_ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33978 #include <Xm/List.h>
33984 XmString string = NULL;
33987 XmListAddItem(w, string, position);
33993 rm -f conftest.$ac_objext conftest$ac_exeext
33994 if { (ac_try="$ac_link"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33997 *) ac_try_echo=$ac_try;;
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_link") 2>conftest.er1
34002 grep -v '^ *+' conftest.er1 >conftest.err
34004 cat conftest.err >&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest$ac_exeext &&
34010 $as_test_x conftest$ac_exeext; then
34013 libsm_ice_link="$libsm_ice"
34014 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34015 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34027 conftest$ac_exeext conftest.$ac_ext
34030 CFLAGS=$save_CFLAGS
34036 if test "$libs_found" = "0"; then
34037 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34038 echo "${ECHO_T}can't find the right libraries" >&6; }
34039 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34040 echo "$as_me: error: can't link a simple motif program" >&2;}
34041 { (exit 1); exit 1; }; }
34044 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34045 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34046 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 ac_check_lib_save_LIBS=$LIBS
34051 cat >conftest.$ac_ext <<_ACEOF
34054 cat confdefs.h >>conftest.$ac_ext
34055 cat >>conftest.$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34058 /* Override any GCC internal prototype to avoid an error.
34059 Use char because int might match the return type of a GCC
34060 builtin and then its argument prototype would still apply. */
34064 char SgCreateList ();
34068 return SgCreateList ();
34073 rm -f conftest.$ac_objext conftest$ac_exeext
34074 if { (ac_try="$ac_link"
34075 case "(($ac_try" in
34076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34077 *) ac_try_echo=$ac_try;;
34079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34080 (eval "$ac_link") 2>conftest.er1
34082 grep -v '^ *+' conftest.er1 >conftest.err
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } && {
34087 test -z "$ac_c_werror_flag" ||
34088 test ! -s conftest.err
34089 } && test -s conftest$ac_exeext &&
34090 $as_test_x conftest$ac_exeext; then
34091 ac_cv_lib_Sgm_SgCreateList=yes
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34096 ac_cv_lib_Sgm_SgCreateList=no
34099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34100 conftest$ac_exeext conftest.$ac_ext
34101 LIBS=$ac_check_lib_save_LIBS
34103 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34104 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34105 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34106 libsgm_link=" -lSgm"
34110 save_CFLAGS=$CFLAGS
34111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34113 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34114 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34115 if test "${wx_cv_lib_motif2+set}" = set; then
34116 echo $ECHO_N "(cached) $ECHO_C" >&6
34118 cat >conftest.$ac_ext <<_ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34131 #if XmVersion < 2000
34139 rm -f conftest.$ac_objext
34140 if { (ac_try="$ac_compile"
34141 case "(($ac_try" in
34142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34143 *) ac_try_echo=$ac_try;;
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_compile") 2>conftest.er1
34148 grep -v '^ *+' conftest.er1 >conftest.err
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } && {
34153 test -z "$ac_c_werror_flag" ||
34154 test ! -s conftest.err
34155 } && test -s conftest.$ac_objext; then
34156 wx_cv_lib_motif2="yes"
34158 echo "$as_me: failed program was:" >&5
34159 sed 's/^/| /' conftest.$ac_ext >&5
34161 wx_cv_lib_motif2="no"
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34167 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34168 if test "$wx_cv_lib_motif2" = "yes"; then
34169 cat >>confdefs.h <<\_ACEOF
34170 #define __WXMOTIF20__ 1
34174 cat >>confdefs.h <<\_ACEOF
34175 #define __WXMOTIF20__ 0
34180 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34181 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34182 if test "${wx_cv_lib_lesstif+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 cat >conftest.$ac_ext <<_ACEOF
34188 cat confdefs.h >>conftest.$ac_ext
34189 cat >>conftest.$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34198 #if !defined(LesstifVersion) || LesstifVersion <= 0
34206 rm -f conftest.$ac_objext
34207 if { (ac_try="$ac_compile"
34208 case "(($ac_try" in
34209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34210 *) ac_try_echo=$ac_try;;
34212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34213 (eval "$ac_compile") 2>conftest.er1
34215 grep -v '^ *+' conftest.er1 >conftest.err
34217 cat conftest.err >&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } && {
34220 test -z "$ac_c_werror_flag" ||
34221 test ! -s conftest.err
34222 } && test -s conftest.$ac_objext; then
34223 wx_cv_lib_lesstif="yes"
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34228 wx_cv_lib_lesstif="no"
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34235 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34236 if test "$wx_cv_lib_lesstif" = "yes"; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define __WXLESSTIF__ 1
34242 cat >>confdefs.h <<\_ACEOF
34243 #define __WXLESSTIF__ 0
34248 CFLAGS=$save_CFLAGS
34250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34255 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34256 if test "$wxUSE_LIBXPM" = "sys"; then
34257 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34258 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34261 for ac_dir in $SEARCH_LIB;
34263 for ac_extension in a so sl dylib dll.a; do
34264 if test -f "$ac_dir/libXpm.$ac_extension"; then
34265 ac_find_libraries=$ac_dir
34271 if test "$ac_find_libraries" != "" ; then
34273 if test "$ac_find_libraries" = "default location"; then
34276 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34278 if test $result = 0; then
34281 ac_path_to_link=" -L$ac_find_libraries"
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34286 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34287 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34289 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34290 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34291 if test "${wx_cv_x11_xpm_h+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34295 save_CFLAGS=$CFLAGS
34296 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34298 cat >conftest.$ac_ext <<_ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34305 #include <X11/xpm.h>
34312 version = XpmLibraryVersion();
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34327 grep -v '^ *+' conftest.er1 >conftest.err
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 wx_cv_x11_xpm_h=yes
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34346 CFLAGS=$save_CFLAGS
34350 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34351 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34353 if test $wx_cv_x11_xpm_h = "yes"; then
34354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34355 cat >>confdefs.h <<\_ACEOF
34356 #define wxHAVE_LIB_XPM 1
34360 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34361 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34367 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34368 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34369 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 ac_check_lib_save_LIBS=$LIBS
34373 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34374 cat >conftest.$ac_ext <<_ACEOF
34377 cat confdefs.h >>conftest.$ac_ext
34378 cat >>conftest.$ac_ext <<_ACEOF
34379 /* end confdefs.h. */
34381 /* Override any GCC internal prototype to avoid an error.
34382 Use char because int might match the return type of a GCC
34383 builtin and then its argument prototype would still apply. */
34387 char XShapeQueryExtension ();
34391 return XShapeQueryExtension ();
34396 rm -f conftest.$ac_objext conftest$ac_exeext
34397 if { (ac_try="$ac_link"
34398 case "(($ac_try" in
34399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_link") 2>conftest.er1
34405 grep -v '^ *+' conftest.er1 >conftest.err
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } && {
34410 test -z "$ac_c_werror_flag" ||
34411 test ! -s conftest.err
34412 } && test -s conftest$ac_exeext &&
34413 $as_test_x conftest$ac_exeext; then
34414 ac_cv_lib_Xext_XShapeQueryExtension=yes
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34419 ac_cv_lib_Xext_XShapeQueryExtension=no
34422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34423 conftest$ac_exeext conftest.$ac_ext
34424 LIBS=$ac_check_lib_save_LIBS
34426 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34427 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34428 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34436 if test "$wxHAVE_XEXT_LIB" = 1; then
34437 save_CFLAGS="$CFLAGS"
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34440 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34441 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34442 cat >conftest.$ac_ext <<_ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34449 #include <X11/Xlib.h>
34450 #include <X11/extensions/shape.h>
34456 int dummy1, dummy2;
34457 XShapeQueryExtension((Display*)NULL,
34458 (int*)NULL, (int*)NULL);
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34473 grep -v '^ *+' conftest.er1 >conftest.err
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34482 cat >>confdefs.h <<\_ACEOF
34483 #define HAVE_XSHAPE 1
34486 { echo "$as_me:$LINENO: result: found" >&5
34487 echo "${ECHO_T}found" >&6; }
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.$ac_ext >&5
34494 { echo "$as_me:$LINENO: result: not found" >&5
34495 echo "${ECHO_T}not found" >&6; }
34499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34500 CFLAGS="$save_CFLAGS"
34505 if test "$wxUSE_MAC" = 1; then
34506 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34507 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34508 if test "$GCC" = yes; then
34509 { echo "$as_me:$LINENO: result: gcc" >&5
34510 echo "${ECHO_T}gcc" >&6; }
34511 CPPFLAGS_PASCAL="-fpascal-strings"
34512 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34513 { echo "$as_me:$LINENO: result: xlc" >&5
34514 echo "${ECHO_T}xlc" >&6; }
34515 CPPFLAGS_PASCAL="-qmacpstr"
34517 { echo "$as_me:$LINENO: result: none" >&5
34518 echo "${ECHO_T}none" >&6; }
34521 if test "x$wxUSE_UNIX" = "xyes"; then
34522 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34524 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34529 WXBASEPORT="_carbon"
34532 if test "$wxUSE_COCOA" = 1; then
34537 if test "$wxUSE_PM" = 1; then
34540 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34541 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34542 if test "${wx_cv_spbcdata+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 cat >conftest.$ac_ext <<_ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34566 rm -f conftest.$ac_objext
34567 if { (ac_try="$ac_compile"
34568 case "(($ac_try" in
34569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34570 *) ac_try_echo=$ac_try;;
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_compile") 2>conftest.er1
34575 grep -v '^ *+' conftest.er1 >conftest.err
34577 cat conftest.err >&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } && {
34580 test -z "$ac_c_werror_flag" ||
34581 test ! -s conftest.err
34582 } && test -s conftest.$ac_objext; then
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.$ac_ext >&5
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34597 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34599 if test $wx_cv_spbcdata = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define HAVE_SPBCDATA 1
34607 if test "$TOOLKIT" = "PM" ; then
34610 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34613 if test "$wxUSE_UNIVERSAL" = "yes"; then
34614 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34618 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34619 DISTDIR="wx\$(TOOLKIT)"
34625 if test "$USE_WIN32" = 1 ; then
34629 GUIDIST="BASE_DIST"
34635 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34636 if test "$TOOLKIT" = "DFB" ; then
34637 wxUSE_UNICODE_UTF8=yes
34638 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34639 wxUSE_UNICODE_UTF8=yes
34640 elif test "$USE_OS2" = "1" ; then
34641 wxUSE_UNICODE_UTF8=yes
34643 wxUSE_UNICODE_UTF8=no
34648 if test "$wxUSE_GUI" = "yes"; then
34649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34651 for ac_header in X11/Xlib.h
34653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.$ac_ext <<_ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34667 #include <$ac_header>
34669 rm -f conftest.$ac_objext
34670 if { (ac_try="$ac_compile"
34671 case "(($ac_try" in
34672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34673 *) ac_try_echo=$ac_try;;
34675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34676 (eval "$ac_compile") 2>conftest.er1
34678 grep -v '^ *+' conftest.er1 >conftest.err
34680 cat conftest.err >&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } && {
34683 test -z "$ac_c_werror_flag" ||
34684 test ! -s conftest.err
34685 } && test -s conftest.$ac_objext; then
34686 eval "$as_ac_Header=yes"
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34691 eval "$as_ac_Header=no"
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696 ac_res=`eval echo '${'$as_ac_Header'}'`
34697 { echo "$as_me:$LINENO: result: $ac_res" >&5
34698 echo "${ECHO_T}$ac_res" >&6; }
34699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34700 cat >>confdefs.h <<_ACEOF
34701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34709 for ac_header in X11/XKBlib.h
34711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 cat >conftest.$ac_ext <<_ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34724 #if HAVE_X11_XLIB_H
34725 #include <X11/Xlib.h>
34729 #include <$ac_header>
34731 rm -f conftest.$ac_objext
34732 if { (ac_try="$ac_compile"
34733 case "(($ac_try" in
34734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34735 *) ac_try_echo=$ac_try;;
34737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34738 (eval "$ac_compile") 2>conftest.er1
34740 grep -v '^ *+' conftest.er1 >conftest.err
34742 cat conftest.err >&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); } && {
34745 test -z "$ac_c_werror_flag" ||
34746 test ! -s conftest.err
34747 } && test -s conftest.$ac_objext; then
34748 eval "$as_ac_Header=yes"
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.$ac_ext >&5
34753 eval "$as_ac_Header=no"
34756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34758 ac_res=`eval echo '${'$as_ac_Header'}'`
34759 { echo "$as_me:$LINENO: result: $ac_res" >&5
34760 echo "${ECHO_T}$ac_res" >&6; }
34761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34762 cat >>confdefs.h <<_ACEOF
34763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34778 if test "$TOOLKIT" != "MSW" ; then
34780 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34782 { echo "$as_me:$LINENO: checking for sql.h" >&5
34783 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34784 if test "${ac_cv_header_sql_h+set}" = set; then
34785 echo $ECHO_N "(cached) $ECHO_C" >&6
34787 cat >conftest.$ac_ext <<_ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34797 rm -f conftest.$ac_objext
34798 if { (ac_try="$ac_compile"
34799 case "(($ac_try" in
34800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34801 *) ac_try_echo=$ac_try;;
34803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34804 (eval "$ac_compile") 2>conftest.er1
34806 grep -v '^ *+' conftest.er1 >conftest.err
34808 cat conftest.err >&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } && {
34811 test -z "$ac_c_werror_flag" ||
34812 test ! -s conftest.err
34813 } && test -s conftest.$ac_objext; then
34814 ac_cv_header_sql_h=yes
34816 echo "$as_me: failed program was:" >&5
34817 sed 's/^/| /' conftest.$ac_ext >&5
34819 ac_cv_header_sql_h=no
34822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34824 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34825 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34826 if test $ac_cv_header_sql_h = yes; then
34831 if test "x$found_sql_h" = "x1" ; then
34832 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34833 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34834 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34835 echo $ECHO_N "(cached) $ECHO_C" >&6
34837 ac_check_lib_save_LIBS=$LIBS
34838 LIBS="-liodbc $LIBS"
34839 cat >conftest.$ac_ext <<_ACEOF
34842 cat confdefs.h >>conftest.$ac_ext
34843 cat >>conftest.$ac_ext <<_ACEOF
34844 /* end confdefs.h. */
34846 /* Override any GCC internal prototype to avoid an error.
34847 Use char because int might match the return type of a GCC
34848 builtin and then its argument prototype would still apply. */
34852 char SQLAllocEnv ();
34856 return SQLAllocEnv ();
34861 rm -f conftest.$ac_objext conftest$ac_exeext
34862 if { (ac_try="$ac_link"
34863 case "(($ac_try" in
34864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34865 *) ac_try_echo=$ac_try;;
34867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34868 (eval "$ac_link") 2>conftest.er1
34870 grep -v '^ *+' conftest.er1 >conftest.err
34872 cat conftest.err >&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } && {
34875 test -z "$ac_c_werror_flag" ||
34876 test ! -s conftest.err
34877 } && test -s conftest$ac_exeext &&
34878 $as_test_x conftest$ac_exeext; then
34879 ac_cv_lib_iodbc_SQLAllocEnv=yes
34881 echo "$as_me: failed program was:" >&5
34882 sed 's/^/| /' conftest.$ac_ext >&5
34884 ac_cv_lib_iodbc_SQLAllocEnv=no
34887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34888 conftest$ac_exeext conftest.$ac_ext
34889 LIBS=$ac_check_lib_save_LIBS
34891 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34892 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34893 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34894 ODBC_LINK=" -liodbc"
34897 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34898 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34899 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 ac_check_lib_save_LIBS=$LIBS
34903 LIBS="-lunixodbc $LIBS"
34904 cat >conftest.$ac_ext <<_ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34911 /* Override any GCC internal prototype to avoid an error.
34912 Use char because int might match the return type of a GCC
34913 builtin and then its argument prototype would still apply. */
34917 char SQLAllocEnv ();
34921 return SQLAllocEnv ();
34926 rm -f conftest.$ac_objext conftest$ac_exeext
34927 if { (ac_try="$ac_link"
34928 case "(($ac_try" in
34929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34930 *) ac_try_echo=$ac_try;;
34932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34933 (eval "$ac_link") 2>conftest.er1
34935 grep -v '^ *+' conftest.er1 >conftest.err
34937 cat conftest.err >&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); } && {
34940 test -z "$ac_c_werror_flag" ||
34941 test ! -s conftest.err
34942 } && test -s conftest$ac_exeext &&
34943 $as_test_x conftest$ac_exeext; then
34944 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34949 ac_cv_lib_unixodbc_SQLAllocEnv=no
34952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34953 conftest$ac_exeext conftest.$ac_ext
34954 LIBS=$ac_check_lib_save_LIBS
34956 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34957 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34958 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34959 ODBC_LINK=" -lunixodbc"
34962 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34963 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 ac_check_lib_save_LIBS=$LIBS
34968 LIBS="-lodbc $LIBS"
34969 cat >conftest.$ac_ext <<_ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34976 /* Override any GCC internal prototype to avoid an error.
34977 Use char because int might match the return type of a GCC
34978 builtin and then its argument prototype would still apply. */
34982 char SQLAllocEnv ();
34986 return SQLAllocEnv ();
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_link") 2>conftest.er1
35000 grep -v '^ *+' conftest.er1 >conftest.err
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest$ac_exeext &&
35008 $as_test_x conftest$ac_exeext; then
35009 ac_cv_lib_odbc_SQLAllocEnv=yes
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35014 ac_cv_lib_odbc_SQLAllocEnv=no
35017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35018 conftest$ac_exeext conftest.$ac_ext
35019 LIBS=$ac_check_lib_save_LIBS
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35022 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35023 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35024 ODBC_LINK=" -lodbc"
35034 if test "x$ODBC_LINK" = "x" ; then
35035 if test "$wxUSE_ODBC" = "sys" ; then
35036 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35037 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35038 { (exit 1); exit 1; }; }
35040 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35041 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35049 if test "$wxUSE_ODBC" = "builtin" ; then
35050 cat >>confdefs.h <<\_ACEOF
35051 #define wxUSE_BUILTIN_IODBC 1
35057 if test "$wxUSE_ODBC" != "no" ; then
35058 cat >>confdefs.h <<\_ACEOF
35059 #define wxUSE_ODBC 1
35062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35064 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35068 if test "$wxUSE_DISPLAY" = "yes"; then
35069 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35070 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35071 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35074 for ac_dir in $SEARCH_LIB;
35076 for ac_extension in a so sl dylib dll.a; do
35077 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35078 ac_find_libraries=$ac_dir
35084 if test "$ac_find_libraries" != "" ; then
35086 if test "$ac_find_libraries" = "default location"; then
35089 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35091 if test $result = 0; then
35094 ac_path_to_link=" -L$ac_find_libraries"
35098 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35099 LDFLAGS="$LDFLAGS $ac_path_to_link"
35101 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35102 { echo "$as_me:$LINENO: result: yes" >&5
35103 echo "${ECHO_T}yes" >&6; }
35105 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35106 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35109 for ac_dir in $SEARCH_LIB;
35111 for ac_extension in a so sl dylib dll.a; do
35112 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35113 ac_find_libraries=$ac_dir
35119 if test "$ac_find_libraries" != "" ; then
35120 { echo "$as_me:$LINENO: result: yes" >&5
35121 echo "${ECHO_T}yes" >&6; }
35123 for ac_header in X11/extensions/xf86vmode.h
35125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 cat >conftest.$ac_ext <<_ACEOF
35134 cat confdefs.h >>conftest.$ac_ext
35135 cat >>conftest.$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35138 #if HAVE_X11_XLIB_H
35139 #include <X11/Xlib.h>
35143 #include <$ac_header>
35145 rm -f conftest.$ac_objext
35146 if { (ac_try="$ac_compile"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35149 *) ac_try_echo=$ac_try;;
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_compile") 2>conftest.er1
35154 grep -v '^ *+' conftest.er1 >conftest.err
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_c_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest.$ac_objext; then
35162 eval "$as_ac_Header=yes"
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35167 eval "$as_ac_Header=no"
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35172 ac_res=`eval echo '${'$as_ac_Header'}'`
35173 { echo "$as_me:$LINENO: result: $ac_res" >&5
35174 echo "${ECHO_T}$ac_res" >&6; }
35175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35176 cat >>confdefs.h <<_ACEOF
35177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35187 { echo "$as_me:$LINENO: result: no" >&5
35188 echo "${ECHO_T}no" >&6; }
35192 { echo "$as_me:$LINENO: result: no" >&5
35193 echo "${ECHO_T}no" >&6; }
35194 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35195 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35198 elif test "$wxUSE_MSW" = 1; then
35199 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35200 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35201 if test "${ac_cv_header_ddraw_h+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 cat >conftest.$ac_ext <<_ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #include <windows.h>
35214 rm -f conftest.$ac_objext
35215 if { (ac_try="$ac_compile"
35216 case "(($ac_try" in
35217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_compile") 2>conftest.er1
35223 grep -v '^ *+' conftest.er1 >conftest.err
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest.$ac_objext; then
35231 ac_cv_header_ddraw_h=yes
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35236 ac_cv_header_ddraw_h=no
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35242 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35248 if test "$wxUSE_DETECT_SM" = "yes"; then
35249 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35250 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35251 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35254 for ac_dir in $SEARCH_LIB;
35256 for ac_extension in a so sl dylib dll.a; do
35257 if test -f "$ac_dir/libSM.$ac_extension"; then
35258 ac_find_libraries=$ac_dir
35264 if test "$ac_find_libraries" != "" ; then
35266 if test "$ac_find_libraries" = "default location"; then
35269 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35271 if test $result = 0; then
35274 ac_path_to_link=" -L$ac_find_libraries"
35278 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35279 LDFLAGS="$LDFLAGS $ac_path_to_link"
35281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35282 { echo "$as_me:$LINENO: result: yes" >&5
35283 echo "${ECHO_T}yes" >&6; }
35285 { echo "$as_me:$LINENO: result: no" >&5
35286 echo "${ECHO_T}no" >&6; }
35287 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35288 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35289 wxUSE_DETECT_SM="no"
35292 wxUSE_DETECT_SM="no"
35299 if test "$wxUSE_OPENGL" = "yes"; then
35300 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35301 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35302 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35304 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35305 OPENGL_LIBS="-framework OpenGL -framework AGL"
35306 elif test "$wxUSE_MSW" = 1; then
35307 OPENGL_LIBS="-lopengl32 -lglu32"
35309 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35310 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35313 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35315 if test -f "$ac_dir/GL/gl.h"; then
35316 ac_find_includes=$ac_dir
35321 if test "$ac_find_includes" != "" ; then
35322 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35323 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35325 if test "x$ac_find_includes" = "x/usr/include"; then
35326 ac_path_to_include=""
35328 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35330 if test $result = 0; then
35331 ac_path_to_include=""
35333 ac_path_to_include=" -I$ac_find_includes"
35337 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35339 { echo "$as_me:$LINENO: result: not found" >&5
35340 echo "${ECHO_T}not found" >&6; }
35343 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35344 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35345 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35348 cat >conftest.$ac_ext <<_ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35367 grep -v '^ *+' conftest.er1 >conftest.err
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 ac_cv_header_GL_gl_h=yes
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35380 ac_cv_header_GL_gl_h=no
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35386 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35387 if test $ac_cv_header_GL_gl_h = yes; then
35389 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35390 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35391 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35392 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35395 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35396 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35398 # Is the header compilable?
35399 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35400 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35401 cat >conftest.$ac_ext <<_ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407 $ac_includes_default
35408 #include <GL/glu.h>
35410 rm -f conftest.$ac_objext
35411 if { (ac_try="$ac_compile"
35412 case "(($ac_try" in
35413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35414 *) ac_try_echo=$ac_try;;
35416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35417 (eval "$ac_compile") 2>conftest.er1
35419 grep -v '^ *+' conftest.er1 >conftest.err
35421 cat conftest.err >&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); } && {
35424 test -z "$ac_c_werror_flag" ||
35425 test ! -s conftest.err
35426 } && test -s conftest.$ac_objext; then
35427 ac_header_compiler=yes
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35432 ac_header_compiler=no
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35437 echo "${ECHO_T}$ac_header_compiler" >&6; }
35439 # Is the header present?
35440 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35441 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35442 cat >conftest.$ac_ext <<_ACEOF
35445 cat confdefs.h >>conftest.$ac_ext
35446 cat >>conftest.$ac_ext <<_ACEOF
35447 /* end confdefs.h. */
35448 #include <GL/glu.h>
35450 if { (ac_try="$ac_cpp conftest.$ac_ext"
35451 case "(($ac_try" in
35452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35453 *) ac_try_echo=$ac_try;;
35455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35458 grep -v '^ *+' conftest.er1 >conftest.err
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } >/dev/null && {
35463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35464 test ! -s conftest.err
35466 ac_header_preproc=yes
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35471 ac_header_preproc=no
35474 rm -f conftest.err conftest.$ac_ext
35475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35476 echo "${ECHO_T}$ac_header_preproc" >&6; }
35478 # So? What about this header?
35479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35481 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35482 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35483 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35484 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35485 ac_header_preproc=yes
35488 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35489 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35490 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35491 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35492 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35493 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35494 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35495 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35496 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35497 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35498 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35499 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35501 ## ----------------------------------------- ##
35502 ## Report this to wx-dev@lists.wxwidgets.org ##
35503 ## ----------------------------------------- ##
35505 ) | sed "s/^/$as_me: WARNING: /" >&2
35508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35511 echo $ECHO_N "(cached) $ECHO_C" >&6
35513 ac_cv_header_GL_glu_h=$ac_header_preproc
35515 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35516 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35519 if test $ac_cv_header_GL_glu_h = yes; then
35523 { echo "$as_me:$LINENO: checking for -lGL" >&5
35524 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35527 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35529 for ac_extension in a so sl dylib dll.a; do
35530 if test -f "$ac_dir/libGL.$ac_extension"; then
35531 ac_find_libraries=$ac_dir
35537 if test "$ac_find_libraries" != "" ; then
35538 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35539 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35542 if test "$ac_find_libraries" = "default location"; then
35545 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35547 if test $result = 0; then
35550 ac_path_to_link=" -L$ac_find_libraries"
35554 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35555 LDFLAGS_GL="$ac_path_to_link"
35558 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35559 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35562 for ac_dir in $SEARCH_LIB;
35564 for ac_extension in a so sl dylib dll.a; do
35565 if test -f "$ac_dir/libGLU.$ac_extension"; then
35566 ac_find_libraries=$ac_dir
35572 if test "$ac_find_libraries" != "" ; then
35574 if test "$ac_find_libraries" = "default location"; then
35577 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35579 if test $result = 0; then
35582 ac_path_to_link=" -L$ac_find_libraries"
35586 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35587 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35588 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35592 OPENGL_LIBS="-lGL -lGLU"
35593 { echo "$as_me:$LINENO: result: yes" >&5
35594 echo "${ECHO_T}yes" >&6; }
35596 { echo "$as_me:$LINENO: result: no" >&5
35597 echo "${ECHO_T}no" >&6; }
35600 { echo "$as_me:$LINENO: result: no" >&5
35601 echo "${ECHO_T}no" >&6; }
35604 if test "$found_gl" != 1; then
35605 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35606 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35609 for ac_dir in $SEARCH_LIB;
35611 for ac_extension in a so sl dylib dll.a; do
35612 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35613 ac_find_libraries=$ac_dir
35619 if test "$ac_find_libraries" != "" ; then
35621 if test "$ac_find_libraries" = "default location"; then
35624 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35626 if test $result = 0; then
35629 ac_path_to_link=" -L$ac_find_libraries"
35633 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35634 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35635 { echo "$as_me:$LINENO: result: yes" >&5
35636 echo "${ECHO_T}yes" >&6; }
35638 { echo "$as_me:$LINENO: result: no" >&5
35639 echo "${ECHO_T}no" >&6; }
35651 if test "x$OPENGL_LIBS" = "x"; then
35652 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35653 echo "$as_me: error: OpenGL libraries not available" >&2;}
35654 { (exit 1); exit 1; }; }
35658 if test "$wxUSE_OPENGL" = "yes"; then
35660 cat >>confdefs.h <<\_ACEOF
35661 #define wxUSE_OPENGL 1
35664 cat >>confdefs.h <<\_ACEOF
35665 #define wxUSE_GLCANVAS 1
35668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35673 if test -n "$TOOLKIT" ; then
35674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35679 if test "$wxUSE_SHARED" = "yes"; then
35683 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35684 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35689 if test "$wxUSE_SHARED" = "yes"; then
35693 *-*-cygwin* | *-*-mingw* )
35694 wx_cv_version_script=no
35698 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35699 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35700 if test "${wx_cv_version_script+set}" = set; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35704 echo "VER_1 { *; };" >conftest.sym
35705 echo "int main() { return 0; }" >conftest.cpp
35708 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35709 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; } ; then
35715 if test -s conftest.stderr ; then
35716 wx_cv_version_script=no
35718 wx_cv_version_script=yes
35721 wx_cv_version_script=no
35724 if test $wx_cv_version_script = yes
35726 echo "struct B { virtual ~B() { } }; \
35727 struct D : public B { }; \
35728 void F() { D d; }" > conftest.cpp
35731 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35732 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35739 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35740 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742 (eval $ac_try) 2>&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); }; }
35748 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35749 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; }
35756 wx_cv_version_script=yes
35758 wx_cv_version_script=no
35763 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35764 rm -f conftest1.output conftest2.output conftest3.output
35767 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35768 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35770 if test $wx_cv_version_script = yes ; then
35771 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35777 if test "$wxUSE_VISIBILITY" != "no"; then
35780 if test -n "$GCC"; then
35781 CFLAGS_VISIBILITY="-fvisibility=hidden"
35782 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35783 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35784 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35785 if test "${wx_cv_cc_visibility+set}" = set; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 wx_save_CXXFLAGS="$CXXFLAGS"
35790 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35797 cat >conftest.$ac_ext <<_ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35804 /* we need gcc >= 4.0, older versions with visibility support
35805 didn't have class visibility: */
35806 #if defined(__GNUC__) && __GNUC__ < 4
35807 error this gcc is too old;
35810 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35811 extern __attribute__((__visibility__("default"))) int exportedvar;
35812 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35813 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35814 class __attribute__((__visibility__("default"))) Foo {
35826 rm -f conftest.$ac_objext
35827 if { (ac_try="$ac_compile"
35828 case "(($ac_try" in
35829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35830 *) ac_try_echo=$ac_try;;
35832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35833 (eval "$ac_compile") 2>conftest.er1
35835 grep -v '^ *+' conftest.er1 >conftest.err
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } && {
35840 test -z "$ac_cxx_werror_flag" ||
35841 test ! -s conftest.err
35842 } && test -s conftest.$ac_objext; then
35843 wx_cv_cc_visibility=yes
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35848 wx_cv_cc_visibility=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35858 CXXFLAGS="$wx_save_CXXFLAGS"
35861 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35862 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35863 if test $wx_cv_cc_visibility = yes; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_VISIBILITY 1
35869 CFLAGS_VISIBILITY=""
35870 CXXFLAGS_VISIBILITY=""
35878 if test "x$SUNCXX" = xyes; then
35879 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35880 WXCONFIG_RPATH="-R\$libdir"
35883 *-*-linux* | *-*-gnu* )
35884 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35890 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35892 saveLdflags="$LDFLAGS"
35893 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35894 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35895 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35896 cat >conftest.$ac_ext <<_ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35911 rm -f conftest.$ac_objext conftest$ac_exeext
35912 if { (ac_try="$ac_link"
35913 case "(($ac_try" in
35914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_link") 2>conftest.er1
35920 grep -v '^ *+' conftest.er1 >conftest.err
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest$ac_exeext &&
35928 $as_test_x conftest$ac_exeext; then
35930 { echo "$as_me:$LINENO: result: yes" >&5
35931 echo "${ECHO_T}yes" >&6; }
35932 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35933 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35940 { echo "$as_me:$LINENO: result: no" >&5
35941 echo "${ECHO_T}no" >&6; }
35942 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35943 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35944 LDFLAGS="$saveLdflags -Wl,-R,/"
35945 cat >conftest.$ac_ext <<_ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35960 rm -f conftest.$ac_objext conftest$ac_exeext
35961 if { (ac_try="$ac_link"
35962 case "(($ac_try" in
35963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35964 *) ac_try_echo=$ac_try;;
35966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35967 (eval "$ac_link") 2>conftest.er1
35969 grep -v '^ *+' conftest.er1 >conftest.err
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } && {
35974 test -z "$ac_c_werror_flag" ||
35975 test ! -s conftest.err
35976 } && test -s conftest$ac_exeext &&
35977 $as_test_x conftest$ac_exeext; then
35979 { echo "$as_me:$LINENO: result: yes" >&5
35980 echo "${ECHO_T}yes" >&6; }
35981 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35982 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35989 { echo "$as_me:$LINENO: result: no" >&5
35990 echo "${ECHO_T}no" >&6; }
35994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35995 conftest$ac_exeext conftest.$ac_ext
35999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36000 conftest$ac_exeext conftest.$ac_ext
36001 LDFLAGS="$saveLdflags"
36005 install_name_tool=`which install_name_tool`
36006 if test "$install_name_tool" -a -x "$install_name_tool"; then
36007 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36008 cat <<EOF >change-install-names
36010 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36011 inst_cmd="install_name_tool "
36012 for i in \${libnames} ; do
36013 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36017 chmod +x change-install-names
36021 *-*-cygwin* | *-*-mingw32* )
36022 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36026 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36027 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36033 if test $wxUSE_RPATH = "no"; then
36034 SAMPLES_RPATH_FLAG=''
36035 SAMPLES_RPATH_POSTLINK=''
36043 config_linkage_component="-static"
36050 lib_unicode_suffix=
36052 if test "$wxUSE_UNICODE" = "yes"; then
36053 lib_unicode_suffix=u
36054 WX_CHARTYPE="unicode"
36059 WX_DEBUGTYPE="release"
36061 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36063 WX_DEBUGTYPE="debug"
36067 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36068 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36071 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36075 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36077 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36079 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36081 if test "$cross_compiling" = "yes"; then
36082 HOST_SUFFIX="-$host_alias"
36083 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36084 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36087 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36088 if test "${TOOLKIT_DIR}" = "os2"; then
36089 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36091 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36096 if test "$wxUSE_COCOA" = 1; then
36099 ac_cpp='$CPP $CPPFLAGS'
36100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36106 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36107 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36108 cat >conftest.$ac_ext <<_ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 #include <AppKit/NSEvent.h>
36115 #include <CoreFoundation/CoreFoundation.h>
36125 rm -f conftest.$ac_objext
36126 if { (ac_try="$ac_compile"
36127 case "(($ac_try" in
36128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36129 *) ac_try_echo=$ac_try;;
36131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36132 (eval "$ac_compile") 2>conftest.er1
36134 grep -v '^ *+' conftest.er1 >conftest.err
36136 cat conftest.err >&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } && {
36139 test -z "$ac_c_werror_flag" ||
36140 test ! -s conftest.err
36141 } && test -s conftest.$ac_objext; then
36142 { echo "$as_me:$LINENO: result: no" >&5
36143 echo "${ECHO_T}no" >&6; }
36145 echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36148 { echo "$as_me:$LINENO: result: yes" >&5
36149 echo "${ECHO_T}yes" >&6; }
36150 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36151 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36152 cat >conftest.$ac_ext <<_ACEOF
36155 cat confdefs.h >>conftest.$ac_ext
36156 cat >>conftest.$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36158 #define __Point__ 1
36159 #include <AppKit/NSEvent.h>
36160 #include <CoreFoundation/CoreFoundation.h>
36170 rm -f conftest.$ac_objext
36171 if { (ac_try="$ac_compile"
36172 case "(($ac_try" in
36173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36174 *) ac_try_echo=$ac_try;;
36176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36177 (eval "$ac_compile") 2>conftest.er1
36179 grep -v '^ *+' conftest.er1 >conftest.err
36181 cat conftest.err >&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } && {
36184 test -z "$ac_c_werror_flag" ||
36185 test ! -s conftest.err
36186 } && test -s conftest.$ac_objext; then
36187 { echo "$as_me:$LINENO: result: yes" >&5
36188 echo "${ECHO_T}yes" >&6; }
36189 cat >>confdefs.h <<\_ACEOF
36190 #define __Point__ 1
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36198 { { echo "$as_me:$LINENO: error: no
36199 See \`config.log' for more details." >&5
36200 echo "$as_me: error: no
36201 See \`config.log' for more details." >&2;}
36202 { (exit 1); exit 1; }; }
36206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36212 ac_cpp='$CPP $CPPFLAGS'
36213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36219 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36220 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36221 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36223 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36225 # Extract the first word of "Rez", so it can be a program name with args.
36226 set dummy Rez; ac_word=$2
36227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36229 if test "${ac_cv_prog_REZ+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 if test -n "$REZ"; then
36233 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36236 for as_dir in $PATH
36239 test -z "$as_dir" && as_dir=.
36240 for ac_exec_ext in '' $ac_executable_extensions; do
36241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36242 ac_cv_prog_REZ="Rez"
36243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36250 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36253 REZ=$ac_cv_prog_REZ
36254 if test -n "$REZ"; then
36255 { echo "$as_me:$LINENO: result: $REZ" >&5
36256 echo "${ECHO_T}$REZ" >&6; }
36258 { echo "$as_me:$LINENO: result: no" >&5
36259 echo "${ECHO_T}no" >&6; }
36263 # Extract the first word of "DeRez", so it can be a program name with args.
36264 set dummy DeRez; ac_word=$2
36265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36267 if test "${ac_cv_prog_DEREZ+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 if test -n "$DEREZ"; then
36271 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36274 for as_dir in $PATH
36277 test -z "$as_dir" && as_dir=.
36278 for ac_exec_ext in '' $ac_executable_extensions; do
36279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36280 ac_cv_prog_DEREZ="DeRez"
36281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36288 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36291 DEREZ=$ac_cv_prog_DEREZ
36292 if test -n "$DEREZ"; then
36293 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36294 echo "${ECHO_T}$DEREZ" >&6; }
36296 { echo "$as_me:$LINENO: result: no" >&5
36297 echo "${ECHO_T}no" >&6; }
36301 # Extract the first word of "SetFile", so it can be a program name with args.
36302 set dummy SetFile; ac_word=$2
36303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36305 if test "${ac_cv_prog_SETFILE+set}" = set; then
36306 echo $ECHO_N "(cached) $ECHO_C" >&6
36308 if test -n "$SETFILE"; then
36309 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36312 for as_dir in $PATH
36315 test -z "$as_dir" && as_dir=.
36316 for ac_exec_ext in '' $ac_executable_extensions; do
36317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36318 ac_cv_prog_SETFILE="SetFile"
36319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36326 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36329 SETFILE=$ac_cv_prog_SETFILE
36330 if test -n "$SETFILE"; then
36331 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36332 echo "${ECHO_T}$SETFILE" >&6; }
36334 { echo "$as_me:$LINENO: result: no" >&5
36335 echo "${ECHO_T}no" >&6; }
36340 MACSETFILE="\$(SETFILE)"
36342 if test "$wxUSE_MAC" = 1; then
36343 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36345 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36347 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36348 RESCOMP="echo -n \| $REZ"
36349 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36355 if test "$wxUSE_PM" = 1; then
36357 WXCONFIG_RESFLAGS="-ep"
36359 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36361 POSTLINK_COMMAND="@true"
36368 { echo "$as_me:$LINENO: checking for mode_t" >&5
36369 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36370 if test "${ac_cv_type_mode_t+set}" = set; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36373 cat >conftest.$ac_ext <<_ACEOF
36376 cat confdefs.h >>conftest.$ac_ext
36377 cat >>conftest.$ac_ext <<_ACEOF
36378 /* end confdefs.h. */
36379 $ac_includes_default
36380 typedef mode_t ac__type_new_;
36384 if ((ac__type_new_ *) 0)
36386 if (sizeof (ac__type_new_))
36392 rm -f conftest.$ac_objext
36393 if { (ac_try="$ac_compile"
36394 case "(($ac_try" in
36395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36396 *) ac_try_echo=$ac_try;;
36398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36399 (eval "$ac_compile") 2>conftest.er1
36401 grep -v '^ *+' conftest.er1 >conftest.err
36403 cat conftest.err >&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } && {
36406 test -z "$ac_c_werror_flag" ||
36407 test ! -s conftest.err
36408 } && test -s conftest.$ac_objext; then
36409 ac_cv_type_mode_t=yes
36411 echo "$as_me: failed program was:" >&5
36412 sed 's/^/| /' conftest.$ac_ext >&5
36414 ac_cv_type_mode_t=no
36417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36420 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36421 if test $ac_cv_type_mode_t = yes; then
36425 cat >>confdefs.h <<_ACEOF
36431 { echo "$as_me:$LINENO: checking for off_t" >&5
36432 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36433 if test "${ac_cv_type_off_t+set}" = set; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 cat >conftest.$ac_ext <<_ACEOF
36439 cat confdefs.h >>conftest.$ac_ext
36440 cat >>conftest.$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36442 $ac_includes_default
36443 typedef off_t ac__type_new_;
36447 if ((ac__type_new_ *) 0)
36449 if (sizeof (ac__type_new_))
36455 rm -f conftest.$ac_objext
36456 if { (ac_try="$ac_compile"
36457 case "(($ac_try" in
36458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36459 *) ac_try_echo=$ac_try;;
36461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36462 (eval "$ac_compile") 2>conftest.er1
36464 grep -v '^ *+' conftest.er1 >conftest.err
36466 cat conftest.err >&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } && {
36469 test -z "$ac_c_werror_flag" ||
36470 test ! -s conftest.err
36471 } && test -s conftest.$ac_objext; then
36472 ac_cv_type_off_t=yes
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36477 ac_cv_type_off_t=no
36480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36483 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36484 if test $ac_cv_type_off_t = yes; then
36488 cat >>confdefs.h <<_ACEOF
36489 #define off_t long int
36494 { echo "$as_me:$LINENO: checking for pid_t" >&5
36495 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36496 if test "${ac_cv_type_pid_t+set}" = set; then
36497 echo $ECHO_N "(cached) $ECHO_C" >&6
36499 cat >conftest.$ac_ext <<_ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505 $ac_includes_default
36506 typedef pid_t ac__type_new_;
36510 if ((ac__type_new_ *) 0)
36512 if (sizeof (ac__type_new_))
36518 rm -f conftest.$ac_objext
36519 if { (ac_try="$ac_compile"
36520 case "(($ac_try" in
36521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522 *) ac_try_echo=$ac_try;;
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525 (eval "$ac_compile") 2>conftest.er1
36527 grep -v '^ *+' conftest.er1 >conftest.err
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } && {
36532 test -z "$ac_c_werror_flag" ||
36533 test ! -s conftest.err
36534 } && test -s conftest.$ac_objext; then
36535 ac_cv_type_pid_t=yes
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36540 ac_cv_type_pid_t=no
36543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36545 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36546 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36547 if test $ac_cv_type_pid_t = yes; then
36551 cat >>confdefs.h <<_ACEOF
36557 { echo "$as_me:$LINENO: checking for size_t" >&5
36558 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36559 if test "${ac_cv_type_size_t+set}" = set; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 cat >conftest.$ac_ext <<_ACEOF
36565 cat confdefs.h >>conftest.$ac_ext
36566 cat >>conftest.$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36568 $ac_includes_default
36569 typedef size_t ac__type_new_;
36573 if ((ac__type_new_ *) 0)
36575 if (sizeof (ac__type_new_))
36581 rm -f conftest.$ac_objext
36582 if { (ac_try="$ac_compile"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_compile") 2>conftest.er1
36590 grep -v '^ *+' conftest.er1 >conftest.err
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest.$ac_objext; then
36598 ac_cv_type_size_t=yes
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36603 ac_cv_type_size_t=no
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36609 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36610 if test $ac_cv_type_size_t = yes; then
36614 cat >>confdefs.h <<_ACEOF
36615 #define size_t unsigned int
36620 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36621 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36622 if test "${ac_cv_type_uid_t+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 cat >conftest.$ac_ext <<_ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631 #include <sys/types.h>
36634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36635 $EGREP "uid_t" >/dev/null 2>&1; then
36636 ac_cv_type_uid_t=yes
36638 ac_cv_type_uid_t=no
36643 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36644 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36645 if test $ac_cv_type_uid_t = no; then
36647 cat >>confdefs.h <<\_ACEOF
36652 cat >>confdefs.h <<\_ACEOF
36659 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36660 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36661 if test "${ac_cv_type_ssize_t+set}" = set; then
36662 echo $ECHO_N "(cached) $ECHO_C" >&6
36664 cat >conftest.$ac_ext <<_ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 $ac_includes_default
36671 typedef ssize_t ac__type_new_;
36675 if ((ac__type_new_ *) 0)
36677 if (sizeof (ac__type_new_))
36683 rm -f conftest.$ac_objext
36684 if { (ac_try="$ac_compile"
36685 case "(($ac_try" in
36686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36687 *) ac_try_echo=$ac_try;;
36689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36690 (eval "$ac_compile") 2>conftest.er1
36692 grep -v '^ *+' conftest.er1 >conftest.err
36694 cat conftest.err >&5
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); } && {
36697 test -z "$ac_c_werror_flag" ||
36698 test ! -s conftest.err
36699 } && test -s conftest.$ac_objext; then
36700 ac_cv_type_ssize_t=yes
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 ac_cv_type_ssize_t=no
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36711 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36712 if test $ac_cv_type_ssize_t = yes; then
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_SSIZE_T 1
36723 ac_cpp='$CXXCPP $CPPFLAGS'
36724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36728 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36729 if test "${wx_cv_size_t_is_uint+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 cat >conftest.$ac_ext <<_ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739 #include <stddef.h>
36746 struct Foo { void foo(size_t); void foo(unsigned int); };
36754 rm -f conftest.$ac_objext
36755 if { (ac_try="$ac_compile"
36756 case "(($ac_try" in
36757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36758 *) ac_try_echo=$ac_try;;
36760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36761 (eval "$ac_compile") 2>conftest.er1
36763 grep -v '^ *+' conftest.er1 >conftest.err
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } && {
36768 test -z "$ac_cxx_werror_flag" ||
36769 test ! -s conftest.err
36770 } && test -s conftest.$ac_objext; then
36771 wx_cv_size_t_is_uint=no
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.$ac_ext >&5
36776 wx_cv_size_t_is_uint=yes
36780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36785 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36787 if test "$wx_cv_size_t_is_uint" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define wxSIZE_T_IS_UINT 1
36793 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36794 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36795 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 cat >conftest.$ac_ext <<_ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 #include <stddef.h>
36811 struct Foo { void foo(size_t); void foo(unsigned long); };
36819 rm -f conftest.$ac_objext
36820 if { (ac_try="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36828 grep -v '^ *+' conftest.er1 >conftest.err
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_cxx_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_size_t_is_ulong=no
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36841 wx_cv_size_t_is_ulong=yes
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36849 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36851 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853 #define wxSIZE_T_IS_ULONG 1
36859 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36860 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36861 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36862 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 cat >conftest.$ac_ext <<_ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36877 struct Foo { void foo(wchar_t);
36878 void foo(unsigned short);
36879 void foo(unsigned int);
36880 void foo(unsigned long); };
36888 rm -f conftest.$ac_objext
36889 if { (ac_try="$ac_compile"
36890 case "(($ac_try" in
36891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36892 *) ac_try_echo=$ac_try;;
36894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36895 (eval "$ac_compile") 2>conftest.er1
36897 grep -v '^ *+' conftest.er1 >conftest.err
36899 cat conftest.err >&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && {
36902 test -z "$ac_cxx_werror_flag" ||
36903 test ! -s conftest.err
36904 } && test -s conftest.$ac_objext; then
36905 wx_cv_wchar_t_is_separate_type=yes
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36910 wx_cv_wchar_t_is_separate_type=no
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36917 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36918 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36920 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36921 cat >>confdefs.h <<\_ACEOF
36922 #define wxWCHAR_T_IS_REAL_TYPE 1
36926 cat >>confdefs.h <<\_ACEOF
36927 #define wxWCHAR_T_IS_REAL_TYPE 0
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36940 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36941 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 cat >conftest.$ac_ext <<_ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36964 rm -f conftest.$ac_objext
36965 if { (ac_try="$ac_compile"
36966 case "(($ac_try" in
36967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36968 *) ac_try_echo=$ac_try;;
36970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36971 (eval "$ac_compile") 2>conftest.er1
36973 grep -v '^ *+' conftest.er1 >conftest.err
36975 cat conftest.err >&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } && {
36978 test -z "$ac_c_werror_flag" ||
36979 test ! -s conftest.err
36980 } && test -s conftest.$ac_objext; then
36982 wx_cv_struct_pw_gecos=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36989 wx_cv_struct_pw_gecos=no
36994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36998 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36999 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37001 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_PW_GECOS 1
37009 if test "$wxUSE_WCHAR_T" = "yes"; then
37010 cat >>confdefs.h <<\_ACEOF
37011 #define wxUSE_WCHAR_T 1
37018 for ac_func in wcslen
37020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 cat >conftest.$ac_ext <<_ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37034 #define $ac_func innocuous_$ac_func
37036 /* System header to define __stub macros and hopefully few prototypes,
37037 which can conflict with char $ac_func (); below.
37038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37039 <limits.h> exists even on freestanding compilers. */
37042 # include <limits.h>
37044 # include <assert.h>
37049 /* Override any GCC internal prototype to avoid an error.
37050 Use char because int might match the return type of a GCC
37051 builtin and then its argument prototype would still apply. */
37056 /* The GNU C library defines this for functions which it implements
37057 to always fail with ENOSYS. Some functions are actually named
37058 something starting with __ and the normal name is an alias. */
37059 #if defined __stub_$ac_func || defined __stub___$ac_func
37066 return $ac_func ();
37071 rm -f conftest.$ac_objext conftest$ac_exeext
37072 if { (ac_try="$ac_link"
37073 case "(($ac_try" in
37074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37075 *) ac_try_echo=$ac_try;;
37077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37078 (eval "$ac_link") 2>conftest.er1
37080 grep -v '^ *+' conftest.er1 >conftest.err
37082 cat conftest.err >&5
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); } && {
37085 test -z "$ac_c_werror_flag" ||
37086 test ! -s conftest.err
37087 } && test -s conftest$ac_exeext &&
37088 $as_test_x conftest$ac_exeext; then
37089 eval "$as_ac_var=yes"
37091 echo "$as_me: failed program was:" >&5
37092 sed 's/^/| /' conftest.$ac_ext >&5
37094 eval "$as_ac_var=no"
37097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37098 conftest$ac_exeext conftest.$ac_ext
37100 ac_res=`eval echo '${'$as_ac_var'}'`
37101 { echo "$as_me:$LINENO: result: $ac_res" >&5
37102 echo "${ECHO_T}$ac_res" >&6; }
37103 if test `eval echo '${'$as_ac_var'}'` = yes; then
37104 cat >>confdefs.h <<_ACEOF
37105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37112 if test "$WCSLEN_FOUND" = 0; then
37113 if test "$TOOLKIT" = "MSW"; then
37114 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37115 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37116 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 ac_check_lib_save_LIBS=$LIBS
37120 LIBS="-lmsvcrt $LIBS"
37121 cat >conftest.$ac_ext <<_ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37128 /* Override any GCC internal prototype to avoid an error.
37129 Use char because int might match the return type of a GCC
37130 builtin and then its argument prototype would still apply. */
37143 rm -f conftest.$ac_objext conftest$ac_exeext
37144 if { (ac_try="$ac_link"
37145 case "(($ac_try" in
37146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37147 *) ac_try_echo=$ac_try;;
37149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37150 (eval "$ac_link") 2>conftest.er1
37152 grep -v '^ *+' conftest.er1 >conftest.err
37154 cat conftest.err >&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); } && {
37157 test -z "$ac_c_werror_flag" ||
37158 test ! -s conftest.err
37159 } && test -s conftest$ac_exeext &&
37160 $as_test_x conftest$ac_exeext; then
37161 ac_cv_lib_msvcrt_wcslen=yes
37163 echo "$as_me: failed program was:" >&5
37164 sed 's/^/| /' conftest.$ac_ext >&5
37166 ac_cv_lib_msvcrt_wcslen=no
37169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37170 conftest$ac_exeext conftest.$ac_ext
37171 LIBS=$ac_check_lib_save_LIBS
37173 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37174 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37175 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37180 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37181 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37182 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37183 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 ac_check_lib_save_LIBS=$LIBS
37187 cat >conftest.$ac_ext <<_ACEOF
37190 cat confdefs.h >>conftest.$ac_ext
37191 cat >>conftest.$ac_ext <<_ACEOF
37192 /* end confdefs.h. */
37194 /* Override any GCC internal prototype to avoid an error.
37195 Use char because int might match the return type of a GCC
37196 builtin and then its argument prototype would still apply. */
37209 rm -f conftest.$ac_objext conftest$ac_exeext
37210 if { (ac_try="$ac_link"
37211 case "(($ac_try" in
37212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_link") 2>conftest.er1
37218 grep -v '^ *+' conftest.er1 >conftest.err
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_c_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest$ac_exeext &&
37226 $as_test_x conftest$ac_exeext; then
37227 ac_cv_lib_w_wcslen=yes
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37232 ac_cv_lib_w_wcslen=no
37235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37236 conftest$ac_exeext conftest.$ac_ext
37237 LIBS=$ac_check_lib_save_LIBS
37239 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37240 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37241 if test $ac_cv_lib_w_wcslen = yes; then
37251 if test "$WCSLEN_FOUND" = 1; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define HAVE_WCSLEN 1
37259 for ac_func in wcsdup
37261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37265 echo $ECHO_N "(cached) $ECHO_C" >&6
37267 cat >conftest.$ac_ext <<_ACEOF
37270 cat confdefs.h >>conftest.$ac_ext
37271 cat >>conftest.$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37275 #define $ac_func innocuous_$ac_func
37277 /* System header to define __stub macros and hopefully few prototypes,
37278 which can conflict with char $ac_func (); below.
37279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37280 <limits.h> exists even on freestanding compilers. */
37283 # include <limits.h>
37285 # include <assert.h>
37290 /* Override any GCC internal prototype to avoid an error.
37291 Use char because int might match the return type of a GCC
37292 builtin and then its argument prototype would still apply. */
37297 /* The GNU C library defines this for functions which it implements
37298 to always fail with ENOSYS. Some functions are actually named
37299 something starting with __ and the normal name is an alias. */
37300 #if defined __stub_$ac_func || defined __stub___$ac_func
37307 return $ac_func ();
37312 rm -f conftest.$ac_objext conftest$ac_exeext
37313 if { (ac_try="$ac_link"
37314 case "(($ac_try" in
37315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37316 *) ac_try_echo=$ac_try;;
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_link") 2>conftest.er1
37321 grep -v '^ *+' conftest.er1 >conftest.err
37323 cat conftest.err >&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_c_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest$ac_exeext &&
37329 $as_test_x conftest$ac_exeext; then
37330 eval "$as_ac_var=yes"
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37335 eval "$as_ac_var=no"
37338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37339 conftest$ac_exeext conftest.$ac_ext
37341 ac_res=`eval echo '${'$as_ac_var'}'`
37342 { echo "$as_me:$LINENO: result: $ac_res" >&5
37343 echo "${ECHO_T}$ac_res" >&6; }
37344 if test `eval echo '${'$as_ac_var'}'` = yes; then
37345 cat >>confdefs.h <<_ACEOF
37346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37353 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37354 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37357 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37358 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37359 if test "${ac_cv_type_mbstate_t+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37362 cat >conftest.$ac_ext <<_ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37370 typedef mbstate_t ac__type_new_;
37374 if ((ac__type_new_ *) 0)
37376 if (sizeof (ac__type_new_))
37382 rm -f conftest.$ac_objext
37383 if { (ac_try="$ac_compile"
37384 case "(($ac_try" in
37385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37386 *) ac_try_echo=$ac_try;;
37388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37389 (eval "$ac_compile") 2>conftest.er1
37391 grep -v '^ *+' conftest.er1 >conftest.err
37393 cat conftest.err >&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); } && {
37396 test -z "$ac_c_werror_flag" ||
37397 test ! -s conftest.err
37398 } && test -s conftest.$ac_objext; then
37399 ac_cv_type_mbstate_t=yes
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37404 ac_cv_type_mbstate_t=no
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37409 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37410 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37411 if test $ac_cv_type_mbstate_t = yes; then
37413 cat >>confdefs.h <<_ACEOF
37414 #define HAVE_MBSTATE_T 1
37418 for ac_func in wcsrtombs
37420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 cat >conftest.$ac_ext <<_ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37434 #define $ac_func innocuous_$ac_func
37436 /* System header to define __stub macros and hopefully few prototypes,
37437 which can conflict with char $ac_func (); below.
37438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37439 <limits.h> exists even on freestanding compilers. */
37442 # include <limits.h>
37444 # include <assert.h>
37449 /* Override any GCC internal prototype to avoid an error.
37450 Use char because int might match the return type of a GCC
37451 builtin and then its argument prototype would still apply. */
37456 /* The GNU C library defines this for functions which it implements
37457 to always fail with ENOSYS. Some functions are actually named
37458 something starting with __ and the normal name is an alias. */
37459 #if defined __stub_$ac_func || defined __stub___$ac_func
37466 return $ac_func ();
37471 rm -f conftest.$ac_objext conftest$ac_exeext
37472 if { (ac_try="$ac_link"
37473 case "(($ac_try" in
37474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37475 *) ac_try_echo=$ac_try;;
37477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37478 (eval "$ac_link") 2>conftest.er1
37480 grep -v '^ *+' conftest.er1 >conftest.err
37482 cat conftest.err >&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } && {
37485 test -z "$ac_c_werror_flag" ||
37486 test ! -s conftest.err
37487 } && test -s conftest$ac_exeext &&
37488 $as_test_x conftest$ac_exeext; then
37489 eval "$as_ac_var=yes"
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37494 eval "$as_ac_var=no"
37497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37498 conftest$ac_exeext conftest.$ac_ext
37500 ac_res=`eval echo '${'$as_ac_var'}'`
37501 { echo "$as_me:$LINENO: result: $ac_res" >&5
37502 echo "${ECHO_T}$ac_res" >&6; }
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504 cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37514 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37515 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37520 for ac_func in snprintf vsnprintf
37522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37528 cat >conftest.$ac_ext <<_ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37536 #define $ac_func innocuous_$ac_func
37538 /* System header to define __stub macros and hopefully few prototypes,
37539 which can conflict with char $ac_func (); below.
37540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37541 <limits.h> exists even on freestanding compilers. */
37544 # include <limits.h>
37546 # include <assert.h>
37551 /* Override any GCC internal prototype to avoid an error.
37552 Use char because int might match the return type of a GCC
37553 builtin and then its argument prototype would still apply. */
37558 /* The GNU C library defines this for functions which it implements
37559 to always fail with ENOSYS. Some functions are actually named
37560 something starting with __ and the normal name is an alias. */
37561 #if defined __stub_$ac_func || defined __stub___$ac_func
37568 return $ac_func ();
37573 rm -f conftest.$ac_objext conftest$ac_exeext
37574 if { (ac_try="$ac_link"
37575 case "(($ac_try" in
37576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37577 *) ac_try_echo=$ac_try;;
37579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37580 (eval "$ac_link") 2>conftest.er1
37582 grep -v '^ *+' conftest.er1 >conftest.err
37584 cat conftest.err >&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } && {
37587 test -z "$ac_c_werror_flag" ||
37588 test ! -s conftest.err
37589 } && test -s conftest$ac_exeext &&
37590 $as_test_x conftest$ac_exeext; then
37591 eval "$as_ac_var=yes"
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.$ac_ext >&5
37596 eval "$as_ac_var=no"
37599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37600 conftest$ac_exeext conftest.$ac_ext
37602 ac_res=`eval echo '${'$as_ac_var'}'`
37603 { echo "$as_me:$LINENO: result: $ac_res" >&5
37604 echo "${ECHO_T}$ac_res" >&6; }
37605 if test `eval echo '${'$as_ac_var'}'` = yes; then
37606 cat >>confdefs.h <<_ACEOF
37607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37614 if test "$ac_cv_func_vsnprintf" = "yes"; then
37615 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37616 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37617 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 cat >conftest.$ac_ext <<_ACEOF
37624 cat confdefs.h >>conftest.$ac_ext
37625 cat >>conftest.$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37629 #include <stdarg.h>
37631 #if __MSL__ >= 0x6000
37633 using namespace std;
37643 vsnprintf(buf, 10u, "%s", ap);
37649 rm -f conftest.$ac_objext
37650 if { (ac_try="$ac_compile"
37651 case "(($ac_try" in
37652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37653 *) ac_try_echo=$ac_try;;
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_compile") 2>conftest.er1
37658 grep -v '^ *+' conftest.er1 >conftest.err
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_c_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest.$ac_objext; then
37666 wx_cv_func_vsnprintf_decl=yes
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37671 wx_cv_func_vsnprintf_decl=no
37675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37679 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37680 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37682 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37683 cat >>confdefs.h <<\_ACEOF
37684 #define HAVE_VSNPRINTF_DECL 1
37688 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37689 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37690 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37694 cat >conftest.$ac_ext <<_ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37702 #include <stdarg.h>
37704 #if __MSL__ >= 0x6000
37706 using namespace std;
37716 const char *fmt = "%s";
37717 vsnprintf(buf, 10u, fmt, ap);
37723 rm -f conftest.$ac_objext
37724 if { (ac_try="$ac_compile"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_compile") 2>conftest.er1
37732 grep -v '^ *+' conftest.er1 >conftest.err
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } && {
37737 test -z "$ac_c_werror_flag" ||
37738 test ! -s conftest.err
37739 } && test -s conftest.$ac_objext; then
37740 wx_cv_func_broken_vsnprintf_decl=no
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37745 wx_cv_func_broken_vsnprintf_decl=yes
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37753 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37754 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37756 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37757 cat >>confdefs.h <<\_ACEOF
37758 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37765 if test "$ac_cv_func_snprintf" = "yes"; then
37766 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37767 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37768 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37769 echo $ECHO_N "(cached) $ECHO_C" >&6
37772 cat >conftest.$ac_ext <<_ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37780 #include <stdarg.h>
37782 #if __MSL__ >= 0x6000
37784 using namespace std;
37793 snprintf(buf, 10u, "%s", "wx");
37799 rm -f conftest.$ac_objext
37800 if { (ac_try="$ac_compile"
37801 case "(($ac_try" in
37802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37803 *) ac_try_echo=$ac_try;;
37805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37806 (eval "$ac_compile") 2>conftest.er1
37808 grep -v '^ *+' conftest.er1 >conftest.err
37810 cat conftest.err >&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } && {
37813 test -z "$ac_c_werror_flag" ||
37814 test ! -s conftest.err
37815 } && test -s conftest.$ac_objext; then
37816 wx_cv_func_snprintf_decl=yes
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37821 wx_cv_func_snprintf_decl=no
37825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37830 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37832 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37833 cat >>confdefs.h <<\_ACEOF
37834 #define HAVE_SNPRINTF_DECL 1
37838 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37839 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37840 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37841 echo $ECHO_N "(cached) $ECHO_C" >&6
37844 cat >conftest.$ac_ext <<_ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37852 #include <stdarg.h>
37854 #if __MSL__ >= 0x6000
37856 using namespace std;
37865 const char *fmt = "%s";
37866 snprintf(buf, 10u, fmt, "wx");
37872 rm -f conftest.$ac_objext
37873 if { (ac_try="$ac_compile"
37874 case "(($ac_try" in
37875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37876 *) ac_try_echo=$ac_try;;
37878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37879 (eval "$ac_compile") 2>conftest.er1
37881 grep -v '^ *+' conftest.er1 >conftest.err
37883 cat conftest.err >&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } && {
37886 test -z "$ac_c_werror_flag" ||
37887 test ! -s conftest.err
37888 } && test -s conftest.$ac_objext; then
37889 wx_cv_func_broken_snprintf_decl=no
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37894 wx_cv_func_broken_snprintf_decl=yes
37898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37902 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37903 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37905 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37906 cat >>confdefs.h <<\_ACEOF
37907 #define HAVE_BROKEN_SNPRINTF_DECL 1
37913 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37915 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37916 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37917 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 if test "$cross_compiling" = yes; then
37923 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37924 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37925 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37926 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37927 wx_cv_func_snprintf_pos_params=no
37931 cat >conftest.$ac_ext <<_ACEOF
37934 cat confdefs.h >>conftest.$ac_ext
37935 cat >>conftest.$ac_ext <<_ACEOF
37936 /* end confdefs.h. */
37943 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37944 if (strcmp ("2 3 1", buffer) == 0)
37950 rm -f conftest$ac_exeext
37951 if { (ac_try="$ac_link"
37952 case "(($ac_try" in
37953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37954 *) ac_try_echo=$ac_try;;
37956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37957 (eval "$ac_link") 2>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37961 { (case "(($ac_try" in
37962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37963 *) ac_try_echo=$ac_try;;
37965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37966 (eval "$ac_try") 2>&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; }; then
37970 wx_cv_func_snprintf_pos_params=no
37972 echo "$as_me: program exited with status $ac_status" >&5
37973 echo "$as_me: failed program was:" >&5
37974 sed 's/^/| /' conftest.$ac_ext >&5
37976 ( exit $ac_status )
37977 wx_cv_func_snprintf_pos_params=yes
37979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37986 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37987 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37989 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37990 cat >>confdefs.h <<\_ACEOF
37991 #define HAVE_UNIX98_PRINTF 1
37998 if test "$wxUSE_UNICODE" = yes; then
38001 for ac_func in swprintf
38003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 cat >conftest.$ac_ext <<_ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38017 #define $ac_func innocuous_$ac_func
38019 /* System header to define __stub macros and hopefully few prototypes,
38020 which can conflict with char $ac_func (); below.
38021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38022 <limits.h> exists even on freestanding compilers. */
38025 # include <limits.h>
38027 # include <assert.h>
38032 /* Override any GCC internal prototype to avoid an error.
38033 Use char because int might match the return type of a GCC
38034 builtin and then its argument prototype would still apply. */
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined __stub_$ac_func || defined __stub___$ac_func
38049 return $ac_func ();
38054 rm -f conftest.$ac_objext conftest$ac_exeext
38055 if { (ac_try="$ac_link"
38056 case "(($ac_try" in
38057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38058 *) ac_try_echo=$ac_try;;
38060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38061 (eval "$ac_link") 2>conftest.er1
38063 grep -v '^ *+' conftest.er1 >conftest.err
38065 cat conftest.err >&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } && {
38068 test -z "$ac_c_werror_flag" ||
38069 test ! -s conftest.err
38070 } && test -s conftest$ac_exeext &&
38071 $as_test_x conftest$ac_exeext; then
38072 eval "$as_ac_var=yes"
38074 echo "$as_me: failed program was:" >&5
38075 sed 's/^/| /' conftest.$ac_ext >&5
38077 eval "$as_ac_var=no"
38080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38081 conftest$ac_exeext conftest.$ac_ext
38083 ac_res=`eval echo '${'$as_ac_var'}'`
38084 { echo "$as_me:$LINENO: result: $ac_res" >&5
38085 echo "${ECHO_T}$ac_res" >&6; }
38086 if test `eval echo '${'$as_ac_var'}'` = yes; then
38087 cat >>confdefs.h <<_ACEOF
38088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38095 if test "$ac_cv_func_swprintf" = "yes"; then
38096 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38097 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38098 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38102 cat >conftest.$ac_ext <<_ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38110 #include <stdarg.h>
38118 const wchar_t *fmt = L"test";
38119 swprintf(buf, 10u, fmt);
38125 rm -f conftest.$ac_objext
38126 if { (ac_try="$ac_compile"
38127 case "(($ac_try" in
38128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38129 *) ac_try_echo=$ac_try;;
38131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38132 (eval "$ac_compile") 2>conftest.er1
38134 grep -v '^ *+' conftest.er1 >conftest.err
38136 cat conftest.err >&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); } && {
38139 test -z "$ac_c_werror_flag" ||
38140 test ! -s conftest.err
38141 } && test -s conftest.$ac_objext; then
38142 wx_cv_func_broken_swprintf_decl=no
38144 echo "$as_me: failed program was:" >&5
38145 sed 's/^/| /' conftest.$ac_ext >&5
38147 wx_cv_func_broken_swprintf_decl=yes
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38155 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38156 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38158 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38159 cat >>confdefs.h <<\_ACEOF
38160 #define HAVE_BROKEN_SWPRINTF_DECL 1
38166 wchar_headers="#include <stdio.h>
38167 #include <wchar.h>"
38171 for ac_header in widec.h
38173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38177 echo $ECHO_N "(cached) $ECHO_C" >&6
38179 cat >conftest.$ac_ext <<_ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185 $ac_includes_default
38187 #include <$ac_header>
38189 rm -f conftest.$ac_objext
38190 if { (ac_try="$ac_compile"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38193 *) ac_try_echo=$ac_try;;
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_compile") 2>conftest.er1
38198 grep -v '^ *+' conftest.er1 >conftest.err
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest.$ac_objext; then
38206 eval "$as_ac_Header=yes"
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.$ac_ext >&5
38211 eval "$as_ac_Header=no"
38214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38216 ac_res=`eval echo '${'$as_ac_Header'}'`
38217 { echo "$as_me:$LINENO: result: $ac_res" >&5
38218 echo "${ECHO_T}$ac_res" >&6; }
38219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38220 cat >>confdefs.h <<_ACEOF
38221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38228 if test "$ac_cv_header_widec_h" = "yes"; then
38229 wchar_headers="$wchar_headers
38230 #include <widec.h>"
38235 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38237 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38238 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38239 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38240 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 cat >conftest.$ac_ext <<_ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38252 $ac_includes_default
38268 rm -f conftest.$ac_objext conftest$ac_exeext
38269 if { (ac_try="$ac_link"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38272 *) ac_try_echo=$ac_try;;
38274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_link") 2>conftest.er1
38277 grep -v '^ *+' conftest.er1 >conftest.err
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest$ac_exeext &&
38285 $as_test_x conftest$ac_exeext; then
38286 eval wx_cv_func_$wx_func=yes
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38291 eval wx_cv_func_$wx_func=no
38294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38295 conftest$ac_exeext conftest.$ac_ext
38298 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38299 { echo "$as_me:$LINENO: result: $ac_res" >&5
38300 echo "${ECHO_T}$ac_res" >&6; }
38302 if eval test \$wx_cv_func_$wx_func = yes
38304 cat >>confdefs.h <<_ACEOF
38305 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38316 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38317 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38318 cat >conftest.$ac_ext <<_ACEOF
38321 cat confdefs.h >>conftest.$ac_ext
38322 cat >>conftest.$ac_ext <<_ACEOF
38323 /* end confdefs.h. */
38333 rm -f conftest.$ac_objext
38334 if { (ac_try="$ac_compile"
38335 case "(($ac_try" in
38336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38337 *) ac_try_echo=$ac_try;;
38339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38340 (eval "$ac_compile") 2>conftest.er1
38342 grep -v '^ *+' conftest.er1 >conftest.err
38344 cat conftest.err >&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); } && {
38347 test -z "$ac_c_werror_flag" ||
38348 test ! -s conftest.err
38349 } && test -s conftest.$ac_objext; then
38350 { echo "$as_me:$LINENO: result: yes" >&5
38351 echo "${ECHO_T}yes" >&6; }
38352 cat >>confdefs.h <<\_ACEOF
38353 #define HAVE__VSNWPRINTF 1
38357 echo "$as_me: failed program was:" >&5
38358 sed 's/^/| /' conftest.$ac_ext >&5
38360 { echo "$as_me:$LINENO: result: no" >&5
38361 echo "${ECHO_T}no" >&6; }
38364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38367 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38369 for wx_func in fnmatch
38371 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38372 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38373 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 cat >conftest.$ac_ext <<_ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38385 #include <fnmatch.h>
38386 $ac_includes_default
38402 rm -f conftest.$ac_objext conftest$ac_exeext
38403 if { (ac_try="$ac_link"
38404 case "(($ac_try" in
38405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38406 *) ac_try_echo=$ac_try;;
38408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38409 (eval "$ac_link") 2>conftest.er1
38411 grep -v '^ *+' conftest.er1 >conftest.err
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); } && {
38416 test -z "$ac_c_werror_flag" ||
38417 test ! -s conftest.err
38418 } && test -s conftest$ac_exeext &&
38419 $as_test_x conftest$ac_exeext; then
38420 eval wx_cv_func_$wx_func=yes
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38425 eval wx_cv_func_$wx_func=no
38428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38429 conftest$ac_exeext conftest.$ac_ext
38432 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38433 { echo "$as_me:$LINENO: result: $ac_res" >&5
38434 echo "${ECHO_T}$ac_res" >&6; }
38436 if eval test \$wx_cv_func_$wx_func = yes
38438 cat >>confdefs.h <<_ACEOF
38439 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38451 if test "$wxUSE_FILE" = "yes"; then
38453 for wx_func in fsync
38455 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38456 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38457 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 cat >conftest.$ac_ext <<_ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38470 $ac_includes_default
38486 rm -f conftest.$ac_objext conftest$ac_exeext
38487 if { (ac_try="$ac_link"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_link") 2>conftest.er1
38495 grep -v '^ *+' conftest.er1 >conftest.err
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_c_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest$ac_exeext &&
38503 $as_test_x conftest$ac_exeext; then
38504 eval wx_cv_func_$wx_func=yes
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38509 eval wx_cv_func_$wx_func=no
38512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38513 conftest$ac_exeext conftest.$ac_ext
38516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38520 if eval test \$wx_cv_func_$wx_func = yes
38522 cat >>confdefs.h <<_ACEOF
38523 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542 for wx_func in round
38544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 cat >conftest.$ac_ext <<_ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38559 $ac_includes_default
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (ac_try="$ac_link"
38577 case "(($ac_try" in
38578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38579 *) ac_try_echo=$ac_try;;
38581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38582 (eval "$ac_link") 2>conftest.er1
38584 grep -v '^ *+' conftest.er1 >conftest.err
38586 cat conftest.err >&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } && {
38589 test -z "$ac_cxx_werror_flag" ||
38590 test ! -s conftest.err
38591 } && test -s conftest$ac_exeext &&
38592 $as_test_x conftest$ac_exeext; then
38593 eval wx_cv_func_$wx_func=yes
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38598 eval wx_cv_func_$wx_func=no
38601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38602 conftest$ac_exeext conftest.$ac_ext
38605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38606 { echo "$as_me:$LINENO: result: $ac_res" >&5
38607 echo "${ECHO_T}$ac_res" >&6; }
38609 if eval test \$wx_cv_func_$wx_func = yes
38611 cat >>confdefs.h <<_ACEOF
38612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38629 if test "$TOOLKIT" != "MSW"; then
38635 # Check whether --with-libiconv-prefix was given.
38636 if test "${with_libiconv_prefix+set}" = set; then
38637 withval=$with_libiconv_prefix;
38638 for dir in `echo "$withval" | tr : ' '`; do
38639 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38640 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38646 { echo "$as_me:$LINENO: checking for iconv" >&5
38647 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38648 if test "${am_cv_func_iconv+set}" = set; then
38649 echo $ECHO_N "(cached) $ECHO_C" >&6
38652 am_cv_func_iconv="no, consider installing GNU libiconv"
38654 cat >conftest.$ac_ext <<_ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660 #include <stdlib.h>
38665 iconv_t cd = iconv_open("","");
38666 iconv(cd,NULL,NULL,NULL,NULL);
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38676 *) ac_try_echo=$ac_try;;
38678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38681 grep -v '^ *+' conftest.er1 >conftest.err
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest$ac_exeext &&
38689 $as_test_x conftest$ac_exeext; then
38690 am_cv_func_iconv=yes
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38700 if test "$am_cv_func_iconv" != yes; then
38701 am_save_LIBS="$LIBS"
38702 LIBS="$LIBS -liconv"
38703 cat >conftest.$ac_ext <<_ACEOF
38706 cat confdefs.h >>conftest.$ac_ext
38707 cat >>conftest.$ac_ext <<_ACEOF
38708 /* end confdefs.h. */
38709 #include <stdlib.h>
38714 iconv_t cd = iconv_open("","");
38715 iconv(cd,NULL,NULL,NULL,NULL);
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (ac_try="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38730 grep -v '^ *+' conftest.er1 >conftest.err
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest$ac_exeext &&
38738 $as_test_x conftest$ac_exeext; then
38739 am_cv_lib_iconv=yes
38740 am_cv_func_iconv=yes
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38749 conftest$ac_exeext conftest.$ac_ext
38750 LIBS="$am_save_LIBS"
38754 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38755 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38756 if test "$am_cv_func_iconv" = yes; then
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_ICONV 1
38762 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38763 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38764 if test "${wx_cv_func_iconv_const+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 cat >conftest.$ac_ext <<_ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38774 #include <stdlib.h>
38780 #if defined(__STDC__) || defined(__cplusplus)
38781 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38794 rm -f conftest.$ac_objext
38795 if { (ac_try="$ac_compile"
38796 case "(($ac_try" in
38797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38798 *) ac_try_echo=$ac_try;;
38800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38801 (eval "$ac_compile") 2>conftest.er1
38803 grep -v '^ *+' conftest.er1 >conftest.err
38805 cat conftest.err >&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } && {
38808 test -z "$ac_c_werror_flag" ||
38809 test ! -s conftest.err
38810 } && test -s conftest.$ac_objext; then
38811 wx_cv_func_iconv_const="no"
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.$ac_ext >&5
38816 wx_cv_func_iconv_const="yes"
38820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38823 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38824 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38827 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38828 iconv_const="const"
38832 cat >>confdefs.h <<_ACEOF
38833 #define ICONV_CONST $iconv_const
38838 if test "$am_cv_lib_iconv" = yes; then
38843 LIBS="$LIBICONV $LIBS"
38845 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38847 for ac_func in sigaction
38849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 cat >conftest.$ac_ext <<_ACEOF
38858 cat confdefs.h >>conftest.$ac_ext
38859 cat >>conftest.$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38863 #define $ac_func innocuous_$ac_func
38865 /* System header to define __stub macros and hopefully few prototypes,
38866 which can conflict with char $ac_func (); below.
38867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38868 <limits.h> exists even on freestanding compilers. */
38871 # include <limits.h>
38873 # include <assert.h>
38878 /* Override any GCC internal prototype to avoid an error.
38879 Use char because int might match the return type of a GCC
38880 builtin and then its argument prototype would still apply. */
38885 /* The GNU C library defines this for functions which it implements
38886 to always fail with ENOSYS. Some functions are actually named
38887 something starting with __ and the normal name is an alias. */
38888 #if defined __stub_$ac_func || defined __stub___$ac_func
38895 return $ac_func ();
38900 rm -f conftest.$ac_objext conftest$ac_exeext
38901 if { (ac_try="$ac_link"
38902 case "(($ac_try" in
38903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38904 *) ac_try_echo=$ac_try;;
38906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38907 (eval "$ac_link") 2>conftest.er1
38909 grep -v '^ *+' conftest.er1 >conftest.err
38911 cat conftest.err >&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } && {
38914 test -z "$ac_c_werror_flag" ||
38915 test ! -s conftest.err
38916 } && test -s conftest$ac_exeext &&
38917 $as_test_x conftest$ac_exeext; then
38918 eval "$as_ac_var=yes"
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38923 eval "$as_ac_var=no"
38926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38927 conftest$ac_exeext conftest.$ac_ext
38929 ac_res=`eval echo '${'$as_ac_var'}'`
38930 { echo "$as_me:$LINENO: result: $ac_res" >&5
38931 echo "${ECHO_T}$ac_res" >&6; }
38932 if test `eval echo '${'$as_ac_var'}'` = yes; then
38933 cat >>confdefs.h <<_ACEOF
38934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38941 if test "$ac_cv_func_sigaction" = "no"; then
38942 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38943 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38944 wxUSE_ON_FATAL_EXCEPTION=no
38947 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38948 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38949 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38950 if test "${wx_cv_type_sa_handler+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38955 ac_cpp='$CXXCPP $CPPFLAGS'
38956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38960 cat >conftest.$ac_ext <<_ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 #include <signal.h>
38971 extern void testSigHandler(int);
38973 struct sigaction sa;
38974 sa.sa_handler = testSigHandler;
38980 rm -f conftest.$ac_objext
38981 if { (ac_try="$ac_compile"
38982 case "(($ac_try" in
38983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38984 *) ac_try_echo=$ac_try;;
38986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38987 (eval "$ac_compile") 2>conftest.er1
38989 grep -v '^ *+' conftest.er1 >conftest.err
38991 cat conftest.err >&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); } && {
38994 test -z "$ac_cxx_werror_flag" ||
38995 test ! -s conftest.err
38996 } && test -s conftest.$ac_objext; then
38998 wx_cv_type_sa_handler=int
39001 echo "$as_me: failed program was:" >&5
39002 sed 's/^/| /' conftest.$ac_ext >&5
39005 wx_cv_type_sa_handler=void
39009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39011 ac_cpp='$CPP $CPPFLAGS'
39012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39018 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39019 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39021 cat >>confdefs.h <<_ACEOF
39022 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39028 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39029 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39030 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39031 if test "${wx_cv_func_backtrace+set}" = set; then
39032 echo $ECHO_N "(cached) $ECHO_C" >&6
39036 ac_cpp='$CXXCPP $CPPFLAGS'
39037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39041 cat >conftest.$ac_ext <<_ACEOF
39044 cat confdefs.h >>conftest.$ac_ext
39045 cat >>conftest.$ac_ext <<_ACEOF
39046 /* end confdefs.h. */
39047 #include <execinfo.h>
39055 backtrace(trace, 1);
39056 messages = backtrace_symbols(trace, 1);
39062 rm -f conftest.$ac_objext
39063 if { (ac_try="$ac_compile"
39064 case "(($ac_try" in
39065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39066 *) ac_try_echo=$ac_try;;
39068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39069 (eval "$ac_compile") 2>conftest.er1
39071 grep -v '^ *+' conftest.er1 >conftest.err
39073 cat conftest.err >&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } && {
39076 test -z "$ac_cxx_werror_flag" ||
39077 test ! -s conftest.err
39078 } && test -s conftest.$ac_objext; then
39079 wx_cv_func_backtrace=yes
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39084 wx_cv_func_backtrace=no
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39098 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39099 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39102 if test "$wx_cv_func_backtrace" = "no"; then
39103 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39104 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39105 wxUSE_STACKWALKER=no
39107 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39108 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39109 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39114 ac_cpp='$CXXCPP $CPPFLAGS'
39115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39119 cat >conftest.$ac_ext <<_ACEOF
39122 cat confdefs.h >>conftest.$ac_ext
39123 cat >>conftest.$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39125 #include <cxxabi.h>
39131 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39137 rm -f conftest.$ac_objext conftest$ac_exeext
39138 if { (ac_try="$ac_link"
39139 case "(($ac_try" in
39140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39141 *) ac_try_echo=$ac_try;;
39143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39144 (eval "$ac_link") 2>conftest.er1
39146 grep -v '^ *+' conftest.er1 >conftest.err
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } && {
39151 test -z "$ac_cxx_werror_flag" ||
39152 test ! -s conftest.err
39153 } && test -s conftest$ac_exeext &&
39154 $as_test_x conftest$ac_exeext; then
39155 wx_cv_func_cxa_demangle=yes
39157 echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39160 wx_cv_func_cxa_demangle=no
39164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39165 conftest$ac_exeext conftest.$ac_ext
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39175 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39176 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39178 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39179 cat >>confdefs.h <<\_ACEOF
39180 #define HAVE_CXA_DEMANGLE 1
39187 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39188 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39189 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39190 wxUSE_STACKWALKER=no
39196 for ac_func in mkstemp mktemp
39198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39199 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39201 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 cat >conftest.$ac_ext <<_ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define $ac_func innocuous_$ac_func
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char $ac_func (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39220 # include <limits.h>
39222 # include <assert.h>
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined __stub_$ac_func || defined __stub___$ac_func
39244 return $ac_func ();
39249 rm -f conftest.$ac_objext conftest$ac_exeext
39250 if { (ac_try="$ac_link"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_link") 2>conftest.er1
39258 grep -v '^ *+' conftest.er1 >conftest.err
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_c_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest$ac_exeext &&
39266 $as_test_x conftest$ac_exeext; then
39267 eval "$as_ac_var=yes"
39269 echo "$as_me: failed program was:" >&5
39270 sed 's/^/| /' conftest.$ac_ext >&5
39272 eval "$as_ac_var=no"
39275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39276 conftest$ac_exeext conftest.$ac_ext
39278 ac_res=`eval echo '${'$as_ac_var'}'`
39279 { echo "$as_me:$LINENO: result: $ac_res" >&5
39280 echo "${ECHO_T}$ac_res" >&6; }
39281 if test `eval echo '${'$as_ac_var'}'` = yes; then
39282 cat >>confdefs.h <<_ACEOF
39283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39290 { echo "$as_me:$LINENO: checking for statfs" >&5
39291 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39292 if test "${wx_cv_func_statfs+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39295 cat >conftest.$ac_ext <<_ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39302 #if defined(__BSD__)
39303 #include <sys/param.h>
39304 #include <sys/mount.h>
39306 #include <sys/vfs.h>
39324 rm -f conftest.$ac_objext
39325 if { (ac_try="$ac_compile"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39328 *) ac_try_echo=$ac_try;;
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_compile") 2>conftest.er1
39333 grep -v '^ *+' conftest.er1 >conftest.err
39335 cat conftest.err >&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest.$ac_objext; then
39341 wx_cv_func_statfs=yes
39343 echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.$ac_ext >&5
39346 wx_cv_func_statfs=no
39350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39354 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39356 if test "$wx_cv_func_statfs" = "yes"; then
39357 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39358 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39359 if test "${wx_cv_func_statfs_decl+set}" = set; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 ac_cpp='$CXXCPP $CPPFLAGS'
39364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39368 cat >conftest.$ac_ext <<_ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39375 #if defined(__BSD__)
39376 #include <sys/param.h>
39377 #include <sys/mount.h>
39379 #include <sys/vfs.h>
39393 rm -f conftest.$ac_objext
39394 if { (ac_try="$ac_compile"
39395 case "(($ac_try" in
39396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39397 *) ac_try_echo=$ac_try;;
39399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39400 (eval "$ac_compile") 2>conftest.er1
39402 grep -v '^ *+' conftest.er1 >conftest.err
39404 cat conftest.err >&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); } && {
39407 test -z "$ac_cxx_werror_flag" ||
39408 test ! -s conftest.err
39409 } && test -s conftest.$ac_objext; then
39410 wx_cv_func_statfs_decl=yes
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39415 wx_cv_func_statfs_decl=no
39419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39421 ac_cpp='$CPP $CPPFLAGS'
39422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39428 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39429 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39431 if test "$wx_cv_func_statfs_decl" = "yes"; then
39432 cat >>confdefs.h <<\_ACEOF
39433 #define HAVE_STATFS_DECL 1
39438 wx_cv_type_statvfs_t="struct statfs"
39439 cat >>confdefs.h <<\_ACEOF
39440 #define HAVE_STATFS 1
39444 { echo "$as_me:$LINENO: checking for statvfs" >&5
39445 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39446 if test "${wx_cv_func_statvfs+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 cat >conftest.$ac_ext <<_ACEOF
39452 cat confdefs.h >>conftest.$ac_ext
39453 cat >>conftest.$ac_ext <<_ACEOF
39454 /* end confdefs.h. */
39456 #include <stddef.h>
39457 #include <sys/statvfs.h>
39463 statvfs("/", NULL);
39469 rm -f conftest.$ac_objext
39470 if { (ac_try="$ac_compile"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39473 *) ac_try_echo=$ac_try;;
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_compile") 2>conftest.er1
39478 grep -v '^ *+' conftest.er1 >conftest.err
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest.$ac_objext; then
39486 wx_cv_func_statvfs=yes
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39491 wx_cv_func_statvfs=no
39495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39499 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39501 if test "$wx_cv_func_statvfs" = "yes"; then
39502 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39503 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39504 if test "${wx_cv_type_statvfs_t+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 ac_cpp='$CXXCPP $CPPFLAGS'
39509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39513 cat >conftest.$ac_ext <<_ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39520 #include <sys/statvfs.h>
39537 rm -f conftest.$ac_objext
39538 if { (ac_try="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39546 grep -v '^ *+' conftest.er1 >conftest.err
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_cxx_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.$ac_objext; then
39554 wx_cv_type_statvfs_t=statvfs_t
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39560 cat >conftest.$ac_ext <<_ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39567 #include <sys/statvfs.h>
39584 rm -f conftest.$ac_objext
39585 if { (ac_try="$ac_compile"
39586 case "(($ac_try" in
39587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39588 *) ac_try_echo=$ac_try;;
39590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39591 (eval "$ac_compile") 2>conftest.er1
39593 grep -v '^ *+' conftest.er1 >conftest.err
39595 cat conftest.err >&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); } && {
39598 test -z "$ac_cxx_werror_flag" ||
39599 test ! -s conftest.err
39600 } && test -s conftest.$ac_objext; then
39601 wx_cv_type_statvfs_t="struct statvfs"
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.$ac_ext >&5
39606 wx_cv_type_statvfs_t="unknown"
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39624 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39625 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39627 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39628 cat >>confdefs.h <<\_ACEOF
39629 #define HAVE_STATVFS 1
39634 wx_cv_type_statvfs_t="unknown"
39638 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39639 cat >>confdefs.h <<_ACEOF
39640 #define WX_STATFS_T $wx_cv_type_statvfs_t
39644 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39645 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39648 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39651 for ac_func in fcntl flock
39653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 cat >conftest.$ac_ext <<_ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39667 #define $ac_func innocuous_$ac_func
39669 /* System header to define __stub macros and hopefully few prototypes,
39670 which can conflict with char $ac_func (); below.
39671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39672 <limits.h> exists even on freestanding compilers. */
39675 # include <limits.h>
39677 # include <assert.h>
39682 /* Override any GCC internal prototype to avoid an error.
39683 Use char because int might match the return type of a GCC
39684 builtin and then its argument prototype would still apply. */
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined __stub_$ac_func || defined __stub___$ac_func
39699 return $ac_func ();
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39713 grep -v '^ *+' conftest.er1 >conftest.err
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest$ac_exeext &&
39721 $as_test_x conftest$ac_exeext; then
39722 eval "$as_ac_var=yes"
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39727 eval "$as_ac_var=no"
39730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39731 conftest$ac_exeext conftest.$ac_ext
39733 ac_res=`eval echo '${'$as_ac_var'}'`
39734 { echo "$as_me:$LINENO: result: $ac_res" >&5
39735 echo "${ECHO_T}$ac_res" >&6; }
39736 if test `eval echo '${'$as_ac_var'}'` = yes; then
39737 cat >>confdefs.h <<_ACEOF
39738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39745 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39746 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39747 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39748 wxUSE_SNGLINST_CHECKER=no
39753 for ac_func in timegm
39755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 cat >conftest.$ac_ext <<_ACEOF
39764 cat confdefs.h >>conftest.$ac_ext
39765 cat >>conftest.$ac_ext <<_ACEOF
39766 /* end confdefs.h. */
39767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39769 #define $ac_func innocuous_$ac_func
39771 /* System header to define __stub macros and hopefully few prototypes,
39772 which can conflict with char $ac_func (); below.
39773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39774 <limits.h> exists even on freestanding compilers. */
39777 # include <limits.h>
39779 # include <assert.h>
39784 /* Override any GCC internal prototype to avoid an error.
39785 Use char because int might match the return type of a GCC
39786 builtin and then its argument prototype would still apply. */
39791 /* The GNU C library defines this for functions which it implements
39792 to always fail with ENOSYS. Some functions are actually named
39793 something starting with __ and the normal name is an alias. */
39794 #if defined __stub_$ac_func || defined __stub___$ac_func
39801 return $ac_func ();
39806 rm -f conftest.$ac_objext conftest$ac_exeext
39807 if { (ac_try="$ac_link"
39808 case "(($ac_try" in
39809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39810 *) ac_try_echo=$ac_try;;
39812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39813 (eval "$ac_link") 2>conftest.er1
39815 grep -v '^ *+' conftest.er1 >conftest.err
39817 cat conftest.err >&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); } && {
39820 test -z "$ac_c_werror_flag" ||
39821 test ! -s conftest.err
39822 } && test -s conftest$ac_exeext &&
39823 $as_test_x conftest$ac_exeext; then
39824 eval "$as_ac_var=yes"
39826 echo "$as_me: failed program was:" >&5
39827 sed 's/^/| /' conftest.$ac_ext >&5
39829 eval "$as_ac_var=no"
39832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39833 conftest$ac_exeext conftest.$ac_ext
39835 ac_res=`eval echo '${'$as_ac_var'}'`
39836 { echo "$as_me:$LINENO: result: $ac_res" >&5
39837 echo "${ECHO_T}$ac_res" >&6; }
39838 if test `eval echo '${'$as_ac_var'}'` = yes; then
39839 cat >>confdefs.h <<_ACEOF
39840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39849 for ac_func in setenv putenv
39851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39857 cat >conftest.$ac_ext <<_ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define $ac_func innocuous_$ac_func
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char $ac_func (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39873 # include <limits.h>
39875 # include <assert.h>
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_$ac_func || defined __stub___$ac_func
39897 return $ac_func ();
39902 rm -f conftest.$ac_objext conftest$ac_exeext
39903 if { (ac_try="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39906 *) ac_try_echo=$ac_try;;
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39911 grep -v '^ *+' conftest.er1 >conftest.err
39913 cat conftest.err >&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest$ac_exeext &&
39919 $as_test_x conftest$ac_exeext; then
39920 eval "$as_ac_var=yes"
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39925 eval "$as_ac_var=no"
39928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39929 conftest$ac_exeext conftest.$ac_ext
39931 ac_res=`eval echo '${'$as_ac_var'}'`
39932 { echo "$as_me:$LINENO: result: $ac_res" >&5
39933 echo "${ECHO_T}$ac_res" >&6; }
39934 if test `eval echo '${'$as_ac_var'}'` = yes; then
39935 cat >>confdefs.h <<_ACEOF
39936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39943 HAVE_SOME_SLEEP_FUNC=0
39944 if test "$USE_BEOS" = 1; then
39945 cat >>confdefs.h <<\_ACEOF
39946 #define HAVE_SLEEP 1
39949 HAVE_SOME_SLEEP_FUNC=1
39952 if test "$USE_DARWIN" = 1; then
39953 cat >>confdefs.h <<\_ACEOF
39954 #define HAVE_USLEEP 1
39957 HAVE_SOME_SLEEP_FUNC=1
39960 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39963 for ac_func in nanosleep
39965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39969 echo $ECHO_N "(cached) $ECHO_C" >&6
39971 cat >conftest.$ac_ext <<_ACEOF
39974 cat confdefs.h >>conftest.$ac_ext
39975 cat >>conftest.$ac_ext <<_ACEOF
39976 /* end confdefs.h. */
39977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39979 #define $ac_func innocuous_$ac_func
39981 /* System header to define __stub macros and hopefully few prototypes,
39982 which can conflict with char $ac_func (); below.
39983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39984 <limits.h> exists even on freestanding compilers. */
39987 # include <limits.h>
39989 # include <assert.h>
39994 /* Override any GCC internal prototype to avoid an error.
39995 Use char because int might match the return type of a GCC
39996 builtin and then its argument prototype would still apply. */
40001 /* The GNU C library defines this for functions which it implements
40002 to always fail with ENOSYS. Some functions are actually named
40003 something starting with __ and the normal name is an alias. */
40004 #if defined __stub_$ac_func || defined __stub___$ac_func
40011 return $ac_func ();
40016 rm -f conftest.$ac_objext conftest$ac_exeext
40017 if { (ac_try="$ac_link"
40018 case "(($ac_try" in
40019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40020 *) ac_try_echo=$ac_try;;
40022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40023 (eval "$ac_link") 2>conftest.er1
40025 grep -v '^ *+' conftest.er1 >conftest.err
40027 cat conftest.err >&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); } && {
40030 test -z "$ac_c_werror_flag" ||
40031 test ! -s conftest.err
40032 } && test -s conftest$ac_exeext &&
40033 $as_test_x conftest$ac_exeext; then
40034 eval "$as_ac_var=yes"
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.$ac_ext >&5
40039 eval "$as_ac_var=no"
40042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40043 conftest$ac_exeext conftest.$ac_ext
40045 ac_res=`eval echo '${'$as_ac_var'}'`
40046 { echo "$as_me:$LINENO: result: $ac_res" >&5
40047 echo "${ECHO_T}$ac_res" >&6; }
40048 if test `eval echo '${'$as_ac_var'}'` = yes; then
40049 cat >>confdefs.h <<_ACEOF
40050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_NANOSLEEP 1
40058 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40059 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40060 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40061 echo $ECHO_N "(cached) $ECHO_C" >&6
40063 ac_check_lib_save_LIBS=$LIBS
40064 LIBS="-lposix4 $LIBS"
40065 cat >conftest.$ac_ext <<_ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40072 /* Override any GCC internal prototype to avoid an error.
40073 Use char because int might match the return type of a GCC
40074 builtin and then its argument prototype would still apply. */
40082 return nanosleep ();
40087 rm -f conftest.$ac_objext conftest$ac_exeext
40088 if { (ac_try="$ac_link"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40091 *) ac_try_echo=$ac_try;;
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_link") 2>conftest.er1
40096 grep -v '^ *+' conftest.er1 >conftest.err
40098 cat conftest.err >&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_c_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest$ac_exeext &&
40104 $as_test_x conftest$ac_exeext; then
40105 ac_cv_lib_posix4_nanosleep=yes
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40110 ac_cv_lib_posix4_nanosleep=no
40113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40114 conftest$ac_exeext conftest.$ac_ext
40115 LIBS=$ac_check_lib_save_LIBS
40117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40118 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40119 if test $ac_cv_lib_posix4_nanosleep = yes; then
40121 cat >>confdefs.h <<\_ACEOF
40122 #define HAVE_NANOSLEEP 1
40125 POSIX4_LINK=" -lposix4"
40130 for wx_func in usleep
40132 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40133 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40134 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40135 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 cat >conftest.$ac_ext <<_ACEOF
40142 cat confdefs.h >>conftest.$ac_ext
40143 cat >>conftest.$ac_ext <<_ACEOF
40144 /* end confdefs.h. */
40147 $ac_includes_default
40163 rm -f conftest.$ac_objext conftest$ac_exeext
40164 if { (ac_try="$ac_link"
40165 case "(($ac_try" in
40166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40167 *) ac_try_echo=$ac_try;;
40169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40170 (eval "$ac_link") 2>conftest.er1
40172 grep -v '^ *+' conftest.er1 >conftest.err
40174 cat conftest.err >&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } && {
40177 test -z "$ac_c_werror_flag" ||
40178 test ! -s conftest.err
40179 } && test -s conftest$ac_exeext &&
40180 $as_test_x conftest$ac_exeext; then
40181 eval wx_cv_func_$wx_func=yes
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 eval wx_cv_func_$wx_func=no
40189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40190 conftest$ac_exeext conftest.$ac_ext
40193 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40194 { echo "$as_me:$LINENO: result: $ac_res" >&5
40195 echo "${ECHO_T}$ac_res" >&6; }
40197 if eval test \$wx_cv_func_$wx_func = yes
40199 cat >>confdefs.h <<_ACEOF
40200 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40206 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40207 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40224 for wx_func in uname
40226 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40227 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40228 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40229 echo $ECHO_N "(cached) $ECHO_C" >&6
40232 cat >conftest.$ac_ext <<_ACEOF
40236 cat confdefs.h >>conftest.$ac_ext
40237 cat >>conftest.$ac_ext <<_ACEOF
40238 /* end confdefs.h. */
40240 #include <sys/utsname.h>
40241 $ac_includes_default
40257 rm -f conftest.$ac_objext conftest$ac_exeext
40258 if { (ac_try="$ac_link"
40259 case "(($ac_try" in
40260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_link") 2>conftest.er1
40266 grep -v '^ *+' conftest.er1 >conftest.err
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest$ac_exeext &&
40274 $as_test_x conftest$ac_exeext; then
40275 eval wx_cv_func_$wx_func=yes
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40280 eval wx_cv_func_$wx_func=no
40283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40284 conftest$ac_exeext conftest.$ac_ext
40287 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40288 { echo "$as_me:$LINENO: result: $ac_res" >&5
40289 echo "${ECHO_T}$ac_res" >&6; }
40291 if eval test \$wx_cv_func_$wx_func = yes
40293 cat >>confdefs.h <<_ACEOF
40294 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40304 if test "$wx_cv_func_uname" != yes; then
40306 for wx_func in gethostname
40308 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40309 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40310 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40311 echo $ECHO_N "(cached) $ECHO_C" >&6
40314 cat >conftest.$ac_ext <<_ACEOF
40318 cat confdefs.h >>conftest.$ac_ext
40319 cat >>conftest.$ac_ext <<_ACEOF
40320 /* end confdefs.h. */
40323 $ac_includes_default
40339 rm -f conftest.$ac_objext conftest$ac_exeext
40340 if { (ac_try="$ac_link"
40341 case "(($ac_try" in
40342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40343 *) ac_try_echo=$ac_try;;
40345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40346 (eval "$ac_link") 2>conftest.er1
40348 grep -v '^ *+' conftest.er1 >conftest.err
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } && {
40353 test -z "$ac_c_werror_flag" ||
40354 test ! -s conftest.err
40355 } && test -s conftest$ac_exeext &&
40356 $as_test_x conftest$ac_exeext; then
40357 eval wx_cv_func_$wx_func=yes
40359 echo "$as_me: failed program was:" >&5
40360 sed 's/^/| /' conftest.$ac_ext >&5
40362 eval wx_cv_func_$wx_func=no
40365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40366 conftest$ac_exeext conftest.$ac_ext
40369 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40370 { echo "$as_me:$LINENO: result: $ac_res" >&5
40371 echo "${ECHO_T}$ac_res" >&6; }
40373 if eval test \$wx_cv_func_$wx_func = yes
40375 cat >>confdefs.h <<_ACEOF
40376 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40389 for wx_func in strtok_r
40391 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40392 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40393 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40394 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 cat >conftest.$ac_ext <<_ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40406 $ac_includes_default
40422 rm -f conftest.$ac_objext conftest$ac_exeext
40423 if { (ac_try="$ac_link"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_link") 2>conftest.er1
40431 grep -v '^ *+' conftest.er1 >conftest.err
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_c_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest$ac_exeext &&
40439 $as_test_x conftest$ac_exeext; then
40440 eval wx_cv_func_$wx_func=yes
40442 echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.$ac_ext >&5
40445 eval wx_cv_func_$wx_func=no
40448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40449 conftest$ac_exeext conftest.$ac_ext
40452 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40453 { echo "$as_me:$LINENO: result: $ac_res" >&5
40454 echo "${ECHO_T}$ac_res" >&6; }
40456 if eval test \$wx_cv_func_$wx_func = yes
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40472 for ac_func in inet_addr
40474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40480 cat >conftest.$ac_ext <<_ACEOF
40483 cat confdefs.h >>conftest.$ac_ext
40484 cat >>conftest.$ac_ext <<_ACEOF
40485 /* end confdefs.h. */
40486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40488 #define $ac_func innocuous_$ac_func
40490 /* System header to define __stub macros and hopefully few prototypes,
40491 which can conflict with char $ac_func (); below.
40492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40493 <limits.h> exists even on freestanding compilers. */
40496 # include <limits.h>
40498 # include <assert.h>
40503 /* Override any GCC internal prototype to avoid an error.
40504 Use char because int might match the return type of a GCC
40505 builtin and then its argument prototype would still apply. */
40510 /* The GNU C library defines this for functions which it implements
40511 to always fail with ENOSYS. Some functions are actually named
40512 something starting with __ and the normal name is an alias. */
40513 #if defined __stub_$ac_func || defined __stub___$ac_func
40520 return $ac_func ();
40525 rm -f conftest.$ac_objext conftest$ac_exeext
40526 if { (ac_try="$ac_link"
40527 case "(($ac_try" in
40528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40529 *) ac_try_echo=$ac_try;;
40531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40532 (eval "$ac_link") 2>conftest.er1
40534 grep -v '^ *+' conftest.er1 >conftest.err
40536 cat conftest.err >&5
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); } && {
40539 test -z "$ac_c_werror_flag" ||
40540 test ! -s conftest.err
40541 } && test -s conftest$ac_exeext &&
40542 $as_test_x conftest$ac_exeext; then
40543 eval "$as_ac_var=yes"
40545 echo "$as_me: failed program was:" >&5
40546 sed 's/^/| /' conftest.$ac_ext >&5
40548 eval "$as_ac_var=no"
40551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40552 conftest$ac_exeext conftest.$ac_ext
40554 ac_res=`eval echo '${'$as_ac_var'}'`
40555 { echo "$as_me:$LINENO: result: $ac_res" >&5
40556 echo "${ECHO_T}$ac_res" >&6; }
40557 if test `eval echo '${'$as_ac_var'}'` = yes; then
40558 cat >>confdefs.h <<_ACEOF
40559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40561 cat >>confdefs.h <<\_ACEOF
40562 #define HAVE_INET_ADDR 1
40567 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40568 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40569 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 ac_check_lib_save_LIBS=$LIBS
40574 cat >conftest.$ac_ext <<_ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h. */
40581 /* Override any GCC internal prototype to avoid an error.
40582 Use char because int might match the return type of a GCC
40583 builtin and then its argument prototype would still apply. */
40591 return inet_addr ();
40596 rm -f conftest.$ac_objext conftest$ac_exeext
40597 if { (ac_try="$ac_link"
40598 case "(($ac_try" in
40599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40600 *) ac_try_echo=$ac_try;;
40602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40603 (eval "$ac_link") 2>conftest.er1
40605 grep -v '^ *+' conftest.er1 >conftest.err
40607 cat conftest.err >&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } && {
40610 test -z "$ac_c_werror_flag" ||
40611 test ! -s conftest.err
40612 } && test -s conftest$ac_exeext &&
40613 $as_test_x conftest$ac_exeext; then
40614 ac_cv_lib_nsl_inet_addr=yes
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.$ac_ext >&5
40619 ac_cv_lib_nsl_inet_addr=no
40622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40623 conftest$ac_exeext conftest.$ac_ext
40624 LIBS=$ac_check_lib_save_LIBS
40626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40627 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40628 if test $ac_cv_lib_nsl_inet_addr = yes; then
40632 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40633 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40634 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40635 echo $ECHO_N "(cached) $ECHO_C" >&6
40637 ac_check_lib_save_LIBS=$LIBS
40638 LIBS="-lresolv $LIBS"
40639 cat >conftest.$ac_ext <<_ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40646 /* Override any GCC internal prototype to avoid an error.
40647 Use char because int might match the return type of a GCC
40648 builtin and then its argument prototype would still apply. */
40656 return inet_addr ();
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (ac_try="$ac_link"
40663 case "(($ac_try" in
40664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40665 *) ac_try_echo=$ac_try;;
40667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40668 (eval "$ac_link") 2>conftest.er1
40670 grep -v '^ *+' conftest.er1 >conftest.err
40672 cat conftest.err >&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); } && {
40675 test -z "$ac_c_werror_flag" ||
40676 test ! -s conftest.err
40677 } && test -s conftest$ac_exeext &&
40678 $as_test_x conftest$ac_exeext; then
40679 ac_cv_lib_resolv_inet_addr=yes
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40684 ac_cv_lib_resolv_inet_addr=no
40687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40688 conftest$ac_exeext conftest.$ac_ext
40689 LIBS=$ac_check_lib_save_LIBS
40691 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40692 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40693 if test $ac_cv_lib_resolv_inet_addr = yes; then
40697 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40698 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40699 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40702 ac_check_lib_save_LIBS=$LIBS
40703 LIBS="-lsocket $LIBS"
40704 cat >conftest.$ac_ext <<_ACEOF
40707 cat confdefs.h >>conftest.$ac_ext
40708 cat >>conftest.$ac_ext <<_ACEOF
40709 /* end confdefs.h. */
40711 /* Override any GCC internal prototype to avoid an error.
40712 Use char because int might match the return type of a GCC
40713 builtin and then its argument prototype would still apply. */
40721 return inet_addr ();
40726 rm -f conftest.$ac_objext conftest$ac_exeext
40727 if { (ac_try="$ac_link"
40728 case "(($ac_try" in
40729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40730 *) ac_try_echo=$ac_try;;
40732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40733 (eval "$ac_link") 2>conftest.er1
40735 grep -v '^ *+' conftest.er1 >conftest.err
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } && {
40740 test -z "$ac_c_werror_flag" ||
40741 test ! -s conftest.err
40742 } && test -s conftest$ac_exeext &&
40743 $as_test_x conftest$ac_exeext; then
40744 ac_cv_lib_socket_inet_addr=yes
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40749 ac_cv_lib_socket_inet_addr=no
40752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40753 conftest$ac_exeext conftest.$ac_ext
40754 LIBS=$ac_check_lib_save_LIBS
40756 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40757 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40758 if test $ac_cv_lib_socket_inet_addr = yes; then
40778 for ac_func in inet_aton
40780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 cat >conftest.$ac_ext <<_ACEOF
40789 cat confdefs.h >>conftest.$ac_ext
40790 cat >>conftest.$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40794 #define $ac_func innocuous_$ac_func
40796 /* System header to define __stub macros and hopefully few prototypes,
40797 which can conflict with char $ac_func (); below.
40798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40799 <limits.h> exists even on freestanding compilers. */
40802 # include <limits.h>
40804 # include <assert.h>
40809 /* Override any GCC internal prototype to avoid an error.
40810 Use char because int might match the return type of a GCC
40811 builtin and then its argument prototype would still apply. */
40816 /* The GNU C library defines this for functions which it implements
40817 to always fail with ENOSYS. Some functions are actually named
40818 something starting with __ and the normal name is an alias. */
40819 #if defined __stub_$ac_func || defined __stub___$ac_func
40826 return $ac_func ();
40831 rm -f conftest.$ac_objext conftest$ac_exeext
40832 if { (ac_try="$ac_link"
40833 case "(($ac_try" in
40834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40835 *) ac_try_echo=$ac_try;;
40837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40838 (eval "$ac_link") 2>conftest.er1
40840 grep -v '^ *+' conftest.er1 >conftest.err
40842 cat conftest.err >&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } && {
40845 test -z "$ac_c_werror_flag" ||
40846 test ! -s conftest.err
40847 } && test -s conftest$ac_exeext &&
40848 $as_test_x conftest$ac_exeext; then
40849 eval "$as_ac_var=yes"
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40854 eval "$as_ac_var=no"
40857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40858 conftest$ac_exeext conftest.$ac_ext
40860 ac_res=`eval echo '${'$as_ac_var'}'`
40861 { echo "$as_me:$LINENO: result: $ac_res" >&5
40862 echo "${ECHO_T}$ac_res" >&6; }
40863 if test `eval echo '${'$as_ac_var'}'` = yes; then
40864 cat >>confdefs.h <<_ACEOF
40865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE_INET_ATON 1
40873 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40874 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40875 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40876 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40877 echo $ECHO_N "(cached) $ECHO_C" >&6
40879 ac_check_lib_save_LIBS=$LIBS
40880 LIBS="-l$INET_LINK $LIBS"
40881 cat >conftest.$ac_ext <<_ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40888 /* Override any GCC internal prototype to avoid an error.
40889 Use char because int might match the return type of a GCC
40890 builtin and then its argument prototype would still apply. */
40898 return inet_aton ();
40903 rm -f conftest.$ac_objext conftest$ac_exeext
40904 if { (ac_try="$ac_link"
40905 case "(($ac_try" in
40906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40907 *) ac_try_echo=$ac_try;;
40909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40910 (eval "$ac_link") 2>conftest.er1
40912 grep -v '^ *+' conftest.er1 >conftest.err
40914 cat conftest.err >&5
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); } && {
40917 test -z "$ac_c_werror_flag" ||
40918 test ! -s conftest.err
40919 } && test -s conftest$ac_exeext &&
40920 $as_test_x conftest$ac_exeext; then
40921 eval "$as_ac_Lib=yes"
40923 echo "$as_me: failed program was:" >&5
40924 sed 's/^/| /' conftest.$ac_ext >&5
40926 eval "$as_ac_Lib=no"
40929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40930 conftest$ac_exeext conftest.$ac_ext
40931 LIBS=$ac_check_lib_save_LIBS
40933 ac_res=`eval echo '${'$as_ac_Lib'}'`
40934 { echo "$as_me:$LINENO: result: $ac_res" >&5
40935 echo "${ECHO_T}$ac_res" >&6; }
40936 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40937 cat >>confdefs.h <<\_ACEOF
40938 #define HAVE_INET_ATON 1
40948 if test "x$INET_LINK" != "x"; then
40949 cat >>confdefs.h <<\_ACEOF
40950 #define HAVE_INET_ADDR 1
40953 INET_LINK=" -l$INET_LINK"
40957 for wx_func in fdopen
40959 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40960 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40961 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40962 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 cat >conftest.$ac_ext <<_ACEOF
40969 cat confdefs.h >>conftest.$ac_ext
40970 cat >>conftest.$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40974 $ac_includes_default
40990 rm -f conftest.$ac_objext conftest$ac_exeext
40991 if { (ac_try="$ac_link"
40992 case "(($ac_try" in
40993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40994 *) ac_try_echo=$ac_try;;
40996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40997 (eval "$ac_link") 2>conftest.er1
40999 grep -v '^ *+' conftest.er1 >conftest.err
41001 cat conftest.err >&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } && {
41004 test -z "$ac_c_werror_flag" ||
41005 test ! -s conftest.err
41006 } && test -s conftest$ac_exeext &&
41007 $as_test_x conftest$ac_exeext; then
41008 eval wx_cv_func_$wx_func=yes
41010 echo "$as_me: failed program was:" >&5
41011 sed 's/^/| /' conftest.$ac_ext >&5
41013 eval wx_cv_func_$wx_func=no
41016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41017 conftest$ac_exeext conftest.$ac_ext
41020 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41021 { echo "$as_me:$LINENO: result: $ac_res" >&5
41022 echo "${ECHO_T}$ac_res" >&6; }
41024 if eval test \$wx_cv_func_$wx_func = yes
41026 cat >>confdefs.h <<_ACEOF
41027 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41042 cat >confcache <<\_ACEOF
41043 # This file is a shell script that caches the results of configure
41044 # tests run on this system so they can be shared between configure
41045 # scripts and configure runs, see configure's option --config-cache.
41046 # It is not useful on other systems. If it contains results you don't
41047 # want to keep, you may remove or edit it.
41049 # config.status only pays attention to the cache file if you give it
41050 # the --recheck option to rerun configure.
41052 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41053 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41054 # following values.
41058 # The following way of writing the cache mishandles newlines in values,
41059 # but we know of no workaround that is simple, portable, and efficient.
41060 # So, we kill variables containing newlines.
41061 # Ultrix sh set writes to stderr and can't be redirected directly,
41062 # and sets the high bit in the cache file unless we assign to the vars.
41064 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41065 eval ac_val=\$$ac_var
41069 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41070 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41073 _ | IFS | as_nl) ;; #(
41074 *) $as_unset $ac_var ;;
41080 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41081 *${as_nl}ac_space=\ *)
41082 # `set' does not quote correctly, so add quotes (double-quote
41083 # substitution turns \\\\ into \\, and sed turns \\ into \).
41086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41089 # `set' quotes correctly as required by POSIX, so do not add quotes.
41090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41101 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41103 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41104 if test -w "$cache_file"; then
41105 test "x$cache_file" != "x/dev/null" &&
41106 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41107 echo "$as_me: updating cache $cache_file" >&6;}
41108 cat confcache >$cache_file
41110 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41111 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41117 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41123 if test "$wxUSE_THREADS" = "yes" ; then
41124 if test "$USE_BEOS" = 1; then
41125 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41126 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41131 if test "$wxUSE_THREADS" = "yes" ; then
41134 THREAD_OPTS="-pthread"
41135 if test "x$SUNCXX" = xyes; then
41136 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41140 *-*-solaris2* | *-*-sunos4* )
41141 if test "x$GCC" = "xyes"; then
41142 THREAD_OPTS="-pthreads $THREAD_OPTS"
41146 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41148 *-*-darwin* | *-*-cygwin* )
41152 THREAD_OPTS="pthreads"
41155 if test "x$GCC" = "xyes"; then
41156 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41164 if test "x$GCC" = "xyes"; then
41170 if test "x$GCC" != "xyes"; then
41171 THREAD_OPTS="-Ethread"
41176 THREAD_OPTS="$THREAD_OPTS pthread none"
41179 for flag in $THREAD_OPTS; do
41182 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41183 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41187 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41188 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41189 THREADS_CFLAGS="$flag"
41193 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41194 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41195 THREADS_LINK="-l$flag"
41200 save_CFLAGS="$CFLAGS"
41201 LIBS="$THREADS_LINK $LIBS"
41202 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41204 cat >conftest.$ac_ext <<_ACEOF
41207 cat confdefs.h >>conftest.$ac_ext
41208 cat >>conftest.$ac_ext <<_ACEOF
41209 /* end confdefs.h. */
41210 #include <pthread.h>
41214 pthread_create(0,0,0,0);
41219 rm -f conftest.$ac_objext conftest$ac_exeext
41220 if { (ac_try="$ac_link"
41221 case "(($ac_try" in
41222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41223 *) ac_try_echo=$ac_try;;
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_link") 2>conftest.er1
41228 grep -v '^ *+' conftest.er1 >conftest.err
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_c_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest$ac_exeext &&
41236 $as_test_x conftest$ac_exeext; then
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41249 CFLAGS="$save_CFLAGS"
41251 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41252 echo "${ECHO_T}$THREADS_OK" >&6; }
41253 if test "x$THREADS_OK" = "xyes"; then
41261 if test "x$THREADS_OK" != "xyes"; then
41263 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41264 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41266 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41267 LIBS="$THREADS_LINK $LIBS"
41269 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41270 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41274 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41275 flag="-D_THREAD_SAFE"
41278 flag="-D_THREAD_SAFE"
41281 flag="-D_REENTRANT"
41282 if test "x$GCC" != "xyes"; then
41283 flag="$flag -D_RWSTD_MULTI_THREAD"
41286 *solaris* | alpha*-osf*)
41287 flag="-D_REENTRANT"
41290 { echo "$as_me:$LINENO: result: ${flag}" >&5
41291 echo "${ECHO_T}${flag}" >&6; }
41292 if test "x$flag" != xno; then
41293 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41296 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41300 if test "$wxUSE_THREADS" = "yes" ; then
41302 for ac_func in thr_setconcurrency
41304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41310 cat >conftest.$ac_ext <<_ACEOF
41313 cat confdefs.h >>conftest.$ac_ext
41314 cat >>conftest.$ac_ext <<_ACEOF
41315 /* end confdefs.h. */
41316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41318 #define $ac_func innocuous_$ac_func
41320 /* System header to define __stub macros and hopefully few prototypes,
41321 which can conflict with char $ac_func (); below.
41322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41323 <limits.h> exists even on freestanding compilers. */
41326 # include <limits.h>
41328 # include <assert.h>
41333 /* Override any GCC internal prototype to avoid an error.
41334 Use char because int might match the return type of a GCC
41335 builtin and then its argument prototype would still apply. */
41340 /* The GNU C library defines this for functions which it implements
41341 to always fail with ENOSYS. Some functions are actually named
41342 something starting with __ and the normal name is an alias. */
41343 #if defined __stub_$ac_func || defined __stub___$ac_func
41350 return $ac_func ();
41355 rm -f conftest.$ac_objext conftest$ac_exeext
41356 if { (ac_try="$ac_link"
41357 case "(($ac_try" in
41358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41359 *) ac_try_echo=$ac_try;;
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_link") 2>conftest.er1
41364 grep -v '^ *+' conftest.er1 >conftest.err
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } && {
41369 test -z "$ac_c_werror_flag" ||
41370 test ! -s conftest.err
41371 } && test -s conftest$ac_exeext &&
41372 $as_test_x conftest$ac_exeext; then
41373 eval "$as_ac_var=yes"
41375 echo "$as_me: failed program was:" >&5
41376 sed 's/^/| /' conftest.$ac_ext >&5
41378 eval "$as_ac_var=no"
41381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41382 conftest$ac_exeext conftest.$ac_ext
41384 ac_res=`eval echo '${'$as_ac_var'}'`
41385 { echo "$as_me:$LINENO: result: $ac_res" >&5
41386 echo "${ECHO_T}$ac_res" >&6; }
41387 if test `eval echo '${'$as_ac_var'}'` = yes; then
41388 cat >>confdefs.h <<_ACEOF
41389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41396 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41397 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41398 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41403 ac_cpp='$CXXCPP $CPPFLAGS'
41404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408 cat >conftest.$ac_ext <<_ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41414 #include <pthread.h>
41415 void ThreadCleanupFunc(void *p);
41422 pthread_cleanup_push(ThreadCleanupFunc, p);
41423 pthread_cleanup_pop(0);
41429 rm -f conftest.$ac_objext
41430 if { (ac_try="$ac_compile"
41431 case "(($ac_try" in
41432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41433 *) ac_try_echo=$ac_try;;
41435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41436 (eval "$ac_compile") 2>conftest.er1
41438 grep -v '^ *+' conftest.er1 >conftest.err
41440 cat conftest.err >&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } && {
41443 test -z "$ac_cxx_werror_flag" ||
41444 test ! -s conftest.err
41445 } && test -s conftest.$ac_objext; then
41447 wx_cv_func_pthread_cleanup=yes
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41454 wx_cv_func_pthread_cleanup=no
41459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41461 ac_cpp='$CPP $CPPFLAGS'
41462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41468 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41469 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41470 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41471 cat >>confdefs.h <<\_ACEOF
41472 #define wxHAVE_PTHREAD_CLEANUP 1
41478 for ac_header in sched.h
41480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41484 echo $ECHO_N "(cached) $ECHO_C" >&6
41486 cat >conftest.$ac_ext <<_ACEOF
41489 cat confdefs.h >>conftest.$ac_ext
41490 cat >>conftest.$ac_ext <<_ACEOF
41491 /* end confdefs.h. */
41492 $ac_includes_default
41494 #include <$ac_header>
41496 rm -f conftest.$ac_objext
41497 if { (ac_try="$ac_compile"
41498 case "(($ac_try" in
41499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41500 *) ac_try_echo=$ac_try;;
41502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41503 (eval "$ac_compile") 2>conftest.er1
41505 grep -v '^ *+' conftest.er1 >conftest.err
41507 cat conftest.err >&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } && {
41510 test -z "$ac_c_werror_flag" ||
41511 test ! -s conftest.err
41512 } && test -s conftest.$ac_objext; then
41513 eval "$as_ac_Header=yes"
41515 echo "$as_me: failed program was:" >&5
41516 sed 's/^/| /' conftest.$ac_ext >&5
41518 eval "$as_ac_Header=no"
41521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41523 ac_res=`eval echo '${'$as_ac_Header'}'`
41524 { echo "$as_me:$LINENO: result: $ac_res" >&5
41525 echo "${ECHO_T}$ac_res" >&6; }
41526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41527 cat >>confdefs.h <<_ACEOF
41528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41535 if test "$ac_cv_header_sched_h" = "yes"; then
41536 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41537 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41538 if test "${ac_cv_func_sched_yield+set}" = set; then
41539 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 cat >conftest.$ac_ext <<_ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41549 #define sched_yield innocuous_sched_yield
41551 /* System header to define __stub macros and hopefully few prototypes,
41552 which can conflict with char sched_yield (); below.
41553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41554 <limits.h> exists even on freestanding compilers. */
41557 # include <limits.h>
41559 # include <assert.h>
41564 /* Override any GCC internal prototype to avoid an error.
41565 Use char because int might match the return type of a GCC
41566 builtin and then its argument prototype would still apply. */
41570 char sched_yield ();
41571 /* The GNU C library defines this for functions which it implements
41572 to always fail with ENOSYS. Some functions are actually named
41573 something starting with __ and the normal name is an alias. */
41574 #if defined __stub_sched_yield || defined __stub___sched_yield
41581 return sched_yield ();
41586 rm -f conftest.$ac_objext conftest$ac_exeext
41587 if { (ac_try="$ac_link"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_link") 2>conftest.er1
41595 grep -v '^ *+' conftest.er1 >conftest.err
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest$ac_exeext &&
41603 $as_test_x conftest$ac_exeext; then
41604 ac_cv_func_sched_yield=yes
41606 echo "$as_me: failed program was:" >&5
41607 sed 's/^/| /' conftest.$ac_ext >&5
41609 ac_cv_func_sched_yield=no
41612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41613 conftest$ac_exeext conftest.$ac_ext
41615 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41616 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41617 if test $ac_cv_func_sched_yield = yes; then
41618 cat >>confdefs.h <<\_ACEOF
41619 #define HAVE_SCHED_YIELD 1
41624 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41625 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41626 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41629 ac_check_lib_save_LIBS=$LIBS
41630 LIBS="-lposix4 $LIBS"
41631 cat >conftest.$ac_ext <<_ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41638 /* Override any GCC internal prototype to avoid an error.
41639 Use char because int might match the return type of a GCC
41640 builtin and then its argument prototype would still apply. */
41644 char sched_yield ();
41648 return sched_yield ();
41653 rm -f conftest.$ac_objext conftest$ac_exeext
41654 if { (ac_try="$ac_link"
41655 case "(($ac_try" in
41656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41657 *) ac_try_echo=$ac_try;;
41659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41660 (eval "$ac_link") 2>conftest.er1
41662 grep -v '^ *+' conftest.er1 >conftest.err
41664 cat conftest.err >&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); } && {
41667 test -z "$ac_c_werror_flag" ||
41668 test ! -s conftest.err
41669 } && test -s conftest$ac_exeext &&
41670 $as_test_x conftest$ac_exeext; then
41671 ac_cv_lib_posix4_sched_yield=yes
41673 echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.$ac_ext >&5
41676 ac_cv_lib_posix4_sched_yield=no
41679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41680 conftest$ac_exeext conftest.$ac_ext
41681 LIBS=$ac_check_lib_save_LIBS
41683 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41684 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41685 if test $ac_cv_lib_posix4_sched_yield = yes; then
41686 cat >>confdefs.h <<\_ACEOF
41687 #define HAVE_SCHED_YIELD 1
41689 POSIX4_LINK=" -lposix4"
41691 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41692 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41703 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41704 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41705 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41706 echo $ECHO_N "(cached) $ECHO_C" >&6
41708 cat >conftest.$ac_ext <<_ACEOF
41711 cat confdefs.h >>conftest.$ac_ext
41712 cat >>conftest.$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41714 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41716 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41718 /* System header to define __stub macros and hopefully few prototypes,
41719 which can conflict with char pthread_attr_getschedpolicy (); below.
41720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41721 <limits.h> exists even on freestanding compilers. */
41724 # include <limits.h>
41726 # include <assert.h>
41729 #undef pthread_attr_getschedpolicy
41731 /* Override any GCC internal prototype to avoid an error.
41732 Use char because int might match the return type of a GCC
41733 builtin and then its argument prototype would still apply. */
41737 char pthread_attr_getschedpolicy ();
41738 /* The GNU C library defines this for functions which it implements
41739 to always fail with ENOSYS. Some functions are actually named
41740 something starting with __ and the normal name is an alias. */
41741 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41748 return pthread_attr_getschedpolicy ();
41753 rm -f conftest.$ac_objext conftest$ac_exeext
41754 if { (ac_try="$ac_link"
41755 case "(($ac_try" in
41756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41757 *) ac_try_echo=$ac_try;;
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_link") 2>conftest.er1
41762 grep -v '^ *+' conftest.er1 >conftest.err
41764 cat conftest.err >&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } && {
41767 test -z "$ac_c_werror_flag" ||
41768 test ! -s conftest.err
41769 } && test -s conftest$ac_exeext &&
41770 $as_test_x conftest$ac_exeext; then
41771 ac_cv_func_pthread_attr_getschedpolicy=yes
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41776 ac_cv_func_pthread_attr_getschedpolicy=no
41779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41780 conftest$ac_exeext conftest.$ac_ext
41782 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41785 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 cat >conftest.$ac_ext <<_ACEOF
41793 cat confdefs.h >>conftest.$ac_ext
41794 cat >>conftest.$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41800 /* System header to define __stub macros and hopefully few prototypes,
41801 which can conflict with char pthread_attr_setschedparam (); below.
41802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41803 <limits.h> exists even on freestanding compilers. */
41806 # include <limits.h>
41808 # include <assert.h>
41811 #undef pthread_attr_setschedparam
41813 /* Override any GCC internal prototype to avoid an error.
41814 Use char because int might match the return type of a GCC
41815 builtin and then its argument prototype would still apply. */
41819 char pthread_attr_setschedparam ();
41820 /* The GNU C library defines this for functions which it implements
41821 to always fail with ENOSYS. Some functions are actually named
41822 something starting with __ and the normal name is an alias. */
41823 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41830 return pthread_attr_setschedparam ();
41835 rm -f conftest.$ac_objext conftest$ac_exeext
41836 if { (ac_try="$ac_link"
41837 case "(($ac_try" in
41838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41839 *) ac_try_echo=$ac_try;;
41841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41842 (eval "$ac_link") 2>conftest.er1
41844 grep -v '^ *+' conftest.er1 >conftest.err
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } && {
41849 test -z "$ac_c_werror_flag" ||
41850 test ! -s conftest.err
41851 } && test -s conftest$ac_exeext &&
41852 $as_test_x conftest$ac_exeext; then
41853 ac_cv_func_pthread_attr_setschedparam=yes
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41858 ac_cv_func_pthread_attr_setschedparam=no
41861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41862 conftest$ac_exeext conftest.$ac_ext
41864 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41865 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41866 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41867 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41868 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41869 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41870 echo $ECHO_N "(cached) $ECHO_C" >&6
41872 cat >conftest.$ac_ext <<_ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41880 #define sched_get_priority_max innocuous_sched_get_priority_max
41882 /* System header to define __stub macros and hopefully few prototypes,
41883 which can conflict with char sched_get_priority_max (); below.
41884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41885 <limits.h> exists even on freestanding compilers. */
41888 # include <limits.h>
41890 # include <assert.h>
41893 #undef sched_get_priority_max
41895 /* Override any GCC internal prototype to avoid an error.
41896 Use char because int might match the return type of a GCC
41897 builtin and then its argument prototype would still apply. */
41901 char sched_get_priority_max ();
41902 /* The GNU C library defines this for functions which it implements
41903 to always fail with ENOSYS. Some functions are actually named
41904 something starting with __ and the normal name is an alias. */
41905 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41912 return sched_get_priority_max ();
41917 rm -f conftest.$ac_objext conftest$ac_exeext
41918 if { (ac_try="$ac_link"
41919 case "(($ac_try" in
41920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41921 *) ac_try_echo=$ac_try;;
41923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41924 (eval "$ac_link") 2>conftest.er1
41926 grep -v '^ *+' conftest.er1 >conftest.err
41928 cat conftest.err >&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); } && {
41931 test -z "$ac_c_werror_flag" ||
41932 test ! -s conftest.err
41933 } && test -s conftest$ac_exeext &&
41934 $as_test_x conftest$ac_exeext; then
41935 ac_cv_func_sched_get_priority_max=yes
41937 echo "$as_me: failed program was:" >&5
41938 sed 's/^/| /' conftest.$ac_ext >&5
41940 ac_cv_func_sched_get_priority_max=no
41943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41944 conftest$ac_exeext conftest.$ac_ext
41946 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41947 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41948 if test $ac_cv_func_sched_get_priority_max = yes; then
41951 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41952 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41953 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41954 echo $ECHO_N "(cached) $ECHO_C" >&6
41956 ac_check_lib_save_LIBS=$LIBS
41957 LIBS="-lposix4 $LIBS"
41958 cat >conftest.$ac_ext <<_ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41965 /* Override any GCC internal prototype to avoid an error.
41966 Use char because int might match the return type of a GCC
41967 builtin and then its argument prototype would still apply. */
41971 char sched_get_priority_max ();
41975 return sched_get_priority_max ();
41980 rm -f conftest.$ac_objext conftest$ac_exeext
41981 if { (ac_try="$ac_link"
41982 case "(($ac_try" in
41983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41984 *) ac_try_echo=$ac_try;;
41986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41987 (eval "$ac_link") 2>conftest.er1
41989 grep -v '^ *+' conftest.er1 >conftest.err
41991 cat conftest.err >&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } && {
41994 test -z "$ac_c_werror_flag" ||
41995 test ! -s conftest.err
41996 } && test -s conftest$ac_exeext &&
41997 $as_test_x conftest$ac_exeext; then
41998 ac_cv_lib_posix4_sched_get_priority_max=yes
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.$ac_ext >&5
42003 ac_cv_lib_posix4_sched_get_priority_max=no
42006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42007 conftest$ac_exeext conftest.$ac_ext
42008 LIBS=$ac_check_lib_save_LIBS
42010 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42011 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42012 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42015 POSIX4_LINK=" -lposix4"
42029 if test "$HAVE_PRIOR_FUNCS" = 1; then
42030 cat >>confdefs.h <<\_ACEOF
42031 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42035 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42036 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42039 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42040 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42041 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42042 echo $ECHO_N "(cached) $ECHO_C" >&6
42044 cat >conftest.$ac_ext <<_ACEOF
42047 cat confdefs.h >>conftest.$ac_ext
42048 cat >>conftest.$ac_ext <<_ACEOF
42049 /* end confdefs.h. */
42050 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42052 #define pthread_cancel innocuous_pthread_cancel
42054 /* System header to define __stub macros and hopefully few prototypes,
42055 which can conflict with char pthread_cancel (); below.
42056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42057 <limits.h> exists even on freestanding compilers. */
42060 # include <limits.h>
42062 # include <assert.h>
42065 #undef pthread_cancel
42067 /* Override any GCC internal prototype to avoid an error.
42068 Use char because int might match the return type of a GCC
42069 builtin and then its argument prototype would still apply. */
42073 char pthread_cancel ();
42074 /* The GNU C library defines this for functions which it implements
42075 to always fail with ENOSYS. Some functions are actually named
42076 something starting with __ and the normal name is an alias. */
42077 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42084 return pthread_cancel ();
42089 rm -f conftest.$ac_objext conftest$ac_exeext
42090 if { (ac_try="$ac_link"
42091 case "(($ac_try" in
42092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42093 *) ac_try_echo=$ac_try;;
42095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42096 (eval "$ac_link") 2>conftest.er1
42098 grep -v '^ *+' conftest.er1 >conftest.err
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } && {
42103 test -z "$ac_c_werror_flag" ||
42104 test ! -s conftest.err
42105 } && test -s conftest$ac_exeext &&
42106 $as_test_x conftest$ac_exeext; then
42107 ac_cv_func_pthread_cancel=yes
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42112 ac_cv_func_pthread_cancel=no
42115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42116 conftest$ac_exeext conftest.$ac_ext
42118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42119 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42120 if test $ac_cv_func_pthread_cancel = yes; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define HAVE_PTHREAD_CANCEL 1
42126 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42127 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42131 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42132 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42133 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42134 echo $ECHO_N "(cached) $ECHO_C" >&6
42136 cat >conftest.$ac_ext <<_ACEOF
42139 cat confdefs.h >>conftest.$ac_ext
42140 cat >>conftest.$ac_ext <<_ACEOF
42141 /* end confdefs.h. */
42142 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42144 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42146 /* System header to define __stub macros and hopefully few prototypes,
42147 which can conflict with char pthread_mutex_timedlock (); below.
42148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42149 <limits.h> exists even on freestanding compilers. */
42152 # include <limits.h>
42154 # include <assert.h>
42157 #undef pthread_mutex_timedlock
42159 /* Override any GCC internal prototype to avoid an error.
42160 Use char because int might match the return type of a GCC
42161 builtin and then its argument prototype would still apply. */
42165 char pthread_mutex_timedlock ();
42166 /* The GNU C library defines this for functions which it implements
42167 to always fail with ENOSYS. Some functions are actually named
42168 something starting with __ and the normal name is an alias. */
42169 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42176 return pthread_mutex_timedlock ();
42181 rm -f conftest.$ac_objext conftest$ac_exeext
42182 if { (ac_try="$ac_link"
42183 case "(($ac_try" in
42184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42185 *) ac_try_echo=$ac_try;;
42187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42188 (eval "$ac_link") 2>conftest.er1
42190 grep -v '^ *+' conftest.er1 >conftest.err
42192 cat conftest.err >&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); } && {
42195 test -z "$ac_c_werror_flag" ||
42196 test ! -s conftest.err
42197 } && test -s conftest$ac_exeext &&
42198 $as_test_x conftest$ac_exeext; then
42199 ac_cv_func_pthread_mutex_timedlock=yes
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42204 ac_cv_func_pthread_mutex_timedlock=no
42207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42208 conftest$ac_exeext conftest.$ac_ext
42210 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42211 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42212 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42213 cat >>confdefs.h <<\_ACEOF
42214 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42218 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42219 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42223 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42224 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42225 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 cat >conftest.$ac_ext <<_ACEOF
42231 cat confdefs.h >>conftest.$ac_ext
42232 cat >>conftest.$ac_ext <<_ACEOF
42233 /* end confdefs.h. */
42234 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42236 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42238 /* System header to define __stub macros and hopefully few prototypes,
42239 which can conflict with char pthread_attr_setstacksize (); below.
42240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42241 <limits.h> exists even on freestanding compilers. */
42244 # include <limits.h>
42246 # include <assert.h>
42249 #undef pthread_attr_setstacksize
42251 /* Override any GCC internal prototype to avoid an error.
42252 Use char because int might match the return type of a GCC
42253 builtin and then its argument prototype would still apply. */
42257 char pthread_attr_setstacksize ();
42258 /* The GNU C library defines this for functions which it implements
42259 to always fail with ENOSYS. Some functions are actually named
42260 something starting with __ and the normal name is an alias. */
42261 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42268 return pthread_attr_setstacksize ();
42273 rm -f conftest.$ac_objext conftest$ac_exeext
42274 if { (ac_try="$ac_link"
42275 case "(($ac_try" in
42276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_link") 2>conftest.er1
42282 grep -v '^ *+' conftest.er1 >conftest.err
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest$ac_exeext &&
42290 $as_test_x conftest$ac_exeext; then
42291 ac_cv_func_pthread_attr_setstacksize=yes
42293 echo "$as_me: failed program was:" >&5
42294 sed 's/^/| /' conftest.$ac_ext >&5
42296 ac_cv_func_pthread_attr_setstacksize=no
42299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42300 conftest$ac_exeext conftest.$ac_ext
42302 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42303 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42304 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42305 cat >>confdefs.h <<\_ACEOF
42306 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42313 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42314 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42315 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42319 cat >conftest.$ac_ext <<_ACEOF
42322 cat confdefs.h >>conftest.$ac_ext
42323 cat >>conftest.$ac_ext <<_ACEOF
42324 /* end confdefs.h. */
42325 #include <pthread.h>
42330 pthread_mutexattr_t attr;
42331 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42337 rm -f conftest.$ac_objext
42338 if { (ac_try="$ac_compile"
42339 case "(($ac_try" in
42340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42341 *) ac_try_echo=$ac_try;;
42343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42344 (eval "$ac_compile") 2>conftest.er1
42346 grep -v '^ *+' conftest.er1 >conftest.err
42348 cat conftest.err >&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && {
42351 test -z "$ac_c_werror_flag" ||
42352 test ! -s conftest.err
42353 } && test -s conftest.$ac_objext; then
42354 wx_cv_type_pthread_mutexattr_t=yes
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42359 wx_cv_type_pthread_mutexattr_t=no
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42366 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42367 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42369 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42370 cat >>confdefs.h <<\_ACEOF
42371 #define HAVE_PTHREAD_MUTEXATTR_T 1
42375 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42376 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42377 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42378 echo $ECHO_N "(cached) $ECHO_C" >&6
42381 cat >conftest.$ac_ext <<_ACEOF
42384 cat confdefs.h >>conftest.$ac_ext
42385 cat >>conftest.$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 #include <pthread.h>
42392 pthread_mutexattr_t attr;
42393 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42399 rm -f conftest.$ac_objext
42400 if { (ac_try="$ac_compile"
42401 case "(($ac_try" in
42402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42403 *) ac_try_echo=$ac_try;;
42405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42406 (eval "$ac_compile") 2>conftest.er1
42408 grep -v '^ *+' conftest.er1 >conftest.err
42410 cat conftest.err >&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } && {
42413 test -z "$ac_c_werror_flag" ||
42414 test ! -s conftest.err
42415 } && test -s conftest.$ac_objext; then
42416 wx_cv_func_pthread_mutexattr_settype_decl=yes
42418 echo "$as_me: failed program was:" >&5
42419 sed 's/^/| /' conftest.$ac_ext >&5
42421 wx_cv_func_pthread_mutexattr_settype_decl=no
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42428 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42429 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42430 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42437 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42438 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42439 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42440 echo $ECHO_N "(cached) $ECHO_C" >&6
42443 cat >conftest.$ac_ext <<_ACEOF
42446 cat confdefs.h >>conftest.$ac_ext
42447 cat >>conftest.$ac_ext <<_ACEOF
42448 /* end confdefs.h. */
42449 #include <pthread.h>
42454 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42460 rm -f conftest.$ac_objext
42461 if { (ac_try="$ac_compile"
42462 case "(($ac_try" in
42463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42464 *) ac_try_echo=$ac_try;;
42466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42467 (eval "$ac_compile") 2>conftest.er1
42469 grep -v '^ *+' conftest.er1 >conftest.err
42471 cat conftest.err >&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); } && {
42474 test -z "$ac_c_werror_flag" ||
42475 test ! -s conftest.err
42476 } && test -s conftest.$ac_objext; then
42478 wx_cv_type_pthread_rec_mutex_init=yes
42481 echo "$as_me: failed program was:" >&5
42482 sed 's/^/| /' conftest.$ac_ext >&5
42485 wx_cv_type_pthread_rec_mutex_init=no
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42493 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42494 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42495 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42496 cat >>confdefs.h <<\_ACEOF
42497 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42501 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42502 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42508 if test "$wxUSE_THREADS" = "yes" ; then
42511 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42512 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42513 if test "${wx_cv_cflags_mthread+set}" = set; then
42514 echo $ECHO_N "(cached) $ECHO_C" >&6
42517 CFLAGS_OLD="$CFLAGS"
42518 CFLAGS="-mthreads $CFLAGS"
42519 cat >conftest.$ac_ext <<_ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42534 rm -f conftest.$ac_objext
42535 if { (ac_try="$ac_compile"
42536 case "(($ac_try" in
42537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_compile") 2>conftest.er1
42543 grep -v '^ *+' conftest.er1 >conftest.err
42545 cat conftest.err >&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); } && {
42548 test -z "$ac_c_werror_flag" ||
42549 test ! -s conftest.err
42550 } && test -s conftest.$ac_objext; then
42551 wx_cv_cflags_mthread=yes
42553 echo "$as_me: failed program was:" >&5
42554 sed 's/^/| /' conftest.$ac_ext >&5
42556 wx_cv_cflags_mthread=no
42560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42564 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42565 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42567 if test "$wx_cv_cflags_mthread" = "yes"; then
42568 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42569 LDFLAGS="$LDFLAGS -mthreads"
42571 CFLAGS="$CFLAGS_OLD"
42575 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42576 LDFLAGS="$LDFLAGS -Zmt"
42582 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42583 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42584 if test "${ac_cv_func_localtime_r+set}" = set; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42587 cat >conftest.$ac_ext <<_ACEOF
42590 cat confdefs.h >>conftest.$ac_ext
42591 cat >>conftest.$ac_ext <<_ACEOF
42592 /* end confdefs.h. */
42593 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42595 #define localtime_r innocuous_localtime_r
42597 /* System header to define __stub macros and hopefully few prototypes,
42598 which can conflict with char localtime_r (); below.
42599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42600 <limits.h> exists even on freestanding compilers. */
42603 # include <limits.h>
42605 # include <assert.h>
42610 /* Override any GCC internal prototype to avoid an error.
42611 Use char because int might match the return type of a GCC
42612 builtin and then its argument prototype would still apply. */
42616 char localtime_r ();
42617 /* The GNU C library defines this for functions which it implements
42618 to always fail with ENOSYS. Some functions are actually named
42619 something starting with __ and the normal name is an alias. */
42620 #if defined __stub_localtime_r || defined __stub___localtime_r
42627 return localtime_r ();
42632 rm -f conftest.$ac_objext conftest$ac_exeext
42633 if { (ac_try="$ac_link"
42634 case "(($ac_try" in
42635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636 *) ac_try_echo=$ac_try;;
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639 (eval "$ac_link") 2>conftest.er1
42641 grep -v '^ *+' conftest.er1 >conftest.err
42643 cat conftest.err >&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); } && {
42646 test -z "$ac_c_werror_flag" ||
42647 test ! -s conftest.err
42648 } && test -s conftest$ac_exeext &&
42649 $as_test_x conftest$ac_exeext; then
42650 ac_cv_func_localtime_r=yes
42652 echo "$as_me: failed program was:" >&5
42653 sed 's/^/| /' conftest.$ac_ext >&5
42655 ac_cv_func_localtime_r=no
42658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42659 conftest$ac_exeext conftest.$ac_ext
42661 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42662 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42663 if test $ac_cv_func_localtime_r = yes; then
42664 cat >>confdefs.h <<\_ACEOF
42665 #define HAVE_LOCALTIME_R 1
42670 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42671 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42672 if test "${ac_cv_func_gmtime_r+set}" = set; then
42673 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 cat >conftest.$ac_ext <<_ACEOF
42678 cat confdefs.h >>conftest.$ac_ext
42679 cat >>conftest.$ac_ext <<_ACEOF
42680 /* end confdefs.h. */
42681 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42683 #define gmtime_r innocuous_gmtime_r
42685 /* System header to define __stub macros and hopefully few prototypes,
42686 which can conflict with char gmtime_r (); below.
42687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42688 <limits.h> exists even on freestanding compilers. */
42691 # include <limits.h>
42693 # include <assert.h>
42698 /* Override any GCC internal prototype to avoid an error.
42699 Use char because int might match the return type of a GCC
42700 builtin and then its argument prototype would still apply. */
42705 /* The GNU C library defines this for functions which it implements
42706 to always fail with ENOSYS. Some functions are actually named
42707 something starting with __ and the normal name is an alias. */
42708 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42715 return gmtime_r ();
42720 rm -f conftest.$ac_objext conftest$ac_exeext
42721 if { (ac_try="$ac_link"
42722 case "(($ac_try" in
42723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42724 *) ac_try_echo=$ac_try;;
42726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42727 (eval "$ac_link") 2>conftest.er1
42729 grep -v '^ *+' conftest.er1 >conftest.err
42731 cat conftest.err >&5
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); } && {
42734 test -z "$ac_c_werror_flag" ||
42735 test ! -s conftest.err
42736 } && test -s conftest$ac_exeext &&
42737 $as_test_x conftest$ac_exeext; then
42738 ac_cv_func_gmtime_r=yes
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42743 ac_cv_func_gmtime_r=no
42746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42747 conftest$ac_exeext conftest.$ac_ext
42749 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42750 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42751 if test $ac_cv_func_gmtime_r = yes; then
42752 cat >>confdefs.h <<\_ACEOF
42753 #define HAVE_GMTIME_R 1
42758 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42759 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42760 if test "${ac_cv_func_readdir_r+set}" = set; then
42761 echo $ECHO_N "(cached) $ECHO_C" >&6
42763 cat >conftest.$ac_ext <<_ACEOF
42766 cat confdefs.h >>conftest.$ac_ext
42767 cat >>conftest.$ac_ext <<_ACEOF
42768 /* end confdefs.h. */
42769 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42771 #define readdir_r innocuous_readdir_r
42773 /* System header to define __stub macros and hopefully few prototypes,
42774 which can conflict with char readdir_r (); below.
42775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42776 <limits.h> exists even on freestanding compilers. */
42779 # include <limits.h>
42781 # include <assert.h>
42786 /* Override any GCC internal prototype to avoid an error.
42787 Use char because int might match the return type of a GCC
42788 builtin and then its argument prototype would still apply. */
42793 /* The GNU C library defines this for functions which it implements
42794 to always fail with ENOSYS. Some functions are actually named
42795 something starting with __ and the normal name is an alias. */
42796 #if defined __stub_readdir_r || defined __stub___readdir_r
42803 return readdir_r ();
42808 rm -f conftest.$ac_objext conftest$ac_exeext
42809 if { (ac_try="$ac_link"
42810 case "(($ac_try" in
42811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42812 *) ac_try_echo=$ac_try;;
42814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42815 (eval "$ac_link") 2>conftest.er1
42817 grep -v '^ *+' conftest.er1 >conftest.err
42819 cat conftest.err >&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); } && {
42822 test -z "$ac_c_werror_flag" ||
42823 test ! -s conftest.err
42824 } && test -s conftest$ac_exeext &&
42825 $as_test_x conftest$ac_exeext; then
42826 ac_cv_func_readdir_r=yes
42828 echo "$as_me: failed program was:" >&5
42829 sed 's/^/| /' conftest.$ac_ext >&5
42831 ac_cv_func_readdir_r=no
42834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42835 conftest$ac_exeext conftest.$ac_ext
42837 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42838 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42839 if test $ac_cv_func_readdir_r = yes; then
42840 cat >>confdefs.h <<\_ACEOF
42841 #define HAVE_READDIR_R 1
42850 ac_cpp='$CPP $CPPFLAGS'
42851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42855 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42856 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42858 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42863 ################################################################
42865 ac_cv_func_which_gethostbyname_r=unknown
42868 # ONE ARGUMENT (sanity check)
42871 # This should fail, as there is no variant of gethostbyname_r() that takes
42872 # a single argument. If it actually compiles, then we can assume that
42873 # netdb.h is not declaring the function, and the compiler is thereby
42874 # assuming an implicit prototype. In which case, we're out of luck.
42876 cat >conftest.$ac_ext <<_ACEOF
42879 cat confdefs.h >>conftest.$ac_ext
42880 cat >>conftest.$ac_ext <<_ACEOF
42881 /* end confdefs.h. */
42887 char *name = "www.gnu.org";
42888 (void)gethostbyname_r(name) /* ; */
42894 rm -f conftest.$ac_objext
42895 if { (ac_try="$ac_compile"
42896 case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_compile") 2>conftest.er1
42903 grep -v '^ *+' conftest.er1 >conftest.err
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest.$ac_objext; then
42911 ac_cv_func_which_gethostbyname_r=no
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42926 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42928 cat >conftest.$ac_ext <<_ACEOF
42931 cat confdefs.h >>conftest.$ac_ext
42932 cat >>conftest.$ac_ext <<_ACEOF
42933 /* end confdefs.h. */
42939 char *name = "www.gnu.org";
42940 struct hostent ret, *retp;
42944 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42950 rm -f conftest.$ac_objext
42951 if { (ac_try="$ac_compile"
42952 case "(($ac_try" in
42953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42954 *) ac_try_echo=$ac_try;;
42956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42957 (eval "$ac_compile") 2>conftest.er1
42959 grep -v '^ *+' conftest.er1 >conftest.err
42961 cat conftest.err >&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); } && {
42964 test -z "$ac_c_werror_flag" ||
42965 test ! -s conftest.err
42966 } && test -s conftest.$ac_objext; then
42967 ac_cv_func_which_gethostbyname_r=six
42969 echo "$as_me: failed program was:" >&5
42970 sed 's/^/| /' conftest.$ac_ext >&5
42975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42984 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42986 cat >conftest.$ac_ext <<_ACEOF
42989 cat confdefs.h >>conftest.$ac_ext
42990 cat >>conftest.$ac_ext <<_ACEOF
42991 /* end confdefs.h. */
42997 char *name = "www.gnu.org";
42998 struct hostent ret;
43002 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43008 rm -f conftest.$ac_objext
43009 if { (ac_try="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43012 *) ac_try_echo=$ac_try;;
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43017 grep -v '^ *+' conftest.er1 >conftest.err
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_c_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.$ac_objext; then
43025 ac_cv_func_which_gethostbyname_r=five
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039 # (e.g. AIX, HP-UX, Tru64)
43042 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43044 cat >conftest.$ac_ext <<_ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43055 char *name = "www.gnu.org";
43056 struct hostent ret;
43057 struct hostent_data data;
43058 (void)gethostbyname_r(name, &ret, &data) /* ; */
43064 rm -f conftest.$ac_objext
43065 if { (ac_try="$ac_compile"
43066 case "(($ac_try" in
43067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43068 *) ac_try_echo=$ac_try;;
43070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43071 (eval "$ac_compile") 2>conftest.er1
43073 grep -v '^ *+' conftest.er1 >conftest.err
43075 cat conftest.err >&5
43076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077 (exit $ac_status); } && {
43078 test -z "$ac_c_werror_flag" ||
43079 test ! -s conftest.err
43080 } && test -s conftest.$ac_objext; then
43081 ac_cv_func_which_gethostbyname_r=three
43083 echo "$as_me: failed program was:" >&5
43084 sed 's/^/| /' conftest.$ac_ext >&5
43089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43093 ################################################################
43098 case "$ac_cv_func_which_gethostbyname_r" in
43100 { echo "$as_me:$LINENO: result: three" >&5
43101 echo "${ECHO_T}three" >&6; }
43102 cat >>confdefs.h <<\_ACEOF
43103 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43109 { echo "$as_me:$LINENO: result: five" >&5
43110 echo "${ECHO_T}five" >&6; }
43111 cat >>confdefs.h <<\_ACEOF
43112 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43118 { echo "$as_me:$LINENO: result: six" >&5
43119 echo "${ECHO_T}six" >&6; }
43120 cat >>confdefs.h <<\_ACEOF
43121 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43127 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43128 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43132 { echo "$as_me:$LINENO: result: can't tell" >&5
43133 echo "${ECHO_T}can't tell" >&6; }
43137 { { echo "$as_me:$LINENO: error: internal error" >&5
43138 echo "$as_me: error: internal error" >&2;}
43139 { (exit 1); exit 1; }; }
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43152 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43153 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43154 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43155 if test "${ac_cv_func_gethostbyname+set}" = set; then
43156 echo $ECHO_N "(cached) $ECHO_C" >&6
43158 cat >conftest.$ac_ext <<_ACEOF
43161 cat confdefs.h >>conftest.$ac_ext
43162 cat >>conftest.$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43166 #define gethostbyname innocuous_gethostbyname
43168 /* System header to define __stub macros and hopefully few prototypes,
43169 which can conflict with char gethostbyname (); below.
43170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43171 <limits.h> exists even on freestanding compilers. */
43174 # include <limits.h>
43176 # include <assert.h>
43179 #undef gethostbyname
43181 /* Override any GCC internal prototype to avoid an error.
43182 Use char because int might match the return type of a GCC
43183 builtin and then its argument prototype would still apply. */
43187 char gethostbyname ();
43188 /* The GNU C library defines this for functions which it implements
43189 to always fail with ENOSYS. Some functions are actually named
43190 something starting with __ and the normal name is an alias. */
43191 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43198 return gethostbyname ();
43203 rm -f conftest.$ac_objext conftest$ac_exeext
43204 if { (ac_try="$ac_link"
43205 case "(($ac_try" in
43206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_link") 2>conftest.er1
43212 grep -v '^ *+' conftest.er1 >conftest.err
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } && {
43217 test -z "$ac_c_werror_flag" ||
43218 test ! -s conftest.err
43219 } && test -s conftest$ac_exeext &&
43220 $as_test_x conftest$ac_exeext; then
43221 ac_cv_func_gethostbyname=yes
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43226 ac_cv_func_gethostbyname=no
43229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43230 conftest$ac_exeext conftest.$ac_ext
43232 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43233 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43234 if test $ac_cv_func_gethostbyname = yes; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define HAVE_GETHOSTBYNAME 1
43243 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43244 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43245 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43250 ac_cpp='$CXXCPP $CPPFLAGS'
43251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256 cat >conftest.$ac_ext <<_ACEOF
43259 cat confdefs.h >>conftest.$ac_ext
43260 cat >>conftest.$ac_ext <<_ACEOF
43261 /* end confdefs.h. */
43269 struct servent *se, *res;
43272 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43278 rm -f conftest.$ac_objext
43279 if { (ac_try="$ac_compile"
43280 case "(($ac_try" in
43281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43282 *) ac_try_echo=$ac_try;;
43284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43285 (eval "$ac_compile") 2>conftest.er1
43287 grep -v '^ *+' conftest.er1 >conftest.err
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } && {
43292 test -z "$ac_cxx_werror_flag" ||
43293 test ! -s conftest.err
43294 } && test -s conftest.$ac_objext; then
43295 ac_cv_func_which_getservbyname_r=six
43297 echo "$as_me: failed program was:" >&5
43298 sed 's/^/| /' conftest.$ac_ext >&5
43301 cat >conftest.$ac_ext <<_ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43314 struct servent *se;
43317 (void) getservbyname_r(name, proto, se, buffer, buflen)
43323 rm -f conftest.$ac_objext
43324 if { (ac_try="$ac_compile"
43325 case "(($ac_try" in
43326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43327 *) ac_try_echo=$ac_try;;
43329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43330 (eval "$ac_compile") 2>conftest.er1
43332 grep -v '^ *+' conftest.er1 >conftest.err
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } && {
43337 test -z "$ac_cxx_werror_flag" ||
43338 test ! -s conftest.err
43339 } && test -s conftest.$ac_objext; then
43340 ac_cv_func_which_getservbyname_r=five
43342 echo "$as_me: failed program was:" >&5
43343 sed 's/^/| /' conftest.$ac_ext >&5
43346 cat >conftest.$ac_ext <<_ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h. */
43359 struct servent *se;
43360 struct servent_data data;
43361 (void) getservbyname_r(name, proto, se, &data);
43367 rm -f conftest.$ac_objext
43368 if { (ac_try="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43376 grep -v '^ *+' conftest.er1 >conftest.err
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_cxx_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43384 ac_cv_func_which_getservbyname_r=four
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43389 ac_cv_func_which_getservbyname_r=no
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43413 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43414 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43416 if test $ac_cv_func_which_getservbyname_r = six; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43421 elif test $ac_cv_func_which_getservbyname_r = five; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43426 elif test $ac_cv_func_which_getservbyname_r = four; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43434 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43435 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43437 for ac_func in getservbyname
43439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 cat >conftest.$ac_ext <<_ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43453 #define $ac_func innocuous_$ac_func
43455 /* System header to define __stub macros and hopefully few prototypes,
43456 which can conflict with char $ac_func (); below.
43457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43458 <limits.h> exists even on freestanding compilers. */
43461 # include <limits.h>
43463 # include <assert.h>
43468 /* Override any GCC internal prototype to avoid an error.
43469 Use char because int might match the return type of a GCC
43470 builtin and then its argument prototype would still apply. */
43475 /* The GNU C library defines this for functions which it implements
43476 to always fail with ENOSYS. Some functions are actually named
43477 something starting with __ and the normal name is an alias. */
43478 #if defined __stub_$ac_func || defined __stub___$ac_func
43485 return $ac_func ();
43490 rm -f conftest.$ac_objext conftest$ac_exeext
43491 if { (ac_try="$ac_link"
43492 case "(($ac_try" in
43493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43494 *) ac_try_echo=$ac_try;;
43496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43497 (eval "$ac_link") 2>conftest.er1
43499 grep -v '^ *+' conftest.er1 >conftest.err
43501 cat conftest.err >&5
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); } && {
43504 test -z "$ac_c_werror_flag" ||
43505 test ! -s conftest.err
43506 } && test -s conftest$ac_exeext &&
43507 $as_test_x conftest$ac_exeext; then
43508 eval "$as_ac_var=yes"
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.$ac_ext >&5
43513 eval "$as_ac_var=no"
43516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43517 conftest$ac_exeext conftest.$ac_ext
43519 ac_res=`eval echo '${'$as_ac_var'}'`
43520 { echo "$as_me:$LINENO: result: $ac_res" >&5
43521 echo "${ECHO_T}$ac_res" >&6; }
43522 if test `eval echo '${'$as_ac_var'}'` = yes; then
43523 cat >>confdefs.h <<_ACEOF
43524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43526 cat >>confdefs.h <<\_ACEOF
43527 #define HAVE_GETSERVBYNAME 1
43535 if test "$wxUSE_THREADS" = "yes"; then
43536 cat >>confdefs.h <<\_ACEOF
43537 #define wxUSE_THREADS 1
43541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43543 if test "$wx_cv_func_strtok_r" = "yes"; then
43544 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43545 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43546 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43548 { echo "$as_me:$LINENO: result: yes" >&5
43549 echo "${ECHO_T}yes" >&6; }
43551 { echo "$as_me:$LINENO: result: no" >&5
43552 echo "${ECHO_T}no" >&6; }
43557 if test "$WXGTK20" = 1 ; then
43558 cat >>confdefs.h <<_ACEOF
43559 #define __WXGTK20__ $WXGTK20
43565 if test "$WXGTK12" = 1 ; then
43566 cat >>confdefs.h <<_ACEOF
43567 #define __WXGTK12__ $WXGTK12
43572 if test "$WXGTK127" = 1 ; then
43573 cat >>confdefs.h <<_ACEOF
43574 #define __WXGTK127__ $WXGTK127
43579 if test "$WXGPE" = 1 ; then
43580 cat >>confdefs.h <<_ACEOF
43581 #define __WXGPE__ $WXGPE
43587 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43592 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43593 wxUSE_DEBUG_INFO=yes
43594 if test "$GCC" = yes; then
43595 DEBUG_CFLAGS="-ggdb"
43599 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43600 cat >>confdefs.h <<\_ACEOF
43604 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43606 if test "$wxUSE_GTK" = 1 ; then
43607 if test "x$wxGTK_VERSION" = "x1" ; then
43608 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43613 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43614 cat >>confdefs.h <<\_ACEOF
43615 #define wxUSE_MEMORY_TRACING 1
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43622 cat >>confdefs.h <<\_ACEOF
43623 #define wxUSE_DEBUG_NEW_ALWAYS 1
43626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43629 if test "$wxUSE_DMALLOC" = "yes" ; then
43630 DMALLOC_LIBS="-ldmallocthcxx"
43634 if test "$wxUSE_PROFILE" = "yes" ; then
43635 PROFILE_FLAGS=" -pg"
43638 if test "$GCC" = "yes" ; then
43639 if test "$wxUSE_NO_RTTI" = "yes" ; then
43640 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43642 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43643 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43645 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43646 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43651 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43660 if test "$wxUSE_OPTIMISE" = "no" ; then
43661 if test "$GCC" = yes ; then
43662 OPTIMISE_CFLAGS="-O0"
43665 if test "$GCC" = yes ; then
43667 *-pc-os2_emx | *-pc-os2-emx )
43668 OPTIMISE_CFLAGS="-O2"
43671 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43675 OPTIMISE_CFLAGS="-O"
43680 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define WXWIN_COMPATIBILITY_2_6 1
43686 WXWIN_COMPATIBILITY_2_8="yes"
43689 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define WXWIN_COMPATIBILITY_2_8 1
43697 if test "$wxUSE_GUI" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_GUI 1
43706 if test "$wxUSE_UNIX" = "yes"; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_UNIX 1
43714 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43718 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43719 if test "$USE_DARWIN" = 1; then
43721 elif test "$USE_DOS" = 1; then
43725 for ac_func in dlopen
43727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43731 echo $ECHO_N "(cached) $ECHO_C" >&6
43733 cat >conftest.$ac_ext <<_ACEOF
43736 cat confdefs.h >>conftest.$ac_ext
43737 cat >>conftest.$ac_ext <<_ACEOF
43738 /* end confdefs.h. */
43739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43741 #define $ac_func innocuous_$ac_func
43743 /* System header to define __stub macros and hopefully few prototypes,
43744 which can conflict with char $ac_func (); below.
43745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43746 <limits.h> exists even on freestanding compilers. */
43749 # include <limits.h>
43751 # include <assert.h>
43756 /* Override any GCC internal prototype to avoid an error.
43757 Use char because int might match the return type of a GCC
43758 builtin and then its argument prototype would still apply. */
43763 /* The GNU C library defines this for functions which it implements
43764 to always fail with ENOSYS. Some functions are actually named
43765 something starting with __ and the normal name is an alias. */
43766 #if defined __stub_$ac_func || defined __stub___$ac_func
43773 return $ac_func ();
43778 rm -f conftest.$ac_objext conftest$ac_exeext
43779 if { (ac_try="$ac_link"
43780 case "(($ac_try" in
43781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43782 *) ac_try_echo=$ac_try;;
43784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43785 (eval "$ac_link") 2>conftest.er1
43787 grep -v '^ *+' conftest.er1 >conftest.err
43789 cat conftest.err >&5
43790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43791 (exit $ac_status); } && {
43792 test -z "$ac_c_werror_flag" ||
43793 test ! -s conftest.err
43794 } && test -s conftest$ac_exeext &&
43795 $as_test_x conftest$ac_exeext; then
43796 eval "$as_ac_var=yes"
43798 echo "$as_me: failed program was:" >&5
43799 sed 's/^/| /' conftest.$ac_ext >&5
43801 eval "$as_ac_var=no"
43804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43805 conftest$ac_exeext conftest.$ac_ext
43807 ac_res=`eval echo '${'$as_ac_var'}'`
43808 { echo "$as_me:$LINENO: result: $ac_res" >&5
43809 echo "${ECHO_T}$ac_res" >&6; }
43810 if test `eval echo '${'$as_ac_var'}'` = yes; then
43811 cat >>confdefs.h <<_ACEOF
43812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43815 cat >>confdefs.h <<\_ACEOF
43816 #define HAVE_DLOPEN 1
43823 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43824 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43825 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43826 echo $ECHO_N "(cached) $ECHO_C" >&6
43828 ac_check_lib_save_LIBS=$LIBS
43830 cat >conftest.$ac_ext <<_ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43837 /* Override any GCC internal prototype to avoid an error.
43838 Use char because int might match the return type of a GCC
43839 builtin and then its argument prototype would still apply. */
43852 rm -f conftest.$ac_objext conftest$ac_exeext
43853 if { (ac_try="$ac_link"
43854 case "(($ac_try" in
43855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43856 *) ac_try_echo=$ac_try;;
43858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43859 (eval "$ac_link") 2>conftest.er1
43861 grep -v '^ *+' conftest.er1 >conftest.err
43863 cat conftest.err >&5
43864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865 (exit $ac_status); } && {
43866 test -z "$ac_c_werror_flag" ||
43867 test ! -s conftest.err
43868 } && test -s conftest$ac_exeext &&
43869 $as_test_x conftest$ac_exeext; then
43870 ac_cv_lib_dl_dlopen=yes
43872 echo "$as_me: failed program was:" >&5
43873 sed 's/^/| /' conftest.$ac_ext >&5
43875 ac_cv_lib_dl_dlopen=no
43878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43879 conftest$ac_exeext conftest.$ac_ext
43880 LIBS=$ac_check_lib_save_LIBS
43882 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43883 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43884 if test $ac_cv_lib_dl_dlopen = yes; then
43886 cat >>confdefs.h <<\_ACEOF
43887 #define HAVE_DLOPEN 1
43891 DL_LINK=" -ldl$DL_LINK"
43896 for ac_func in shl_load
43898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43902 echo $ECHO_N "(cached) $ECHO_C" >&6
43904 cat >conftest.$ac_ext <<_ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h. */
43910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43912 #define $ac_func innocuous_$ac_func
43914 /* System header to define __stub macros and hopefully few prototypes,
43915 which can conflict with char $ac_func (); below.
43916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43917 <limits.h> exists even on freestanding compilers. */
43920 # include <limits.h>
43922 # include <assert.h>
43927 /* Override any GCC internal prototype to avoid an error.
43928 Use char because int might match the return type of a GCC
43929 builtin and then its argument prototype would still apply. */
43934 /* The GNU C library defines this for functions which it implements
43935 to always fail with ENOSYS. Some functions are actually named
43936 something starting with __ and the normal name is an alias. */
43937 #if defined __stub_$ac_func || defined __stub___$ac_func
43944 return $ac_func ();
43949 rm -f conftest.$ac_objext conftest$ac_exeext
43950 if { (ac_try="$ac_link"
43951 case "(($ac_try" in
43952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43953 *) ac_try_echo=$ac_try;;
43955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43956 (eval "$ac_link") 2>conftest.er1
43958 grep -v '^ *+' conftest.er1 >conftest.err
43960 cat conftest.err >&5
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); } && {
43963 test -z "$ac_c_werror_flag" ||
43964 test ! -s conftest.err
43965 } && test -s conftest$ac_exeext &&
43966 $as_test_x conftest$ac_exeext; then
43967 eval "$as_ac_var=yes"
43969 echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43972 eval "$as_ac_var=no"
43975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43976 conftest$ac_exeext conftest.$ac_ext
43978 ac_res=`eval echo '${'$as_ac_var'}'`
43979 { echo "$as_me:$LINENO: result: $ac_res" >&5
43980 echo "${ECHO_T}$ac_res" >&6; }
43981 if test `eval echo '${'$as_ac_var'}'` = yes; then
43982 cat >>confdefs.h <<_ACEOF
43983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43986 cat >>confdefs.h <<\_ACEOF
43987 #define HAVE_SHL_LOAD 1
43994 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43995 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43996 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43997 echo $ECHO_N "(cached) $ECHO_C" >&6
43999 ac_check_lib_save_LIBS=$LIBS
44000 LIBS="-lshl_load $LIBS"
44001 cat >conftest.$ac_ext <<_ACEOF
44004 cat confdefs.h >>conftest.$ac_ext
44005 cat >>conftest.$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44008 /* Override any GCC internal prototype to avoid an error.
44009 Use char because int might match the return type of a GCC
44010 builtin and then its argument prototype would still apply. */
44023 rm -f conftest.$ac_objext conftest$ac_exeext
44024 if { (ac_try="$ac_link"
44025 case "(($ac_try" in
44026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44027 *) ac_try_echo=$ac_try;;
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_link") 2>conftest.er1
44032 grep -v '^ *+' conftest.er1 >conftest.err
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_c_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest$ac_exeext &&
44040 $as_test_x conftest$ac_exeext; then
44041 ac_cv_lib_shl_load_dld=yes
44043 echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44046 ac_cv_lib_shl_load_dld=no
44049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44050 conftest$ac_exeext conftest.$ac_ext
44051 LIBS=$ac_check_lib_save_LIBS
44053 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44054 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44055 if test $ac_cv_lib_shl_load_dld = yes; then
44058 DL_LINK=" -ldld$DL_LINK"
44074 if test "$HAVE_DL_FUNCS" = 1; then
44076 for ac_func in dlerror
44078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44079 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44081 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44082 echo $ECHO_N "(cached) $ECHO_C" >&6
44084 cat >conftest.$ac_ext <<_ACEOF
44087 cat confdefs.h >>conftest.$ac_ext
44088 cat >>conftest.$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44092 #define $ac_func innocuous_$ac_func
44094 /* System header to define __stub macros and hopefully few prototypes,
44095 which can conflict with char $ac_func (); below.
44096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44097 <limits.h> exists even on freestanding compilers. */
44100 # include <limits.h>
44102 # include <assert.h>
44107 /* Override any GCC internal prototype to avoid an error.
44108 Use char because int might match the return type of a GCC
44109 builtin and then its argument prototype would still apply. */
44114 /* The GNU C library defines this for functions which it implements
44115 to always fail with ENOSYS. Some functions are actually named
44116 something starting with __ and the normal name is an alias. */
44117 #if defined __stub_$ac_func || defined __stub___$ac_func
44124 return $ac_func ();
44129 rm -f conftest.$ac_objext conftest$ac_exeext
44130 if { (ac_try="$ac_link"
44131 case "(($ac_try" in
44132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44133 *) ac_try_echo=$ac_try;;
44135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44136 (eval "$ac_link") 2>conftest.er1
44138 grep -v '^ *+' conftest.er1 >conftest.err
44140 cat conftest.err >&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); } && {
44143 test -z "$ac_c_werror_flag" ||
44144 test ! -s conftest.err
44145 } && test -s conftest$ac_exeext &&
44146 $as_test_x conftest$ac_exeext; then
44147 eval "$as_ac_var=yes"
44149 echo "$as_me: failed program was:" >&5
44150 sed 's/^/| /' conftest.$ac_ext >&5
44152 eval "$as_ac_var=no"
44155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44156 conftest$ac_exeext conftest.$ac_ext
44158 ac_res=`eval echo '${'$as_ac_var'}'`
44159 { echo "$as_me:$LINENO: result: $ac_res" >&5
44160 echo "${ECHO_T}$ac_res" >&6; }
44161 if test `eval echo '${'$as_ac_var'}'` = yes; then
44162 cat >>confdefs.h <<_ACEOF
44163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44165 cat >>confdefs.h <<\_ACEOF
44166 #define HAVE_DLERROR 1
44171 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44172 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44173 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44174 echo $ECHO_N "(cached) $ECHO_C" >&6
44176 ac_check_lib_save_LIBS=$LIBS
44178 cat >conftest.$ac_ext <<_ACEOF
44181 cat confdefs.h >>conftest.$ac_ext
44182 cat >>conftest.$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44185 /* Override any GCC internal prototype to avoid an error.
44186 Use char because int might match the return type of a GCC
44187 builtin and then its argument prototype would still apply. */
44200 rm -f conftest.$ac_objext conftest$ac_exeext
44201 if { (ac_try="$ac_link"
44202 case "(($ac_try" in
44203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44204 *) ac_try_echo=$ac_try;;
44206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44207 (eval "$ac_link") 2>conftest.er1
44209 grep -v '^ *+' conftest.er1 >conftest.err
44211 cat conftest.err >&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } && {
44214 test -z "$ac_c_werror_flag" ||
44215 test ! -s conftest.err
44216 } && test -s conftest$ac_exeext &&
44217 $as_test_x conftest$ac_exeext; then
44218 ac_cv_lib_dl_dlerror=yes
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44223 ac_cv_lib_dl_dlerror=no
44226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44227 conftest$ac_exeext conftest.$ac_ext
44228 LIBS=$ac_check_lib_save_LIBS
44230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44231 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44232 if test $ac_cv_lib_dl_dlerror = yes; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define HAVE_DLERROR 1
44247 if test "$HAVE_DL_FUNCS" = 0; then
44248 if test "$HAVE_SHL_FUNCS" = 0; then
44249 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44250 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44251 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44252 wxUSE_DYNAMIC_LOADER=no
44253 wxUSE_DYNLIB_CLASS=no
44255 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44256 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_DYNAMIC_LOADER 1
44269 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_DYNLIB_CLASS 1
44278 if test "$wxUSE_PLUGINS" = "yes" ; then
44279 if test "$wxUSE_SHARED" = "no" ; then
44280 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44281 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44284 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44285 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44286 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44289 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44290 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44291 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44294 if test "$wxUSE_PLUGINS" = "yes" ; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_PLUGINS 1
44303 if test "$wxUSE_STL" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_STL 1
44310 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_EXTENDED_RTTI 1
44317 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_APPLE_IEEE 1
44324 if test "$wxUSE_TIMER" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_TIMER 1
44331 if test "$USE_UNIX" = "1" ; then
44332 if test "$wxUSE_MGL" != 1; then
44333 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44334 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44335 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 cat >conftest.$ac_ext <<_ACEOF
44342 cat confdefs.h >>conftest.$ac_ext
44343 cat >>conftest.$ac_ext <<_ACEOF
44344 /* end confdefs.h. */
44346 #include <sys/ioctl.h>
44347 #include <sys/soundcard.h>
44353 ioctl(0, SNDCTL_DSP_SPEED, 0);
44359 rm -f conftest.$ac_objext conftest$ac_exeext
44360 if { (ac_try="$ac_link"
44361 case "(($ac_try" in
44362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44363 *) ac_try_echo=$ac_try;;
44365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44366 (eval "$ac_link") 2>conftest.er1
44368 grep -v '^ *+' conftest.er1 >conftest.err
44370 cat conftest.err >&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } && {
44373 test -z "$ac_c_werror_flag" ||
44374 test ! -s conftest.err
44375 } && test -s conftest$ac_exeext &&
44376 $as_test_x conftest$ac_exeext; then
44377 ac_cv_header_sys_soundcard=yes
44379 echo "$as_me: failed program was:" >&5
44380 sed 's/^/| /' conftest.$ac_ext >&5
44384 LIBS="$saveLibs -lossaudio"
44385 cat >conftest.$ac_ext <<_ACEOF
44388 cat confdefs.h >>conftest.$ac_ext
44389 cat >>conftest.$ac_ext <<_ACEOF
44390 /* end confdefs.h. */
44392 #include <sys/ioctl.h>
44393 #include <sys/soundcard.h>
44399 ioctl(0, SNDCTL_DSP_SPEED, 0);
44405 rm -f conftest.$ac_objext conftest$ac_exeext
44406 if { (ac_try="$ac_link"
44407 case "(($ac_try" in
44408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44409 *) ac_try_echo=$ac_try;;
44411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44412 (eval "$ac_link") 2>conftest.er1
44414 grep -v '^ *+' conftest.er1 >conftest.err
44416 cat conftest.err >&5
44417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44418 (exit $ac_status); } && {
44419 test -z "$ac_c_werror_flag" ||
44420 test ! -s conftest.err
44421 } && test -s conftest$ac_exeext &&
44422 $as_test_x conftest$ac_exeext; then
44423 ac_cv_header_sys_soundcard=yes
44425 echo "$as_me: failed program was:" >&5
44426 sed 's/^/| /' conftest.$ac_ext >&5
44430 ac_cv_header_sys_soundcard=no
44435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44436 conftest$ac_exeext conftest.$ac_ext
44441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44442 conftest$ac_exeext conftest.$ac_ext
44445 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44446 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44449 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define HAVE_SYS_SOUNDCARD_H 1
44458 if test "$wxUSE_SOUND" = "yes"; then
44459 if test "$USE_UNIX" = "1" ; then
44460 if test "$wxUSE_LIBSDL" != "no"; then
44462 # Check whether --with-sdl-prefix was given.
44463 if test "${with_sdl_prefix+set}" = set; then
44464 withval=$with_sdl_prefix; sdl_prefix="$withval"
44470 # Check whether --with-sdl-exec-prefix was given.
44471 if test "${with_sdl_exec_prefix+set}" = set; then
44472 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44477 # Check whether --enable-sdltest was given.
44478 if test "${enable_sdltest+set}" = set; then
44479 enableval=$enable_sdltest;
44485 if test x$sdl_exec_prefix != x ; then
44486 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44487 if test x${SDL_CONFIG+set} != xset ; then
44488 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44491 if test x$sdl_prefix != x ; then
44492 sdl_args="$sdl_args --prefix=$sdl_prefix"
44493 if test x${SDL_CONFIG+set} != xset ; then
44494 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44498 if test "x$prefix" != xNONE; then
44499 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44501 # Extract the first word of "sdl-config", so it can be a program name with args.
44502 set dummy sdl-config; ac_word=$2
44503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44505 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44506 echo $ECHO_N "(cached) $ECHO_C" >&6
44508 case $SDL_CONFIG in
44510 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44514 for as_dir in $PATH
44517 test -z "$as_dir" && as_dir=.
44518 for ac_exec_ext in '' $ac_executable_extensions; do
44519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44520 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44528 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44532 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44533 if test -n "$SDL_CONFIG"; then
44534 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44535 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44537 { echo "$as_me:$LINENO: result: no" >&5
44538 echo "${ECHO_T}no" >&6; }
44542 min_sdl_version=1.2.0
44543 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44544 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44546 if test "$SDL_CONFIG" = "no" ; then
44549 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44550 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44552 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44554 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44556 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44558 if test "x$enable_sdltest" = "xyes" ; then
44559 ac_save_CFLAGS="$CFLAGS"
44560 ac_save_CXXFLAGS="$CXXFLAGS"
44561 ac_save_LIBS="$LIBS"
44562 CFLAGS="$CFLAGS $SDL_CFLAGS"
44563 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44564 LIBS="$LIBS $SDL_LIBS"
44566 if test "$cross_compiling" = yes; then
44567 echo $ac_n "cross compiling; assumed OK... $ac_c"
44569 cat >conftest.$ac_ext <<_ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h. */
44577 #include <stdlib.h>
44578 #include <string.h>
44582 my_strdup (char *str)
44588 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44589 strcpy (new_str, str);
44597 int main (int argc, char *argv[])
44599 int major, minor, micro;
44602 /* This hangs on some systems (?)
44603 system ("touch conf.sdltest");
44605 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44607 /* HP/UX 9 (%@#!) writes to sscanf strings */
44608 tmp_version = my_strdup("$min_sdl_version");
44609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44610 printf("%s, bad version string\n", "$min_sdl_version");
44614 if (($sdl_major_version > major) ||
44615 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44616 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44622 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44623 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44624 printf("*** best to upgrade to the required version.\n");
44625 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44626 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44627 printf("*** config.cache before re-running configure\n");
44634 rm -f conftest$ac_exeext
44635 if { (ac_try="$ac_link"
44636 case "(($ac_try" in
44637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44638 *) ac_try_echo=$ac_try;;
44640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44641 (eval "$ac_link") 2>&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44645 { (case "(($ac_try" in
44646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44647 *) ac_try_echo=$ac_try;;
44649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44650 (eval "$ac_try") 2>&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); }; }; then
44656 echo "$as_me: program exited with status $ac_status" >&5
44657 echo "$as_me: failed program was:" >&5
44658 sed 's/^/| /' conftest.$ac_ext >&5
44660 ( exit $ac_status )
44663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44667 CFLAGS="$ac_save_CFLAGS"
44668 CXXFLAGS="$ac_save_CXXFLAGS"
44669 LIBS="$ac_save_LIBS"
44672 if test "x$no_sdl" = x ; then
44673 { echo "$as_me:$LINENO: result: yes" >&5
44674 echo "${ECHO_T}yes" >&6; }
44676 EXTRALIBS_SDL="$SDL_LIBS"
44677 CFLAGS="$SDL_CFLAGS $CFLAGS"
44678 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44679 cat >>confdefs.h <<\_ACEOF
44680 #define wxUSE_LIBSDL 1
44685 { echo "$as_me:$LINENO: result: no" >&5
44686 echo "${ECHO_T}no" >&6; }
44687 if test "$SDL_CONFIG" = "no" ; then
44688 echo "*** The sdl-config script installed by SDL could not be found"
44689 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44690 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44691 echo "*** full path to sdl-config."
44693 if test -f conf.sdltest ; then
44696 echo "*** Could not run SDL test program, checking why..."
44697 CFLAGS="$CFLAGS $SDL_CFLAGS"
44698 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44699 LIBS="$LIBS $SDL_LIBS"
44700 cat >conftest.$ac_ext <<_ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44710 int main(int argc, char *argv[])
44713 #define main K_and_R_C_main
44723 rm -f conftest.$ac_objext conftest$ac_exeext
44724 if { (ac_try="$ac_link"
44725 case "(($ac_try" in
44726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44727 *) ac_try_echo=$ac_try;;
44729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44730 (eval "$ac_link") 2>conftest.er1
44732 grep -v '^ *+' conftest.er1 >conftest.err
44734 cat conftest.err >&5
44735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44736 (exit $ac_status); } && {
44737 test -z "$ac_c_werror_flag" ||
44738 test ! -s conftest.err
44739 } && test -s conftest$ac_exeext &&
44740 $as_test_x conftest$ac_exeext; then
44741 echo "*** The test program compiled, but did not run. This usually means"
44742 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44743 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44744 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44745 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44746 echo "*** is required on your system"
44748 echo "*** If you have an old version installed, it is best to remove it, although"
44749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.$ac_ext >&5
44754 echo "*** The test program failed to compile or link. See the file config.log for the"
44755 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44756 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44757 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44761 conftest$ac_exeext conftest.$ac_ext
44762 CFLAGS="$ac_save_CFLAGS"
44763 CXXFLAGS="$ac_save_CXXFLAGS"
44764 LIBS="$ac_save_LIBS"
44775 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44780 if test "$wxUSE_MGL" = 1; then
44781 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44782 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44788 if test "$wxUSE_SOUND" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_SOUND 1
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44796 if test "$WXGTK20" = 1; then
44799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44800 if test -n "$ac_tool_prefix"; then
44801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44802 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44806 echo $ECHO_N "(cached) $ECHO_C" >&6
44808 case $PKG_CONFIG in
44810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44814 for as_dir in $PATH
44817 test -z "$as_dir" && as_dir=.
44818 for ac_exec_ext in '' $ac_executable_extensions; do
44819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44832 if test -n "$PKG_CONFIG"; then
44833 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44834 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44836 { echo "$as_me:$LINENO: result: no" >&5
44837 echo "${ECHO_T}no" >&6; }
44842 if test -z "$ac_cv_path_PKG_CONFIG"; then
44843 ac_pt_PKG_CONFIG=$PKG_CONFIG
44844 # Extract the first word of "pkg-config", so it can be a program name with args.
44845 set dummy pkg-config; ac_word=$2
44846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44848 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44849 echo $ECHO_N "(cached) $ECHO_C" >&6
44851 case $ac_pt_PKG_CONFIG in
44853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44857 for as_dir in $PATH
44860 test -z "$as_dir" && as_dir=.
44861 for ac_exec_ext in '' $ac_executable_extensions; do
44862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44874 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44875 if test -n "$ac_pt_PKG_CONFIG"; then
44876 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44877 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44879 { echo "$as_me:$LINENO: result: no" >&5
44880 echo "${ECHO_T}no" >&6; }
44883 if test "x$ac_pt_PKG_CONFIG" = x; then
44886 case $cross_compiling:$ac_tool_warned in
44888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44889 whose name does not start with the host triplet. If you think this
44890 configuration is useful to you, please write to autoconf@gnu.org." >&5
44891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44892 whose name does not start with the host triplet. If you think this
44893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44894 ac_tool_warned=yes ;;
44896 PKG_CONFIG=$ac_pt_PKG_CONFIG
44899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44903 if test -n "$PKG_CONFIG"; then
44904 _pkg_min_version=0.9.0
44905 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44906 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44908 { echo "$as_me:$LINENO: result: yes" >&5
44909 echo "${ECHO_T}yes" >&6; }
44911 { echo "$as_me:$LINENO: result: no" >&5
44912 echo "${ECHO_T}no" >&6; }
44918 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44919 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44923 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44924 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44926 if test -n "$PKG_CONFIG"; then
44927 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44928 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44930 if test -n "$PKG_CONFIG" && \
44931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44932 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44935 (exit $ac_status); }; then
44936 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44944 if test -n "$PKG_CONFIG"; then
44945 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44946 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44948 if test -n "$PKG_CONFIG" && \
44949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44950 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); }; then
44954 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44965 if test $pkg_failed = yes; then
44967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44968 _pkg_short_errors_supported=yes
44970 _pkg_short_errors_supported=no
44972 if test $_pkg_short_errors_supported = yes; then
44973 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44975 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44977 # Put the nasty error message in config.log where it belongs
44978 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44981 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44982 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44983 wxUSE_LIBGNOMEPRINT="no"
44986 elif test $pkg_failed = untried; then
44988 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44989 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44990 wxUSE_LIBGNOMEPRINT="no"
44994 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44995 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44996 { echo "$as_me:$LINENO: result: yes" >&5
44997 echo "${ECHO_T}yes" >&6; }
44999 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45000 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_LIBGNOMEPRINT 1
45010 if test "$wxUSE_MIMETYPE" = "yes" ; then
45011 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45015 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45016 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45018 if test -n "$PKG_CONFIG"; then
45019 if test -n "$GNOMEVFS_CFLAGS"; then
45020 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45022 if test -n "$PKG_CONFIG" && \
45023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45024 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); }; then
45028 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45036 if test -n "$PKG_CONFIG"; then
45037 if test -n "$GNOMEVFS_LIBS"; then
45038 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45040 if test -n "$PKG_CONFIG" && \
45041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45042 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; then
45046 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45057 if test $pkg_failed = yes; then
45059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45060 _pkg_short_errors_supported=yes
45062 _pkg_short_errors_supported=no
45064 if test $_pkg_short_errors_supported = yes; then
45065 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45067 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45069 # Put the nasty error message in config.log where it belongs
45070 echo "$GNOMEVFS_PKG_ERRORS" >&5
45073 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45074 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45075 wxUSE_LIBGNOMEVFS="no"
45078 elif test $pkg_failed = untried; then
45080 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45081 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45082 wxUSE_LIBGNOMEVFS="no"
45086 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45087 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45088 { echo "$as_me:$LINENO: result: yes" >&5
45089 echo "${ECHO_T}yes" >&6; }
45091 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45092 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_LIBGNOMEVFS 1
45102 if test "$wxUSE_LIBHILDON" = "yes" ; then
45105 { echo "$as_me:$LINENO: checking for HILDON" >&5
45106 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45108 if test -n "$PKG_CONFIG"; then
45109 if test -n "$HILDON_CFLAGS"; then
45110 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45112 if test -n "$PKG_CONFIG" && \
45113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45114 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; then
45118 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45126 if test -n "$PKG_CONFIG"; then
45127 if test -n "$HILDON_LIBS"; then
45128 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45130 if test -n "$PKG_CONFIG" && \
45131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45132 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135 (exit $ac_status); }; then
45136 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45147 if test $pkg_failed = yes; then
45149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45150 _pkg_short_errors_supported=yes
45152 _pkg_short_errors_supported=no
45154 if test $_pkg_short_errors_supported = yes; then
45155 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45157 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45159 # Put the nasty error message in config.log where it belongs
45160 echo "$HILDON_PKG_ERRORS" >&5
45163 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45164 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45165 wxUSE_LIBHILDON="no"
45168 elif test $pkg_failed = untried; then
45170 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45171 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45172 wxUSE_LIBHILDON="no"
45176 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45177 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45178 { echo "$as_me:$LINENO: result: yes" >&5
45179 echo "${ECHO_T}yes" >&6; }
45181 EXTRALIBS_HILDON="$HILDON_LIBS"
45182 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45183 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_LIBHILDON 1
45193 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_CMDLINE_PARSER 1
45200 if test "$wxUSE_STOPWATCH" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_STOPWATCH 1
45207 if test "$wxUSE_DATETIME" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_DATETIME 1
45214 if test "$wxUSE_FILE" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_FILE 1
45221 if test "$wxUSE_FFILE" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_FFILE 1
45228 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45229 if test "$wxUSE_STREAMS" != yes; then
45230 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45231 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45232 wxUSE_ARCHIVE_STREAMS=no
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_ARCHIVE_STREAMS 1
45241 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45242 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45243 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45244 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45245 elif test "$wxUSE_ZLIB" = "no"; then
45246 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45247 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_ZIPSTREAM 1
45256 if test "$wxUSE_TARSTREAM" = "yes"; then
45257 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45258 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45259 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_TARSTREAM 1
45268 if test "$wxUSE_FILESYSTEM" = "yes"; then
45269 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45270 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45271 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45272 wxUSE_FILESYSTEM=no
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_FILESYSTEM 1
45281 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45282 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45283 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45284 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_FS_ARCHIVE 1
45293 if test "$wxUSE_FS_ZIP" = "yes"; then
45294 if test "$wxUSE_FS_ARCHIVE" != yes; then
45295 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45296 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_FS_ZIP 1
45305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45306 if test "$USE_UNIX" != 1; then
45307 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45308 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45309 wxUSE_ON_FATAL_EXCEPTION=no
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_ON_FATAL_EXCEPTION 1
45318 if test "$wxUSE_STACKWALKER" = "yes"; then
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_STACKWALKER 1
45325 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45326 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45327 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45328 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45329 wxUSE_DEBUGREPORT=no
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_DEBUGREPORT 1
45335 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45341 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_SNGLINST_CHECKER 1
45348 if test "$wxUSE_BUSYINFO" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_BUSYINFO 1
45355 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_STD_IOSTREAM 1
45362 if test "$wxUSE_STD_STRING" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_STD_STRING 1
45369 if test "$wxUSE_STDPATHS" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_STDPATHS 1
45376 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_TEXTBUFFER 1
45383 if test "$wxUSE_TEXTFILE" = "yes"; then
45384 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45385 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45386 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_TEXTFILE 1
45395 if test "$wxUSE_CONFIG" = "yes" ; then
45396 if test "$wxUSE_TEXTFILE" != "yes"; then
45397 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45398 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_CONFIG 1
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_CONFIG_NATIVE 1
45408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45412 if test "$wxUSE_INTL" = "yes" ; then
45413 if test "$wxUSE_FILE" != "yes"; then
45414 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45415 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_INTL 1
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45422 GUIDIST="$GUIDIST INTL_DIST"
45426 if test "$wxUSE_LOG" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_LOG 1
45432 if test "$wxUSE_LOGGUI" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_LOGGUI 1
45439 if test "$wxUSE_LOGWINDOW" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_LOGWINDOW 1
45446 if test "$wxUSE_LOGDIALOG" = "yes"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_LOG_DIALOG 1
45453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45456 if test "$wxUSE_LONGLONG" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_LONGLONG 1
45463 if test "$wxUSE_GEOMETRY" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_GEOMETRY 1
45470 if test "$wxUSE_BASE64" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_BASE64 1
45477 if test "$wxUSE_STREAMS" = "yes" ; then
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_STREAMS 1
45484 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_PRINTF_POS_PARAMS 1
45491 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_OBJC_UNIQUIFYING 1
45499 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_CONSOLE_EVENTLOOP 1
45505 if test "$wxUSE_UNIX" = "yes"; then
45506 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_SELECT_DISPATCHER 1
45513 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45515 for ac_header in sys/epoll.h
45517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45522 echo $ECHO_N "(cached) $ECHO_C" >&6
45524 ac_res=`eval echo '${'$as_ac_Header'}'`
45525 { echo "$as_me:$LINENO: result: $ac_res" >&5
45526 echo "${ECHO_T}$ac_res" >&6; }
45528 # Is the header compilable?
45529 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45531 cat >conftest.$ac_ext <<_ACEOF
45534 cat confdefs.h >>conftest.$ac_ext
45535 cat >>conftest.$ac_ext <<_ACEOF
45536 /* end confdefs.h. */
45537 $ac_includes_default
45538 #include <$ac_header>
45540 rm -f conftest.$ac_objext
45541 if { (ac_try="$ac_compile"
45542 case "(($ac_try" in
45543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45544 *) ac_try_echo=$ac_try;;
45546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45547 (eval "$ac_compile") 2>conftest.er1
45549 grep -v '^ *+' conftest.er1 >conftest.err
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } && {
45554 test -z "$ac_c_werror_flag" ||
45555 test ! -s conftest.err
45556 } && test -s conftest.$ac_objext; then
45557 ac_header_compiler=yes
45559 echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45562 ac_header_compiler=no
45565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45566 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45567 echo "${ECHO_T}$ac_header_compiler" >&6; }
45569 # Is the header present?
45570 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45572 cat >conftest.$ac_ext <<_ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 #include <$ac_header>
45580 if { (ac_try="$ac_cpp conftest.$ac_ext"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45588 grep -v '^ *+' conftest.er1 >conftest.err
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } >/dev/null && {
45593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45594 test ! -s conftest.err
45596 ac_header_preproc=yes
45598 echo "$as_me: failed program was:" >&5
45599 sed 's/^/| /' conftest.$ac_ext >&5
45601 ac_header_preproc=no
45604 rm -f conftest.err conftest.$ac_ext
45605 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45606 echo "${ECHO_T}$ac_header_preproc" >&6; }
45608 # So? What about this header?
45609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45615 ac_header_preproc=yes
45618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45631 ## ----------------------------------------- ##
45632 ## Report this to wx-dev@lists.wxwidgets.org ##
45633 ## ----------------------------------------- ##
45635 ) | sed "s/^/$as_me: WARNING: /" >&2
45638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45641 echo $ECHO_N "(cached) $ECHO_C" >&6
45643 eval "$as_ac_Header=\$ac_header_preproc"
45645 ac_res=`eval echo '${'$as_ac_Header'}'`
45646 { echo "$as_me:$LINENO: result: $ac_res" >&5
45647 echo "${ECHO_T}$ac_res" >&6; }
45650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45651 cat >>confdefs.h <<_ACEOF
45652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45659 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_EPOLL_DISPATCHER 1
45665 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45666 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45675 for ac_func in gettimeofday ftime
45677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 cat >conftest.$ac_ext <<_ACEOF
45686 cat confdefs.h >>conftest.$ac_ext
45687 cat >>conftest.$ac_ext <<_ACEOF
45688 /* end confdefs.h. */
45689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45691 #define $ac_func innocuous_$ac_func
45693 /* System header to define __stub macros and hopefully few prototypes,
45694 which can conflict with char $ac_func (); below.
45695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45696 <limits.h> exists even on freestanding compilers. */
45699 # include <limits.h>
45701 # include <assert.h>
45706 /* Override any GCC internal prototype to avoid an error.
45707 Use char because int might match the return type of a GCC
45708 builtin and then its argument prototype would still apply. */
45713 /* The GNU C library defines this for functions which it implements
45714 to always fail with ENOSYS. Some functions are actually named
45715 something starting with __ and the normal name is an alias. */
45716 #if defined __stub_$ac_func || defined __stub___$ac_func
45723 return $ac_func ();
45728 rm -f conftest.$ac_objext conftest$ac_exeext
45729 if { (ac_try="$ac_link"
45730 case "(($ac_try" in
45731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45732 *) ac_try_echo=$ac_try;;
45734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45735 (eval "$ac_link") 2>conftest.er1
45737 grep -v '^ *+' conftest.er1 >conftest.err
45739 cat conftest.err >&5
45740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45741 (exit $ac_status); } && {
45742 test -z "$ac_c_werror_flag" ||
45743 test ! -s conftest.err
45744 } && test -s conftest$ac_exeext &&
45745 $as_test_x conftest$ac_exeext; then
45746 eval "$as_ac_var=yes"
45748 echo "$as_me: failed program was:" >&5
45749 sed 's/^/| /' conftest.$ac_ext >&5
45751 eval "$as_ac_var=no"
45754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45755 conftest$ac_exeext conftest.$ac_ext
45757 ac_res=`eval echo '${'$as_ac_var'}'`
45758 { echo "$as_me:$LINENO: result: $ac_res" >&5
45759 echo "${ECHO_T}$ac_res" >&6; }
45760 if test `eval echo '${'$as_ac_var'}'` = yes; then
45761 cat >>confdefs.h <<_ACEOF
45762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769 if test "$ac_cv_func_gettimeofday" = "yes"; then
45770 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45771 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45772 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45773 echo $ECHO_N "(cached) $ECHO_C" >&6
45776 cat >conftest.$ac_ext <<_ACEOF
45779 cat confdefs.h >>conftest.$ac_ext
45780 cat >>conftest.$ac_ext <<_ACEOF
45781 /* end confdefs.h. */
45783 #include <sys/time.h>
45784 #include <unistd.h>
45791 gettimeofday(&tv, NULL);
45797 rm -f conftest.$ac_objext
45798 if { (ac_try="$ac_compile"
45799 case "(($ac_try" in
45800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45801 *) ac_try_echo=$ac_try;;
45803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45804 (eval "$ac_compile") 2>conftest.er1
45806 grep -v '^ *+' conftest.er1 >conftest.err
45808 cat conftest.err >&5
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); } && {
45811 test -z "$ac_c_werror_flag" ||
45812 test ! -s conftest.err
45813 } && test -s conftest.$ac_objext; then
45814 wx_cv_func_gettimeofday_has_2_args=yes
45816 echo "$as_me: failed program was:" >&5
45817 sed 's/^/| /' conftest.$ac_ext >&5
45819 cat >conftest.$ac_ext <<_ACEOF
45822 cat confdefs.h >>conftest.$ac_ext
45823 cat >>conftest.$ac_ext <<_ACEOF
45824 /* end confdefs.h. */
45826 #include <sys/time.h>
45827 #include <unistd.h>
45840 rm -f conftest.$ac_objext
45841 if { (ac_try="$ac_compile"
45842 case "(($ac_try" in
45843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45844 *) ac_try_echo=$ac_try;;
45846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45847 (eval "$ac_compile") 2>conftest.er1
45849 grep -v '^ *+' conftest.er1 >conftest.err
45851 cat conftest.err >&5
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); } && {
45854 test -z "$ac_c_werror_flag" ||
45855 test ! -s conftest.err
45856 } && test -s conftest.$ac_objext; then
45857 wx_cv_func_gettimeofday_has_2_args=no
45859 echo "$as_me: failed program was:" >&5
45860 sed 's/^/| /' conftest.$ac_ext >&5
45863 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45864 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45865 wx_cv_func_gettimeofday_has_2_args=unknown
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45878 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45880 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45881 cat >>confdefs.h <<\_ACEOF
45882 #define WX_GETTIMEOFDAY_NO_TZ 1
45888 if test "$wxUSE_DATETIME" = "yes"; then
45889 { echo "$as_me:$LINENO: checking for strptime" >&5
45890 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45891 if test "${ac_cv_func_strptime+set}" = set; then
45892 echo $ECHO_N "(cached) $ECHO_C" >&6
45894 cat >conftest.$ac_ext <<_ACEOF
45897 cat confdefs.h >>conftest.$ac_ext
45898 cat >>conftest.$ac_ext <<_ACEOF
45899 /* end confdefs.h. */
45900 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45902 #define strptime innocuous_strptime
45904 /* System header to define __stub macros and hopefully few prototypes,
45905 which can conflict with char strptime (); below.
45906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45907 <limits.h> exists even on freestanding compilers. */
45910 # include <limits.h>
45912 # include <assert.h>
45917 /* Override any GCC internal prototype to avoid an error.
45918 Use char because int might match the return type of a GCC
45919 builtin and then its argument prototype would still apply. */
45924 /* The GNU C library defines this for functions which it implements
45925 to always fail with ENOSYS. Some functions are actually named
45926 something starting with __ and the normal name is an alias. */
45927 #if defined __stub_strptime || defined __stub___strptime
45934 return strptime ();
45939 rm -f conftest.$ac_objext conftest$ac_exeext
45940 if { (ac_try="$ac_link"
45941 case "(($ac_try" in
45942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45943 *) ac_try_echo=$ac_try;;
45945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45946 (eval "$ac_link") 2>conftest.er1
45948 grep -v '^ *+' conftest.er1 >conftest.err
45950 cat conftest.err >&5
45951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952 (exit $ac_status); } && {
45953 test -z "$ac_c_werror_flag" ||
45954 test ! -s conftest.err
45955 } && test -s conftest$ac_exeext &&
45956 $as_test_x conftest$ac_exeext; then
45957 ac_cv_func_strptime=yes
45959 echo "$as_me: failed program was:" >&5
45960 sed 's/^/| /' conftest.$ac_ext >&5
45962 ac_cv_func_strptime=no
45965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45966 conftest$ac_exeext conftest.$ac_ext
45968 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45969 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45971 if test "$ac_cv_func_strptime" = "yes"; then
45972 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45973 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45974 if test "${wx_cv_func_strptime_decl+set}" = set; then
45975 echo $ECHO_N "(cached) $ECHO_C" >&6
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984 cat >conftest.$ac_ext <<_ACEOF
45987 cat confdefs.h >>conftest.$ac_ext
45988 cat >>conftest.$ac_ext <<_ACEOF
45989 /* end confdefs.h. */
45998 strptime("foo", "bar", &t);
46004 rm -f conftest.$ac_objext
46005 if { (ac_try="$ac_compile"
46006 case "(($ac_try" in
46007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46008 *) ac_try_echo=$ac_try;;
46010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46011 (eval "$ac_compile") 2>conftest.er1
46013 grep -v '^ *+' conftest.er1 >conftest.err
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } && {
46018 test -z "$ac_cxx_werror_flag" ||
46019 test ! -s conftest.err
46020 } && test -s conftest.$ac_objext; then
46021 wx_cv_func_strptime_decl=yes
46023 echo "$as_me: failed program was:" >&5
46024 sed 's/^/| /' conftest.$ac_ext >&5
46026 wx_cv_func_strptime_decl=no
46030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46032 ac_cpp='$CPP $CPPFLAGS'
46033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46040 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46041 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46043 if test "$wx_cv_func_strptime_decl" = "yes"; then
46044 cat >>confdefs.h <<\_ACEOF
46045 #define HAVE_STRPTIME_DECL 1
46049 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46051 if test "$ac_cv_func_strptime" = "yes"; then
46052 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46053 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46054 if test "${wx_cv_func_strptime_ok+set}" = set; then
46055 echo $ECHO_N "(cached) $ECHO_C" >&6
46057 if test "$cross_compiling" = yes; then
46058 wx_cv_func_strptime_ok=no
46061 cat >conftest.$ac_ext <<_ACEOF
46063 #include <stdlib.h>
46065 #include "confdefs.h"
46072 return !!strptime("", "%x", &t);
46076 rm -f conftest$ac_exeext
46077 if { (ac_try="$ac_link"
46078 case "(($ac_try" in
46079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46080 *) ac_try_echo=$ac_try;;
46082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46083 (eval "$ac_link") 2>&5
46085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46087 { (case "(($ac_try" in
46088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46089 *) ac_try_echo=$ac_try;;
46091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46092 (eval "$ac_try") 2>&5
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); }; }; then
46096 wx_cv_func_strptime_ok=yes
46098 echo "$as_me: program exited with status $ac_status" >&5
46099 echo "$as_me: failed program was:" >&5
46100 sed 's/^/| /' conftest.$ac_ext >&5
46102 ( exit $ac_status )
46103 wx_cv_func_strptime_ok=no
46105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46111 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46112 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46114 if test "$wx_cv_func_strptime_ok" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define HAVE_STRPTIME 1
46122 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46123 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46124 if test "${wx_cv_var_timezone+set}" = set; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46129 ac_cpp='$CXXCPP $CPPFLAGS'
46130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46134 cat >conftest.$ac_ext <<_ACEOF
46137 cat confdefs.h >>conftest.$ac_ext
46138 cat >>conftest.$ac_ext <<_ACEOF
46139 /* end confdefs.h. */
46154 rm -f conftest.$ac_objext
46155 if { (ac_try="$ac_compile"
46156 case "(($ac_try" in
46157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46158 *) ac_try_echo=$ac_try;;
46160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46161 (eval "$ac_compile") 2>conftest.er1
46163 grep -v '^ *+' conftest.er1 >conftest.err
46165 cat conftest.err >&5
46166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46167 (exit $ac_status); } && {
46168 test -z "$ac_cxx_werror_flag" ||
46169 test ! -s conftest.err
46170 } && test -s conftest.$ac_objext; then
46172 wx_cv_var_timezone=timezone
46175 echo "$as_me: failed program was:" >&5
46176 sed 's/^/| /' conftest.$ac_ext >&5
46179 cat >conftest.$ac_ext <<_ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46199 rm -f conftest.$ac_objext
46200 if { (ac_try="$ac_compile"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46203 *) ac_try_echo=$ac_try;;
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_compile") 2>conftest.er1
46208 grep -v '^ *+' conftest.er1 >conftest.err
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_cxx_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest.$ac_objext; then
46217 wx_cv_var_timezone=_timezone
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.$ac_ext >&5
46224 cat >conftest.$ac_ext <<_ACEOF
46227 cat confdefs.h >>conftest.$ac_ext
46228 cat >>conftest.$ac_ext <<_ACEOF
46229 /* end confdefs.h. */
46244 rm -f conftest.$ac_objext
46245 if { (ac_try="$ac_compile"
46246 case "(($ac_try" in
46247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46248 *) ac_try_echo=$ac_try;;
46250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46251 (eval "$ac_compile") 2>conftest.er1
46253 grep -v '^ *+' conftest.er1 >conftest.err
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } && {
46258 test -z "$ac_cxx_werror_flag" ||
46259 test ! -s conftest.err
46260 } && test -s conftest.$ac_objext; then
46262 wx_cv_var_timezone=__timezone
46265 echo "$as_me: failed program was:" >&5
46266 sed 's/^/| /' conftest.$ac_ext >&5
46269 if test "$USE_DOS" = 0 ; then
46270 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46271 echo "$as_me: WARNING: no timezone variable" >&2;}
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46289 ac_cpp='$CPP $CPPFLAGS'
46290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46298 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46300 if test "x$wx_cv_var_timezone" != x ; then
46301 cat >>confdefs.h <<_ACEOF
46302 #define WX_TIMEZONE $wx_cv_var_timezone
46308 for ac_func in localtime
46310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46314 echo $ECHO_N "(cached) $ECHO_C" >&6
46316 cat >conftest.$ac_ext <<_ACEOF
46319 cat confdefs.h >>conftest.$ac_ext
46320 cat >>conftest.$ac_ext <<_ACEOF
46321 /* end confdefs.h. */
46322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46324 #define $ac_func innocuous_$ac_func
46326 /* System header to define __stub macros and hopefully few prototypes,
46327 which can conflict with char $ac_func (); below.
46328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46329 <limits.h> exists even on freestanding compilers. */
46332 # include <limits.h>
46334 # include <assert.h>
46339 /* Override any GCC internal prototype to avoid an error.
46340 Use char because int might match the return type of a GCC
46341 builtin and then its argument prototype would still apply. */
46346 /* The GNU C library defines this for functions which it implements
46347 to always fail with ENOSYS. Some functions are actually named
46348 something starting with __ and the normal name is an alias. */
46349 #if defined __stub_$ac_func || defined __stub___$ac_func
46356 return $ac_func ();
46361 rm -f conftest.$ac_objext conftest$ac_exeext
46362 if { (ac_try="$ac_link"
46363 case "(($ac_try" in
46364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46365 *) ac_try_echo=$ac_try;;
46367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46368 (eval "$ac_link") 2>conftest.er1
46370 grep -v '^ *+' conftest.er1 >conftest.err
46372 cat conftest.err >&5
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); } && {
46375 test -z "$ac_c_werror_flag" ||
46376 test ! -s conftest.err
46377 } && test -s conftest$ac_exeext &&
46378 $as_test_x conftest$ac_exeext; then
46379 eval "$as_ac_var=yes"
46381 echo "$as_me: failed program was:" >&5
46382 sed 's/^/| /' conftest.$ac_ext >&5
46384 eval "$as_ac_var=no"
46387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46388 conftest$ac_exeext conftest.$ac_ext
46390 ac_res=`eval echo '${'$as_ac_var'}'`
46391 { echo "$as_me:$LINENO: result: $ac_res" >&5
46392 echo "${ECHO_T}$ac_res" >&6; }
46393 if test `eval echo '${'$as_ac_var'}'` = yes; then
46394 cat >>confdefs.h <<_ACEOF
46395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46402 if test "$ac_cv_func_localtime" = "yes"; then
46403 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46404 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46405 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46406 echo $ECHO_N "(cached) $ECHO_C" >&6
46409 cat >conftest.$ac_ext <<_ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46429 rm -f conftest.$ac_objext
46430 if { (ac_try="$ac_compile"
46431 case "(($ac_try" in
46432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46433 *) ac_try_echo=$ac_try;;
46435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46436 (eval "$ac_compile") 2>conftest.er1
46438 grep -v '^ *+' conftest.er1 >conftest.err
46440 cat conftest.err >&5
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); } && {
46443 test -z "$ac_c_werror_flag" ||
46444 test ! -s conftest.err
46445 } && test -s conftest.$ac_objext; then
46447 wx_cv_struct_tm_has_gmtoff=yes
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46453 wx_cv_struct_tm_has_gmtoff=no
46457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46460 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46461 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46464 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define WX_GMTOFF_IN_TM 1
46471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46475 if test "$wxUSE_SOCKETS" = "yes"; then
46476 if test "$wxUSE_MGL" = "1"; then
46477 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46478 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46483 if test "$wxUSE_SOCKETS" = "yes"; then
46484 if test "$TOOLKIT" != "MSW"; then
46485 { echo "$as_me:$LINENO: checking for socket" >&5
46486 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46487 if test "${ac_cv_func_socket+set}" = set; then
46488 echo $ECHO_N "(cached) $ECHO_C" >&6
46490 cat >conftest.$ac_ext <<_ACEOF
46493 cat confdefs.h >>conftest.$ac_ext
46494 cat >>conftest.$ac_ext <<_ACEOF
46495 /* end confdefs.h. */
46496 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46498 #define socket innocuous_socket
46500 /* System header to define __stub macros and hopefully few prototypes,
46501 which can conflict with char socket (); below.
46502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46503 <limits.h> exists even on freestanding compilers. */
46506 # include <limits.h>
46508 # include <assert.h>
46513 /* Override any GCC internal prototype to avoid an error.
46514 Use char because int might match the return type of a GCC
46515 builtin and then its argument prototype would still apply. */
46520 /* The GNU C library defines this for functions which it implements
46521 to always fail with ENOSYS. Some functions are actually named
46522 something starting with __ and the normal name is an alias. */
46523 #if defined __stub_socket || defined __stub___socket
46535 rm -f conftest.$ac_objext conftest$ac_exeext
46536 if { (ac_try="$ac_link"
46537 case "(($ac_try" in
46538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46539 *) ac_try_echo=$ac_try;;
46541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46542 (eval "$ac_link") 2>conftest.er1
46544 grep -v '^ *+' conftest.er1 >conftest.err
46546 cat conftest.err >&5
46547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 (exit $ac_status); } && {
46549 test -z "$ac_c_werror_flag" ||
46550 test ! -s conftest.err
46551 } && test -s conftest$ac_exeext &&
46552 $as_test_x conftest$ac_exeext; then
46553 ac_cv_func_socket=yes
46555 echo "$as_me: failed program was:" >&5
46556 sed 's/^/| /' conftest.$ac_ext >&5
46558 ac_cv_func_socket=no
46561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46562 conftest$ac_exeext conftest.$ac_ext
46564 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46565 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46566 if test $ac_cv_func_socket = yes; then
46570 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46571 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46572 if test "${ac_cv_lib_socket_socket+set}" = set; then
46573 echo $ECHO_N "(cached) $ECHO_C" >&6
46575 ac_check_lib_save_LIBS=$LIBS
46576 LIBS="-lsocket $LIBS"
46577 cat >conftest.$ac_ext <<_ACEOF
46580 cat confdefs.h >>conftest.$ac_ext
46581 cat >>conftest.$ac_ext <<_ACEOF
46582 /* end confdefs.h. */
46584 /* Override any GCC internal prototype to avoid an error.
46585 Use char because int might match the return type of a GCC
46586 builtin and then its argument prototype would still apply. */
46599 rm -f conftest.$ac_objext conftest$ac_exeext
46600 if { (ac_try="$ac_link"
46601 case "(($ac_try" in
46602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46603 *) ac_try_echo=$ac_try;;
46605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46606 (eval "$ac_link") 2>conftest.er1
46608 grep -v '^ *+' conftest.er1 >conftest.err
46610 cat conftest.err >&5
46611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46612 (exit $ac_status); } && {
46613 test -z "$ac_c_werror_flag" ||
46614 test ! -s conftest.err
46615 } && test -s conftest$ac_exeext &&
46616 $as_test_x conftest$ac_exeext; then
46617 ac_cv_lib_socket_socket=yes
46619 echo "$as_me: failed program was:" >&5
46620 sed 's/^/| /' conftest.$ac_ext >&5
46622 ac_cv_lib_socket_socket=no
46625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46626 conftest$ac_exeext conftest.$ac_ext
46627 LIBS=$ac_check_lib_save_LIBS
46629 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46630 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46631 if test $ac_cv_lib_socket_socket = yes; then
46632 if test "$INET_LINK" != " -lsocket"; then
46633 INET_LINK="$INET_LINK -lsocket"
46637 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46638 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46651 if test "$wxUSE_SOCKETS" = "yes" ; then
46652 if test "$TOOLKIT" != "MSW"; then
46653 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46654 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46655 if test "${wx_cv_type_getsockname3+set}" = set; then
46656 echo $ECHO_N "(cached) $ECHO_C" >&6
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665 cat >conftest.$ac_ext <<_ACEOF
46668 cat confdefs.h >>conftest.$ac_ext
46669 cat >>conftest.$ac_ext <<_ACEOF
46670 /* end confdefs.h. */
46672 #include <sys/types.h>
46673 #include <sys/socket.h>
46680 getsockname(0, 0, &len);
46686 rm -f conftest.$ac_objext
46687 if { (ac_try="$ac_compile"
46688 case "(($ac_try" in
46689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46690 *) ac_try_echo=$ac_try;;
46692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46693 (eval "$ac_compile") 2>conftest.er1
46695 grep -v '^ *+' conftest.er1 >conftest.err
46697 cat conftest.err >&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); } && {
46700 test -z "$ac_cxx_werror_flag" ||
46701 test ! -s conftest.err
46702 } && test -s conftest.$ac_objext; then
46703 wx_cv_type_getsockname3=socklen_t
46705 echo "$as_me: failed program was:" >&5
46706 sed 's/^/| /' conftest.$ac_ext >&5
46709 CFLAGS_OLD="$CFLAGS"
46710 if test "$GCC" = yes ; then
46711 CFLAGS="-Werror $CFLAGS"
46714 cat >conftest.$ac_ext <<_ACEOF
46717 cat confdefs.h >>conftest.$ac_ext
46718 cat >>conftest.$ac_ext <<_ACEOF
46719 /* end confdefs.h. */
46721 #include <sys/types.h>
46722 #include <sys/socket.h>
46729 getsockname(0, 0, &len);
46735 rm -f conftest.$ac_objext
46736 if { (ac_try="$ac_compile"
46737 case "(($ac_try" in
46738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46739 *) ac_try_echo=$ac_try;;
46741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46742 (eval "$ac_compile") 2>conftest.er1
46744 grep -v '^ *+' conftest.er1 >conftest.err
46746 cat conftest.err >&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); } && {
46749 test -z "$ac_cxx_werror_flag" ||
46750 test ! -s conftest.err
46751 } && test -s conftest.$ac_objext; then
46752 wx_cv_type_getsockname3=size_t
46754 echo "$as_me: failed program was:" >&5
46755 sed 's/^/| /' conftest.$ac_ext >&5
46757 cat >conftest.$ac_ext <<_ACEOF
46760 cat confdefs.h >>conftest.$ac_ext
46761 cat >>conftest.$ac_ext <<_ACEOF
46762 /* end confdefs.h. */
46764 #include <sys/types.h>
46765 #include <sys/socket.h>
46772 getsockname(0, 0, &len);
46778 rm -f conftest.$ac_objext
46779 if { (ac_try="$ac_compile"
46780 case "(($ac_try" in
46781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46782 *) ac_try_echo=$ac_try;;
46784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46785 (eval "$ac_compile") 2>conftest.er1
46787 grep -v '^ *+' conftest.er1 >conftest.err
46789 cat conftest.err >&5
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); } && {
46792 test -z "$ac_cxx_werror_flag" ||
46793 test ! -s conftest.err
46794 } && test -s conftest.$ac_objext; then
46795 wx_cv_type_getsockname3=int
46797 echo "$as_me: failed program was:" >&5
46798 sed 's/^/| /' conftest.$ac_ext >&5
46800 wx_cv_type_getsockname3=unknown
46804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810 CFLAGS="$CFLAGS_OLD"
46815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46817 ac_cpp='$CPP $CPPFLAGS'
46818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46824 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46825 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46827 if test "$wx_cv_type_getsockname3" = "unknown"; then
46829 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46830 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46832 cat >>confdefs.h <<_ACEOF
46833 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46837 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46838 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46839 if test "${wx_cv_type_getsockopt5+set}" = set; then
46840 echo $ECHO_N "(cached) $ECHO_C" >&6
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849 cat >conftest.$ac_ext <<_ACEOF
46852 cat confdefs.h >>conftest.$ac_ext
46853 cat >>conftest.$ac_ext <<_ACEOF
46854 /* end confdefs.h. */
46856 #include <sys/types.h>
46857 #include <sys/socket.h>
46864 getsockopt(0, 0, 0, 0, &len);
46870 rm -f conftest.$ac_objext
46871 if { (ac_try="$ac_compile"
46872 case "(($ac_try" in
46873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46874 *) ac_try_echo=$ac_try;;
46876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46877 (eval "$ac_compile") 2>conftest.er1
46879 grep -v '^ *+' conftest.er1 >conftest.err
46881 cat conftest.err >&5
46882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46883 (exit $ac_status); } && {
46884 test -z "$ac_cxx_werror_flag" ||
46885 test ! -s conftest.err
46886 } && test -s conftest.$ac_objext; then
46887 wx_cv_type_getsockopt5=socklen_t
46889 echo "$as_me: failed program was:" >&5
46890 sed 's/^/| /' conftest.$ac_ext >&5
46893 cat >conftest.$ac_ext <<_ACEOF
46896 cat confdefs.h >>conftest.$ac_ext
46897 cat >>conftest.$ac_ext <<_ACEOF
46898 /* end confdefs.h. */
46900 #include <sys/types.h>
46901 #include <sys/socket.h>
46908 getsockopt(0, 0, 0, 0, &len);
46914 rm -f conftest.$ac_objext
46915 if { (ac_try="$ac_compile"
46916 case "(($ac_try" in
46917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46918 *) ac_try_echo=$ac_try;;
46920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46921 (eval "$ac_compile") 2>conftest.er1
46923 grep -v '^ *+' conftest.er1 >conftest.err
46925 cat conftest.err >&5
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); } && {
46928 test -z "$ac_cxx_werror_flag" ||
46929 test ! -s conftest.err
46930 } && test -s conftest.$ac_objext; then
46931 wx_cv_type_getsockopt5=size_t
46933 echo "$as_me: failed program was:" >&5
46934 sed 's/^/| /' conftest.$ac_ext >&5
46936 cat >conftest.$ac_ext <<_ACEOF
46939 cat confdefs.h >>conftest.$ac_ext
46940 cat >>conftest.$ac_ext <<_ACEOF
46941 /* end confdefs.h. */
46943 #include <sys/types.h>
46944 #include <sys/socket.h>
46951 getsockopt(0, 0, 0, 0, &len);
46957 rm -f conftest.$ac_objext
46958 if { (ac_try="$ac_compile"
46959 case "(($ac_try" in
46960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46961 *) ac_try_echo=$ac_try;;
46963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46964 (eval "$ac_compile") 2>conftest.er1
46966 grep -v '^ *+' conftest.er1 >conftest.err
46968 cat conftest.err >&5
46969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46970 (exit $ac_status); } && {
46971 test -z "$ac_cxx_werror_flag" ||
46972 test ! -s conftest.err
46973 } && test -s conftest.$ac_objext; then
46974 wx_cv_type_getsockopt5=int
46976 echo "$as_me: failed program was:" >&5
46977 sed 's/^/| /' conftest.$ac_ext >&5
46979 wx_cv_type_getsockopt5=unknown
46983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_cpp='$CPP $CPPFLAGS'
46995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47002 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47004 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47006 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47007 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47009 cat >>confdefs.h <<_ACEOF
47010 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47017 if test "$wxUSE_SOCKETS" = "yes" ; then
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_SOCKETS 1
47022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47025 if test "$wxUSE_PROTOCOL" = "yes"; then
47026 if test "$wxUSE_SOCKETS" != "yes"; then
47027 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47028 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47033 if test "$wxUSE_PROTOCOL" = "yes"; then
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_PROTOCOL 1
47039 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_PROTOCOL_HTTP 1
47045 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_PROTOCOL_FTP 1
47051 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_PROTOCOL_FILE 1
47058 if test "$wxUSE_FS_INET" = "yes"; then
47059 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47060 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47065 if test "$wxUSE_URL" = "yes"; then
47066 if test "$wxUSE_PROTOCOL" != "yes"; then
47067 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47068 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47071 if test "$wxUSE_URL" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_URL 1
47079 if test "$wxUSE_VARIANT" = "yes"; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_VARIANT 1
47086 if test "$wxUSE_FS_INET" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_FS_INET 1
47094 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47097 if test "$TOOLKIT" = "MSW"; then
47100 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47101 if test "$USE_DARWIN" = 1; then
47102 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47103 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110 cat >conftest.$ac_ext <<_ACEOF
47113 cat confdefs.h >>conftest.$ac_ext
47114 cat >>conftest.$ac_ext <<_ACEOF
47115 /* end confdefs.h. */
47116 #include <IOKit/hid/IOHIDLib.h>
47120 IOHIDQueueInterface *qi = NULL;
47121 IOHIDCallbackFunction cb = NULL;
47122 qi->setEventCallout(NULL, cb, NULL, NULL);
47127 rm -f conftest.$ac_objext
47128 if { (ac_try="$ac_compile"
47129 case "(($ac_try" in
47130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47131 *) ac_try_echo=$ac_try;;
47133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47134 (eval "$ac_compile") 2>conftest.er1
47136 grep -v '^ *+' conftest.er1 >conftest.err
47138 cat conftest.err >&5
47139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140 (exit $ac_status); } && {
47141 test -z "$ac_cxx_werror_flag" ||
47142 test ! -s conftest.err
47143 } && test -s conftest.$ac_objext; then
47147 echo "$as_me: failed program was:" >&5
47148 sed 's/^/| /' conftest.$ac_ext >&5
47153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47155 ac_cpp='$CPP $CPPFLAGS'
47156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47160 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47161 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47165 if test "$wxUSE_MGL" != "1"; then
47167 for ac_header in linux/joystick.h
47169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47175 cat >conftest.$ac_ext <<_ACEOF
47178 cat confdefs.h >>conftest.$ac_ext
47179 cat >>conftest.$ac_ext <<_ACEOF
47180 /* end confdefs.h. */
47181 $ac_includes_default
47183 #include <$ac_header>
47185 rm -f conftest.$ac_objext
47186 if { (ac_try="$ac_compile"
47187 case "(($ac_try" in
47188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47189 *) ac_try_echo=$ac_try;;
47191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47192 (eval "$ac_compile") 2>conftest.er1
47194 grep -v '^ *+' conftest.er1 >conftest.err
47196 cat conftest.err >&5
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); } && {
47199 test -z "$ac_c_werror_flag" ||
47200 test ! -s conftest.err
47201 } && test -s conftest.$ac_objext; then
47202 eval "$as_ac_Header=yes"
47204 echo "$as_me: failed program was:" >&5
47205 sed 's/^/| /' conftest.$ac_ext >&5
47207 eval "$as_ac_Header=no"
47210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47212 ac_res=`eval echo '${'$as_ac_Header'}'`
47213 { echo "$as_me:$LINENO: result: $ac_res" >&5
47214 echo "${ECHO_T}$ac_res" >&6; }
47215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47216 cat >>confdefs.h <<_ACEOF
47217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47227 if test "$wxUSE_JOYSTICK" = "yes"; then
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_JOYSTICK 1
47232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47234 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47235 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47241 if test "$wxUSE_FONTENUM" = "yes" ; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_FONTENUM 1
47248 if test "$wxUSE_FONTMAP" = "yes" ; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_FONTMAP 1
47255 if test "$wxUSE_UNICODE" = "yes" ; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_UNICODE 1
47261 if test "$USE_WIN32" != 1; then
47262 wxUSE_UNICODE_MSLU=no
47265 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47266 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47267 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47268 if test "${ac_cv_lib_unicows_main+set}" = set; then
47269 echo $ECHO_N "(cached) $ECHO_C" >&6
47271 ac_check_lib_save_LIBS=$LIBS
47272 LIBS="-lunicows $LIBS"
47273 cat >conftest.$ac_ext <<_ACEOF
47276 cat confdefs.h >>conftest.$ac_ext
47277 cat >>conftest.$ac_ext <<_ACEOF
47278 /* end confdefs.h. */
47289 rm -f conftest.$ac_objext conftest$ac_exeext
47290 if { (ac_try="$ac_link"
47291 case "(($ac_try" in
47292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47293 *) ac_try_echo=$ac_try;;
47295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47296 (eval "$ac_link") 2>conftest.er1
47298 grep -v '^ *+' conftest.er1 >conftest.err
47300 cat conftest.err >&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); } && {
47303 test -z "$ac_c_werror_flag" ||
47304 test ! -s conftest.err
47305 } && test -s conftest$ac_exeext &&
47306 $as_test_x conftest$ac_exeext; then
47307 ac_cv_lib_unicows_main=yes
47309 echo "$as_me: failed program was:" >&5
47310 sed 's/^/| /' conftest.$ac_ext >&5
47312 ac_cv_lib_unicows_main=no
47315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47316 conftest$ac_exeext conftest.$ac_ext
47317 LIBS=$ac_check_lib_save_LIBS
47319 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47320 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47321 if test $ac_cv_lib_unicows_main = yes; then
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_UNICODE_MSLU 1
47330 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47331 Applications will only run on Windows NT/2000/XP!" >&5
47332 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47333 Applications will only run on Windows NT/2000/XP!" >&2;}
47334 wxUSE_UNICODE_MSLU=no
47341 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_UNICODE_UTF8 1
47347 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_UTF8_LOCALE_ONLY 1
47355 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_EXPERIMENTAL_PRINTF 1
47363 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_CONSTRAINTS 1
47368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47371 if test "$wxUSE_MDI" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_MDI 1
47377 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_MDI_ARCHITECTURE 1
47382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47386 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47392 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47397 if test "$wxUSE_HELP" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_HELP 1
47402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47404 if test "$wxUSE_MSW" = 1; then
47405 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_MS_HTML_HELP 1
47413 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47414 if test "$wxUSE_HTML" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_WXHTML_HELP 1
47420 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47421 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47422 wxUSE_WXHTML_HELP=no
47427 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47428 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47429 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47430 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_PRINTING_ARCHITECTURE 1
47437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47440 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_POSTSCRIPT 1
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_NORMALIZED_PS_FONTS 1
47457 if test "$wxUSE_SVG" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_SVG 1
47465 if test "$wxUSE_METAFILE" = "yes"; then
47466 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47467 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47468 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47474 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47475 -o "$wxUSE_CLIPBOARD" = "yes" \
47476 -o "$wxUSE_OLE" = "yes" \
47477 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47478 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47479 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47480 if test "${ac_cv_header_ole2_h+set}" = set; then
47481 echo $ECHO_N "(cached) $ECHO_C" >&6
47483 cat >conftest.$ac_ext <<_ACEOF
47486 cat confdefs.h >>conftest.$ac_ext
47487 cat >>conftest.$ac_ext <<_ACEOF
47488 /* end confdefs.h. */
47493 rm -f conftest.$ac_objext
47494 if { (ac_try="$ac_compile"
47495 case "(($ac_try" in
47496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47497 *) ac_try_echo=$ac_try;;
47499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47500 (eval "$ac_compile") 2>conftest.er1
47502 grep -v '^ *+' conftest.er1 >conftest.err
47504 cat conftest.err >&5
47505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506 (exit $ac_status); } && {
47507 test -z "$ac_c_werror_flag" ||
47508 test ! -s conftest.err
47509 } && test -s conftest.$ac_objext; then
47510 ac_cv_header_ole2_h=yes
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47515 ac_cv_header_ole2_h=no
47518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47521 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47525 if test "$ac_cv_header_ole2_h" = "yes" ; then
47526 if test "$GCC" = yes ; then
47527 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47528 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47529 cat >conftest.$ac_ext <<_ACEOF
47532 cat confdefs.h >>conftest.$ac_ext
47533 cat >>conftest.$ac_ext <<_ACEOF
47534 /* end confdefs.h. */
47535 #include <windows.h>
47545 rm -f conftest.$ac_objext
47546 if { (ac_try="$ac_compile"
47547 case "(($ac_try" in
47548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47549 *) ac_try_echo=$ac_try;;
47551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47552 (eval "$ac_compile") 2>conftest.er1
47554 grep -v '^ *+' conftest.er1 >conftest.err
47556 cat conftest.err >&5
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); } && {
47559 test -z "$ac_c_werror_flag" ||
47560 test ! -s conftest.err
47561 } && test -s conftest.$ac_objext; then
47562 { echo "$as_me:$LINENO: result: no" >&5
47563 echo "${ECHO_T}no" >&6; }
47565 echo "$as_me: failed program was:" >&5
47566 sed 's/^/| /' conftest.$ac_ext >&5
47568 { echo "$as_me:$LINENO: result: yes" >&5
47569 echo "${ECHO_T}yes" >&6; }
47570 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47574 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47575 if test "$wxUSE_OLE" = "yes" ; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_OLE 1
47580 cat >>confdefs.h <<\_ACEOF
47581 #define wxUSE_OLE_AUTOMATION 1
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_ACTIVEX 1
47588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47592 if test "$wxUSE_DATAOBJ" = "yes" ; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_DATAOBJ 1
47599 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47600 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47603 wxUSE_DRAG_AND_DROP=no
47608 if test "$wxUSE_METAFILE" = "yes"; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_METAFILE 1
47614 cat >>confdefs.h <<\_ACEOF
47615 #define wxUSE_ENH_METAFILE 1
47621 if test "$wxUSE_IPC" = "yes"; then
47622 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47623 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47624 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47628 if test "$wxUSE_IPC" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_IPC 1
47633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47637 if test "$wxUSE_DATAOBJ" = "yes"; then
47638 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47639 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47640 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_DATAOBJ 1
47649 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47650 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47652 wxUSE_DRAG_AND_DROP=no
47655 if test "$wxUSE_CLIPBOARD" = "yes"; then
47656 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47657 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47658 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47662 if test "$wxUSE_CLIPBOARD" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_CLIPBOARD 1
47670 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47671 if test "$wxUSE_GTK" = 1; then
47672 if test "$WXGTK12" != 1; then
47673 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47674 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47675 wxUSE_DRAG_AND_DROP=no
47679 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47680 "$wxUSE_DFB" = 1; then
47681 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47682 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47683 wxUSE_DRAG_AND_DROP=no
47686 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_DRAG_AND_DROP 1
47695 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47699 if test "$wxUSE_SPLINES" = "yes" ; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_SPLINES 1
47706 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_MOUSEWHEEL 1
47715 if test "$wxUSE_CONTROLS" = "yes"; then
47719 if test "$wxUSE_ACCEL" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_ACCEL 1
47727 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_ANIMATIONCTRL 1
47733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47736 if test "$wxUSE_BUTTON" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_BUTTON 1
47744 if test "$wxUSE_BMPBUTTON" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_BMPBUTTON 1
47752 if test "$wxUSE_CALCTRL" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_CALENDARCTRL 1
47758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47761 if test "$wxUSE_CARET" = "yes"; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CARET 1
47767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47770 if test "$wxUSE_COLLPANE" = "yes"; then
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_COLLPANE 1
47776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47779 if test "$wxUSE_COMBOBOX" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_COMBOBOX 1
47787 if test "$wxUSE_COMBOCTRL" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_COMBOCTRL 1
47795 if test "$wxUSE_CHOICE" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_CHOICE 1
47803 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_CHOICEBOOK 1
47811 if test "$wxUSE_CHECKBOX" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_CHECKBOX 1
47819 if test "$wxUSE_CHECKLST" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_CHECKLISTBOX 1
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47828 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_COLOURPICKERCTRL 1
47836 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_DATEPICKCTRL 1
47844 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_DIRPICKERCTRL 1
47852 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_FILEPICKERCTRL 1
47860 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_FONTPICKERCTRL 1
47868 if test "$wxUSE_DISPLAY" = "yes"; then
47869 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47870 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47871 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_DISPLAY 1
47878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47882 if test "$wxUSE_DETECT_SM" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_DETECT_SM 1
47889 if test "$wxUSE_GAUGE" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_GAUGE 1
47897 if test "$wxUSE_GRID" = "yes"; then
47898 cat >>confdefs.h <<\_ACEOF
47899 #define wxUSE_GRID 1
47903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47906 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_HYPERLINKCTRL 1
47914 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_BITMAPCOMBOBOX 1
47922 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DATAVIEWCTRL 1
47928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47931 if test "$wxUSE_IMAGLIST" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_IMAGLIST 1
47938 if test "$wxUSE_LISTBOOK" = "yes"; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_LISTBOOK 1
47946 if test "$wxUSE_LISTBOX" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_LISTBOX 1
47952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47955 if test "$wxUSE_LISTCTRL" = "yes"; then
47956 if test "$wxUSE_IMAGLIST" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_LISTCTRL 1
47962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47964 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47965 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47969 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_EDITABLELISTBOX 1
47975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47978 if test "$wxUSE_NOTEBOOK" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_NOTEBOOK 1
47984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47987 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47988 cat >>confdefs.h <<\_ACEOF
47989 #define wxUSE_ODCOMBOBOX 1
47993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47997 if test "$wxUSE_RADIOBOX" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_RADIOBOX 1
48005 if test "$wxUSE_RADIOBTN" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_RADIOBTN 1
48013 if test "$wxUSE_SASH" = "yes"; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define wxUSE_SASH 1
48018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48021 if test "$wxUSE_SCROLLBAR" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_SCROLLBAR 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48030 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_SEARCHCTRL 1
48038 if test "$wxUSE_SLIDER" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_SLIDER 1
48046 if test "$wxUSE_SPINBTN" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_SPINBTN 1
48054 if test "$wxUSE_SPINCTRL" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_SPINCTRL 1
48062 if test "$wxUSE_SPLITTER" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_SPLITTER 1
48067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48070 if test "$wxUSE_STATBMP" = "yes"; then
48071 cat >>confdefs.h <<\_ACEOF
48072 #define wxUSE_STATBMP 1
48078 if test "$wxUSE_STATBOX" = "yes"; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_STATBOX 1
48086 if test "$wxUSE_STATTEXT" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_STATTEXT 1
48094 if test "$wxUSE_STATLINE" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_STATLINE 1
48102 if test "$wxUSE_STATUSBAR" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_NATIVE_STATUSBAR 1
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_STATUSBAR 1
48113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48116 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_TAB_DIALOG 1
48123 if test "$wxUSE_TEXTCTRL" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_TEXTCTRL 1
48129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48132 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48133 if test "$wxUSE_COCOA" = 1 ; then
48134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48135 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_TOGGLEBTN 1
48148 if test "$wxUSE_TOOLBAR" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_TOOLBAR 1
48155 if test "$wxUSE_UNIVERSAL" = "yes"; then
48156 wxUSE_TOOLBAR_NATIVE="no"
48158 wxUSE_TOOLBAR_NATIVE="yes"
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_TOOLBAR_NATIVE 1
48165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48168 if test "$wxUSE_TOOLTIPS" = "yes"; then
48169 if test "$wxUSE_MOTIF" = 1; then
48170 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48171 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48173 if test "$wxUSE_UNIVERSAL" = "yes"; then
48174 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48175 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_TOOLTIPS 1
48185 if test "$wxUSE_TREEBOOK" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_TREEBOOK 1
48193 if test "$wxUSE_TOOLBOOK" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TOOLBOOK 1
48201 if test "$wxUSE_TREECTRL" = "yes"; then
48202 if test "$wxUSE_IMAGLIST" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TREECTRL 1
48208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48210 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48211 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48215 if test "$wxUSE_POPUPWIN" = "yes"; then
48216 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48217 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48218 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48220 if test "$wxUSE_PM" = 1; then
48221 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48222 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_POPUPWIN 1
48228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48235 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48236 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48237 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48238 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_DIALUP_MANAGER 1
48244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48248 if test "$wxUSE_TIPWINDOW" = "yes"; then
48249 if test "$wxUSE_PM" = 1; then
48250 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48251 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_TIPWINDOW 1
48260 if test "$USES_CONTROLS" = 1; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_CONTROLS 1
48268 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_ACCESSIBILITY 1
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48276 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_DRAGIMAGE 1
48281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48284 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48285 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48286 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48287 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48289 cat >>confdefs.h <<\_ACEOF
48290 #define wxUSE_EXCEPTIONS 1
48293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48298 if test "$wxUSE_HTML" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_HTML 1
48304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48305 if test "$wxUSE_MAC" = 1; then
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48309 if test "$wxUSE_WEBKIT" = "yes"; then
48310 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48311 old_CPPFLAGS="$CPPFLAGS"
48312 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48313 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48314 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48315 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48316 echo $ECHO_N "(cached) $ECHO_C" >&6
48318 cat >conftest.$ac_ext <<_ACEOF
48321 cat confdefs.h >>conftest.$ac_ext
48322 cat >>conftest.$ac_ext <<_ACEOF
48323 /* end confdefs.h. */
48325 #include <Carbon/Carbon.h>
48326 #include <WebKit/WebKit.h>
48329 #include <WebKit/HIWebView.h>
48331 rm -f conftest.$ac_objext
48332 if { (ac_try="$ac_compile"
48333 case "(($ac_try" in
48334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48335 *) ac_try_echo=$ac_try;;
48337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48338 (eval "$ac_compile") 2>conftest.er1
48340 grep -v '^ *+' conftest.er1 >conftest.err
48342 cat conftest.err >&5
48343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344 (exit $ac_status); } && {
48345 test -z "$ac_c_werror_flag" ||
48346 test ! -s conftest.err
48347 } && test -s conftest.$ac_objext; then
48348 ac_cv_header_WebKit_HIWebView_h=yes
48350 echo "$as_me: failed program was:" >&5
48351 sed 's/^/| /' conftest.$ac_ext >&5
48353 ac_cv_header_WebKit_HIWebView_h=no
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48358 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48359 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48360 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48362 cat >>confdefs.h <<\_ACEOF
48363 #define wxUSE_WEBKIT 1
48366 WEBKIT_LINK="-framework WebKit"
48370 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48371 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48377 CPPFLAGS="$old_CPPFLAGS"
48378 elif test "$wxUSE_COCOA" = 1; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_WEBKIT 1
48389 if test "$wxUSE_XRC" = "yes"; then
48390 if test "$wxUSE_XML" != "yes"; then
48391 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48392 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_XRC 1
48400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48405 if test "$wxUSE_AUI" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_AUI 1
48411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48415 if test "$wxUSE_STC" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_STC 1
48421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48424 if test "$wxUSE_MENUS" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_MENUS 1
48429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48432 if test "$wxUSE_METAFILE" = "yes"; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_METAFILE 1
48439 if test "$wxUSE_MIMETYPE" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_MIMETYPE 1
48446 if test "$wxUSE_MINIFRAME" = "yes"; then
48447 cat >>confdefs.h <<\_ACEOF
48448 #define wxUSE_MINIFRAME 1
48451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48454 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48455 cat >>confdefs.h <<\_ACEOF
48456 #define wxUSE_SYSTEM_OPTIONS 1
48461 if test "$wxUSE_TASKBARICON" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_TASKBARICON 1
48466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48470 if test "$wxUSE_VALIDATORS" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_VALIDATORS 1
48475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48478 if test "$wxUSE_PALETTE" = "yes" ; then
48479 if test "$wxUSE_DFB" = 1; then
48480 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48481 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_PALETTE 1
48491 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48492 LIBS=" -lunicows $LIBS"
48496 if test "$wxUSE_RICHTEXT" = "yes"; then
48497 cat >>confdefs.h <<\_ACEOF
48498 #define wxUSE_RICHTEXT 1
48502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48506 if test "$wxUSE_IMAGE" = "yes" ; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_IMAGE 1
48512 if test "$wxUSE_GIF" = "yes" ; then
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_GIF 1
48519 if test "$wxUSE_PCX" = "yes" ; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_PCX 1
48526 if test "$wxUSE_TGA" = "yes" ; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_TGA 1
48533 if test "$wxUSE_IFF" = "yes" ; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_IFF 1
48540 if test "$wxUSE_PNM" = "yes" ; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_PNM 1
48547 if test "$wxUSE_XPM" = "yes" ; then
48548 cat >>confdefs.h <<\_ACEOF
48549 #define wxUSE_XPM 1
48554 if test "$wxUSE_ICO_CUR" = "yes" ; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_ICO_CUR 1
48563 if test "$wxUSE_ABOUTDLG" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_ABOUTDLG 1
48570 if test "$wxUSE_CHOICEDLG" = "yes"; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_CHOICEDLG 1
48577 if test "$wxUSE_COLOURDLG" = "yes"; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_COLOURDLG 1
48584 if test "$wxUSE_FILEDLG" = "yes"; then
48585 cat >>confdefs.h <<\_ACEOF
48586 #define wxUSE_FILEDLG 1
48591 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_FINDREPLDLG 1
48598 if test "$wxUSE_FONTDLG" = "yes"; then
48599 cat >>confdefs.h <<\_ACEOF
48600 #define wxUSE_FONTDLG 1
48605 if test "$wxUSE_DIRDLG" = "yes"; then
48606 if test "$wxUSE_TREECTRL" != "yes"; then
48607 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48608 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_DIRDLG 1
48617 if test "$wxUSE_MSGDLG" = "yes"; then
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_MSGDLG 1
48624 if test "$wxUSE_NUMBERDLG" = "yes"; then
48625 cat >>confdefs.h <<\_ACEOF
48626 #define wxUSE_NUMBERDLG 1
48631 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48633 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48634 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_PROGRESSDLG 1
48643 if test "$wxUSE_SPLASH" = "yes"; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_SPLASH 1
48648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48651 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48652 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48653 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48654 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_STARTUP_TIPS 1
48663 if test "$wxUSE_TEXTDLG" = "yes"; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_TEXTDLG 1
48670 if test "$wxUSE_WIZARDDLG" = "yes"; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_WIZARDDLG 1
48675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48679 if test "$wxUSE_MSW" = 1 ; then
48681 if test "$wxUSE_DC_CACHEING" = "yes"; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_DC_CACHEING 1
48688 if test "$wxUSE_DIB" = "yes"; then
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_WXDIB 1
48695 if test "$wxUSE_REGKEY" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_REGKEY 1
48702 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48709 if test "$wxUSE_UXTHEME" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_UXTHEME 1
48719 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48720 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48721 cat >>confdefs.h <<\_ACEOF
48722 #define wxUSE_GRAPHICS_CONTEXT 1
48725 elif test "$wxUSE_GTK" != 1; then
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_GRAPHICS_CONTEXT 1
48733 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48734 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48736 if test -n "$PKG_CONFIG"; then
48737 if test -n "$CAIRO_CFLAGS"; then
48738 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48740 if test -n "$PKG_CONFIG" && \
48741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48742 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745 (exit $ac_status); }; then
48746 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48754 if test -n "$PKG_CONFIG"; then
48755 if test -n "$CAIRO_LIBS"; then
48756 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48758 if test -n "$PKG_CONFIG" && \
48759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48760 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48763 (exit $ac_status); }; then
48764 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48775 if test $pkg_failed = yes; then
48777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48778 _pkg_short_errors_supported=yes
48780 _pkg_short_errors_supported=no
48782 if test $_pkg_short_errors_supported = yes; then
48783 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48785 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48787 # Put the nasty error message in config.log where it belongs
48788 echo "$CAIRO_PKG_ERRORS" >&5
48790 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48791 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48793 elif test $pkg_failed = untried; then
48794 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48795 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48798 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48799 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48800 { echo "$as_me:$LINENO: result: yes" >&5
48801 echo "${ECHO_T}yes" >&6; }
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_GRAPHICS_CONTEXT 1
48813 if test "$wxUSE_MEDIACTRL" = "yes"; then
48816 if test "$wxUSE_GTK" = 1; then
48817 wxUSE_GSTREAMER="no"
48819 GST_VERSION_MAJOR=0
48820 GST_VERSION_MINOR=10
48821 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48823 if test "$wxUSE_GSTREAMER8" = "no"; then
48826 { echo "$as_me:$LINENO: checking for GST" >&5
48827 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48829 if test -n "$PKG_CONFIG"; then
48830 if test -n "$GST_CFLAGS"; then
48831 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48833 if test -n "$PKG_CONFIG" && \
48834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48835 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838 (exit $ac_status); }; then
48839 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48847 if test -n "$PKG_CONFIG"; then
48848 if test -n "$GST_LIBS"; then
48849 pkg_cv_GST_LIBS="$GST_LIBS"
48851 if test -n "$PKG_CONFIG" && \
48852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48853 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856 (exit $ac_status); }; then
48857 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48868 if test $pkg_failed = yes; then
48870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48871 _pkg_short_errors_supported=yes
48873 _pkg_short_errors_supported=no
48875 if test $_pkg_short_errors_supported = yes; then
48876 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48878 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48880 # Put the nasty error message in config.log where it belongs
48881 echo "$GST_PKG_ERRORS" >&5
48884 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48885 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48886 GST_VERSION_MINOR=8
48889 elif test $pkg_failed = untried; then
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48892 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48893 GST_VERSION_MINOR=8
48897 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48898 GST_LIBS=$pkg_cv_GST_LIBS
48899 { echo "$as_me:$LINENO: result: yes" >&5
48900 echo "${ECHO_T}yes" >&6; }
48902 wxUSE_GSTREAMER="yes"
48903 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48907 GST_VERSION_MINOR=8
48910 if test $GST_VERSION_MINOR = "8"; then
48911 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48914 { echo "$as_me:$LINENO: checking for GST" >&5
48915 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48917 if test -n "$PKG_CONFIG"; then
48918 if test -n "$GST_CFLAGS"; then
48919 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48921 if test -n "$PKG_CONFIG" && \
48922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48923 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926 (exit $ac_status); }; then
48927 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48935 if test -n "$PKG_CONFIG"; then
48936 if test -n "$GST_LIBS"; then
48937 pkg_cv_GST_LIBS="$GST_LIBS"
48939 if test -n "$PKG_CONFIG" && \
48940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48941 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48944 (exit $ac_status); }; then
48945 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48956 if test $pkg_failed = yes; then
48958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48959 _pkg_short_errors_supported=yes
48961 _pkg_short_errors_supported=no
48963 if test $_pkg_short_errors_supported = yes; then
48964 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48966 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48968 # Put the nasty error message in config.log where it belongs
48969 echo "$GST_PKG_ERRORS" >&5
48972 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48973 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48975 elif test $pkg_failed = untried; then
48977 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48978 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48981 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48982 GST_LIBS=$pkg_cv_GST_LIBS
48983 { echo "$as_me:$LINENO: result: yes" >&5
48984 echo "${ECHO_T}yes" >&6; }
48985 wxUSE_GSTREAMER="yes"
48990 if test "$wxUSE_GSTREAMER" = "yes"; then
48991 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48992 LIBS="$GST_LIBS $LIBS"
48994 cat >>confdefs.h <<\_ACEOF
48995 #define wxUSE_GSTREAMER 1
49003 if test $USE_MEDIA = 1; then
49004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_MEDIACTRL 1
49013 if test "$cross_compiling" = "yes"; then
49016 OSINFO=`uname -s -r -m`
49017 OSINFO="\"$OSINFO\""
49020 cat >>confdefs.h <<_ACEOF
49021 #define WXWIN_OS_DESCRIPTION $OSINFO
49026 if test "x$prefix" != "xNONE"; then
49029 wxPREFIX=$ac_default_prefix
49032 cat >>confdefs.h <<_ACEOF
49033 #define wxINSTALL_PREFIX "$wxPREFIX"
49039 STD_BASE_LIBS="base"
49041 BUILT_WX_LIBS="base"
49042 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49044 if test "$wxUSE_SOCKETS" = "yes" ; then
49045 STD_BASE_LIBS="net $STD_BASE_LIBS"
49046 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49048 if test "$wxUSE_ODBC" != "no" ; then
49049 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49051 if test "$wxUSE_XML" = "yes" ; then
49052 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49053 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49056 if test "$wxUSE_GUI" = "yes"; then
49057 STD_GUI_LIBS="adv core"
49058 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49060 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49061 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49062 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49064 if test "$wxUSE_ODBC" != "no" ; then
49065 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49067 if test "$wxUSE_HTML" = "yes" ; then
49068 STD_GUI_LIBS="html $STD_GUI_LIBS"
49069 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49071 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49072 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49074 if test "$wxUSE_OPENGL" = "yes" ; then
49075 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49077 if test "$wxUSE_AUI" = "yes" ; then
49078 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49080 if test "$wxUSE_STC" = "yes" ; then
49081 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49083 if test "$wxUSE_XRC" = "yes" ; then
49084 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49085 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49096 if test "$wxUSE_MAC" = 1 ; then
49097 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49098 if test "$USE_DARWIN" = 1; then
49099 LDFLAGS="$LDFLAGS -framework QuickTime"
49101 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49104 if test "$USE_DARWIN" = 1; then
49105 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49107 LDFLAGS="$LDFLAGS -lCarbonLib"
49110 if test "$wxUSE_COCOA" = 1 ; then
49111 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49112 if test "$wxUSE_MEDIACTRL" = "yes"; then
49113 LDFLAGS="$LDFLAGS -framework QuickTime"
49116 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49117 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49120 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49122 if test "$wxUSE_GUI" = "yes"; then
49125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49126 dynamic erase event exec font image minimal mobile \
49127 mobile/wxedit mobile/styles propsize render \
49128 rotate shaped svg taborder vscroll widgets"
49130 if test "$wxUSE_MONOLITHIC" != "yes"; then
49131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49133 if test "$TOOLKIT" = "MSW"; then
49134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49135 if test "$wxUSE_UNIVERSAL" != "yes"; then
49136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49139 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49143 SAMPLES_SUBDIRS="console"
49147 if test "x$INTELCC" = "xyes" ; then
49148 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49149 elif test "$GCC" = yes ; then
49150 CWARNINGS="-Wall -Wundef"
49153 if test "x$INTELCXX" = "xyes" ; then
49154 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49155 elif test "$GXX" = yes ; then
49156 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49160 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49161 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49164 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49165 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49166 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49169 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49170 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49171 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49173 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49176 if test "x$MWCC" = "xyes"; then
49178 CC="$CC -cwd source -I-"
49179 CXX="$CXX -cwd source -I-"
49184 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49185 EXTRALIBS_XML="$EXPAT_LINK"
49186 EXTRALIBS_HTML="$MSPACK_LINK"
49187 EXTRALIBS_ODBC="$ODBC_LINK"
49188 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49189 if test "$wxUSE_GUI" = "yes"; then
49190 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49192 if test "$wxUSE_OPENGL" = "yes"; then
49193 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49196 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49198 WXCONFIG_LIBS="$LIBS"
49200 if test "$wxUSE_REGEX" = "builtin" ; then
49201 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49203 if test "$wxUSE_EXPAT" = "builtin" ; then
49204 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49206 if test "$wxUSE_ODBC" = "builtin" ; then
49207 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49209 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49210 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49212 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49213 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49215 if test "$wxUSE_LIBPNG" = "builtin" ; then
49216 wxconfig_3rdparty="png $wxconfig_3rdparty"
49218 if test "$wxUSE_ZLIB" = "builtin" ; then
49219 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49222 for i in $wxconfig_3rdparty ; do
49223 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49227 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49230 case "$wxUNIV_THEMES" in
49232 cat >>confdefs.h <<\_ACEOF
49233 #define wxUSE_ALL_THEMES 1
49239 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49240 cat >>confdefs.h <<_ACEOF
49241 #define wxUSE_THEME_$t 1
49258 if test $wxUSE_MONOLITHIC = "yes" ; then
49264 if test $wxUSE_PLUGINS = "yes" ; then
49270 if test $wxUSE_ODBC != "no" ; then
49276 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49282 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49313 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49324 TOOLKIT_DESC="GTK+"
49325 if test "$WXGTK20" = 1; then
49326 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49327 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49328 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49330 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49331 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49333 if test "$wxUSE_LIBHILDON" = "yes"; then
49334 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49337 if test "$TOOLKIT_EXTRA" != ""; then
49338 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49344 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49348 TOOLKIT_DESC="base only"
49352 if test "$wxUSE_WINE" = "yes"; then
49353 BAKEFILE_FORCE_PLATFORM=win32
49356 if test "$wxUSE_MAC" = 1 ; then
49357 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49358 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49359 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49361 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49363 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49364 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49365 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49366 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49369 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49370 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49373 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49375 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49376 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49377 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49378 echo $ECHO_N "(cached) $ECHO_C" >&6
49381 echo '#include <stdio.h>
49382 const wchar_t test_var[] = L"awidetest";' > conftest.h
49384 echo '#include "conftest.h"
49387 printf("%ls", test_var);
49391 wx_cv_gcc_pch_bug="pch not supported"
49393 if $CXX conftest.h >/dev/null 2>&1
49397 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49399 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49400 grep awidetest >/dev/null
49402 wx_cv_gcc_pch_bug=no
49404 wx_cv_gcc_pch_bug=yes
49409 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49412 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49413 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49415 if test "$wx_cv_gcc_pch_bug" = yes; then
49423 if test "x$BAKEFILE_HOST" = "x"; then
49424 if test "x${host}" = "x" ; then
49425 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49426 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49427 { (exit 1); exit 1; }; }
49430 BAKEFILE_HOST="${host}"
49433 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49435 if test -n "$ac_tool_prefix"; then
49436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49440 if test "${ac_cv_prog_RANLIB+set}" = set; then
49441 echo $ECHO_N "(cached) $ECHO_C" >&6
49443 if test -n "$RANLIB"; then
49444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49447 for as_dir in $PATH
49450 test -z "$as_dir" && as_dir=.
49451 for ac_exec_ext in '' $ac_executable_extensions; do
49452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49463 RANLIB=$ac_cv_prog_RANLIB
49464 if test -n "$RANLIB"; then
49465 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49466 echo "${ECHO_T}$RANLIB" >&6; }
49468 { echo "$as_me:$LINENO: result: no" >&5
49469 echo "${ECHO_T}no" >&6; }
49474 if test -z "$ac_cv_prog_RANLIB"; then
49475 ac_ct_RANLIB=$RANLIB
49476 # Extract the first word of "ranlib", so it can be a program name with args.
49477 set dummy ranlib; ac_word=$2
49478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49481 echo $ECHO_N "(cached) $ECHO_C" >&6
49483 if test -n "$ac_ct_RANLIB"; then
49484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49487 for as_dir in $PATH
49490 test -z "$as_dir" && as_dir=.
49491 for ac_exec_ext in '' $ac_executable_extensions; do
49492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49493 ac_cv_prog_ac_ct_RANLIB="ranlib"
49494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49504 if test -n "$ac_ct_RANLIB"; then
49505 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49506 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49508 { echo "$as_me:$LINENO: result: no" >&5
49509 echo "${ECHO_T}no" >&6; }
49512 if test "x$ac_ct_RANLIB" = x; then
49515 case $cross_compiling:$ac_tool_warned in
49517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49518 whose name does not start with the host triplet. If you think this
49519 configuration is useful to you, please write to autoconf@gnu.org." >&5
49520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49521 whose name does not start with the host triplet. If you think this
49522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49523 ac_tool_warned=yes ;;
49525 RANLIB=$ac_ct_RANLIB
49528 RANLIB="$ac_cv_prog_RANLIB"
49531 # Find a good install program. We prefer a C program (faster),
49532 # so one script is as good as another. But avoid the broken or
49533 # incompatible versions:
49534 # SysV /etc/install, /usr/sbin/install
49535 # SunOS /usr/etc/install
49536 # IRIX /sbin/install
49538 # AmigaOS /C/install, which installs bootblocks on floppy discs
49539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49542 # OS/2's system install, which has a completely different semantic
49543 # ./install, which can be erroneously created by make from ./install.sh.
49544 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49545 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49546 if test -z "$INSTALL"; then
49547 if test "${ac_cv_path_install+set}" = set; then
49548 echo $ECHO_N "(cached) $ECHO_C" >&6
49550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49551 for as_dir in $PATH
49554 test -z "$as_dir" && as_dir=.
49555 # Account for people who put trailing slashes in PATH elements.
49557 ./ | .// | /cC/* | \
49558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49562 # OSF1 and SCO ODT 3.0 have their own names for install.
49563 # Don't use installbsd from OSF since it installs stuff as root
49565 for ac_prog in ginstall scoinst install; do
49566 for ac_exec_ext in '' $ac_executable_extensions; do
49567 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49568 if test $ac_prog = install &&
49569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49570 # AIX install. It has an incompatible calling convention.
49572 elif test $ac_prog = install &&
49573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49574 # program-specific install script used by HP pwplus--don't use.
49577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49590 if test "${ac_cv_path_install+set}" = set; then
49591 INSTALL=$ac_cv_path_install
49593 # As a last resort, use the slow shell script. Don't cache a
49594 # value for INSTALL within a source directory, because that will
49595 # break other packages using the cache if that directory is
49596 # removed, or if the value is a relative name.
49597 INSTALL=$ac_install_sh
49600 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49601 echo "${ECHO_T}$INSTALL" >&6; }
49603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49604 # It thinks the first close brace ends the variable substitution.
49605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49609 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49611 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49612 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49614 if test "$LN_S" = "ln -s"; then
49615 { echo "$as_me:$LINENO: result: yes" >&5
49616 echo "${ECHO_T}yes" >&6; }
49618 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49619 echo "${ECHO_T}no, using $LN_S" >&6; }
49623 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49624 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49625 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49626 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49627 echo $ECHO_N "(cached) $ECHO_C" >&6
49629 cat >conftest.make <<\_ACEOF
49632 @echo '@@@%%%=$(MAKE)=@@@%%%'
49634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49636 *@@@%%%=?*=@@@%%%*)
49637 eval ac_cv_prog_make_${ac_make}_set=yes;;
49639 eval ac_cv_prog_make_${ac_make}_set=no;;
49641 rm -f conftest.make
49643 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49644 { echo "$as_me:$LINENO: result: yes" >&5
49645 echo "${ECHO_T}yes" >&6; }
49648 { echo "$as_me:$LINENO: result: no" >&5
49649 echo "${ECHO_T}no" >&6; }
49650 SET_MAKE="MAKE=${MAKE-make}"
49655 if test "x$SUNCXX" = "xyes"; then
49657 AROPTIONS="-xar -o"
49659 elif test "x$SGICC" = "xyes"; then
49664 if test -n "$ac_tool_prefix"; then
49665 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49666 set dummy ${ac_tool_prefix}ar; ac_word=$2
49667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49669 if test "${ac_cv_prog_AR+set}" = set; then
49670 echo $ECHO_N "(cached) $ECHO_C" >&6
49672 if test -n "$AR"; then
49673 ac_cv_prog_AR="$AR" # Let the user override the test.
49675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49676 for as_dir in $PATH
49679 test -z "$as_dir" && as_dir=.
49680 for ac_exec_ext in '' $ac_executable_extensions; do
49681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49682 ac_cv_prog_AR="${ac_tool_prefix}ar"
49683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49693 if test -n "$AR"; then
49694 { echo "$as_me:$LINENO: result: $AR" >&5
49695 echo "${ECHO_T}$AR" >&6; }
49697 { echo "$as_me:$LINENO: result: no" >&5
49698 echo "${ECHO_T}no" >&6; }
49703 if test -z "$ac_cv_prog_AR"; then
49705 # Extract the first word of "ar", so it can be a program name with args.
49706 set dummy ar; ac_word=$2
49707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49709 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49710 echo $ECHO_N "(cached) $ECHO_C" >&6
49712 if test -n "$ac_ct_AR"; then
49713 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49716 for as_dir in $PATH
49719 test -z "$as_dir" && as_dir=.
49720 for ac_exec_ext in '' $ac_executable_extensions; do
49721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49722 ac_cv_prog_ac_ct_AR="ar"
49723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49732 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49733 if test -n "$ac_ct_AR"; then
49734 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49735 echo "${ECHO_T}$ac_ct_AR" >&6; }
49737 { echo "$as_me:$LINENO: result: no" >&5
49738 echo "${ECHO_T}no" >&6; }
49741 if test "x$ac_ct_AR" = x; then
49744 case $cross_compiling:$ac_tool_warned in
49746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49747 whose name does not start with the host triplet. If you think this
49748 configuration is useful to you, please write to autoconf@gnu.org." >&5
49749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49750 whose name does not start with the host triplet. If you think this
49751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49752 ac_tool_warned=yes ;;
49757 AR="$ac_cv_prog_AR"
49764 if test -n "$ac_tool_prefix"; then
49765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49766 set dummy ${ac_tool_prefix}strip; ac_word=$2
49767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49769 if test "${ac_cv_prog_STRIP+set}" = set; then
49770 echo $ECHO_N "(cached) $ECHO_C" >&6
49772 if test -n "$STRIP"; then
49773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49776 for as_dir in $PATH
49779 test -z "$as_dir" && as_dir=.
49780 for ac_exec_ext in '' $ac_executable_extensions; do
49781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49782 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49792 STRIP=$ac_cv_prog_STRIP
49793 if test -n "$STRIP"; then
49794 { echo "$as_me:$LINENO: result: $STRIP" >&5
49795 echo "${ECHO_T}$STRIP" >&6; }
49797 { echo "$as_me:$LINENO: result: no" >&5
49798 echo "${ECHO_T}no" >&6; }
49803 if test -z "$ac_cv_prog_STRIP"; then
49805 # Extract the first word of "strip", so it can be a program name with args.
49806 set dummy strip; ac_word=$2
49807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49809 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49812 if test -n "$ac_ct_STRIP"; then
49813 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49816 for as_dir in $PATH
49819 test -z "$as_dir" && as_dir=.
49820 for ac_exec_ext in '' $ac_executable_extensions; do
49821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49822 ac_cv_prog_ac_ct_STRIP="strip"
49823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49832 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49833 if test -n "$ac_ct_STRIP"; then
49834 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49835 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49837 { echo "$as_me:$LINENO: result: no" >&5
49838 echo "${ECHO_T}no" >&6; }
49841 if test "x$ac_ct_STRIP" = x; then
49844 case $cross_compiling:$ac_tool_warned in
49846 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49847 whose name does not start with the host triplet. If you think this
49848 configuration is useful to you, please write to autoconf@gnu.org." >&5
49849 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49850 whose name does not start with the host triplet. If you think this
49851 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49852 ac_tool_warned=yes ;;
49857 STRIP="$ac_cv_prog_STRIP"
49860 if test -n "$ac_tool_prefix"; then
49861 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49862 set dummy ${ac_tool_prefix}nm; ac_word=$2
49863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49865 if test "${ac_cv_prog_NM+set}" = set; then
49866 echo $ECHO_N "(cached) $ECHO_C" >&6
49868 if test -n "$NM"; then
49869 ac_cv_prog_NM="$NM" # Let the user override the test.
49871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49872 for as_dir in $PATH
49875 test -z "$as_dir" && as_dir=.
49876 for ac_exec_ext in '' $ac_executable_extensions; do
49877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49878 ac_cv_prog_NM="${ac_tool_prefix}nm"
49879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49889 if test -n "$NM"; then
49890 { echo "$as_me:$LINENO: result: $NM" >&5
49891 echo "${ECHO_T}$NM" >&6; }
49893 { echo "$as_me:$LINENO: result: no" >&5
49894 echo "${ECHO_T}no" >&6; }
49899 if test -z "$ac_cv_prog_NM"; then
49901 # Extract the first word of "nm", so it can be a program name with args.
49902 set dummy nm; ac_word=$2
49903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49905 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49906 echo $ECHO_N "(cached) $ECHO_C" >&6
49908 if test -n "$ac_ct_NM"; then
49909 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49912 for as_dir in $PATH
49915 test -z "$as_dir" && as_dir=.
49916 for ac_exec_ext in '' $ac_executable_extensions; do
49917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49918 ac_cv_prog_ac_ct_NM="nm"
49919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49928 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49929 if test -n "$ac_ct_NM"; then
49930 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49931 echo "${ECHO_T}$ac_ct_NM" >&6; }
49933 { echo "$as_me:$LINENO: result: no" >&5
49934 echo "${ECHO_T}no" >&6; }
49937 if test "x$ac_ct_NM" = x; then
49940 case $cross_compiling:$ac_tool_warned in
49942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49943 whose name does not start with the host triplet. If you think this
49944 configuration is useful to you, please write to autoconf@gnu.org." >&5
49945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49946 whose name does not start with the host triplet. If you think this
49947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49948 ac_tool_warned=yes ;;
49953 NM="$ac_cv_prog_NM"
49957 case ${BAKEFILE_HOST} in
49959 INSTALL_DIR="mkdir -p"
49962 INSTALL_DIR='$(INSTALL) -d'
49968 case ${BAKEFILE_HOST} in
49969 *-*-cygwin* | *-*-mingw32* )
49970 LDFLAGS_GUI="-mwindows"
49976 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49977 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49978 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49979 echo $ECHO_N "(cached) $ECHO_C" >&6
49982 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49983 egrep -s GNU > /dev/null); then
49984 bakefile_cv_prog_makeisgnu="yes"
49986 bakefile_cv_prog_makeisgnu="no"
49990 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49991 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49993 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50010 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50011 case "${BAKEFILE_HOST}" in
50018 *-pc-os2_emx | *-pc-os2-emx )
50028 powerpc-apple-macos* )
50037 case "$BAKEFILE_FORCE_PLATFORM" in
50072 # Check whether --enable-omf was given.
50073 if test "${enable_omf+set}" = set; then
50074 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50078 case "${BAKEFILE_HOST}" in
50080 if test "x$GCC" = "xyes"; then
50081 CFLAGS="$CFLAGS -fno-common"
50082 CXXFLAGS="$CXXFLAGS -fno-common"
50084 if test "x$XLCC" = "xyes"; then
50085 CFLAGS="$CFLAGS -qnocommon"
50086 CXXFLAGS="$CXXFLAGS -qnocommon"
50090 *-pc-os2_emx | *-pc-os2-emx )
50091 if test "x$bk_os2_use_omf" = "xyes" ; then
50094 LDFLAGS="-Zomf $LDFLAGS"
50095 CFLAGS="-Zomf $CFLAGS"
50096 CXXFLAGS="-Zomf $CXXFLAGS"
50104 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50110 SO_SUFFIX_MODULE="so"
50115 DLLPREFIX_MODULE=""
50119 case "${BAKEFILE_HOST}" in
50122 SO_SUFFIX_MODULE="sl"
50126 SO_SUFFIX_MODULE="a"
50130 SO_SUFFIX_MODULE="dll"
50131 DLLIMP_SUFFIX="dll.a"
50138 SO_SUFFIX_MODULE="dll"
50139 DLLIMP_SUFFIX="dll.a"
50149 *-pc-os2_emx | *-pc-os2-emx )
50151 SO_SUFFIX_MODULE="dll"
50152 DLLIMP_SUFFIX=$OS2_LIBEXT
50156 LIBEXT=".$OS2_LIBEXT"
50161 SO_SUFFIX_MODULE="bundle"
50165 if test "x$DLLIMP_SUFFIX" = "x" ; then
50166 DLLIMP_SUFFIX="$SO_SUFFIX"
50181 if test "x$GCC" = "xyes"; then
50185 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50186 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50189 case "${BAKEFILE_HOST}" in
50191 if test "x$GCC" != "xyes"; then
50192 LDFLAGS="$LDFLAGS -L/usr/lib"
50194 SHARED_LD_CC="${CC} -b -o"
50195 SHARED_LD_CXX="${CXX} -b -o"
50201 if test "$INTELCC" = "yes"; then
50203 elif test "x$SUNCXX" = "xyes"; then
50204 SHARED_LD_CC="${CC} -G -o"
50205 SHARED_LD_CXX="${CXX} -G -o"
50211 if test "x$SUNCXX" = xyes ; then
50212 SHARED_LD_CC="${CC} -G -o"
50213 SHARED_LD_CXX="${CXX} -G -o"
50221 cat <<EOF >shared-ld-sh
50223 #-----------------------------------------------------------------------------
50224 #-- Name: distrib/mac/shared-ld-sh
50225 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50226 #-- Author: Gilles Depeyrot
50227 #-- Copyright: (c) 2002 Gilles Depeyrot
50228 #-- Licence: any use permitted
50229 #-----------------------------------------------------------------------------
50234 linking_flag="-dynamiclib"
50235 ldargs="-r -keep_private_externs -nostdlib"
50237 while test ${D}# -gt 0; do
50244 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50245 # collect these options and values
50246 args="${D}{args} ${D}1 ${D}2"
50251 # collect these load args
50252 ldargs="${D}{ldargs} ${D}1"
50255 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50256 # collect these options
50257 args="${D}{args} ${D}1"
50260 -dynamiclib|-bundle)
50261 linking_flag="${D}1"
50265 echo "shared-ld: unhandled option '${D}1'"
50269 *.o | *.a | *.dylib)
50270 # collect object files
50271 objects="${D}{objects} ${D}1"
50275 echo "shared-ld: unhandled argument '${D}1'"
50286 # Link one module containing all the others
50288 if test ${D}{verbose} = 1; then
50289 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50291 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50295 # Link the shared library from the single module created, but only if the
50296 # previous command didn't fail:
50298 if test ${D}{status} = 0; then
50299 if test ${D}{verbose} = 1; then
50300 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50302 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50307 # Remove intermediate module
50309 rm -f master.${D}${D}.o
50314 chmod +x shared-ld-sh
50316 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50317 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50320 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50321 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50322 if test "${bakefile_cv_gcc31+set}" = set; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50326 cat >conftest.$ac_ext <<_ACEOF
50329 cat confdefs.h >>conftest.$ac_ext
50330 cat >>conftest.$ac_ext <<_ACEOF
50331 /* end confdefs.h. */
50337 #if (__GNUC__ < 3) || \
50338 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50346 rm -f conftest.$ac_objext
50347 if { (ac_try="$ac_compile"
50348 case "(($ac_try" in
50349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50350 *) ac_try_echo=$ac_try;;
50352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50353 (eval "$ac_compile") 2>conftest.er1
50355 grep -v '^ *+' conftest.er1 >conftest.err
50357 cat conftest.err >&5
50358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359 (exit $ac_status); } && {
50360 test -z "$ac_c_werror_flag" ||
50361 test ! -s conftest.err
50362 } && test -s conftest.$ac_objext; then
50364 bakefile_cv_gcc31=yes
50367 echo "$as_me: failed program was:" >&5
50368 sed 's/^/| /' conftest.$ac_ext >&5
50371 bakefile_cv_gcc31=no
50376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50379 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50380 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50381 if test "$bakefile_cv_gcc31" = "no"; then
50382 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50383 SHARED_LD_CXX="$SHARED_LD_CC"
50385 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50386 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50389 if test "x$GCC" == "xyes"; then
50390 PIC_FLAG="-dynamic -fPIC"
50392 if test "x$XLCC" = "xyes"; then
50393 PIC_FLAG="-dynamic -DPIC"
50398 if test "x$GCC" = "xyes"; then
50401 case "${BAKEFILE_HOST}" in
50403 LD_EXPFULL="-Wl,-bexpfull"
50407 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50408 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50410 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50411 set dummy makeC++SharedLib; ac_word=$2
50412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50414 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50415 echo $ECHO_N "(cached) $ECHO_C" >&6
50417 if test -n "$AIX_CXX_LD"; then
50418 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50421 for as_dir in $PATH
50424 test -z "$as_dir" && as_dir=.
50425 for ac_exec_ext in '' $ac_executable_extensions; do
50426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50427 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50435 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50438 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50439 if test -n "$AIX_CXX_LD"; then
50440 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50441 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50443 { echo "$as_me:$LINENO: result: no" >&5
50444 echo "${ECHO_T}no" >&6; }
50448 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50449 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50454 SHARED_LD_CC="${LD} -nostart -o"
50455 SHARED_LD_CXX="${LD} -nostart -o"
50459 if test "x$GCC" != "xyes"; then
50464 *-*-cygwin* | *-*-mingw32* )
50466 SHARED_LD_CC="\$(CC) -shared -o"
50467 SHARED_LD_CXX="\$(CXX) -shared -o"
50471 *-pc-os2_emx | *-pc-os2-emx )
50472 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50473 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50477 cat <<EOF >dllar.sh
50480 # dllar - a tool to build both a .dll and an .a file
50481 # from a set of object (.o) files for EMX/OS2.
50483 # Written by Andrew Zabolotny, bit@freya.etu.ru
50484 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50486 # This script will accept a set of files on the command line.
50487 # All the public symbols from the .o files will be exported into
50488 # a .DEF file, then linker will be run (through gcc) against them to
50489 # build a shared library consisting of all given .o files. All libraries
50490 # (.a) will be first decompressed into component .o files then act as
50491 # described above. You can optionally give a description (-d "description")
50492 # which will be put into .DLL. To see the list of accepted options (as well
50493 # as command-line format) simply run this program without options. The .DLL
50494 # is built to be imported by name (there is no guarantee that new versions
50495 # of the library you build will have same ordinals for same symbols).
50497 # dllar is free software; you can redistribute it and/or modify
50498 # it under the terms of the GNU General Public License as published by
50499 # the Free Software Foundation; either version 2, or (at your option)
50500 # any later version.
50502 # dllar is distributed in the hope that it will be useful,
50503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50505 # GNU General Public License for more details.
50507 # You should have received a copy of the GNU General Public License
50508 # along with dllar; see the file COPYING. If not, write to the Free
50509 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50512 # To successfuly run this program you will need:
50513 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50514 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50516 # (used to build the .dll)
50518 # (used to create .def file from .o files)
50520 # (used to create .a file from .def file)
50521 # - GNU text utilites (cat, sort, uniq)
50522 # used to process emxexp output
50523 # - GNU file utilities (mv, rm)
50525 # - lxlite (optional, see flag below)
50526 # (used for general .dll cleanup)
50533 # basnam, variant of basename, which does _not_ remove the path, _iff_
50534 # second argument (suffix to remove) is given
50538 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50541 echo ${D}1 | sed 's/'${D}2'${D}//'
50544 echo "error in basnam ${D}*"
50550 # Cleanup temporary files and output
50553 for i in ${D}inputFiles ; do
50556 rm -rf \`basnam ${D}i !\`
50563 # Kill result in case of failure as there is just to many stupid make/nmake
50564 # things out there which doesn't do this.
50565 if [ ${D}# -eq 0 ]; then
50566 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50570 # Print usage and exit script with rc=1.
50572 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50573 echo ' [-name-mangler-script script.sh]'
50574 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50575 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50576 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50577 echo ' [*.o] [*.a]'
50578 echo '*> "output_file" should have no extension.'
50579 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50580 echo ' The import library name is derived from this and is set to "name".a,'
50581 echo ' unless overridden by -import'
50582 echo '*> "importlib_name" should have no extension.'
50583 echo ' If it has the .o, or .a extension, it is automatically removed.'
50584 echo ' This name is used as the import library name and may be longer and'
50585 echo ' more descriptive than the DLL name which has to follow the old '
50586 echo ' 8.3 convention of FAT.'
50587 echo '*> "script.sh may be given to override the output_file name by a'
50588 echo ' different name. It is mainly useful if the regular make process'
50589 echo ' of some package does not take into account OS/2 restriction of'
50590 echo ' DLL name lengths. It takes the importlib name as input and is'
50591 echo ' supposed to procude a shorter name as output. The script should'
50592 echo ' expect to get importlib_name without extension and should produce'
50593 echo ' a (max.) 8 letter name without extension.'
50594 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50595 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50596 echo ' These flags will be put at the start of GCC command line.'
50597 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50598 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50599 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50600 echo ' If the last character of a symbol is "*", all symbols beginning'
50601 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50602 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50603 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50604 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50605 echo ' C runtime DLLs.'
50606 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50607 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50608 echo ' unchanged to GCC at the end of command line.'
50609 echo '*> If you create a DLL from a library and you do not specify -o,'
50610 echo ' the basename for DLL and import library will be set to library name,'
50611 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50612 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50613 echo ' library will be renamed into gcc_s.a.'
50616 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50617 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50622 # Execute a command.
50623 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50624 # @Uses Whatever CleanUp() uses.
50630 if [ ${D}rcCmd -ne 0 ]; then
50631 echo "command failed, exit code="${D}rcCmd
50646 CFLAGS="-s -Zcrtdll"
50648 EXPORT_BY_ORDINALS=0
50653 case ${D}curDirS in
50657 curDirS=${D}{curDirS}"/"
50660 # Parse commandline
50663 while [ ${D}1 ]; do
50666 EXPORT_BY_ORDINALS=1;
50676 -name-mangler-script)
50697 exclude_symbols=${D}{exclude_symbols}${D}1" "
50701 library_flags=${D}{library_flags}${D}1" "
50720 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50723 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50724 if [ ${D}omfLinking -eq 1 ]; then
50725 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50727 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50732 if [ ${D}libsToLink -ne 0 ]; then
50733 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50735 for file in ${D}1 ; do
50736 if [ -f ${D}file ]; then
50737 inputFiles="${D}{inputFiles} ${D}file"
50741 if [ ${D}found -eq 0 ]; then
50742 echo "ERROR: No file(s) found: "${D}1
50749 done # iterate cmdline words
50752 if [ -z "${D}inputFiles" ]; then
50753 echo "dllar: no input files"
50757 # Now extract all .o files from .a files
50759 for file in ${D}inputFiles ; do
50770 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50775 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50777 if [ ${D}? -ne 0 ]; then
50778 echo "Failed to create subdirectory ./${D}dirname"
50782 # Append '!' to indicate archive
50783 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50784 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50787 for subfile in ${D}dirname/*.o* ; do
50788 if [ -f ${D}subfile ]; then
50790 if [ -s ${D}subfile ]; then
50791 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50792 newInputFiles="${D}newInputFiles ${D}subfile"
50796 if [ ${D}found -eq 0 ]; then
50797 echo "WARNING: there are no files in archive \\'${D}file\\'"
50801 newInputFiles="${D}{newInputFiles} ${D}file"
50805 inputFiles="${D}newInputFiles"
50807 # Output filename(s).
50809 if [ -z ${D}outFile ]; then
50811 set outFile ${D}inputFiles; outFile=${D}2
50814 # If it is an archive, remove the '!' and the '_%' suffixes
50815 case ${D}outFile in
50817 outFile=\`basnam ${D}outFile _%!\`
50822 case ${D}outFile in
50824 outFile=\`basnam ${D}outFile .dll\`
50827 outFile=\`basnam ${D}outFile .DLL\`
50830 outFile=\`basnam ${D}outFile .o\`
50833 outFile=\`basnam ${D}outFile .obj\`
50836 outFile=\`basnam ${D}outFile .a\`
50839 outFile=\`basnam ${D}outFile .lib\`
50844 case ${D}outimpFile in
50846 outimpFile=\`basnam ${D}outimpFile .a\`
50849 outimpFile=\`basnam ${D}outimpFile .lib\`
50854 if [ -z ${D}outimpFile ]; then
50855 outimpFile=${D}outFile
50857 defFile="${D}{outFile}.def"
50858 arcFile="${D}{outimpFile}.a"
50859 arcFile2="${D}{outimpFile}.lib"
50861 #create ${D}dllFile as something matching 8.3 restrictions,
50862 if [ -z ${D}renameScript ] ; then
50863 dllFile="${D}outFile"
50865 dllFile=\`${D}renameScript ${D}outimpFile\`
50868 if [ ${D}do_backup -ne 0 ] ; then
50869 if [ -f ${D}arcFile ] ; then
50870 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50872 if [ -f ${D}arcFile2 ] ; then
50873 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50877 # Extract public symbols from all the object files.
50878 tmpdefFile=${D}{defFile}_%
50879 rm -f ${D}tmpdefFile
50880 for file in ${D}inputFiles ; do
50885 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50890 # Create the def file.
50892 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50893 dllFile="${D}{dllFile}.dll"
50894 if [ ! -z ${D}description ]; then
50895 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50897 echo "EXPORTS" >> ${D}defFile
50899 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50900 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50902 # Checks if the export is ok or not.
50903 for word in ${D}exclude_symbols; do
50904 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50905 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50909 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50910 sed "=" < ${D}tmpdefFile | \\
50914 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50916 ' > ${D}{tmpdefFile}%
50917 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50919 rm -f ${D}{tmpdefFile}%
50921 cat ${D}tmpdefFile >> ${D}defFile
50922 rm -f ${D}tmpdefFile
50924 # Do linking, create implib, and apply lxlite.
50926 for file in ${D}inputFiles ; do
50931 gccCmdl="${D}gccCmdl ${D}file"
50935 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50936 touch "${D}{outFile}.dll"
50938 doCommand "emximp -o ${D}arcFile ${D}defFile"
50939 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50941 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50944 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50946 doCommand "emxomf -s -l ${D}arcFile"
50956 powerpc-apple-macos* | \
50957 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50967 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50968 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50969 { (exit 1); exit 1; }; }
50972 if test "x$PIC_FLAG" != "x" ; then
50973 PIC_FLAG="$PIC_FLAG -DPIC"
50976 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50977 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50979 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50980 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50999 case "${BAKEFILE_HOST}" in
51000 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51001 if test "x$SUNCXX" = "xyes"; then
51004 SONAME_FLAG="-Wl,-soname,"
51039 # Check whether --enable-dependency-tracking was given.
51040 if test "${enable_dependency_tracking+set}" = set; then
51041 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51045 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51046 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51049 if test "x$bk_use_trackdeps" = "xno" ; then
51051 { echo "$as_me:$LINENO: result: disabled" >&5
51052 echo "${ECHO_T}disabled" >&6; }
51056 if test "x$GCC" = "xyes"; then
51058 case "${BAKEFILE_HOST}" in
51060 DEPSFLAG="-no-cpp-precomp -MMD"
51066 { echo "$as_me:$LINENO: result: gcc" >&5
51067 echo "${ECHO_T}gcc" >&6; }
51068 elif test "x$MWCC" = "xyes"; then
51071 { echo "$as_me:$LINENO: result: mwcc" >&5
51072 echo "${ECHO_T}mwcc" >&6; }
51073 elif test "x$SUNCC" = "xyes"; then
51076 { echo "$as_me:$LINENO: result: Sun cc" >&5
51077 echo "${ECHO_T}Sun cc" >&6; }
51078 elif test "x$SGICC" = "xyes"; then
51081 { echo "$as_me:$LINENO: result: SGI cc" >&5
51082 echo "${ECHO_T}SGI cc" >&6; }
51083 elif test "x$HPCC" = "xyes"; then
51086 { echo "$as_me:$LINENO: result: HP cc" >&5
51087 echo "${ECHO_T}HP cc" >&6; }
51088 elif test "x$COMPAQCC" = "xyes"; then
51091 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51092 echo "${ECHO_T}Compaq cc" >&6; }
51095 { echo "$as_me:$LINENO: result: none" >&5
51096 echo "${ECHO_T}none" >&6; }
51099 if test $DEPS_TRACKING = 1 ; then
51105 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51106 # script. It is used to track C/C++ files dependencies in portable way.
51108 # Permission is given to use this file in any way.
51110 DEPSMODE=${DEPSMODE}
51112 DEPSFLAG="${DEPSFLAG}"
51114 mkdir -p ${D}DEPSDIR
51116 if test ${D}DEPSMODE = gcc ; then
51117 ${D}* ${D}{DEPSFLAG}
51119 if test ${D}{status} != 0 ; then
51122 # move created file to the location we want it in:
51123 while test ${D}# -gt 0; do
51137 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51138 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51139 if test -f ${D}depfile ; then
51140 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51143 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51144 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51145 if test ! -f ${D}depfile ; then
51146 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51147 depfile="${D}objfile.d"
51149 if test -f ${D}depfile ; then
51150 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51155 elif test ${D}DEPSMODE = mwcc ; then
51156 ${D}* || exit ${D}?
51157 # Run mwcc again with -MM and redirect into the dep file we want
51158 # NOTE: We can't use shift here because we need ${D}* to be valid
51160 for arg in ${D}* ; do
51161 if test "${D}prevarg" = "-o"; then
51174 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51176 elif test ${D}DEPSMODE = unixcc; then
51177 ${D}* || exit ${D}?
51178 # Run compiler again with deps flag and redirect into the dep file.
51179 # It doesn't work if the '-o FILE' option is used, but without it the
51180 # dependency file will contain the wrong name for the object. So it is
51181 # removed from the command line, and the dep file is fixed with sed.
51183 while test ${D}# -gt 0; do
51190 eval arg${D}#=\\${D}1
51191 cmd="${D}cmd \\${D}arg${D}#"
51196 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51205 BK_DEPS="`pwd`/bk-deps"
51213 case ${BAKEFILE_HOST} in
51214 *-*-cygwin* | *-*-mingw32* )
51215 if test -n "$ac_tool_prefix"; then
51216 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51217 set dummy ${ac_tool_prefix}windres; ac_word=$2
51218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51220 if test "${ac_cv_prog_WINDRES+set}" = set; then
51221 echo $ECHO_N "(cached) $ECHO_C" >&6
51223 if test -n "$WINDRES"; then
51224 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51227 for as_dir in $PATH
51230 test -z "$as_dir" && as_dir=.
51231 for ac_exec_ext in '' $ac_executable_extensions; do
51232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51233 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51243 WINDRES=$ac_cv_prog_WINDRES
51244 if test -n "$WINDRES"; then
51245 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51246 echo "${ECHO_T}$WINDRES" >&6; }
51248 { echo "$as_me:$LINENO: result: no" >&5
51249 echo "${ECHO_T}no" >&6; }
51254 if test -z "$ac_cv_prog_WINDRES"; then
51255 ac_ct_WINDRES=$WINDRES
51256 # Extract the first word of "windres", so it can be a program name with args.
51257 set dummy windres; ac_word=$2
51258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51260 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51261 echo $ECHO_N "(cached) $ECHO_C" >&6
51263 if test -n "$ac_ct_WINDRES"; then
51264 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51267 for as_dir in $PATH
51270 test -z "$as_dir" && as_dir=.
51271 for ac_exec_ext in '' $ac_executable_extensions; do
51272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51273 ac_cv_prog_ac_ct_WINDRES="windres"
51274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51283 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51284 if test -n "$ac_ct_WINDRES"; then
51285 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51286 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51288 { echo "$as_me:$LINENO: result: no" >&5
51289 echo "${ECHO_T}no" >&6; }
51292 if test "x$ac_ct_WINDRES" = x; then
51295 case $cross_compiling:$ac_tool_warned in
51297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51298 whose name does not start with the host triplet. If you think this
51299 configuration is useful to you, please write to autoconf@gnu.org." >&5
51300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51301 whose name does not start with the host triplet. If you think this
51302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51303 ac_tool_warned=yes ;;
51305 WINDRES=$ac_ct_WINDRES
51308 WINDRES="$ac_cv_prog_WINDRES"
51313 *-*-darwin* | powerpc-apple-macos* )
51314 # Extract the first word of "Rez", so it can be a program name with args.
51315 set dummy Rez; ac_word=$2
51316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51318 if test "${ac_cv_prog_REZ+set}" = set; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51321 if test -n "$REZ"; then
51322 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51325 for as_dir in $PATH
51328 test -z "$as_dir" && as_dir=.
51329 for ac_exec_ext in '' $ac_executable_extensions; do
51330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51331 ac_cv_prog_REZ="Rez"
51332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51339 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51342 REZ=$ac_cv_prog_REZ
51343 if test -n "$REZ"; then
51344 { echo "$as_me:$LINENO: result: $REZ" >&5
51345 echo "${ECHO_T}$REZ" >&6; }
51347 { echo "$as_me:$LINENO: result: no" >&5
51348 echo "${ECHO_T}no" >&6; }
51352 # Extract the first word of "SetFile", so it can be a program name with args.
51353 set dummy SetFile; ac_word=$2
51354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51356 if test "${ac_cv_prog_SETFILE+set}" = set; then
51357 echo $ECHO_N "(cached) $ECHO_C" >&6
51359 if test -n "$SETFILE"; then
51360 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51363 for as_dir in $PATH
51366 test -z "$as_dir" && as_dir=.
51367 for ac_exec_ext in '' $ac_executable_extensions; do
51368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51369 ac_cv_prog_SETFILE="SetFile"
51370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51377 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51380 SETFILE=$ac_cv_prog_SETFILE
51381 if test -n "$SETFILE"; then
51382 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51383 echo "${ECHO_T}$SETFILE" >&6; }
51385 { echo "$as_me:$LINENO: result: no" >&5
51386 echo "${ECHO_T}no" >&6; }
51398 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51401 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51405 # Check whether --enable-precomp-headers was given.
51406 if test "${enable_precomp_headers+set}" = set; then
51407 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51416 case ${BAKEFILE_HOST} in
51422 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51423 if test "x$GCC" = "xyes"; then
51424 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51425 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
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(__GNUC__) || !defined(__GNUC_MINOR__)
51438 There is no PCH support
51441 There is no PCH support
51443 #if (__GNUC__ == 3) && \
51444 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51445 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51446 ( defined(__INTEL_COMPILER) )
51447 There is no PCH support
51454 rm -f conftest.$ac_objext
51455 if { (ac_try="$ac_compile"
51456 case "(($ac_try" in
51457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51458 *) ac_try_echo=$ac_try;;
51460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51461 (eval "$ac_compile") 2>conftest.er1
51463 grep -v '^ *+' conftest.er1 >conftest.err
51465 cat conftest.err >&5
51466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51467 (exit $ac_status); } && {
51468 test -z "$ac_c_werror_flag" ||
51469 test ! -s conftest.err
51470 } && test -s conftest.$ac_objext; then
51472 { echo "$as_me:$LINENO: result: yes" >&5
51473 echo "${ECHO_T}yes" >&6; }
51477 echo "$as_me: failed program was:" >&5
51478 sed 's/^/| /' conftest.$ac_ext >&5
51481 cat >conftest.$ac_ext <<_ACEOF
51484 cat confdefs.h >>conftest.$ac_ext
51485 cat >>conftest.$ac_ext <<_ACEOF
51486 /* end confdefs.h. */
51492 #if !defined(__INTEL_COMPILER) || \
51493 (__INTEL_COMPILER < 800)
51494 There is no PCH support
51501 rm -f conftest.$ac_objext
51502 if { (ac_try="$ac_compile"
51503 case "(($ac_try" in
51504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51505 *) ac_try_echo=$ac_try;;
51507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51508 (eval "$ac_compile") 2>conftest.er1
51510 grep -v '^ *+' conftest.er1 >conftest.err
51512 cat conftest.err >&5
51513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 (exit $ac_status); } && {
51515 test -z "$ac_c_werror_flag" ||
51516 test ! -s conftest.err
51517 } && test -s conftest.$ac_objext; then
51519 { echo "$as_me:$LINENO: result: yes" >&5
51520 echo "${ECHO_T}yes" >&6; }
51524 echo "$as_me: failed program was:" >&5
51525 sed 's/^/| /' conftest.$ac_ext >&5
51528 { echo "$as_me:$LINENO: result: no" >&5
51529 echo "${ECHO_T}no" >&6; }
51533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51538 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51542 cat <<EOF >bk-make-pch
51545 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51546 # script. It is used to generated precompiled headers.
51548 # Permission is given to use this file in any way.
51558 while test ${D}{#} -gt 0; do
51562 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51563 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51564 headerfile="${D}{incdir}/${D}{header}"
51567 -use-pch|-use_pch )
51572 if test ${D}add_to_cmdline = 1 ; then
51573 compiler="${D}{compiler} ${D}{1}"
51578 if test "x${D}{headerfile}" = "x" ; then
51579 echo "error: can't find header ${D}{header} in include paths" >&2
51581 if test -f ${D}{outfile} ; then
51582 rm -f ${D}{outfile}
51584 mkdir -p \`dirname ${D}{outfile}\`
51586 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51588 if test "x${GCC_PCH}" = "x1" ; then
51589 # can do this because gcc is >= 3.4:
51590 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51591 elif test "x${ICC_PCH}" = "x1" ; then
51592 filename=pch_gen-${D}${D}
51593 file=${D}{filename}.c
51594 dfile=${D}{filename}.d
51595 cat > ${D}file <<EOT
51596 #include "${D}header"
51598 # using -MF icc complains about differing command lines in creation/use
51599 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51600 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51601 rm -f ${D}file ${D}dfile ${D}{filename}.o
51607 chmod +x bk-make-pch
51608 BK_MAKE_PCH="`pwd`/bk-make-pch"
51617 COND_BUILD_DEBUG="#"
51618 if test "x$BUILD" = "xdebug" ; then
51619 COND_BUILD_DEBUG=""
51622 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51623 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51624 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51627 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51629 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51632 COND_BUILD_DEBUG_UNICODE_0="#"
51633 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51634 COND_BUILD_DEBUG_UNICODE_0=""
51637 COND_BUILD_DEBUG_UNICODE_1="#"
51638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51639 COND_BUILD_DEBUG_UNICODE_1=""
51642 COND_BUILD_RELEASE="#"
51643 if test "x$BUILD" = "xrelease" ; then
51644 COND_BUILD_RELEASE=""
51647 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51648 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51649 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51652 COND_BUILD_RELEASE_UNICODE_0="#"
51653 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51654 COND_BUILD_RELEASE_UNICODE_0=""
51657 COND_BUILD_RELEASE_UNICODE_1="#"
51658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51659 COND_BUILD_RELEASE_UNICODE_1=""
51662 COND_DEBUG_FLAG_1="#"
51663 if test "x$DEBUG_FLAG" = "x1" ; then
51664 COND_DEBUG_FLAG_1=""
51667 COND_DEBUG_INFO_0="#"
51668 if test "x$DEBUG_INFO" = "x0" ; then
51669 COND_DEBUG_INFO_0=""
51672 COND_DEBUG_INFO_1="#"
51673 if test "x$DEBUG_INFO" = "x1" ; then
51674 COND_DEBUG_INFO_1=""
51677 COND_DEPS_TRACKING_0="#"
51678 if test "x$DEPS_TRACKING" = "x0" ; then
51679 COND_DEPS_TRACKING_0=""
51682 COND_DEPS_TRACKING_1="#"
51683 if test "x$DEPS_TRACKING" = "x1" ; then
51684 COND_DEPS_TRACKING_1=""
51688 if test "x$GCC_PCH" = "x1" ; then
51693 if test "x$ICC_PCH" = "x1" ; then
51697 COND_MONOLITHIC_0="#"
51698 if test "x$MONOLITHIC" = "x0" ; then
51699 COND_MONOLITHIC_0=""
51702 COND_MONOLITHIC_0_SHARED_0="#"
51703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51704 COND_MONOLITHIC_0_SHARED_0=""
51707 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51709 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51714 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51737 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51742 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51747 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51752 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51757 COND_MONOLITHIC_0_SHARED_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51759 COND_MONOLITHIC_0_SHARED_1=""
51762 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51764 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51787 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51792 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51794 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51797 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51799 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51802 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51804 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51807 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51809 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51812 COND_MONOLITHIC_0_USE_AUI_1="#"
51813 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51814 COND_MONOLITHIC_0_USE_AUI_1=""
51817 COND_MONOLITHIC_0_USE_GUI_1="#"
51818 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51819 COND_MONOLITHIC_0_USE_GUI_1=""
51822 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51823 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51827 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51829 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51832 COND_MONOLITHIC_0_USE_HTML_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51834 COND_MONOLITHIC_0_USE_HTML_1=""
51837 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51839 COND_MONOLITHIC_0_USE_MEDIA_1=""
51842 COND_MONOLITHIC_0_USE_ODBC_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51844 COND_MONOLITHIC_0_USE_ODBC_1=""
51847 COND_MONOLITHIC_0_USE_QA_1="#"
51848 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51849 COND_MONOLITHIC_0_USE_QA_1=""
51852 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51854 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51857 COND_MONOLITHIC_0_USE_STC_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51859 COND_MONOLITHIC_0_USE_STC_1=""
51862 COND_MONOLITHIC_0_USE_XRC_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51864 COND_MONOLITHIC_0_USE_XRC_1=""
51867 COND_MONOLITHIC_1="#"
51868 if test "x$MONOLITHIC" = "x1" ; then
51869 COND_MONOLITHIC_1=""
51872 COND_MONOLITHIC_1_SHARED_0="#"
51873 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51874 COND_MONOLITHIC_1_SHARED_0=""
51877 COND_MONOLITHIC_1_SHARED_1="#"
51878 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51879 COND_MONOLITHIC_1_SHARED_1=""
51882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51883 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51884 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51887 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51888 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51889 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51892 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51893 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51894 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51897 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51898 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51899 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51902 COND_PLATFORM_MACOSX_1="#"
51903 if test "x$PLATFORM_MACOSX" = "x1" ; then
51904 COND_PLATFORM_MACOSX_1=""
51907 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51908 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51909 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51912 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51917 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51918 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51919 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51922 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51927 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51929 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51933 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51934 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51939 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51942 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51944 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51947 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51949 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51952 COND_PLATFORM_MACOS_1="#"
51953 if test "x$PLATFORM_MACOS" = "x1" ; then
51954 COND_PLATFORM_MACOS_1=""
51957 COND_PLATFORM_MAC_1="#"
51958 if test "x$PLATFORM_MAC" = "x1" ; then
51959 COND_PLATFORM_MAC_1=""
51962 COND_PLATFORM_MSDOS_0="#"
51963 if test "x$PLATFORM_MSDOS" = "x0" ; then
51964 COND_PLATFORM_MSDOS_0=""
51967 COND_PLATFORM_MSDOS_1="#"
51968 if test "x$PLATFORM_MSDOS" = "x1" ; then
51969 COND_PLATFORM_MSDOS_1=""
51972 COND_PLATFORM_OS2_1="#"
51973 if test "x$PLATFORM_OS2" = "x1" ; then
51974 COND_PLATFORM_OS2_1=""
51977 COND_PLATFORM_UNIX_0="#"
51978 if test "x$PLATFORM_UNIX" = "x0" ; then
51979 COND_PLATFORM_UNIX_0=""
51982 COND_PLATFORM_UNIX_1="#"
51983 if test "x$PLATFORM_UNIX" = "x1" ; then
51984 COND_PLATFORM_UNIX_1=""
51987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51988 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51989 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51992 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51993 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51997 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51998 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51999 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52002 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52003 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52004 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52007 COND_PLATFORM_WIN32_0="#"
52008 if test "x$PLATFORM_WIN32" = "x0" ; then
52009 COND_PLATFORM_WIN32_0=""
52012 COND_PLATFORM_WIN32_1="#"
52013 if test "x$PLATFORM_WIN32" = "x1" ; then
52014 COND_PLATFORM_WIN32_1=""
52018 if test "x$SHARED" = "x0" ; then
52022 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52023 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52024 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52027 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52028 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52029 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52032 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52033 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52034 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52037 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52038 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52039 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52043 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52047 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52048 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52052 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52053 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52054 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52057 COND_SHARED_0_USE_STC_1="#"
52058 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52059 COND_SHARED_0_USE_STC_1=""
52062 COND_SHARED_0_USE_XRC_1="#"
52063 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52064 COND_SHARED_0_USE_XRC_1=""
52067 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52068 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52069 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52072 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52073 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52074 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52077 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52078 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52079 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52082 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52083 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52084 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52088 if test "x$SHARED" = "x1" ; then
52092 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52093 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52094 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52097 COND_SHARED_1_USE_XRC_1="#"
52098 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52099 COND_SHARED_1_USE_XRC_1=""
52103 if test "x$TOOLKIT" = "x" ; then
52107 COND_TOOLKIT_COCOA="#"
52108 if test "x$TOOLKIT" = "xCOCOA" ; then
52109 COND_TOOLKIT_COCOA=""
52112 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52113 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52114 COND_TOOLKIT_COCOA_USE_GUI_1=""
52117 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52118 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52119 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52122 COND_TOOLKIT_DFB="#"
52123 if test "x$TOOLKIT" = "xDFB" ; then
52124 COND_TOOLKIT_DFB=""
52127 COND_TOOLKIT_DFB_USE_GUI_1="#"
52128 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52129 COND_TOOLKIT_DFB_USE_GUI_1=""
52132 COND_TOOLKIT_GTK="#"
52133 if test "x$TOOLKIT" = "xGTK" ; then
52134 COND_TOOLKIT_GTK=""
52137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52138 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52139 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52142 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52143 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52147 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52148 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52149 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52153 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52157 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52158 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52159 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52163 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52164 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52167 COND_TOOLKIT_GTK_USE_GUI_1="#"
52168 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52169 COND_TOOLKIT_GTK_USE_GUI_1=""
52172 COND_TOOLKIT_MAC="#"
52173 if test "x$TOOLKIT" = "xMAC" ; then
52174 COND_TOOLKIT_MAC=""
52177 COND_TOOLKIT_MAC_USE_GUI_1="#"
52178 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52179 COND_TOOLKIT_MAC_USE_GUI_1=""
52182 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52183 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52184 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52187 COND_TOOLKIT_MGL="#"
52188 if test "x$TOOLKIT" = "xMGL" ; then
52189 COND_TOOLKIT_MGL=""
52192 COND_TOOLKIT_MGL_USE_GUI_1="#"
52193 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52194 COND_TOOLKIT_MGL_USE_GUI_1=""
52197 COND_TOOLKIT_MOTIF="#"
52198 if test "x$TOOLKIT" = "xMOTIF" ; then
52199 COND_TOOLKIT_MOTIF=""
52202 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52203 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52204 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52207 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52212 COND_TOOLKIT_MSW="#"
52213 if test "x$TOOLKIT" = "xMSW" ; then
52214 COND_TOOLKIT_MSW=""
52217 COND_TOOLKIT_MSW_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_MSW_USE_GUI_1=""
52222 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52223 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52224 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52227 COND_TOOLKIT_MSW_WXUNIV_0="#"
52228 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52229 COND_TOOLKIT_MSW_WXUNIV_0=""
52232 COND_TOOLKIT_PM="#"
52233 if test "x$TOOLKIT" = "xPM" ; then
52237 COND_TOOLKIT_PM_USE_GUI_1="#"
52238 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52239 COND_TOOLKIT_PM_USE_GUI_1=""
52242 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52243 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52244 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52247 COND_TOOLKIT_WINCE="#"
52248 if test "x$TOOLKIT" = "xWINCE" ; then
52249 COND_TOOLKIT_WINCE=""
52252 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52253 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52254 COND_TOOLKIT_WINCE_USE_GUI_1=""
52257 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52258 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52259 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52262 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52263 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52264 COND_TOOLKIT_WINCE_WXUNIV_0=""
52267 COND_TOOLKIT_X11="#"
52268 if test "x$TOOLKIT" = "xX11" ; then
52269 COND_TOOLKIT_X11=""
52272 COND_TOOLKIT_X11_USE_GUI_1="#"
52273 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52274 COND_TOOLKIT_X11_USE_GUI_1=""
52278 if test "x$UNICODE" = "x1" ; then
52282 COND_USE_EXCEPTIONS_0="#"
52283 if test "x$USE_EXCEPTIONS" = "x0" ; then
52284 COND_USE_EXCEPTIONS_0=""
52287 COND_USE_EXCEPTIONS_1="#"
52288 if test "x$USE_EXCEPTIONS" = "x1" ; then
52289 COND_USE_EXCEPTIONS_1=""
52293 if test "x$USE_GUI" = "x0" ; then
52298 if test "x$USE_GUI" = "x1" ; then
52302 COND_USE_GUI_1_USE_OPENGL_1="#"
52303 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52304 COND_USE_GUI_1_USE_OPENGL_1=""
52307 COND_USE_GUI_1_WXUNIV_0="#"
52308 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52309 COND_USE_GUI_1_WXUNIV_0=""
52312 COND_USE_GUI_1_WXUNIV_1="#"
52313 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52314 COND_USE_GUI_1_WXUNIV_1=""
52317 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52318 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52319 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52322 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52323 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52324 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52327 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52328 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52329 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52332 COND_USE_ODBC_1="#"
52333 if test "x$USE_ODBC" = "x1" ; then
52337 COND_USE_OPENGL_1="#"
52338 if test "x$USE_OPENGL" = "x1" ; then
52339 COND_USE_OPENGL_1=""
52343 if test "x$USE_PCH" = "x1" ; then
52347 COND_USE_PLUGINS_0="#"
52348 if test "x$USE_PLUGINS" = "x0" ; then
52349 COND_USE_PLUGINS_0=""
52352 COND_USE_RTTI_0="#"
52353 if test "x$USE_RTTI" = "x0" ; then
52357 COND_USE_RTTI_1="#"
52358 if test "x$USE_RTTI" = "x1" ; then
52362 COND_USE_SOSYMLINKS_1="#"
52363 if test "x$USE_SOSYMLINKS" = "x1" ; then
52364 COND_USE_SOSYMLINKS_1=""
52367 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52368 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52369 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52372 COND_USE_SOVERLINUX_1="#"
52373 if test "x$USE_SOVERLINUX" = "x1" ; then
52374 COND_USE_SOVERLINUX_1=""
52377 COND_USE_SOVERSION_0="#"
52378 if test "x$USE_SOVERSION" = "x0" ; then
52379 COND_USE_SOVERSION_0=""
52382 COND_USE_SOVERSOLARIS_1="#"
52383 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52384 COND_USE_SOVERSOLARIS_1=""
52388 if test "x$USE_STC" = "x1" ; then
52392 COND_USE_THREADS_0="#"
52393 if test "x$USE_THREADS" = "x0" ; then
52394 COND_USE_THREADS_0=""
52397 COND_USE_THREADS_1="#"
52398 if test "x$USE_THREADS" = "x1" ; then
52399 COND_USE_THREADS_1=""
52403 if test "x$USE_XRC" = "x1" ; then
52407 COND_WINDOWS_IMPLIB_1="#"
52408 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52409 COND_WINDOWS_IMPLIB_1=""
52412 COND_WITH_PLUGIN_SDL_1="#"
52413 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52414 COND_WITH_PLUGIN_SDL_1=""
52418 if test "x$WXUNIV" = "x0" ; then
52423 if test "x$WXUNIV" = "x1" ; then
52427 COND_WXUSE_EXPAT_BUILTIN="#"
52428 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52429 COND_WXUSE_EXPAT_BUILTIN=""
52432 COND_WXUSE_LIBJPEG_BUILTIN="#"
52433 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52434 COND_WXUSE_LIBJPEG_BUILTIN=""
52437 COND_WXUSE_LIBPNG_BUILTIN="#"
52438 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52439 COND_WXUSE_LIBPNG_BUILTIN=""
52442 COND_WXUSE_LIBTIFF_BUILTIN="#"
52443 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52444 COND_WXUSE_LIBTIFF_BUILTIN=""
52447 COND_WXUSE_ODBC_BUILTIN="#"
52448 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52449 COND_WXUSE_ODBC_BUILTIN=""
52452 COND_WXUSE_REGEX_BUILTIN="#"
52453 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52454 COND_WXUSE_REGEX_BUILTIN=""
52457 COND_WXUSE_ZLIB_BUILTIN="#"
52458 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52459 COND_WXUSE_ZLIB_BUILTIN=""
52464 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52465 { { 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
52466 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;}
52467 { (exit 1); exit 1; }; }
52470 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52471 { { 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
52472 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;}
52473 { (exit 1); exit 1; }; }
52477 if test $GCC_PCH = 1
52479 if test "$wx_cv_gcc_pch_bug" = yes; then
52480 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52481 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52482 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52483 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52484 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52485 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52488 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52492 if test "$wxUSE_MAC" = 1 ; then
52493 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52494 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52500 if test "$wxUSE_SHARED" = "yes"; then
52502 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52503 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52506 *-pc-os2_emx | *-pc-os2-emx )
52507 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52508 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52509 cp -p ${srcdir}/src/os2/dllnames.sh .
52510 cp -p ${srcdir}/src/os2/dllar.sh .
52515 EXE_LINKER="$CXX -o"
52518 if test "$wxUSE_OMF" = "yes"; then
52520 *-pc-os2_emx | *-pc-os2-emx )
52521 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52522 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52523 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52528 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52533 if "$GCC" = yes; then
52534 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52535 LIBS=`echo $LIBS | sed 's/-mt//'`
52536 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52541 if test "x$SUNCXX" = xyes; then
52542 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52543 LIBS=`echo $LIBS | sed 's/-pthread//'`
52544 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52549 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52550 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52552 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52618 echo $ECHO_N "(cached) $ECHO_C" >&6
52620 cat >conftest.make <<\_ACEOF
52623 @echo '@@@%%%=$(MAKE)=@@@%%%'
52625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52627 *@@@%%%=?*=@@@%%%*)
52628 eval ac_cv_prog_make_${ac_make}_set=yes;;
52630 eval ac_cv_prog_make_${ac_make}_set=no;;
52632 rm -f conftest.make
52634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52635 { echo "$as_me:$LINENO: result: yes" >&5
52636 echo "${ECHO_T}yes" >&6; }
52639 { echo "$as_me:$LINENO: result: no" >&5
52640 echo "${ECHO_T}no" >&6; }
52641 SET_MAKE="MAKE=${MAKE-make}"
52646 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52649 if test "$USE_WIN32" = 1; then
52650 ac_config_commands="$ac_config_commands
52656 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52659 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52662 if test "$wx_cv_version_script" = "yes"; then
52663 ac_config_files="$ac_config_files version-script"
52666 ac_config_files="$ac_config_files Makefile"
52669 ac_config_commands="$ac_config_commands wx-config"
52673 if test "$wxWITH_SUBDIRS" != "no"; then
52674 if test "$wxUSE_GUI" = "yes"; then
52675 SUBDIRS="samples demos utils"
52676 else SUBDIRS="samples utils"
52681 # Check whether --with-cppunit-prefix was given.
52682 if test "${with_cppunit_prefix+set}" = set; then
52683 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52685 cppunit_config_prefix=""
52689 # Check whether --with-cppunit-exec-prefix was given.
52690 if test "${with_cppunit_exec_prefix+set}" = set; then
52691 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52693 cppunit_config_exec_prefix=""
52697 if test x$cppunit_config_exec_prefix != x ; then
52698 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52699 if test x${CPPUNIT_CONFIG+set} != xset ; then
52700 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52703 if test x$cppunit_config_prefix != x ; then
52704 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52705 if test x${CPPUNIT_CONFIG+set} != xset ; then
52706 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52710 # Extract the first word of "cppunit-config", so it can be a program name with args.
52711 set dummy cppunit-config; ac_word=$2
52712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52714 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52715 echo $ECHO_N "(cached) $ECHO_C" >&6
52717 case $CPPUNIT_CONFIG in
52719 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52723 for as_dir in $PATH
52726 test -z "$as_dir" && as_dir=.
52727 for ac_exec_ext in '' $ac_executable_extensions; do
52728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52729 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52737 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52741 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52742 if test -n "$CPPUNIT_CONFIG"; then
52743 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52744 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52746 { echo "$as_me:$LINENO: result: no" >&5
52747 echo "${ECHO_T}no" >&6; }
52751 cppunit_version_min=1.8.0
52753 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52754 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52756 if test "$CPPUNIT_CONFIG" = "no" ; then
52757 { echo "$as_me:$LINENO: result: no" >&5
52758 echo "${ECHO_T}no" >&6; }
52761 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52762 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52763 cppunit_version=`$CPPUNIT_CONFIG --version`
52765 cppunit_major_version=`echo $cppunit_version | \
52766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52767 cppunit_minor_version=`echo $cppunit_version | \
52768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52769 cppunit_micro_version=`echo $cppunit_version | \
52770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52772 cppunit_major_min=`echo $cppunit_version_min | \
52773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52774 cppunit_minor_min=`echo $cppunit_version_min | \
52775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52776 cppunit_micro_min=`echo $cppunit_version_min | \
52777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52779 cppunit_version_proper=`expr \
52780 $cppunit_major_version \> $cppunit_major_min \| \
52781 $cppunit_major_version \= $cppunit_major_min \& \
52782 $cppunit_minor_version \> $cppunit_minor_min \| \
52783 $cppunit_major_version \= $cppunit_major_min \& \
52784 $cppunit_minor_version \= $cppunit_minor_min \& \
52785 $cppunit_micro_version \>= $cppunit_micro_min `
52787 if test "$cppunit_version_proper" = "1" ; then
52788 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52789 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52791 { echo "$as_me:$LINENO: result: no" >&5
52792 echo "${ECHO_T}no" >&6; }
52797 if test "x$no_cppunit" = x ; then
52798 SUBDIRS="$SUBDIRS tests"
52809 for subdir in `echo $SUBDIRS`; do
52810 if test -d ${srcdir}/${subdir} ; then
52811 if test "$wxUSE_GUI" = "yes"; then
52812 if test ${subdir} = "samples"; then
52813 makefiles="samples/Makefile.in $makefiles"
52814 for sample in `echo $SAMPLES_SUBDIRS`; do
52815 if test -d $srcdir/samples/$sample; then
52816 makefiles="samples/$sample/Makefile.in $makefiles"
52820 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52821 eval "disabled=\$$disabled_var"
52822 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52823 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52825 else if test ${subdir} = "samples"; then
52826 makefiles="samples/Makefile.in samples/console/Makefile.in"
52827 elif test ${subdir} = "utils"; then
52829 for util in HelpGen tex2rtf ; do
52830 if test -d $srcdir/utils/$util ; then
52831 makefiles="utils/$util/Makefile.in \
52832 utils/$util/src/Makefile.in \
52836 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52840 for mkin in $makefiles ; do
52841 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52842 ac_config_files="$ac_config_files $mk"
52848 cat >confcache <<\_ACEOF
52849 # This file is a shell script that caches the results of configure
52850 # tests run on this system so they can be shared between configure
52851 # scripts and configure runs, see configure's option --config-cache.
52852 # It is not useful on other systems. If it contains results you don't
52853 # want to keep, you may remove or edit it.
52855 # config.status only pays attention to the cache file if you give it
52856 # the --recheck option to rerun configure.
52858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52860 # following values.
52864 # The following way of writing the cache mishandles newlines in values,
52865 # but we know of no workaround that is simple, portable, and efficient.
52866 # So, we kill variables containing newlines.
52867 # Ultrix sh set writes to stderr and can't be redirected directly,
52868 # and sets the high bit in the cache file unless we assign to the vars.
52870 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52871 eval ac_val=\$$ac_var
52875 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52876 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52879 _ | IFS | as_nl) ;; #(
52880 *) $as_unset $ac_var ;;
52886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52887 *${as_nl}ac_space=\ *)
52888 # `set' does not quote correctly, so add quotes (double-quote
52889 # substitution turns \\\\ into \\, and sed turns \\ into \).
52892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52895 # `set' quotes correctly as required by POSIX, so do not add quotes.
52896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52910 if test -w "$cache_file"; then
52911 test "x$cache_file" != "x/dev/null" &&
52912 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52913 echo "$as_me: updating cache $cache_file" >&6;}
52914 cat confcache >$cache_file
52916 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52917 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52922 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52923 # Let make expand exec_prefix.
52924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52926 DEFS=-DHAVE_CONFIG_H
52930 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52931 # 1. Remove the extension, and $U if already installed.
52932 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52933 ac_i=`echo "$ac_i" | sed "$ac_script"`
52934 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52935 # will be set to the directory where LIBOBJS objects are built.
52936 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52937 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52939 LIBOBJS=$ac_libobjs
52941 LTLIBOBJS=$ac_ltlibobjs
52945 : ${CONFIG_STATUS=./config.status}
52946 ac_clean_files_save=$ac_clean_files
52947 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52948 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52949 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52950 cat >$CONFIG_STATUS <<_ACEOF
52952 # Generated by $as_me.
52953 # Run this file to recreate the current configuration.
52954 # Compiler output produced by configure, useful for debugging
52955 # configure, is in config.log if it exists.
52958 ac_cs_recheck=false
52960 SHELL=\${CONFIG_SHELL-$SHELL}
52963 cat >>$CONFIG_STATUS <<\_ACEOF
52964 ## --------------------- ##
52965 ## M4sh Initialization. ##
52966 ## --------------------- ##
52968 # Be more Bourne compatible
52969 DUALCASE=1; export DUALCASE # for MKS sh
52970 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52973 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52974 # is contrary to our usage. Disable this feature.
52975 alias -g '${1+"$@"}'='"$@"'
52976 setopt NO_GLOB_SUBST
52978 case `(set -o) 2>/dev/null` in
52979 *posix*) set -o posix ;;
52988 # Avoid depending upon Character Ranges.
52989 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52990 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52991 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52992 as_cr_digits='0123456789'
52993 as_cr_alnum=$as_cr_Letters$as_cr_digits
52995 # The user is always right.
52996 if test "${PATH_SEPARATOR+set}" != set; then
52997 echo "#! /bin/sh" >conf$$.sh
52998 echo "exit 0" >>conf$$.sh
53000 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53008 # Support unset when possible.
53009 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53017 # We need space, tab and new line, in precisely that order. Quoting is
53018 # there to prevent editors from complaining about space-tab.
53019 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53020 # splitting by setting IFS to empty value.)
53025 # Find who we are. Look in the path if we contain no directory separator.
53027 *[\\/]* ) as_myself=$0 ;;
53028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53029 for as_dir in $PATH
53032 test -z "$as_dir" && as_dir=.
53033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53039 # We did not find ourselves, most probably we were run as `sh COMMAND'
53040 # in which case we are not to be found in the path.
53041 if test "x$as_myself" = x; then
53044 if test ! -f "$as_myself"; then
53045 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53046 { (exit 1); exit 1; }
53049 # Work around bugs in pre-3.0 UWIN ksh.
53050 for as_var in ENV MAIL MAILPATH
53051 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53059 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53060 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53061 LC_TELEPHONE LC_TIME
53063 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53064 eval $as_var=C; export $as_var
53066 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53070 # Required to use basename.
53071 if expr a : '\(a\)' >/dev/null 2>&1 &&
53072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53078 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53079 as_basename=basename
53085 # Name of the executable.
53086 as_me=`$as_basename -- "$0" ||
53087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53088 X"$0" : 'X\(//\)$' \| \
53089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53091 sed '/^.*\/\([^/][^/]*\)\/*$/{
53110 as_lineno_1=$LINENO
53111 as_lineno_2=$LINENO
53112 test "x$as_lineno_1" != "x$as_lineno_2" &&
53113 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53115 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53116 # uniformly replaced by the line number. The first 'sed' inserts a
53117 # line-number line after each line using $LINENO; the second 'sed'
53118 # does the real work. The second script uses 'N' to pair each
53119 # line-number line with the line containing $LINENO, and appends
53120 # trailing '-' during substitution so that $LINENO is not a special
53121 # case at line end.
53122 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53123 # scripts with optimization help from Paolo Bonzini. Blame Lee
53124 # E. McMahon (1931-1989) for sed's syntax. :-)
53136 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53139 ' >$as_me.lineno &&
53140 chmod +x "$as_me.lineno" ||
53141 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53142 { (exit 1); exit 1; }; }
53144 # Don't try to exec as it changes $[0], causing all sort of problems
53145 # (the dirname of $[0] is not the place where we might find the
53146 # original and so on. Autoconf is especially sensitive to this).
53147 . "./$as_me.lineno"
53148 # Exit status is that of the last command.
53153 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53159 ECHO_C= ECHO_N= ECHO_T=
53160 case `echo -n x` in
53162 case `echo 'x\c'` in
53163 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53170 if expr a : '\(a\)' >/dev/null 2>&1 &&
53171 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53177 rm -f conf$$ conf$$.exe conf$$.file
53178 if test -d conf$$.dir; then
53179 rm -f conf$$.dir/conf$$.file
53185 if ln -s conf$$.file conf$$ 2>/dev/null; then
53187 # ... but there are two gotchas:
53188 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53189 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53190 # In both cases, we have to default to `cp -p'.
53191 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53193 elif ln conf$$.file conf$$ 2>/dev/null; then
53198 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53199 rmdir conf$$.dir 2>/dev/null
53201 if mkdir -p . 2>/dev/null; then
53204 test -d ./-p && rmdir ./-p
53208 if test -x / >/dev/null 2>&1; then
53209 as_test_x='test -x'
53211 if ls -dL / >/dev/null 2>&1; then
53218 if test -d "$1"; then
53224 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53225 ???[sx]*):;;*)false;;esac;fi
53229 as_executable_p=$as_test_x
53231 # Sed expression to map a string onto a valid CPP name.
53232 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53234 # Sed expression to map a string onto a valid variable name.
53235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53240 # Save the log message, to keep $[0] and so on meaningful, and to
53241 # report actual input values of CONFIG_FILES etc. instead of their
53242 # values after options handling.
53244 This file was extended by wxWidgets $as_me 2.9.0, which was
53245 generated by GNU Autoconf 2.61. Invocation command line was
53247 CONFIG_FILES = $CONFIG_FILES
53248 CONFIG_HEADERS = $CONFIG_HEADERS
53249 CONFIG_LINKS = $CONFIG_LINKS
53250 CONFIG_COMMANDS = $CONFIG_COMMANDS
53253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53258 cat >>$CONFIG_STATUS <<_ACEOF
53259 # Files that config.status was made for.
53260 config_files="$ac_config_files"
53261 config_headers="$ac_config_headers"
53262 config_commands="$ac_config_commands"
53266 cat >>$CONFIG_STATUS <<\_ACEOF
53268 \`$as_me' instantiates files from templates according to the
53269 current configuration.
53271 Usage: $0 [OPTIONS] [FILE]...
53273 -h, --help print this help, then exit
53274 -V, --version print version number and configuration settings, then exit
53275 -q, --quiet do not print progress messages
53276 -d, --debug don't remove temporary files
53277 --recheck update $as_me by reconfiguring in the same conditions
53278 --file=FILE[:TEMPLATE]
53279 instantiate the configuration file FILE
53280 --header=FILE[:TEMPLATE]
53281 instantiate the configuration header FILE
53283 Configuration files:
53286 Configuration headers:
53289 Configuration commands:
53292 Report bugs to <bug-autoconf@gnu.org>."
53295 cat >>$CONFIG_STATUS <<_ACEOF
53297 wxWidgets config.status 2.9.0
53298 configured by $0, generated by GNU Autoconf 2.61,
53299 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53301 Copyright (C) 2006 Free Software Foundation, Inc.
53302 This config.status script is free software; the Free Software Foundation
53303 gives unlimited permission to copy, distribute and modify it."
53310 cat >>$CONFIG_STATUS <<\_ACEOF
53311 # If no file are specified by the user, then we need to provide default
53312 # value. By we need to know if files were specified by the user.
53318 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53319 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53330 # Handling of the options.
53331 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53333 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53334 echo "$ac_cs_version"; exit ;;
53335 --debug | --debu | --deb | --de | --d | -d )
53337 --file | --fil | --fi | --f )
53339 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53340 ac_need_defaults=false;;
53341 --header | --heade | --head | --hea )
53343 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53344 ac_need_defaults=false;;
53346 # Conflict between --help and --header
53347 { echo "$as_me: error: ambiguous option: $1
53348 Try \`$0 --help' for more information." >&2
53349 { (exit 1); exit 1; }; };;
53350 --help | --hel | -h )
53351 echo "$ac_cs_usage"; exit ;;
53352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53356 # This is an error.
53357 -*) { echo "$as_me: error: unrecognized option: $1
53358 Try \`$0 --help' for more information." >&2
53359 { (exit 1); exit 1; }; } ;;
53361 *) ac_config_targets="$ac_config_targets $1"
53362 ac_need_defaults=false ;;
53368 ac_configure_extra_args=
53370 if $ac_cs_silent; then
53372 ac_configure_extra_args="$ac_configure_extra_args --silent"
53376 cat >>$CONFIG_STATUS <<_ACEOF
53377 if \$ac_cs_recheck; then
53378 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53379 CONFIG_SHELL=$SHELL
53380 export CONFIG_SHELL
53381 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53385 cat >>$CONFIG_STATUS <<\_ACEOF
53389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53390 ## Running $as_me. ##
53396 cat >>$CONFIG_STATUS <<_ACEOF
53402 infile="$srcdir/include/wx/msw/genrcdefs.h"
53403 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53406 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53407 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53408 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53414 cat >>$CONFIG_STATUS <<\_ACEOF
53416 # Handling of arguments.
53417 for ac_config_target in $ac_config_targets
53419 case $ac_config_target in
53420 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53421 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53422 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53423 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53424 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53425 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53426 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53427 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53431 { (exit 1); exit 1; }; };;
53436 # If the user did not use the arguments to specify the items to instantiate,
53437 # then the envvar interface is used. Set only those that are not.
53438 # We use the long form for the default assignment because of an extremely
53439 # bizarre bug on SunOS 4.1.3.
53440 if $ac_need_defaults; then
53441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53446 # Have a temporary directory for convenience. Make it in the build tree
53447 # simply because there is no reason against having it here, and in addition,
53448 # creating and moving files from /tmp can sometimes cause problems.
53449 # Hook for its removal unless debugging.
53450 # Note that there is a small window in which the directory will not be cleaned:
53451 # after its creation but before its name has been assigned to `$tmp'.
53455 trap 'exit_status=$?
53456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53458 trap '{ (exit 1); exit 1; }' 1 2 13 15
53460 # Create a (secure) tmp directory for tmp files.
53463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53464 test -n "$tmp" && test -d "$tmp"
53467 tmp=./conf$$-$RANDOM
53468 (umask 077 && mkdir "$tmp")
53471 echo "$me: cannot create a temporary directory in ." >&2
53472 { (exit 1); exit 1; }
53476 # Set up the sed scripts for CONFIG_FILES section.
53479 # No need to generate the scripts if there are no CONFIG_FILES.
53480 # This happens for instance when ./config.status config.h
53481 if test -n "$CONFIG_FILES"; then
53488 for ac_last_try in false false false false false :; do
53489 cat >conf$$subs.sed <<_ACEOF
53490 SHELL!$SHELL$ac_delim
53491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53497 exec_prefix!$exec_prefix$ac_delim
53498 prefix!$prefix$ac_delim
53499 program_transform_name!$program_transform_name$ac_delim
53500 bindir!$bindir$ac_delim
53501 sbindir!$sbindir$ac_delim
53502 libexecdir!$libexecdir$ac_delim
53503 datarootdir!$datarootdir$ac_delim
53504 datadir!$datadir$ac_delim
53505 sysconfdir!$sysconfdir$ac_delim
53506 sharedstatedir!$sharedstatedir$ac_delim
53507 localstatedir!$localstatedir$ac_delim
53508 includedir!$includedir$ac_delim
53509 oldincludedir!$oldincludedir$ac_delim
53510 docdir!$docdir$ac_delim
53511 infodir!$infodir$ac_delim
53512 htmldir!$htmldir$ac_delim
53513 dvidir!$dvidir$ac_delim
53514 pdfdir!$pdfdir$ac_delim
53515 psdir!$psdir$ac_delim
53516 libdir!$libdir$ac_delim
53517 localedir!$localedir$ac_delim
53518 mandir!$mandir$ac_delim
53519 DEFS!$DEFS$ac_delim
53520 ECHO_C!$ECHO_C$ac_delim
53521 ECHO_N!$ECHO_N$ac_delim
53522 ECHO_T!$ECHO_T$ac_delim
53523 LIBS!$LIBS$ac_delim
53524 build_alias!$build_alias$ac_delim
53525 host_alias!$host_alias$ac_delim
53526 target_alias!$target_alias$ac_delim
53527 build!$build$ac_delim
53528 build_cpu!$build_cpu$ac_delim
53529 build_vendor!$build_vendor$ac_delim
53530 build_os!$build_os$ac_delim
53531 host!$host$ac_delim
53532 host_cpu!$host_cpu$ac_delim
53533 host_vendor!$host_vendor$ac_delim
53534 host_os!$host_os$ac_delim
53535 target!$target$ac_delim
53536 target_cpu!$target_cpu$ac_delim
53537 target_vendor!$target_vendor$ac_delim
53538 target_os!$target_os$ac_delim
53539 wx_top_builddir!$wx_top_builddir$ac_delim
53541 CFLAGS!$CFLAGS$ac_delim
53542 LDFLAGS!$LDFLAGS$ac_delim
53543 CPPFLAGS!$CPPFLAGS$ac_delim
53544 ac_ct_CC!$ac_ct_CC$ac_delim
53545 EXEEXT!$EXEEXT$ac_delim
53546 OBJEXT!$OBJEXT$ac_delim
53548 GREP!$GREP$ac_delim
53549 EGREP!$EGREP$ac_delim
53551 CXXFLAGS!$CXXFLAGS$ac_delim
53552 ac_ct_CXX!$ac_ct_CXX$ac_delim
53553 RANLIB!$RANLIB$ac_delim
53555 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53556 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53557 INSTALL_DATA!$INSTALL_DATA$ac_delim
53558 STRIP!$STRIP$ac_delim
53559 WINDRES!$WINDRES$ac_delim
53560 DLLTOOL!$DLLTOOL$ac_delim
53561 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53562 LN_S!$LN_S$ac_delim
53563 subdirs!$subdirs$ac_delim
53564 PKG_CONFIG!$PKG_CONFIG$ac_delim
53565 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53566 GTK_LIBS!$GTK_LIBS$ac_delim
53567 GTK_CONFIG!$GTK_CONFIG$ac_delim
53568 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53569 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53570 XMKMF!$XMKMF$ac_delim
53571 X_CFLAGS!$X_CFLAGS$ac_delim
53572 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53573 X_LIBS!$X_LIBS$ac_delim
53574 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53575 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53576 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53577 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53578 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53579 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53580 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53581 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53582 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53584 DEREZ!$DEREZ$ac_delim
53585 SETFILE!$SETFILE$ac_delim
53586 LIBICONV!$LIBICONV$ac_delim
53589 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53591 elif $ac_last_try; then
53592 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53593 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53594 { (exit 1); exit 1; }; }
53596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53600 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53601 if test -n "$ac_eof"; then
53602 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53603 ac_eof=`expr $ac_eof + 1`
53606 cat >>$CONFIG_STATUS <<_ACEOF
53607 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53611 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53612 s/^/s,@/; s/!/@,|#_!!_#|/
53615 s/'"$ac_delim"'$/,g/; t
53617 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53618 ' >>$CONFIG_STATUS <conf$$subs.sed
53619 rm -f conf$$subs.sed
53620 cat >>$CONFIG_STATUS <<_ACEOF
53626 for ac_last_try in false false false false false :; do
53627 cat >conf$$subs.sed <<_ACEOF
53628 SDL_CONFIG!$SDL_CONFIG$ac_delim
53629 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53630 SDL_LIBS!$SDL_LIBS$ac_delim
53631 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53632 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53633 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53634 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53635 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53636 HILDON_LIBS!$HILDON_LIBS$ac_delim
53637 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53638 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53639 GST_CFLAGS!$GST_CFLAGS$ac_delim
53640 GST_LIBS!$GST_LIBS$ac_delim
53641 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53642 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53643 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53644 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53645 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53646 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53647 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53648 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53649 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53650 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53651 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53652 VENDOR!$VENDOR$ac_delim
53653 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53654 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53655 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53656 WXUNIV!$WXUNIV$ac_delim
53657 MONOLITHIC!$MONOLITHIC$ac_delim
53658 USE_PLUGINS!$USE_PLUGINS$ac_delim
53659 CXXWARNINGS!$CXXWARNINGS$ac_delim
53660 EXTRALIBS!$EXTRALIBS$ac_delim
53661 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53662 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53663 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53664 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53665 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53666 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53667 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53668 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53669 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53670 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53671 UNICODE!$UNICODE$ac_delim
53672 BUILD!$BUILD$ac_delim
53673 DEBUG_INFO!$DEBUG_INFO$ac_delim
53674 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53675 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53676 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53677 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53678 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53679 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53680 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53681 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53682 SET_MAKE!$SET_MAKE$ac_delim
53683 MAKE_SET!$MAKE_SET$ac_delim
53684 AROPTIONS!$AROPTIONS$ac_delim
53686 INSTALL_DIR!$INSTALL_DIR$ac_delim
53687 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53688 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53689 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53690 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53691 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53692 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53693 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53694 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53695 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53696 SO_SUFFIX!$SO_SUFFIX$ac_delim
53697 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53698 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53699 LIBPREFIX!$LIBPREFIX$ac_delim
53700 LIBEXT!$LIBEXT$ac_delim
53701 DLLPREFIX!$DLLPREFIX$ac_delim
53702 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53703 dlldir!$dlldir$ac_delim
53704 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53705 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53706 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53707 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53708 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53709 PIC_FLAG!$PIC_FLAG$ac_delim
53710 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53711 USE_SOVERSION!$USE_SOVERSION$ac_delim
53712 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53713 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53714 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53715 USE_MACVERSION!$USE_MACVERSION$ac_delim
53716 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53717 SONAME_FLAG!$SONAME_FLAG$ac_delim
53718 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53719 BK_DEPS!$BK_DEPS$ac_delim
53720 GCC_PCH!$GCC_PCH$ac_delim
53721 ICC_PCH!$ICC_PCH$ac_delim
53722 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53723 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53724 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53727 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53729 elif $ac_last_try; then
53730 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53731 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53732 { (exit 1); exit 1; }; }
53734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53738 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53739 if test -n "$ac_eof"; then
53740 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53741 ac_eof=`expr $ac_eof + 1`
53744 cat >>$CONFIG_STATUS <<_ACEOF
53745 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53749 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53750 s/^/s,@/; s/!/@,|#_!!_#|/
53753 s/'"$ac_delim"'$/,g/; t
53755 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53756 ' >>$CONFIG_STATUS <conf$$subs.sed
53757 rm -f conf$$subs.sed
53758 cat >>$CONFIG_STATUS <<_ACEOF
53764 for ac_last_try in false false false false false :; do
53765 cat >conf$$subs.sed <<_ACEOF
53766 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53767 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53768 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53769 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53770 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53771 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53772 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53773 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53774 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53775 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53776 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53777 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53778 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53779 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53780 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53781 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53782 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53788 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53789 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53790 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53792 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53793 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53799 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53800 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53801 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53802 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53803 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53804 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53805 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53806 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53807 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53808 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53809 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53810 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53811 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53812 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53813 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53814 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53815 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53816 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53817 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53818 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53819 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53820 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53821 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53822 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53823 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53824 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53825 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53826 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53827 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53828 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53829 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53830 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53831 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53832 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53833 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53834 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53835 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53836 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53837 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53838 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53839 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53840 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53841 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53842 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53843 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53844 COND_SHARED_0!$COND_SHARED_0$ac_delim
53845 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53846 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53847 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53848 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53849 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53850 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53851 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53852 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53853 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53854 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53855 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53856 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53857 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53858 COND_SHARED_1!$COND_SHARED_1$ac_delim
53859 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53860 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53861 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53862 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53865 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53867 elif $ac_last_try; then
53868 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53869 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53870 { (exit 1); exit 1; }; }
53872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53876 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53877 if test -n "$ac_eof"; then
53878 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53879 ac_eof=`expr $ac_eof + 1`
53882 cat >>$CONFIG_STATUS <<_ACEOF
53883 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53887 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53888 s/^/s,@/; s/!/@,|#_!!_#|/
53891 s/'"$ac_delim"'$/,g/; t
53893 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53894 ' >>$CONFIG_STATUS <conf$$subs.sed
53895 rm -f conf$$subs.sed
53896 cat >>$CONFIG_STATUS <<_ACEOF
53902 for ac_last_try in false false false false false :; do
53903 cat >conf$$subs.sed <<_ACEOF
53904 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53906 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53907 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53908 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53915 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53916 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53917 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53919 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53920 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53921 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53922 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53924 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53925 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53927 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53928 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53929 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53931 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53932 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53934 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53935 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53936 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53937 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53938 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53939 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53940 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53941 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53942 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53943 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53944 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53948 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53949 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53950 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53951 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53952 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53953 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53954 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53955 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53956 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53957 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53958 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53959 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53960 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53961 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53962 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53963 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53964 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53965 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53966 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53967 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53968 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53969 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53970 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53971 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53972 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53973 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53974 SHARED!$SHARED$ac_delim
53975 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53976 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53977 USE_GUI!$USE_GUI$ac_delim
53978 AFMINSTALL!$AFMINSTALL$ac_delim
53979 WIN32INSTALL!$WIN32INSTALL$ac_delim
53980 TOOLKIT!$TOOLKIT$ac_delim
53981 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53982 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53983 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53984 cross_compiling!$cross_compiling$ac_delim
53985 WIDGET_SET!$WIDGET_SET$ac_delim
53986 WX_RELEASE!$WX_RELEASE$ac_delim
53987 WX_VERSION!$WX_VERSION$ac_delim
53988 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53989 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53990 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53991 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53992 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53993 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53994 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53995 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53996 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53997 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53998 EXE_LINKER!$EXE_LINKER$ac_delim
53999 GUIDIST!$GUIDIST$ac_delim
54000 DISTDIR!$DISTDIR$ac_delim
54003 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54005 elif $ac_last_try; then
54006 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54007 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54008 { (exit 1); exit 1; }; }
54010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54014 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54015 if test -n "$ac_eof"; then
54016 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54017 ac_eof=`expr $ac_eof + 1`
54020 cat >>$CONFIG_STATUS <<_ACEOF
54021 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54025 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54026 s/^/s,@/; s/!/@,|#_!!_#|/
54029 s/'"$ac_delim"'$/,g/; t
54031 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54032 ' >>$CONFIG_STATUS <conf$$subs.sed
54033 rm -f conf$$subs.sed
54034 cat >>$CONFIG_STATUS <<_ACEOF
54040 for ac_last_try in false false false false false :; do
54041 cat >conf$$subs.sed <<_ACEOF
54042 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54043 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54044 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54045 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54046 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54047 RESCOMP!$RESCOMP$ac_delim
54048 RESFLAGS!$RESFLAGS$ac_delim
54049 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54050 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54051 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54052 LIBWXMACRES!$LIBWXMACRES$ac_delim
54053 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54054 MACSETFILE!$MACSETFILE$ac_delim
54056 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54057 LIBOBJS!$LIBOBJS$ac_delim
54058 LTLIBOBJS!$LTLIBOBJS$ac_delim
54061 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54063 elif $ac_last_try; then
54064 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54065 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54066 { (exit 1); exit 1; }; }
54068 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54072 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54073 if test -n "$ac_eof"; then
54074 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54075 ac_eof=`expr $ac_eof + 1`
54078 cat >>$CONFIG_STATUS <<_ACEOF
54079 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54083 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54084 s/^/s,@/; s/!/@,|#_!!_#|/
54087 s/'"$ac_delim"'$/,g/; t
54089 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54090 ' >>$CONFIG_STATUS <conf$$subs.sed
54091 rm -f conf$$subs.sed
54092 cat >>$CONFIG_STATUS <<_ACEOF
54099 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54100 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54101 # trailing colons and then remove the whole line if VPATH becomes empty
54102 # (actually we leave an empty line to preserve line numbers).
54103 if test "x$srcdir" = x.; then
54104 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54105 s/:*\$(srcdir):*/:/
54106 s/:*\${srcdir}:*/:/
54108 s/^\([^=]*=[ ]*\):*/\1/
54114 cat >>$CONFIG_STATUS <<\_ACEOF
54115 fi # test -n "$CONFIG_FILES"
54118 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54121 :[FHLC]) ac_mode=$ac_tag; continue;;
54123 case $ac_mode$ac_tag in
54125 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54126 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54127 { (exit 1); exit 1; }; };;
54128 :[FH]-) ac_tag=-:-;;
54129 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54146 -) ac_f="$tmp/stdin";;
54147 *) # Look for the file first in the build tree, then in the source tree
54148 # (if the path is not absolute). The absolute path cannot be DOS-style,
54149 # because $ac_f cannot contain `:'.
54153 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54155 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54156 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54157 { (exit 1); exit 1; }; };;
54159 ac_file_inputs="$ac_file_inputs $ac_f"
54162 # Let's still pretend it is `configure' which instantiates (i.e., don't
54163 # use $as_me), people would be surprised to read:
54164 # /* config.h. Generated by config.status. */
54165 configure_input="Generated from "`IFS=:
54166 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54167 if test x"$ac_file" != x-; then
54168 configure_input="$ac_file. $configure_input"
54169 { echo "$as_me:$LINENO: creating $ac_file" >&5
54170 echo "$as_me: creating $ac_file" >&6;}
54174 *:-:* | *:-) cat >"$tmp/stdin";;
54179 ac_dir=`$as_dirname -- "$ac_file" ||
54180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54181 X"$ac_file" : 'X\(//\)[^/]' \| \
54182 X"$ac_file" : 'X\(//\)$' \| \
54183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54189 /^X\(\/\/\)[^/].*/{
54204 -*) as_dir=./$as_dir;;
54206 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54210 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54211 *) as_qdir=$as_dir;;
54213 as_dirs="'$as_qdir' $as_dirs"
54214 as_dir=`$as_dirname -- "$as_dir" ||
54215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54216 X"$as_dir" : 'X\(//\)[^/]' \| \
54217 X"$as_dir" : 'X\(//\)$' \| \
54218 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54224 /^X\(\/\/\)[^/].*/{
54237 test -d "$as_dir" && break
54239 test -z "$as_dirs" || eval "mkdir $as_dirs"
54240 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54241 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54242 { (exit 1); exit 1; }; }; }
54246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54248 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54249 # A ".." for each directory in $ac_dir_suffix.
54250 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54251 case $ac_top_builddir_sub in
54252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54256 ac_abs_top_builddir=$ac_pwd
54257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54258 # for backward compatibility:
54259 ac_top_builddir=$ac_top_build_prefix
54262 .) # We are building in place.
54264 ac_top_srcdir=$ac_top_builddir_sub
54265 ac_abs_top_srcdir=$ac_pwd ;;
54266 [\\/]* | ?:[\\/]* ) # Absolute name.
54267 ac_srcdir=$srcdir$ac_dir_suffix;
54268 ac_top_srcdir=$srcdir
54269 ac_abs_top_srcdir=$srcdir ;;
54270 *) # Relative name.
54271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54272 ac_top_srcdir=$ac_top_build_prefix$srcdir
54273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54286 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54290 cat >>$CONFIG_STATUS <<\_ACEOF
54291 # If the template does not know about datarootdir, expand it.
54292 # FIXME: This hack should be removed a few years after 2.60.
54293 ac_datarootdir_hack=; ac_datarootdir_seen=
54295 case `sed -n '/datarootdir/ {
54304 ' $ac_file_inputs` in
54305 *datarootdir*) ac_datarootdir_seen=yes;;
54306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54307 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54308 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54310 cat >>$CONFIG_STATUS <<_ACEOF
54311 ac_datarootdir_hack='
54312 s&@datadir@&$datadir&g
54313 s&@docdir@&$docdir&g
54314 s&@infodir@&$infodir&g
54315 s&@localedir@&$localedir&g
54316 s&@mandir@&$mandir&g
54317 s&\\\${datarootdir}&$datarootdir&g' ;;
54321 # Neutralize VPATH when `$srcdir' = `.'.
54322 # Shell code in configure.ac might set extrasub.
54323 # FIXME: do we really want to maintain this feature?
54324 cat >>$CONFIG_STATUS <<_ACEOF
54328 cat >>$CONFIG_STATUS <<\_ACEOF
54330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54331 s&@configure_input@&$configure_input&;t t
54332 s&@top_builddir@&$ac_top_builddir_sub&;t t
54333 s&@srcdir@&$ac_srcdir&;t t
54334 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54335 s&@top_srcdir@&$ac_top_srcdir&;t t
54336 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54337 s&@builddir@&$ac_builddir&;t t
54338 s&@abs_builddir@&$ac_abs_builddir&;t t
54339 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54340 s&@INSTALL@&$ac_INSTALL&;t t
54341 $ac_datarootdir_hack
54342 " $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
54344 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54345 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54346 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54347 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54348 which seems to be undefined. Please make sure it is defined." >&5
54349 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54350 which seems to be undefined. Please make sure it is defined." >&2;}
54354 -) cat "$tmp/out"; rm -f "$tmp/out";;
54355 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54364 # Transform confdefs.h into a sed script `conftest.defines', that
54365 # substitutes the proper values into config.h.in to produce config.h.
54366 rm -f conftest.defines conftest.tail
54367 # First, append a space to every undef/define line, to ease matching.
54368 echo 's/$/ /' >conftest.defines
54369 # Then, protect against being on the right side of a sed subst, or in
54370 # an unquoted here document, in config.status. If some macros were
54371 # called several times there might be several #defines for the same
54372 # symbol, which is useless. But do not sort them, since the last
54373 # AC_DEFINE must be honored.
54374 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54375 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54376 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54377 # PARAMS is the parameter list in the macro definition--in most cases, it's
54378 # just an empty string.
54379 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54380 ac_dB='\\)[ (].*,\\1define\\2'
54388 s/^[ ]*#[ ]*define[ ][ ]*//
54393 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54394 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54395 ' >>conftest.defines
54397 # Remove the space that was appended to ease matching.
54398 # Then replace #undef with comments. This is necessary, for
54399 # example, in the case of _POSIX_SOURCE, which is predefined and required
54400 # on some systems where configure will not decide to define it.
54401 # (The regexp can be short, since the line contains either #define or #undef.)
54403 s,^[ #]*u.*,/* & */,' >>conftest.defines
54405 # Break up conftest.defines:
54406 ac_max_sed_lines=50
54408 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54409 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54410 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54412 ac_in='$ac_file_inputs'
54413 ac_out='"$tmp/out1"'
54414 ac_nxt='"$tmp/out2"'
54418 # Write a here document:
54419 cat >>$CONFIG_STATUS <<_ACEOF
54420 # First, check the format of the line:
54421 cat >"\$tmp/defines.sed" <<\\CEOF
54422 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54423 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54427 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54429 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54430 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54431 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54432 grep . conftest.tail >/dev/null || break
54433 rm -f conftest.defines
54434 mv conftest.tail conftest.defines
54436 rm -f conftest.defines conftest.tail
54438 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54439 cat >>$CONFIG_STATUS <<\_ACEOF
54440 if test x"$ac_file" != x-; then
54441 echo "/* $configure_input */" >"$tmp/config.h"
54442 cat "$ac_result" >>"$tmp/config.h"
54443 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54444 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54445 echo "$as_me: $ac_file is unchanged" >&6;}
54448 mv "$tmp/config.h" $ac_file
54451 echo "/* $configure_input */"
54457 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54458 echo "$as_me: executing $ac_file commands" >&6;}
54463 case $ac_file$ac_mode in
54465 mkdir -p $outdir &&
54466 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54468 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54469 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54470 "wx-config":C) rm -f wx-config
54471 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54478 { (exit 0); exit 0; }
54480 chmod +x $CONFIG_STATUS
54481 ac_clean_files=$ac_clean_files_save
54484 # configure is writing to config.log, and then calls config.status.
54485 # config.status does its own redirection, appending to config.log.
54486 # Unfortunately, on DOS this fails, as config.log is still kept open
54487 # by configure, so config.status won't be able to write to it; its
54488 # output is simply discarded. So we exec the FD to /dev/null,
54489 # effectively closing config.log, so it can be properly (re)opened and
54490 # appended to by config.status. When coming back to configure, we
54491 # need to make the FD available again.
54492 if test "$no_create" != yes; then
54494 ac_config_status_args=
54495 test "$silent" = yes &&
54496 ac_config_status_args="$ac_config_status_args --quiet"
54498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54501 # would make configure fail if this is the last instruction.
54502 $ac_cs_success || { (exit 1); exit 1; }
54506 # CONFIG_SUBDIRS section.
54508 if test "$no_recursion" != yes; then
54510 # Remove --cache-file and --srcdir arguments so they do not pile up.
54511 ac_sub_configure_args=
54513 eval "set x $ac_configure_args"
54517 if test -n "$ac_prev"; then
54522 -cache-file | --cache-file | --cache-fil | --cache-fi \
54523 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54524 ac_prev=cache_file ;;
54525 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54526 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54529 --config-cache | -C)
54531 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54533 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54535 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54537 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54541 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54543 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54547 # Always prepend --prefix to ensure using the same prefix
54548 # in subdir configurations.
54549 ac_arg="--prefix=$prefix"
54551 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54553 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54556 if test "$silent" = yes; then
54557 ac_sub_configure_args="--silent $ac_sub_configure_args"
54561 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54563 # Do not complain, so a configure script can configure whichever
54564 # parts of a large source tree are present.
54565 test -d "$srcdir/$ac_dir" || continue
54567 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54568 echo "$as_me:$LINENO: $ac_msg" >&5
54572 -*) as_dir=./$as_dir;;
54574 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54578 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54579 *) as_qdir=$as_dir;;
54581 as_dirs="'$as_qdir' $as_dirs"
54582 as_dir=`$as_dirname -- "$as_dir" ||
54583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54584 X"$as_dir" : 'X\(//\)[^/]' \| \
54585 X"$as_dir" : 'X\(//\)$' \| \
54586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54592 /^X\(\/\/\)[^/].*/{
54605 test -d "$as_dir" && break
54607 test -z "$as_dirs" || eval "mkdir $as_dirs"
54608 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54609 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54610 { (exit 1); exit 1; }; }; }
54614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54616 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54617 # A ".." for each directory in $ac_dir_suffix.
54618 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54619 case $ac_top_builddir_sub in
54620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54624 ac_abs_top_builddir=$ac_pwd
54625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54626 # for backward compatibility:
54627 ac_top_builddir=$ac_top_build_prefix
54630 .) # We are building in place.
54632 ac_top_srcdir=$ac_top_builddir_sub
54633 ac_abs_top_srcdir=$ac_pwd ;;
54634 [\\/]* | ?:[\\/]* ) # Absolute name.
54635 ac_srcdir=$srcdir$ac_dir_suffix;
54636 ac_top_srcdir=$srcdir
54637 ac_abs_top_srcdir=$srcdir ;;
54638 *) # Relative name.
54639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54640 ac_top_srcdir=$ac_top_build_prefix$srcdir
54641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54648 # Check for guested configure; otherwise get Cygnus style configure.
54649 if test -f "$ac_srcdir/configure.gnu"; then
54650 ac_sub_configure=$ac_srcdir/configure.gnu
54651 elif test -f "$ac_srcdir/configure"; then
54652 ac_sub_configure=$ac_srcdir/configure
54653 elif test -f "$ac_srcdir/configure.in"; then
54654 # This should be Cygnus configure.
54655 ac_sub_configure=$ac_aux_dir/configure
54657 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54658 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54662 # The recursion is here.
54663 if test -n "$ac_sub_configure"; then
54664 # Make the cache file name correct relative to the subdirectory.
54665 case $cache_file in
54666 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54667 *) # Relative name.
54668 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54671 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54672 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54673 # The eval makes quoting arguments work.
54674 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54675 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54676 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54677 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54678 { (exit 1); exit 1; }; }
54687 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54689 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54690 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54692 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54693 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54694 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54695 if test "$wxUSE_UNICODE" = "yes"; then
54696 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54697 echo " (using UTF-8)"
54699 echo " (using wchar_t)"
54705 echo " What level of wxWidgets compatibility should be enabled?"
54706 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54707 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54709 echo " Which libraries should wxWidgets use?"
54710 echo " jpeg ${wxUSE_LIBJPEG-none}"
54711 echo " png ${wxUSE_LIBPNG-none}"
54712 echo " regex ${wxUSE_REGEX}"
54713 echo " tiff ${wxUSE_LIBTIFF-none}"
54714 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54715 echo " xpm ${wxUSE_LIBXPM-none}"
54717 echo " zlib ${wxUSE_ZLIB}"
54718 echo " odbc ${wxUSE_ODBC}"
54719 echo " expat ${wxUSE_EXPAT}"
54720 echo " libmspack ${wxUSE_LIBMSPACK}"
54721 echo " sdl ${wxUSE_LIBSDL}"